digitalocean

package
v4.28.1 Latest Latest
Warning

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

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

Documentation

Overview

A Pulumi package for creating and managing DigitalOcean cloud resources.

Index

Constants

View Source
const (
	AlgorithmRoundRobin       = Algorithm("round_robin")
	AlgorithmLeastConnections = Algorithm("least_connections")
)
View Source
const (
	CertificateTypeLetsEncrypt = CertificateType("lets_encrypt")
	CertificateTypeCustom      = CertificateType("custom")
)
View Source
const (
	DatabaseSlug_DB_1VPCU1GB   = DatabaseSlug("db-s-1vcpu-1gb")
	DatabaseSlug_DB_1VPCU2GB   = DatabaseSlug("db-s-1vcpu-2gb")
	DatabaseSlug_DB_2VPCU4GB   = DatabaseSlug("db-s-2vcpu-4gb")
	DatabaseSlug_DB_4VPCU8GB   = DatabaseSlug("db-s-4vcpu-8gb")
	DatabaseSlug_DB_6VPCU16GB  = DatabaseSlug("db-s-6vcpu-16gb")
	DatabaseSlug_DB_8VPCU32GB  = DatabaseSlug("db-s-8vcpu-32gb")
	DatabaseSlug_DB_16VPCU64GB = DatabaseSlug("db-s-16vcpu-64gb")
)
View Source
const (
	DropletSlugDropletS1VCPU1GB         = DropletSlug("s-1vcpu-1gb")
	DropletSlug_DropletS1VCPU1GB_AMD    = DropletSlug("s-1vcpu-1gb-amd")
	DropletSlug_DropletS1VCPU1GB_INTEL  = DropletSlug("s-1vcpu-1gb-intel")
	DropletSlugDropletS1VCPU2GB         = DropletSlug("s-1vcpu-2gb")
	DropletSlug_DropletS1VCPU2GB_AMD    = DropletSlug("s-1vcpu-2gb-amd")
	DropletSlug_DropletS1VCPU2GB_INTEL  = DropletSlug("s-1vcpu-2gb-intel")
	DropletSlugDropletS2VCPU2GB         = DropletSlug("s-2vcpu-2gb")
	DropletSlug_DropletS2VCPU2GB_AMD    = DropletSlug("s-2vcpu-2gb-amd")
	DropletSlug_DropletS2VCPU2GB_INTEL  = DropletSlug("s-2vcpu-2gb-intel")
	DropletSlugDropletS2VCPU4GB         = DropletSlug("s-2vcpu-4gb")
	DropletSlug_DropletS2VCPU4GB_AMD    = DropletSlug("s-2vcpu-4gb-amd")
	DropletSlug_DropletS2VCPU4GB_INTEL  = DropletSlug("s-2vcpu-4gb-intel")
	DropletSlugDropletS4VCPU8GB         = DropletSlug("s-4vcpu-8gb")
	DropletSlug_DropletS4VCPU8GB_AMD    = DropletSlug("s-4vcpu-8gb-amd")
	DropletSlug_DropletS4VCPU8GB_INTEL  = DropletSlug("s-4vcpu-8gb-intel")
	DropletSlug_DropletS8VCPU16GB_AMD   = DropletSlug("s-8vcpu-16gb-amd")
	DropletSlug_DropletS8VCPU16GB_INTEL = DropletSlug("s-8vcpu-16gb-intel")
	DropletSlugDropletC2                = DropletSlug("c-2")
	DropletSlugDropletC22VCPU4GB        = DropletSlug("c2-2vcpu-4gb")
	DropletSlugDropletC22VCPU8GB        = DropletSlug("c2-4vcpu-8gb")
	DropletSlugDropletC28VCPU16GB       = DropletSlug("c2-8vcpu-16gb")
	DropletSlugDropletC216VCPU32GB      = DropletSlug("c2-16vcpu-32gb")
	DropletSlugDropletC232VCPU64GB      = DropletSlug("c2-32vcpu-64gb")
	DropletSlugDropletC4                = DropletSlug("c-4")
	DropletSlugDropletC8                = DropletSlug("c-8")
	DropletSlugDropletC16               = DropletSlug("c-16")
	DropletSlugDropletC32               = DropletSlug("c-32")
	DropletSlugDropletG2VCPU8GB         = DropletSlug("g-2vcpu-8gb")
	DropletSlugDropletG4VCPU16GB        = DropletSlug("g-4vcpu-16gb")
	DropletSlugDropletG8VCPU32GB        = DropletSlug("g-8vcpu-32gb")
	DropletSlugDropletG16VCPU64GB       = DropletSlug("g-16vcpu-64gb")
	DropletSlugDropletG32VCPU128GB      = DropletSlug("g-32vcpu-128gb")
	DropletSlugDropletG40VCPU160GB      = DropletSlug("g-40vcpu-160gb")
	DropletSlugDropletGD2VCPU8GB        = DropletSlug("gd-2vcpu-8gb")
	DropletSlugDropletGD4VCPU16GB       = DropletSlug("gd-4vcpu-16gb")
	DropletSlugDropletGD8VCPU32GB       = DropletSlug("gd-8vcpu-32gb")
	DropletSlugDropletGD16VCPU64GB      = DropletSlug("gd-16vcpu-64gb")
	DropletSlugDropletGD32VCPU128GB     = DropletSlug("gd-32vcpu-128gb")
	DropletSlugDropletGD40VCPU160GB     = DropletSlug("gd-40vcpu-160gb")
	DropletSlugDropletS8VCPU16GB        = DropletSlug("s-8vcpu-16gb")
	DropletSlugDropletM2VCPU16GB        = DropletSlug("m-2vcpu-16gb")
	DropletSlugDropletM4VCPU32GB        = DropletSlug("m-4vcpu-32gb")
	DropletSlugDropletM8VCPU64GB        = DropletSlug("m-8vcpu-64gb")
	DropletSlugDropletM16VCPU128GB      = DropletSlug("m-16vcpu-128gb")
	DropletSlugDropletM24VCPU192GB      = DropletSlug("m-24vcpu-192gb")
	DropletSlugDropletM32VCPU256GB      = DropletSlug("m-32vcpu-256gb")
	DropletSlugDropletM32VCPU16GB       = DropletSlug("m3-2vcpu-16gb")
	DropletSlugDropletM34VCPU32GB       = DropletSlug("m3-4vcpu-32gb")
	DropletSlugDropletM38VCPU64GB       = DropletSlug("m3-8vcpu-64gb")
	DropletSlugDropletM316VCPU128GB     = DropletSlug("m3-16vcpu-128gb")
	DropletSlugDropletM324VCPU192GB     = DropletSlug("m3-24vcpu-192gb")
	DropletSlugDropletM332VCPU256GB     = DropletSlug("m3-32vcpu-256gb")
	DropletSlugDropletM62VCPU16GB       = DropletSlug("m6-2vcpu-16gb")
	DropletSlugDropletM64VCPU32GB       = DropletSlug("m6-4vcpu-32gb")
	DropletSlugDropletM68VCPU64GB       = DropletSlug("m6-8vcpu-64gb")
	DropletSlugDropletM616VCPU128GB     = DropletSlug("m6-16vcpu-128gb")
	DropletSlugDropletM624VCPU192GB     = DropletSlug("m6-24vcpu-192gb")
	DropletSlugDropletM632VCPU256GB     = DropletSlug("m6-32vcpu-256gb")
	DropletSlugDropletSO2VCPU16GB       = DropletSlug("so-2vcpu-16gb")
	DropletSlugDropletSO4VCPU32GB       = DropletSlug("so-4vcpu-32gb")
	DropletSlugDropletSO8VCPU64GB       = DropletSlug("so-8vcpu-64gb")
	DropletSlugDropletSO16VCPU128GB     = DropletSlug("so-16vcpu-128gb")
	DropletSlugDropletSO24VCPU192GB     = DropletSlug("so-24vcpu-192gb")
	DropletSlugDropletSO32VCPU256GB     = DropletSlug("so-32vcpu-256gb")
	DropletSlugDropletSO152VCPU16GB     = DropletSlug("so1_5-2vcpu-16gb")
	DropletSlugDropletSO154VCPU32GB     = DropletSlug("so1_5-4vcpu-32gb")
	DropletSlugDropletSO158VCPU64GB     = DropletSlug("so1_5-8vcpu-64gb")
	DropletSlugDropletSO1516VCPU128GB   = DropletSlug("so1_5-16vcpu-128gb")
	DropletSlugDropletSO1524VCPU192GB   = DropletSlug("so1_5-24vcpu-192gb")
	DropletSlugDropletSO1532VCPU256GB   = DropletSlug("so1_5-32vcpu-256gb")
	DropletSlugDroplet512mb             = DropletSlug("512mb")
	DropletSlugDroplet1GB               = DropletSlug("1gb")
	DropletSlugDroplet2GB               = DropletSlug("2gb")
	DropletSlugDroplet4GB               = DropletSlug("4gb")
	DropletSlugDroplet8GB               = DropletSlug("8gb")
	DropletSlugDroplet16GB              = DropletSlug("16gb")
	DropletSlugDroplet32GB              = DropletSlug("32gb")
	DropletSlugDroplet48GB              = DropletSlug("48gb")
	DropletSlugDroplet64GB              = DropletSlug("64gb")
	DropletSlugDropletS1VCPU3GB         = DropletSlug("s-1vcpu-3gb")
	DropletSlugDropletS3VCPU1GB         = DropletSlug("s-3vcpu-1gb")
	DropletSlugDropletS6VCPU16GB        = DropletSlug("s-6vcpu-16gb")
	DropletSlugDropletS8VCPU32GB        = DropletSlug("s-8vcpu-32gb")
	DropletSlugDropletS12VCPU48GB       = DropletSlug("s-12vcpu-48gb")
	DropletSlugDropletS16VCPU64GB       = DropletSlug("s-16vcpu-64gb")
	DropletSlugDropletS20VCPU96GB       = DropletSlug("s-20vcpu-96gb")
	DropletSlugDropletS24VCPU128GB      = DropletSlug("s-24vcpu-128gb")
	DropletSlugDropletS32VCPU192GB      = DropletSlug("s-32vcpu-192gb")
)
View Source
const (
	FileSystemTypeEXT4 = FileSystemType("ext4")
	FileSystemTypeXFS  = FileSystemType("xfs")
)
View Source
const (
	ProtocolTCP   = Protocol("tcp")
	ProtocolUDP   = Protocol("udp")
	ProtocolICMP  = Protocol("icmp")
	ProtocolHTTP  = Protocol("http")
	ProtocolHTTPS = Protocol("https")
)
View Source
const (
	RecordTypeA     = RecordType("A")
	RecordTypeAAAA  = RecordType("AAAA")
	RecordTypeCAA   = RecordType("CAA")
	RecordTypeCNAME = RecordType("CNAME")
	RecordTypeMX    = RecordType("MX")
	RecordTypeNS    = RecordType("NS")
	RecordTypeTXT   = RecordType("TXT")
	RecordTypeSRV   = RecordType("SRV")
)
View Source
const (
	RegionNYC1 = Region("nyc1")
	RegionNYC2 = Region("nyc2")
	RegionNYC3 = Region("nyc3")
	RegionSGP1 = Region("sgp1")
	RegionLON1 = Region("lon1")
	RegionAMS2 = Region("ams2")
	RegionAMS3 = Region("ams3")
	RegionFRA1 = Region("fra1")
	RegionTOR1 = Region("tor1")
	RegionSFO1 = Region("sfo1")
	RegionSFO2 = Region("sfo2")
	RegionSFO3 = Region("sfo3")
	RegionBLR1 = Region("blr1")
	RegionSYD1 = Region("syd1")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Algorithm

type Algorithm string

func (Algorithm) ElementType

func (Algorithm) ElementType() reflect.Type

func (Algorithm) ToAlgorithmOutput added in v4.9.0

func (e Algorithm) ToAlgorithmOutput() AlgorithmOutput

func (Algorithm) ToAlgorithmOutputWithContext added in v4.9.0

func (e Algorithm) ToAlgorithmOutputWithContext(ctx context.Context) AlgorithmOutput

func (Algorithm) ToAlgorithmPtrOutput added in v4.9.0

func (e Algorithm) ToAlgorithmPtrOutput() AlgorithmPtrOutput

func (Algorithm) ToAlgorithmPtrOutputWithContext added in v4.9.0

func (e Algorithm) ToAlgorithmPtrOutputWithContext(ctx context.Context) AlgorithmPtrOutput

func (Algorithm) ToStringOutput

func (e Algorithm) ToStringOutput() pulumi.StringOutput

func (Algorithm) ToStringOutputWithContext

func (e Algorithm) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (Algorithm) ToStringPtrOutput

func (e Algorithm) ToStringPtrOutput() pulumi.StringPtrOutput

func (Algorithm) ToStringPtrOutputWithContext

func (e Algorithm) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type AlgorithmInput added in v4.9.0

type AlgorithmInput interface {
	pulumi.Input

	ToAlgorithmOutput() AlgorithmOutput
	ToAlgorithmOutputWithContext(context.Context) AlgorithmOutput
}

AlgorithmInput is an input type that accepts values of the Algorithm enum A concrete instance of `AlgorithmInput` can be one of the following:

AlgorithmRoundRobin
AlgorithmLeastConnections

type AlgorithmOutput added in v4.9.0

type AlgorithmOutput struct{ *pulumi.OutputState }

func (AlgorithmOutput) ElementType added in v4.9.0

func (AlgorithmOutput) ElementType() reflect.Type

func (AlgorithmOutput) ToAlgorithmOutput added in v4.9.0

func (o AlgorithmOutput) ToAlgorithmOutput() AlgorithmOutput

func (AlgorithmOutput) ToAlgorithmOutputWithContext added in v4.9.0

func (o AlgorithmOutput) ToAlgorithmOutputWithContext(ctx context.Context) AlgorithmOutput

func (AlgorithmOutput) ToAlgorithmPtrOutput added in v4.9.0

func (o AlgorithmOutput) ToAlgorithmPtrOutput() AlgorithmPtrOutput

func (AlgorithmOutput) ToAlgorithmPtrOutputWithContext added in v4.9.0

func (o AlgorithmOutput) ToAlgorithmPtrOutputWithContext(ctx context.Context) AlgorithmPtrOutput

func (AlgorithmOutput) ToStringOutput added in v4.9.0

func (o AlgorithmOutput) ToStringOutput() pulumi.StringOutput

func (AlgorithmOutput) ToStringOutputWithContext added in v4.9.0

func (o AlgorithmOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (AlgorithmOutput) ToStringPtrOutput added in v4.9.0

func (o AlgorithmOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (AlgorithmOutput) ToStringPtrOutputWithContext added in v4.9.0

func (o AlgorithmOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type AlgorithmPtrInput added in v4.9.0

type AlgorithmPtrInput interface {
	pulumi.Input

	ToAlgorithmPtrOutput() AlgorithmPtrOutput
	ToAlgorithmPtrOutputWithContext(context.Context) AlgorithmPtrOutput
}

func AlgorithmPtr added in v4.9.0

func AlgorithmPtr(v string) AlgorithmPtrInput

type AlgorithmPtrOutput added in v4.9.0

type AlgorithmPtrOutput struct{ *pulumi.OutputState }

func (AlgorithmPtrOutput) Elem added in v4.9.0

func (AlgorithmPtrOutput) ElementType added in v4.9.0

func (AlgorithmPtrOutput) ElementType() reflect.Type

func (AlgorithmPtrOutput) ToAlgorithmPtrOutput added in v4.9.0

func (o AlgorithmPtrOutput) ToAlgorithmPtrOutput() AlgorithmPtrOutput

func (AlgorithmPtrOutput) ToAlgorithmPtrOutputWithContext added in v4.9.0

func (o AlgorithmPtrOutput) ToAlgorithmPtrOutputWithContext(ctx context.Context) AlgorithmPtrOutput

func (AlgorithmPtrOutput) ToStringPtrOutput added in v4.9.0

func (o AlgorithmPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (AlgorithmPtrOutput) ToStringPtrOutputWithContext added in v4.9.0

func (o AlgorithmPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type App

type App struct {
	pulumi.CustomResourceState

	// The ID the app's currently active deployment.
	ActiveDeploymentId pulumi.StringOutput `pulumi:"activeDeploymentId"`
	// The uniform resource identifier for the app.
	AppUrn pulumi.StringOutput `pulumi:"appUrn"`
	// The date and time of when the app was created.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The default URL to access the app.
	DefaultIngress pulumi.StringOutput `pulumi:"defaultIngress"`
	// The live URL of the app.
	LiveUrl pulumi.StringOutput `pulumi:"liveUrl"`
	// The ID of the project that the app is assigned to.
	//
	// A spec can contain multiple components.
	//
	// A `service` can contain:
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// A DigitalOcean App spec describing the app.
	Spec AppSpecPtrOutput `pulumi:"spec"`
	// The date and time of when the app was last updated.
	UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"`
}

Provides a DigitalOcean App resource.

## Example Usage

To create an app, provide a [DigitalOcean app spec](https://docs.digitalocean.com/products/app-platform/reference/app-spec/) specifying the app's components.

### Basic Example

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.NewApp(ctx, "golang-sample", &digitalocean.AppArgs{
			Spec: &digitalocean.AppSpecArgs{
				Name:   pulumi.String("golang-sample"),
				Region: pulumi.String("ams"),
				Services: digitalocean.AppSpecServiceArray{
					&digitalocean.AppSpecServiceArgs{
						EnvironmentSlug: pulumi.String("go"),
						Git: &digitalocean.AppSpecServiceGitArgs{
							Branch:       pulumi.String("main"),
							RepoCloneUrl: pulumi.String("https://github.com/digitalocean/sample-golang.git"),
						},
						InstanceCount:    pulumi.Int(1),
						InstanceSizeSlug: pulumi.String("professional-xs"),
						Name:             pulumi.String("go-service"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Static Site Example

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.NewApp(ctx, "static-site-example", &digitalocean.AppArgs{
			Spec: &digitalocean.AppSpecArgs{
				Name:   pulumi.String("static-site-example"),
				Region: pulumi.String("ams"),
				StaticSites: digitalocean.AppSpecStaticSiteArray{
					&digitalocean.AppSpecStaticSiteArgs{
						BuildCommand: pulumi.String("bundle exec jekyll build -d ./public"),
						Git: &digitalocean.AppSpecStaticSiteGitArgs{
							Branch:       pulumi.String("main"),
							RepoCloneUrl: pulumi.String("https://github.com/digitalocean/sample-jekyll.git"),
						},
						Name:      pulumi.String("sample-jekyll"),
						OutputDir: pulumi.String("/public"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

An app can be imported using its `id`, e.g.

```sh $ pulumi import digitalocean:index/app:App myapp fb06ad00-351f-45c8-b5eb-13523c438661 ```

func GetApp

func GetApp(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AppState, opts ...pulumi.ResourceOption) (*App, error)

GetApp gets an existing App 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 NewApp

func NewApp(ctx *pulumi.Context,
	name string, args *AppArgs, opts ...pulumi.ResourceOption) (*App, error)

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

func (*App) ElementType

func (*App) ElementType() reflect.Type

func (*App) ToAppOutput

func (i *App) ToAppOutput() AppOutput

func (*App) ToAppOutputWithContext

func (i *App) ToAppOutputWithContext(ctx context.Context) AppOutput

type AppArgs

type AppArgs struct {
	// The ID of the project that the app is assigned to.
	//
	// A spec can contain multiple components.
	//
	// A `service` can contain:
	ProjectId pulumi.StringPtrInput
	// A DigitalOcean App spec describing the app.
	Spec AppSpecPtrInput
}

The set of arguments for constructing a App resource.

func (AppArgs) ElementType

func (AppArgs) ElementType() reflect.Type

type AppArray

type AppArray []AppInput

func (AppArray) ElementType

func (AppArray) ElementType() reflect.Type

func (AppArray) ToAppArrayOutput

func (i AppArray) ToAppArrayOutput() AppArrayOutput

func (AppArray) ToAppArrayOutputWithContext

func (i AppArray) ToAppArrayOutputWithContext(ctx context.Context) AppArrayOutput

type AppArrayInput

type AppArrayInput interface {
	pulumi.Input

	ToAppArrayOutput() AppArrayOutput
	ToAppArrayOutputWithContext(context.Context) AppArrayOutput
}

AppArrayInput is an input type that accepts AppArray and AppArrayOutput values. You can construct a concrete instance of `AppArrayInput` via:

AppArray{ AppArgs{...} }

type AppArrayOutput

type AppArrayOutput struct{ *pulumi.OutputState }

func (AppArrayOutput) ElementType

func (AppArrayOutput) ElementType() reflect.Type

func (AppArrayOutput) Index

func (AppArrayOutput) ToAppArrayOutput

func (o AppArrayOutput) ToAppArrayOutput() AppArrayOutput

func (AppArrayOutput) ToAppArrayOutputWithContext

func (o AppArrayOutput) ToAppArrayOutputWithContext(ctx context.Context) AppArrayOutput

type AppInput

type AppInput interface {
	pulumi.Input

	ToAppOutput() AppOutput
	ToAppOutputWithContext(ctx context.Context) AppOutput
}

type AppMap

type AppMap map[string]AppInput

func (AppMap) ElementType

func (AppMap) ElementType() reflect.Type

func (AppMap) ToAppMapOutput

func (i AppMap) ToAppMapOutput() AppMapOutput

func (AppMap) ToAppMapOutputWithContext

func (i AppMap) ToAppMapOutputWithContext(ctx context.Context) AppMapOutput

type AppMapInput

type AppMapInput interface {
	pulumi.Input

	ToAppMapOutput() AppMapOutput
	ToAppMapOutputWithContext(context.Context) AppMapOutput
}

AppMapInput is an input type that accepts AppMap and AppMapOutput values. You can construct a concrete instance of `AppMapInput` via:

AppMap{ "key": AppArgs{...} }

type AppMapOutput

type AppMapOutput struct{ *pulumi.OutputState }

func (AppMapOutput) ElementType

func (AppMapOutput) ElementType() reflect.Type

func (AppMapOutput) MapIndex

func (o AppMapOutput) MapIndex(k pulumi.StringInput) AppOutput

func (AppMapOutput) ToAppMapOutput

func (o AppMapOutput) ToAppMapOutput() AppMapOutput

func (AppMapOutput) ToAppMapOutputWithContext

func (o AppMapOutput) ToAppMapOutputWithContext(ctx context.Context) AppMapOutput

type AppOutput

type AppOutput struct{ *pulumi.OutputState }

func (AppOutput) ActiveDeploymentId added in v4.13.0

func (o AppOutput) ActiveDeploymentId() pulumi.StringOutput

The ID the app's currently active deployment.

func (AppOutput) AppUrn added in v4.21.0

func (o AppOutput) AppUrn() pulumi.StringOutput

The uniform resource identifier for the app.

func (AppOutput) CreatedAt added in v4.13.0

func (o AppOutput) CreatedAt() pulumi.StringOutput

The date and time of when the app was created.

func (AppOutput) DefaultIngress added in v4.13.0

func (o AppOutput) DefaultIngress() pulumi.StringOutput

The default URL to access the app.

func (AppOutput) ElementType

func (AppOutput) ElementType() reflect.Type

func (AppOutput) LiveUrl added in v4.13.0

func (o AppOutput) LiveUrl() pulumi.StringOutput

The live URL of the app.

func (AppOutput) ProjectId added in v4.26.0

func (o AppOutput) ProjectId() pulumi.StringOutput

The ID of the project that the app is assigned to.

A spec can contain multiple components.

A `service` can contain:

func (AppOutput) Spec added in v4.13.0

func (o AppOutput) Spec() AppSpecPtrOutput

A DigitalOcean App spec describing the app.

func (AppOutput) ToAppOutput

func (o AppOutput) ToAppOutput() AppOutput

func (AppOutput) ToAppOutputWithContext

func (o AppOutput) ToAppOutputWithContext(ctx context.Context) AppOutput

func (AppOutput) UpdatedAt added in v4.13.0

func (o AppOutput) UpdatedAt() pulumi.StringOutput

The date and time of when the app was last updated.

type AppSpec

type AppSpec struct {
	// Describes an alert policy for the component.
	Alerts    []AppSpecAlert    `pulumi:"alerts"`
	Databases []AppSpecDatabase `pulumi:"databases"`
	// Describes a domain where the application will be made available.
	DomainNames []AppSpecDomainName `pulumi:"domainNames"`
	// Deprecated: This attribute has been replaced by `domain` which supports additional functionality.
	Domains []string `pulumi:"domains"`
	// Describes an environment variable made available to an app competent.
	Envs []AppSpecEnv `pulumi:"envs"`
	// A list of the features applied to the app. The default buildpack can be overridden here. List of available buildpacks can be found using the [doctl CLI](https://docs.digitalocean.com/reference/doctl/reference/apps/list-buildpacks/)
	Features  []string          `pulumi:"features"`
	Functions []AppSpecFunction `pulumi:"functions"`
	// Specification for component routing, rewrites, and redirects.
	Ingress *AppSpecIngress `pulumi:"ingress"`
	Jobs    []AppSpecJob    `pulumi:"jobs"`
	// The name of the component.
	Name string `pulumi:"name"`
	// The slug for the DigitalOcean data center region hosting the app.
	Region      *string             `pulumi:"region"`
	Services    []AppSpecService    `pulumi:"services"`
	StaticSites []AppSpecStaticSite `pulumi:"staticSites"`
	Workers     []AppSpecWorker     `pulumi:"workers"`
}

type AppSpecAlert added in v4.12.0

type AppSpecAlert struct {
	// Determines whether or not the alert is disabled (default: `false`).
	Disabled *bool `pulumi:"disabled"`
	// The type of the alert to configure. Component app alert policies can be: `CPU_UTILIZATION`, `MEM_UTILIZATION`, or `RESTART_COUNT`.
	Rule string `pulumi:"rule"`
}

type AppSpecAlertArgs added in v4.12.0

type AppSpecAlertArgs struct {
	// Determines whether or not the alert is disabled (default: `false`).
	Disabled pulumi.BoolPtrInput `pulumi:"disabled"`
	// The type of the alert to configure. Component app alert policies can be: `CPU_UTILIZATION`, `MEM_UTILIZATION`, or `RESTART_COUNT`.
	Rule pulumi.StringInput `pulumi:"rule"`
}

func (AppSpecAlertArgs) ElementType added in v4.12.0

func (AppSpecAlertArgs) ElementType() reflect.Type

func (AppSpecAlertArgs) ToAppSpecAlertOutput added in v4.12.0

func (i AppSpecAlertArgs) ToAppSpecAlertOutput() AppSpecAlertOutput

func (AppSpecAlertArgs) ToAppSpecAlertOutputWithContext added in v4.12.0

func (i AppSpecAlertArgs) ToAppSpecAlertOutputWithContext(ctx context.Context) AppSpecAlertOutput

type AppSpecAlertArray added in v4.12.0

type AppSpecAlertArray []AppSpecAlertInput

func (AppSpecAlertArray) ElementType added in v4.12.0

func (AppSpecAlertArray) ElementType() reflect.Type

func (AppSpecAlertArray) ToAppSpecAlertArrayOutput added in v4.12.0

func (i AppSpecAlertArray) ToAppSpecAlertArrayOutput() AppSpecAlertArrayOutput

func (AppSpecAlertArray) ToAppSpecAlertArrayOutputWithContext added in v4.12.0

func (i AppSpecAlertArray) ToAppSpecAlertArrayOutputWithContext(ctx context.Context) AppSpecAlertArrayOutput

type AppSpecAlertArrayInput added in v4.12.0

type AppSpecAlertArrayInput interface {
	pulumi.Input

	ToAppSpecAlertArrayOutput() AppSpecAlertArrayOutput
	ToAppSpecAlertArrayOutputWithContext(context.Context) AppSpecAlertArrayOutput
}

AppSpecAlertArrayInput is an input type that accepts AppSpecAlertArray and AppSpecAlertArrayOutput values. You can construct a concrete instance of `AppSpecAlertArrayInput` via:

AppSpecAlertArray{ AppSpecAlertArgs{...} }

type AppSpecAlertArrayOutput added in v4.12.0

type AppSpecAlertArrayOutput struct{ *pulumi.OutputState }

func (AppSpecAlertArrayOutput) ElementType added in v4.12.0

func (AppSpecAlertArrayOutput) ElementType() reflect.Type

func (AppSpecAlertArrayOutput) Index added in v4.12.0

func (AppSpecAlertArrayOutput) ToAppSpecAlertArrayOutput added in v4.12.0

func (o AppSpecAlertArrayOutput) ToAppSpecAlertArrayOutput() AppSpecAlertArrayOutput

func (AppSpecAlertArrayOutput) ToAppSpecAlertArrayOutputWithContext added in v4.12.0

func (o AppSpecAlertArrayOutput) ToAppSpecAlertArrayOutputWithContext(ctx context.Context) AppSpecAlertArrayOutput

type AppSpecAlertInput added in v4.12.0

type AppSpecAlertInput interface {
	pulumi.Input

	ToAppSpecAlertOutput() AppSpecAlertOutput
	ToAppSpecAlertOutputWithContext(context.Context) AppSpecAlertOutput
}

AppSpecAlertInput is an input type that accepts AppSpecAlertArgs and AppSpecAlertOutput values. You can construct a concrete instance of `AppSpecAlertInput` via:

AppSpecAlertArgs{...}

type AppSpecAlertOutput added in v4.12.0

type AppSpecAlertOutput struct{ *pulumi.OutputState }

func (AppSpecAlertOutput) Disabled added in v4.12.0

Determines whether or not the alert is disabled (default: `false`).

func (AppSpecAlertOutput) ElementType added in v4.12.0

func (AppSpecAlertOutput) ElementType() reflect.Type

func (AppSpecAlertOutput) Rule added in v4.12.0

The type of the alert to configure. Component app alert policies can be: `CPU_UTILIZATION`, `MEM_UTILIZATION`, or `RESTART_COUNT`.

func (AppSpecAlertOutput) ToAppSpecAlertOutput added in v4.12.0

func (o AppSpecAlertOutput) ToAppSpecAlertOutput() AppSpecAlertOutput

func (AppSpecAlertOutput) ToAppSpecAlertOutputWithContext added in v4.12.0

func (o AppSpecAlertOutput) ToAppSpecAlertOutputWithContext(ctx context.Context) AppSpecAlertOutput

type AppSpecArgs

type AppSpecArgs struct {
	// Describes an alert policy for the component.
	Alerts    AppSpecAlertArrayInput    `pulumi:"alerts"`
	Databases AppSpecDatabaseArrayInput `pulumi:"databases"`
	// Describes a domain where the application will be made available.
	DomainNames AppSpecDomainNameArrayInput `pulumi:"domainNames"`
	// Deprecated: This attribute has been replaced by `domain` which supports additional functionality.
	Domains pulumi.StringArrayInput `pulumi:"domains"`
	// Describes an environment variable made available to an app competent.
	Envs AppSpecEnvArrayInput `pulumi:"envs"`
	// A list of the features applied to the app. The default buildpack can be overridden here. List of available buildpacks can be found using the [doctl CLI](https://docs.digitalocean.com/reference/doctl/reference/apps/list-buildpacks/)
	Features  pulumi.StringArrayInput   `pulumi:"features"`
	Functions AppSpecFunctionArrayInput `pulumi:"functions"`
	// Specification for component routing, rewrites, and redirects.
	Ingress AppSpecIngressPtrInput `pulumi:"ingress"`
	Jobs    AppSpecJobArrayInput   `pulumi:"jobs"`
	// The name of the component.
	Name pulumi.StringInput `pulumi:"name"`
	// The slug for the DigitalOcean data center region hosting the app.
	Region      pulumi.StringPtrInput       `pulumi:"region"`
	Services    AppSpecServiceArrayInput    `pulumi:"services"`
	StaticSites AppSpecStaticSiteArrayInput `pulumi:"staticSites"`
	Workers     AppSpecWorkerArrayInput     `pulumi:"workers"`
}

func (AppSpecArgs) ElementType

func (AppSpecArgs) ElementType() reflect.Type

func (AppSpecArgs) ToAppSpecOutput

func (i AppSpecArgs) ToAppSpecOutput() AppSpecOutput

func (AppSpecArgs) ToAppSpecOutputWithContext

func (i AppSpecArgs) ToAppSpecOutputWithContext(ctx context.Context) AppSpecOutput

func (AppSpecArgs) ToAppSpecPtrOutput

func (i AppSpecArgs) ToAppSpecPtrOutput() AppSpecPtrOutput

func (AppSpecArgs) ToAppSpecPtrOutputWithContext

func (i AppSpecArgs) ToAppSpecPtrOutputWithContext(ctx context.Context) AppSpecPtrOutput

type AppSpecDatabase

type AppSpecDatabase struct {
	// The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if `clusterName` is not set, a new cluster will be provisioned.
	ClusterName *string `pulumi:"clusterName"`
	// The name of the MySQL or PostgreSQL database to configure.
	DbName *string `pulumi:"dbName"`
	// The name of the MySQL or PostgreSQL user to configure.
	//
	// This resource supports customized create timeouts. The default timeout is 30 minutes.
	DbUser *string `pulumi:"dbUser"`
	// The database engine to use (`MYSQL`, `PG`, `REDIS`, or `MONGODB`).
	Engine *string `pulumi:"engine"`
	// The name of the component.
	Name *string `pulumi:"name"`
	// Whether this is a production or dev database.
	Production *bool `pulumi:"production"`
	// The version of the database engine.
	Version *string `pulumi:"version"`
}

type AppSpecDatabaseArgs

type AppSpecDatabaseArgs struct {
	// The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if `clusterName` is not set, a new cluster will be provisioned.
	ClusterName pulumi.StringPtrInput `pulumi:"clusterName"`
	// The name of the MySQL or PostgreSQL database to configure.
	DbName pulumi.StringPtrInput `pulumi:"dbName"`
	// The name of the MySQL or PostgreSQL user to configure.
	//
	// This resource supports customized create timeouts. The default timeout is 30 minutes.
	DbUser pulumi.StringPtrInput `pulumi:"dbUser"`
	// The database engine to use (`MYSQL`, `PG`, `REDIS`, or `MONGODB`).
	Engine pulumi.StringPtrInput `pulumi:"engine"`
	// The name of the component.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Whether this is a production or dev database.
	Production pulumi.BoolPtrInput `pulumi:"production"`
	// The version of the database engine.
	Version pulumi.StringPtrInput `pulumi:"version"`
}

func (AppSpecDatabaseArgs) ElementType

func (AppSpecDatabaseArgs) ElementType() reflect.Type

func (AppSpecDatabaseArgs) ToAppSpecDatabaseOutput

func (i AppSpecDatabaseArgs) ToAppSpecDatabaseOutput() AppSpecDatabaseOutput

func (AppSpecDatabaseArgs) ToAppSpecDatabaseOutputWithContext

func (i AppSpecDatabaseArgs) ToAppSpecDatabaseOutputWithContext(ctx context.Context) AppSpecDatabaseOutput

type AppSpecDatabaseArray

type AppSpecDatabaseArray []AppSpecDatabaseInput

func (AppSpecDatabaseArray) ElementType

func (AppSpecDatabaseArray) ElementType() reflect.Type

func (AppSpecDatabaseArray) ToAppSpecDatabaseArrayOutput

func (i AppSpecDatabaseArray) ToAppSpecDatabaseArrayOutput() AppSpecDatabaseArrayOutput

func (AppSpecDatabaseArray) ToAppSpecDatabaseArrayOutputWithContext

func (i AppSpecDatabaseArray) ToAppSpecDatabaseArrayOutputWithContext(ctx context.Context) AppSpecDatabaseArrayOutput

type AppSpecDatabaseArrayInput

type AppSpecDatabaseArrayInput interface {
	pulumi.Input

	ToAppSpecDatabaseArrayOutput() AppSpecDatabaseArrayOutput
	ToAppSpecDatabaseArrayOutputWithContext(context.Context) AppSpecDatabaseArrayOutput
}

AppSpecDatabaseArrayInput is an input type that accepts AppSpecDatabaseArray and AppSpecDatabaseArrayOutput values. You can construct a concrete instance of `AppSpecDatabaseArrayInput` via:

AppSpecDatabaseArray{ AppSpecDatabaseArgs{...} }

type AppSpecDatabaseArrayOutput

type AppSpecDatabaseArrayOutput struct{ *pulumi.OutputState }

func (AppSpecDatabaseArrayOutput) ElementType

func (AppSpecDatabaseArrayOutput) ElementType() reflect.Type

func (AppSpecDatabaseArrayOutput) Index

func (AppSpecDatabaseArrayOutput) ToAppSpecDatabaseArrayOutput

func (o AppSpecDatabaseArrayOutput) ToAppSpecDatabaseArrayOutput() AppSpecDatabaseArrayOutput

func (AppSpecDatabaseArrayOutput) ToAppSpecDatabaseArrayOutputWithContext

func (o AppSpecDatabaseArrayOutput) ToAppSpecDatabaseArrayOutputWithContext(ctx context.Context) AppSpecDatabaseArrayOutput

type AppSpecDatabaseInput

type AppSpecDatabaseInput interface {
	pulumi.Input

	ToAppSpecDatabaseOutput() AppSpecDatabaseOutput
	ToAppSpecDatabaseOutputWithContext(context.Context) AppSpecDatabaseOutput
}

AppSpecDatabaseInput is an input type that accepts AppSpecDatabaseArgs and AppSpecDatabaseOutput values. You can construct a concrete instance of `AppSpecDatabaseInput` via:

AppSpecDatabaseArgs{...}

type AppSpecDatabaseOutput

type AppSpecDatabaseOutput struct{ *pulumi.OutputState }

func (AppSpecDatabaseOutput) ClusterName

The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if `clusterName` is not set, a new cluster will be provisioned.

func (AppSpecDatabaseOutput) DbName

The name of the MySQL or PostgreSQL database to configure.

func (AppSpecDatabaseOutput) DbUser

The name of the MySQL or PostgreSQL user to configure.

This resource supports customized create timeouts. The default timeout is 30 minutes.

func (AppSpecDatabaseOutput) ElementType

func (AppSpecDatabaseOutput) ElementType() reflect.Type

func (AppSpecDatabaseOutput) Engine

The database engine to use (`MYSQL`, `PG`, `REDIS`, or `MONGODB`).

func (AppSpecDatabaseOutput) Name

The name of the component.

func (AppSpecDatabaseOutput) Production

Whether this is a production or dev database.

func (AppSpecDatabaseOutput) ToAppSpecDatabaseOutput

func (o AppSpecDatabaseOutput) ToAppSpecDatabaseOutput() AppSpecDatabaseOutput

func (AppSpecDatabaseOutput) ToAppSpecDatabaseOutputWithContext

func (o AppSpecDatabaseOutput) ToAppSpecDatabaseOutputWithContext(ctx context.Context) AppSpecDatabaseOutput

func (AppSpecDatabaseOutput) Version

The version of the database engine.

type AppSpecDomainName

type AppSpecDomainName struct {
	// The hostname for the domain.
	Name string `pulumi:"name"`
	// The domain type, which can be one of the following:
	Type *string `pulumi:"type"`
	// A boolean indicating whether the domain includes all sub-domains, in addition to the given domain.
	Wildcard *bool `pulumi:"wildcard"`
	// If the domain uses DigitalOcean DNS and you would like App Platform to automatically manage it for you, set this to the name of the domain on your account.
	Zone *string `pulumi:"zone"`
}

type AppSpecDomainNameArgs

type AppSpecDomainNameArgs struct {
	// The hostname for the domain.
	Name pulumi.StringInput `pulumi:"name"`
	// The domain type, which can be one of the following:
	Type pulumi.StringPtrInput `pulumi:"type"`
	// A boolean indicating whether the domain includes all sub-domains, in addition to the given domain.
	Wildcard pulumi.BoolPtrInput `pulumi:"wildcard"`
	// If the domain uses DigitalOcean DNS and you would like App Platform to automatically manage it for you, set this to the name of the domain on your account.
	Zone pulumi.StringPtrInput `pulumi:"zone"`
}

func (AppSpecDomainNameArgs) ElementType

func (AppSpecDomainNameArgs) ElementType() reflect.Type

func (AppSpecDomainNameArgs) ToAppSpecDomainNameOutput

func (i AppSpecDomainNameArgs) ToAppSpecDomainNameOutput() AppSpecDomainNameOutput

func (AppSpecDomainNameArgs) ToAppSpecDomainNameOutputWithContext

func (i AppSpecDomainNameArgs) ToAppSpecDomainNameOutputWithContext(ctx context.Context) AppSpecDomainNameOutput

type AppSpecDomainNameArray

type AppSpecDomainNameArray []AppSpecDomainNameInput

func (AppSpecDomainNameArray) ElementType

func (AppSpecDomainNameArray) ElementType() reflect.Type

func (AppSpecDomainNameArray) ToAppSpecDomainNameArrayOutput

func (i AppSpecDomainNameArray) ToAppSpecDomainNameArrayOutput() AppSpecDomainNameArrayOutput

func (AppSpecDomainNameArray) ToAppSpecDomainNameArrayOutputWithContext

func (i AppSpecDomainNameArray) ToAppSpecDomainNameArrayOutputWithContext(ctx context.Context) AppSpecDomainNameArrayOutput

type AppSpecDomainNameArrayInput

type AppSpecDomainNameArrayInput interface {
	pulumi.Input

	ToAppSpecDomainNameArrayOutput() AppSpecDomainNameArrayOutput
	ToAppSpecDomainNameArrayOutputWithContext(context.Context) AppSpecDomainNameArrayOutput
}

AppSpecDomainNameArrayInput is an input type that accepts AppSpecDomainNameArray and AppSpecDomainNameArrayOutput values. You can construct a concrete instance of `AppSpecDomainNameArrayInput` via:

AppSpecDomainNameArray{ AppSpecDomainNameArgs{...} }

type AppSpecDomainNameArrayOutput

type AppSpecDomainNameArrayOutput struct{ *pulumi.OutputState }

func (AppSpecDomainNameArrayOutput) ElementType

func (AppSpecDomainNameArrayOutput) Index

func (AppSpecDomainNameArrayOutput) ToAppSpecDomainNameArrayOutput

func (o AppSpecDomainNameArrayOutput) ToAppSpecDomainNameArrayOutput() AppSpecDomainNameArrayOutput

func (AppSpecDomainNameArrayOutput) ToAppSpecDomainNameArrayOutputWithContext

func (o AppSpecDomainNameArrayOutput) ToAppSpecDomainNameArrayOutputWithContext(ctx context.Context) AppSpecDomainNameArrayOutput

type AppSpecDomainNameInput

type AppSpecDomainNameInput interface {
	pulumi.Input

	ToAppSpecDomainNameOutput() AppSpecDomainNameOutput
	ToAppSpecDomainNameOutputWithContext(context.Context) AppSpecDomainNameOutput
}

AppSpecDomainNameInput is an input type that accepts AppSpecDomainNameArgs and AppSpecDomainNameOutput values. You can construct a concrete instance of `AppSpecDomainNameInput` via:

AppSpecDomainNameArgs{...}

type AppSpecDomainNameOutput

type AppSpecDomainNameOutput struct{ *pulumi.OutputState }

func (AppSpecDomainNameOutput) ElementType

func (AppSpecDomainNameOutput) ElementType() reflect.Type

func (AppSpecDomainNameOutput) Name

The hostname for the domain.

func (AppSpecDomainNameOutput) ToAppSpecDomainNameOutput

func (o AppSpecDomainNameOutput) ToAppSpecDomainNameOutput() AppSpecDomainNameOutput

func (AppSpecDomainNameOutput) ToAppSpecDomainNameOutputWithContext

func (o AppSpecDomainNameOutput) ToAppSpecDomainNameOutputWithContext(ctx context.Context) AppSpecDomainNameOutput

func (AppSpecDomainNameOutput) Type

The domain type, which can be one of the following:

func (AppSpecDomainNameOutput) Wildcard

A boolean indicating whether the domain includes all sub-domains, in addition to the given domain.

func (AppSpecDomainNameOutput) Zone

If the domain uses DigitalOcean DNS and you would like App Platform to automatically manage it for you, set this to the name of the domain on your account.

type AppSpecEnv

type AppSpecEnv struct {
	// The name of the environment variable.
	Key *string `pulumi:"key"`
	// The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).
	Scope *string `pulumi:"scope"`
	// The type of the environment variable, `GENERAL` or `SECRET`.
	Type *string `pulumi:"type"`
	// The value of the environment variable.
	Value *string `pulumi:"value"`
}

type AppSpecEnvArgs

type AppSpecEnvArgs struct {
	// The name of the environment variable.
	Key pulumi.StringPtrInput `pulumi:"key"`
	// The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).
	Scope pulumi.StringPtrInput `pulumi:"scope"`
	// The type of the environment variable, `GENERAL` or `SECRET`.
	Type pulumi.StringPtrInput `pulumi:"type"`
	// The value of the environment variable.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (AppSpecEnvArgs) ElementType

func (AppSpecEnvArgs) ElementType() reflect.Type

func (AppSpecEnvArgs) ToAppSpecEnvOutput

func (i AppSpecEnvArgs) ToAppSpecEnvOutput() AppSpecEnvOutput

func (AppSpecEnvArgs) ToAppSpecEnvOutputWithContext

func (i AppSpecEnvArgs) ToAppSpecEnvOutputWithContext(ctx context.Context) AppSpecEnvOutput

type AppSpecEnvArray

type AppSpecEnvArray []AppSpecEnvInput

func (AppSpecEnvArray) ElementType

func (AppSpecEnvArray) ElementType() reflect.Type

func (AppSpecEnvArray) ToAppSpecEnvArrayOutput

func (i AppSpecEnvArray) ToAppSpecEnvArrayOutput() AppSpecEnvArrayOutput

func (AppSpecEnvArray) ToAppSpecEnvArrayOutputWithContext

func (i AppSpecEnvArray) ToAppSpecEnvArrayOutputWithContext(ctx context.Context) AppSpecEnvArrayOutput

type AppSpecEnvArrayInput

type AppSpecEnvArrayInput interface {
	pulumi.Input

	ToAppSpecEnvArrayOutput() AppSpecEnvArrayOutput
	ToAppSpecEnvArrayOutputWithContext(context.Context) AppSpecEnvArrayOutput
}

AppSpecEnvArrayInput is an input type that accepts AppSpecEnvArray and AppSpecEnvArrayOutput values. You can construct a concrete instance of `AppSpecEnvArrayInput` via:

AppSpecEnvArray{ AppSpecEnvArgs{...} }

type AppSpecEnvArrayOutput

type AppSpecEnvArrayOutput struct{ *pulumi.OutputState }

func (AppSpecEnvArrayOutput) ElementType

func (AppSpecEnvArrayOutput) ElementType() reflect.Type

func (AppSpecEnvArrayOutput) Index

func (AppSpecEnvArrayOutput) ToAppSpecEnvArrayOutput

func (o AppSpecEnvArrayOutput) ToAppSpecEnvArrayOutput() AppSpecEnvArrayOutput

func (AppSpecEnvArrayOutput) ToAppSpecEnvArrayOutputWithContext

func (o AppSpecEnvArrayOutput) ToAppSpecEnvArrayOutputWithContext(ctx context.Context) AppSpecEnvArrayOutput

type AppSpecEnvInput

type AppSpecEnvInput interface {
	pulumi.Input

	ToAppSpecEnvOutput() AppSpecEnvOutput
	ToAppSpecEnvOutputWithContext(context.Context) AppSpecEnvOutput
}

AppSpecEnvInput is an input type that accepts AppSpecEnvArgs and AppSpecEnvOutput values. You can construct a concrete instance of `AppSpecEnvInput` via:

AppSpecEnvArgs{...}

type AppSpecEnvOutput

type AppSpecEnvOutput struct{ *pulumi.OutputState }

func (AppSpecEnvOutput) ElementType

func (AppSpecEnvOutput) ElementType() reflect.Type

func (AppSpecEnvOutput) Key

The name of the environment variable.

func (AppSpecEnvOutput) Scope

The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).

func (AppSpecEnvOutput) ToAppSpecEnvOutput

func (o AppSpecEnvOutput) ToAppSpecEnvOutput() AppSpecEnvOutput

func (AppSpecEnvOutput) ToAppSpecEnvOutputWithContext

func (o AppSpecEnvOutput) ToAppSpecEnvOutputWithContext(ctx context.Context) AppSpecEnvOutput

func (AppSpecEnvOutput) Type

The type of the environment variable, `GENERAL` or `SECRET`.

func (AppSpecEnvOutput) Value

The value of the environment variable.

type AppSpecFunction added in v4.13.0

type AppSpecFunction struct {
	// Describes an alert policy for the component.
	Alerts []AppSpecFunctionAlert `pulumi:"alerts"`
	// The [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies of the app.
	//
	// Deprecated: Service level CORS rules are deprecated in favor of ingresses
	Cors *AppSpecFunctionCors `pulumi:"cors"`
	// Describes an environment variable made available to an app competent.
	Envs []AppSpecFunctionEnv `pulumi:"envs"`
	// A Git repo to use as the component's source. The repository must be able to be cloned without authentication.  Only one of `git`, `github` or `gitlab`  may be set.
	Git *AppSpecFunctionGit `pulumi:"git"`
	// A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Github *AppSpecFunctionGithub `pulumi:"github"`
	// A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Gitlab *AppSpecFunctionGitlab `pulumi:"gitlab"`
	// Describes a log forwarding destination.
	LogDestinations []AppSpecFunctionLogDestination `pulumi:"logDestinations"`
	// The name of the component.
	Name string `pulumi:"name"`
	// An HTTP paths that should be routed to this component.
	//
	// Deprecated: Service level routes are deprecated in favor of ingresses
	Routes []AppSpecFunctionRoute `pulumi:"routes"`
	// An optional path to the working directory to use for the build.
	SourceDir *string `pulumi:"sourceDir"`
}

type AppSpecFunctionAlert added in v4.13.0

type AppSpecFunctionAlert struct {
	// Determines whether or not the alert is disabled (default: `false`).
	Disabled *bool `pulumi:"disabled"`
	// The operator to use. This is either of `GREATER_THAN` or `LESS_THAN`.
	Operator string `pulumi:"operator"`
	// The type of the alert to configure. Component app alert policies can be: `CPU_UTILIZATION`, `MEM_UTILIZATION`, or `RESTART_COUNT`.
	Rule string `pulumi:"rule"`
	// The threshold for the type of the warning.
	Value float64 `pulumi:"value"`
	// The time before alerts should be triggered. This is may be one of: `FIVE_MINUTES`, `TEN_MINUTES`, `THIRTY_MINUTES`, `ONE_HOUR`.
	Window string `pulumi:"window"`
}

type AppSpecFunctionAlertArgs added in v4.13.0

type AppSpecFunctionAlertArgs struct {
	// Determines whether or not the alert is disabled (default: `false`).
	Disabled pulumi.BoolPtrInput `pulumi:"disabled"`
	// The operator to use. This is either of `GREATER_THAN` or `LESS_THAN`.
	Operator pulumi.StringInput `pulumi:"operator"`
	// The type of the alert to configure. Component app alert policies can be: `CPU_UTILIZATION`, `MEM_UTILIZATION`, or `RESTART_COUNT`.
	Rule pulumi.StringInput `pulumi:"rule"`
	// The threshold for the type of the warning.
	Value pulumi.Float64Input `pulumi:"value"`
	// The time before alerts should be triggered. This is may be one of: `FIVE_MINUTES`, `TEN_MINUTES`, `THIRTY_MINUTES`, `ONE_HOUR`.
	Window pulumi.StringInput `pulumi:"window"`
}

func (AppSpecFunctionAlertArgs) ElementType added in v4.13.0

func (AppSpecFunctionAlertArgs) ElementType() reflect.Type

func (AppSpecFunctionAlertArgs) ToAppSpecFunctionAlertOutput added in v4.13.0

func (i AppSpecFunctionAlertArgs) ToAppSpecFunctionAlertOutput() AppSpecFunctionAlertOutput

func (AppSpecFunctionAlertArgs) ToAppSpecFunctionAlertOutputWithContext added in v4.13.0

func (i AppSpecFunctionAlertArgs) ToAppSpecFunctionAlertOutputWithContext(ctx context.Context) AppSpecFunctionAlertOutput

type AppSpecFunctionAlertArray added in v4.13.0

type AppSpecFunctionAlertArray []AppSpecFunctionAlertInput

func (AppSpecFunctionAlertArray) ElementType added in v4.13.0

func (AppSpecFunctionAlertArray) ElementType() reflect.Type

func (AppSpecFunctionAlertArray) ToAppSpecFunctionAlertArrayOutput added in v4.13.0

func (i AppSpecFunctionAlertArray) ToAppSpecFunctionAlertArrayOutput() AppSpecFunctionAlertArrayOutput

func (AppSpecFunctionAlertArray) ToAppSpecFunctionAlertArrayOutputWithContext added in v4.13.0

func (i AppSpecFunctionAlertArray) ToAppSpecFunctionAlertArrayOutputWithContext(ctx context.Context) AppSpecFunctionAlertArrayOutput

type AppSpecFunctionAlertArrayInput added in v4.13.0

type AppSpecFunctionAlertArrayInput interface {
	pulumi.Input

	ToAppSpecFunctionAlertArrayOutput() AppSpecFunctionAlertArrayOutput
	ToAppSpecFunctionAlertArrayOutputWithContext(context.Context) AppSpecFunctionAlertArrayOutput
}

AppSpecFunctionAlertArrayInput is an input type that accepts AppSpecFunctionAlertArray and AppSpecFunctionAlertArrayOutput values. You can construct a concrete instance of `AppSpecFunctionAlertArrayInput` via:

AppSpecFunctionAlertArray{ AppSpecFunctionAlertArgs{...} }

type AppSpecFunctionAlertArrayOutput added in v4.13.0

type AppSpecFunctionAlertArrayOutput struct{ *pulumi.OutputState }

func (AppSpecFunctionAlertArrayOutput) ElementType added in v4.13.0

func (AppSpecFunctionAlertArrayOutput) Index added in v4.13.0

func (AppSpecFunctionAlertArrayOutput) ToAppSpecFunctionAlertArrayOutput added in v4.13.0

func (o AppSpecFunctionAlertArrayOutput) ToAppSpecFunctionAlertArrayOutput() AppSpecFunctionAlertArrayOutput

func (AppSpecFunctionAlertArrayOutput) ToAppSpecFunctionAlertArrayOutputWithContext added in v4.13.0

func (o AppSpecFunctionAlertArrayOutput) ToAppSpecFunctionAlertArrayOutputWithContext(ctx context.Context) AppSpecFunctionAlertArrayOutput

type AppSpecFunctionAlertInput added in v4.13.0

type AppSpecFunctionAlertInput interface {
	pulumi.Input

	ToAppSpecFunctionAlertOutput() AppSpecFunctionAlertOutput
	ToAppSpecFunctionAlertOutputWithContext(context.Context) AppSpecFunctionAlertOutput
}

AppSpecFunctionAlertInput is an input type that accepts AppSpecFunctionAlertArgs and AppSpecFunctionAlertOutput values. You can construct a concrete instance of `AppSpecFunctionAlertInput` via:

AppSpecFunctionAlertArgs{...}

type AppSpecFunctionAlertOutput added in v4.13.0

type AppSpecFunctionAlertOutput struct{ *pulumi.OutputState }

func (AppSpecFunctionAlertOutput) Disabled added in v4.13.0

Determines whether or not the alert is disabled (default: `false`).

func (AppSpecFunctionAlertOutput) ElementType added in v4.13.0

func (AppSpecFunctionAlertOutput) ElementType() reflect.Type

func (AppSpecFunctionAlertOutput) Operator added in v4.13.0

The operator to use. This is either of `GREATER_THAN` or `LESS_THAN`.

func (AppSpecFunctionAlertOutput) Rule added in v4.13.0

The type of the alert to configure. Component app alert policies can be: `CPU_UTILIZATION`, `MEM_UTILIZATION`, or `RESTART_COUNT`.

func (AppSpecFunctionAlertOutput) ToAppSpecFunctionAlertOutput added in v4.13.0

func (o AppSpecFunctionAlertOutput) ToAppSpecFunctionAlertOutput() AppSpecFunctionAlertOutput

func (AppSpecFunctionAlertOutput) ToAppSpecFunctionAlertOutputWithContext added in v4.13.0

func (o AppSpecFunctionAlertOutput) ToAppSpecFunctionAlertOutputWithContext(ctx context.Context) AppSpecFunctionAlertOutput

func (AppSpecFunctionAlertOutput) Value added in v4.13.0

The threshold for the type of the warning.

func (AppSpecFunctionAlertOutput) Window added in v4.13.0

The time before alerts should be triggered. This is may be one of: `FIVE_MINUTES`, `TEN_MINUTES`, `THIRTY_MINUTES`, `ONE_HOUR`.

type AppSpecFunctionArgs added in v4.13.0

type AppSpecFunctionArgs struct {
	// Describes an alert policy for the component.
	Alerts AppSpecFunctionAlertArrayInput `pulumi:"alerts"`
	// The [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies of the app.
	//
	// Deprecated: Service level CORS rules are deprecated in favor of ingresses
	Cors AppSpecFunctionCorsPtrInput `pulumi:"cors"`
	// Describes an environment variable made available to an app competent.
	Envs AppSpecFunctionEnvArrayInput `pulumi:"envs"`
	// A Git repo to use as the component's source. The repository must be able to be cloned without authentication.  Only one of `git`, `github` or `gitlab`  may be set.
	Git AppSpecFunctionGitPtrInput `pulumi:"git"`
	// A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Github AppSpecFunctionGithubPtrInput `pulumi:"github"`
	// A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Gitlab AppSpecFunctionGitlabPtrInput `pulumi:"gitlab"`
	// Describes a log forwarding destination.
	LogDestinations AppSpecFunctionLogDestinationArrayInput `pulumi:"logDestinations"`
	// The name of the component.
	Name pulumi.StringInput `pulumi:"name"`
	// An HTTP paths that should be routed to this component.
	//
	// Deprecated: Service level routes are deprecated in favor of ingresses
	Routes AppSpecFunctionRouteArrayInput `pulumi:"routes"`
	// An optional path to the working directory to use for the build.
	SourceDir pulumi.StringPtrInput `pulumi:"sourceDir"`
}

func (AppSpecFunctionArgs) ElementType added in v4.13.0

func (AppSpecFunctionArgs) ElementType() reflect.Type

func (AppSpecFunctionArgs) ToAppSpecFunctionOutput added in v4.13.0

func (i AppSpecFunctionArgs) ToAppSpecFunctionOutput() AppSpecFunctionOutput

func (AppSpecFunctionArgs) ToAppSpecFunctionOutputWithContext added in v4.13.0

func (i AppSpecFunctionArgs) ToAppSpecFunctionOutputWithContext(ctx context.Context) AppSpecFunctionOutput

type AppSpecFunctionArray added in v4.13.0

type AppSpecFunctionArray []AppSpecFunctionInput

func (AppSpecFunctionArray) ElementType added in v4.13.0

func (AppSpecFunctionArray) ElementType() reflect.Type

func (AppSpecFunctionArray) ToAppSpecFunctionArrayOutput added in v4.13.0

func (i AppSpecFunctionArray) ToAppSpecFunctionArrayOutput() AppSpecFunctionArrayOutput

func (AppSpecFunctionArray) ToAppSpecFunctionArrayOutputWithContext added in v4.13.0

func (i AppSpecFunctionArray) ToAppSpecFunctionArrayOutputWithContext(ctx context.Context) AppSpecFunctionArrayOutput

type AppSpecFunctionArrayInput added in v4.13.0

type AppSpecFunctionArrayInput interface {
	pulumi.Input

	ToAppSpecFunctionArrayOutput() AppSpecFunctionArrayOutput
	ToAppSpecFunctionArrayOutputWithContext(context.Context) AppSpecFunctionArrayOutput
}

AppSpecFunctionArrayInput is an input type that accepts AppSpecFunctionArray and AppSpecFunctionArrayOutput values. You can construct a concrete instance of `AppSpecFunctionArrayInput` via:

AppSpecFunctionArray{ AppSpecFunctionArgs{...} }

type AppSpecFunctionArrayOutput added in v4.13.0

type AppSpecFunctionArrayOutput struct{ *pulumi.OutputState }

func (AppSpecFunctionArrayOutput) ElementType added in v4.13.0

func (AppSpecFunctionArrayOutput) ElementType() reflect.Type

func (AppSpecFunctionArrayOutput) Index added in v4.13.0

func (AppSpecFunctionArrayOutput) ToAppSpecFunctionArrayOutput added in v4.13.0

func (o AppSpecFunctionArrayOutput) ToAppSpecFunctionArrayOutput() AppSpecFunctionArrayOutput

func (AppSpecFunctionArrayOutput) ToAppSpecFunctionArrayOutputWithContext added in v4.13.0

func (o AppSpecFunctionArrayOutput) ToAppSpecFunctionArrayOutputWithContext(ctx context.Context) AppSpecFunctionArrayOutput

type AppSpecFunctionCors added in v4.13.0

type AppSpecFunctionCors struct {
	// Whether browsers should expose the response to the client-side JavaScript code when the request’s credentials mode is `include`. This configures the Access-Control-Allow-Credentials header.
	AllowCredentials *bool `pulumi:"allowCredentials"`
	// The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.
	AllowHeaders []string `pulumi:"allowHeaders"`
	// The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.
	AllowMethods []string `pulumi:"allowMethods"`
	// The set of allowed CORS origins. This configures the Access-Control-Allow-Origin header.
	AllowOrigins *AppSpecFunctionCorsAllowOrigins `pulumi:"allowOrigins"`
	// The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.
	ExposeHeaders []string `pulumi:"exposeHeaders"`
	// An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: `5h30m`.
	MaxAge *string `pulumi:"maxAge"`
}

type AppSpecFunctionCorsAllowOrigins added in v4.13.0

type AppSpecFunctionCorsAllowOrigins struct {
	// Exact string match.
	Exact *string `pulumi:"exact"`
	// Prefix-based match.
	Prefix *string `pulumi:"prefix"`
	// RE2 style regex-based match.
	Regex *string `pulumi:"regex"`
}

type AppSpecFunctionCorsAllowOriginsArgs added in v4.13.0

type AppSpecFunctionCorsAllowOriginsArgs struct {
	// Exact string match.
	Exact pulumi.StringPtrInput `pulumi:"exact"`
	// Prefix-based match.
	Prefix pulumi.StringPtrInput `pulumi:"prefix"`
	// RE2 style regex-based match.
	Regex pulumi.StringPtrInput `pulumi:"regex"`
}

func (AppSpecFunctionCorsAllowOriginsArgs) ElementType added in v4.13.0

func (AppSpecFunctionCorsAllowOriginsArgs) ToAppSpecFunctionCorsAllowOriginsOutput added in v4.13.0

func (i AppSpecFunctionCorsAllowOriginsArgs) ToAppSpecFunctionCorsAllowOriginsOutput() AppSpecFunctionCorsAllowOriginsOutput

func (AppSpecFunctionCorsAllowOriginsArgs) ToAppSpecFunctionCorsAllowOriginsOutputWithContext added in v4.13.0

func (i AppSpecFunctionCorsAllowOriginsArgs) ToAppSpecFunctionCorsAllowOriginsOutputWithContext(ctx context.Context) AppSpecFunctionCorsAllowOriginsOutput

func (AppSpecFunctionCorsAllowOriginsArgs) ToAppSpecFunctionCorsAllowOriginsPtrOutput added in v4.13.0

func (i AppSpecFunctionCorsAllowOriginsArgs) ToAppSpecFunctionCorsAllowOriginsPtrOutput() AppSpecFunctionCorsAllowOriginsPtrOutput

func (AppSpecFunctionCorsAllowOriginsArgs) ToAppSpecFunctionCorsAllowOriginsPtrOutputWithContext added in v4.13.0

func (i AppSpecFunctionCorsAllowOriginsArgs) ToAppSpecFunctionCorsAllowOriginsPtrOutputWithContext(ctx context.Context) AppSpecFunctionCorsAllowOriginsPtrOutput

type AppSpecFunctionCorsAllowOriginsInput added in v4.13.0

type AppSpecFunctionCorsAllowOriginsInput interface {
	pulumi.Input

	ToAppSpecFunctionCorsAllowOriginsOutput() AppSpecFunctionCorsAllowOriginsOutput
	ToAppSpecFunctionCorsAllowOriginsOutputWithContext(context.Context) AppSpecFunctionCorsAllowOriginsOutput
}

AppSpecFunctionCorsAllowOriginsInput is an input type that accepts AppSpecFunctionCorsAllowOriginsArgs and AppSpecFunctionCorsAllowOriginsOutput values. You can construct a concrete instance of `AppSpecFunctionCorsAllowOriginsInput` via:

AppSpecFunctionCorsAllowOriginsArgs{...}

type AppSpecFunctionCorsAllowOriginsOutput added in v4.13.0

type AppSpecFunctionCorsAllowOriginsOutput struct{ *pulumi.OutputState }

func (AppSpecFunctionCorsAllowOriginsOutput) ElementType added in v4.13.0

func (AppSpecFunctionCorsAllowOriginsOutput) Exact added in v4.13.0

Exact string match.

func (AppSpecFunctionCorsAllowOriginsOutput) Prefix added in v4.13.0

Prefix-based match.

func (AppSpecFunctionCorsAllowOriginsOutput) Regex added in v4.13.0

RE2 style regex-based match.

func (AppSpecFunctionCorsAllowOriginsOutput) ToAppSpecFunctionCorsAllowOriginsOutput added in v4.13.0

func (o AppSpecFunctionCorsAllowOriginsOutput) ToAppSpecFunctionCorsAllowOriginsOutput() AppSpecFunctionCorsAllowOriginsOutput

func (AppSpecFunctionCorsAllowOriginsOutput) ToAppSpecFunctionCorsAllowOriginsOutputWithContext added in v4.13.0

func (o AppSpecFunctionCorsAllowOriginsOutput) ToAppSpecFunctionCorsAllowOriginsOutputWithContext(ctx context.Context) AppSpecFunctionCorsAllowOriginsOutput

func (AppSpecFunctionCorsAllowOriginsOutput) ToAppSpecFunctionCorsAllowOriginsPtrOutput added in v4.13.0

func (o AppSpecFunctionCorsAllowOriginsOutput) ToAppSpecFunctionCorsAllowOriginsPtrOutput() AppSpecFunctionCorsAllowOriginsPtrOutput

func (AppSpecFunctionCorsAllowOriginsOutput) ToAppSpecFunctionCorsAllowOriginsPtrOutputWithContext added in v4.13.0

func (o AppSpecFunctionCorsAllowOriginsOutput) ToAppSpecFunctionCorsAllowOriginsPtrOutputWithContext(ctx context.Context) AppSpecFunctionCorsAllowOriginsPtrOutput

type AppSpecFunctionCorsAllowOriginsPtrInput added in v4.13.0

type AppSpecFunctionCorsAllowOriginsPtrInput interface {
	pulumi.Input

	ToAppSpecFunctionCorsAllowOriginsPtrOutput() AppSpecFunctionCorsAllowOriginsPtrOutput
	ToAppSpecFunctionCorsAllowOriginsPtrOutputWithContext(context.Context) AppSpecFunctionCorsAllowOriginsPtrOutput
}

AppSpecFunctionCorsAllowOriginsPtrInput is an input type that accepts AppSpecFunctionCorsAllowOriginsArgs, AppSpecFunctionCorsAllowOriginsPtr and AppSpecFunctionCorsAllowOriginsPtrOutput values. You can construct a concrete instance of `AppSpecFunctionCorsAllowOriginsPtrInput` via:

        AppSpecFunctionCorsAllowOriginsArgs{...}

or:

        nil

type AppSpecFunctionCorsAllowOriginsPtrOutput added in v4.13.0

type AppSpecFunctionCorsAllowOriginsPtrOutput struct{ *pulumi.OutputState }

func (AppSpecFunctionCorsAllowOriginsPtrOutput) Elem added in v4.13.0

func (AppSpecFunctionCorsAllowOriginsPtrOutput) ElementType added in v4.13.0

func (AppSpecFunctionCorsAllowOriginsPtrOutput) Exact added in v4.13.0

Exact string match.

func (AppSpecFunctionCorsAllowOriginsPtrOutput) Prefix added in v4.13.0

Prefix-based match.

func (AppSpecFunctionCorsAllowOriginsPtrOutput) Regex added in v4.13.0

RE2 style regex-based match.

func (AppSpecFunctionCorsAllowOriginsPtrOutput) ToAppSpecFunctionCorsAllowOriginsPtrOutput added in v4.13.0

func (o AppSpecFunctionCorsAllowOriginsPtrOutput) ToAppSpecFunctionCorsAllowOriginsPtrOutput() AppSpecFunctionCorsAllowOriginsPtrOutput

func (AppSpecFunctionCorsAllowOriginsPtrOutput) ToAppSpecFunctionCorsAllowOriginsPtrOutputWithContext added in v4.13.0

func (o AppSpecFunctionCorsAllowOriginsPtrOutput) ToAppSpecFunctionCorsAllowOriginsPtrOutputWithContext(ctx context.Context) AppSpecFunctionCorsAllowOriginsPtrOutput

type AppSpecFunctionCorsArgs added in v4.13.0

type AppSpecFunctionCorsArgs struct {
	// Whether browsers should expose the response to the client-side JavaScript code when the request’s credentials mode is `include`. This configures the Access-Control-Allow-Credentials header.
	AllowCredentials pulumi.BoolPtrInput `pulumi:"allowCredentials"`
	// The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.
	AllowHeaders pulumi.StringArrayInput `pulumi:"allowHeaders"`
	// The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.
	AllowMethods pulumi.StringArrayInput `pulumi:"allowMethods"`
	// The set of allowed CORS origins. This configures the Access-Control-Allow-Origin header.
	AllowOrigins AppSpecFunctionCorsAllowOriginsPtrInput `pulumi:"allowOrigins"`
	// The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.
	ExposeHeaders pulumi.StringArrayInput `pulumi:"exposeHeaders"`
	// An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: `5h30m`.
	MaxAge pulumi.StringPtrInput `pulumi:"maxAge"`
}

func (AppSpecFunctionCorsArgs) ElementType added in v4.13.0

func (AppSpecFunctionCorsArgs) ElementType() reflect.Type

func (AppSpecFunctionCorsArgs) ToAppSpecFunctionCorsOutput added in v4.13.0

func (i AppSpecFunctionCorsArgs) ToAppSpecFunctionCorsOutput() AppSpecFunctionCorsOutput

func (AppSpecFunctionCorsArgs) ToAppSpecFunctionCorsOutputWithContext added in v4.13.0

func (i AppSpecFunctionCorsArgs) ToAppSpecFunctionCorsOutputWithContext(ctx context.Context) AppSpecFunctionCorsOutput

func (AppSpecFunctionCorsArgs) ToAppSpecFunctionCorsPtrOutput added in v4.13.0

func (i AppSpecFunctionCorsArgs) ToAppSpecFunctionCorsPtrOutput() AppSpecFunctionCorsPtrOutput

func (AppSpecFunctionCorsArgs) ToAppSpecFunctionCorsPtrOutputWithContext added in v4.13.0

func (i AppSpecFunctionCorsArgs) ToAppSpecFunctionCorsPtrOutputWithContext(ctx context.Context) AppSpecFunctionCorsPtrOutput

type AppSpecFunctionCorsInput added in v4.13.0

type AppSpecFunctionCorsInput interface {
	pulumi.Input

	ToAppSpecFunctionCorsOutput() AppSpecFunctionCorsOutput
	ToAppSpecFunctionCorsOutputWithContext(context.Context) AppSpecFunctionCorsOutput
}

AppSpecFunctionCorsInput is an input type that accepts AppSpecFunctionCorsArgs and AppSpecFunctionCorsOutput values. You can construct a concrete instance of `AppSpecFunctionCorsInput` via:

AppSpecFunctionCorsArgs{...}

type AppSpecFunctionCorsOutput added in v4.13.0

type AppSpecFunctionCorsOutput struct{ *pulumi.OutputState }

func (AppSpecFunctionCorsOutput) AllowCredentials added in v4.13.0

func (o AppSpecFunctionCorsOutput) AllowCredentials() pulumi.BoolPtrOutput

Whether browsers should expose the response to the client-side JavaScript code when the request’s credentials mode is `include`. This configures the Access-Control-Allow-Credentials header.

func (AppSpecFunctionCorsOutput) AllowHeaders added in v4.13.0

The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.

func (AppSpecFunctionCorsOutput) AllowMethods added in v4.13.0

The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.

func (AppSpecFunctionCorsOutput) AllowOrigins added in v4.13.0

The set of allowed CORS origins. This configures the Access-Control-Allow-Origin header.

func (AppSpecFunctionCorsOutput) ElementType added in v4.13.0

func (AppSpecFunctionCorsOutput) ElementType() reflect.Type

func (AppSpecFunctionCorsOutput) ExposeHeaders added in v4.13.0

The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.

func (AppSpecFunctionCorsOutput) MaxAge added in v4.13.0

An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: `5h30m`.

func (AppSpecFunctionCorsOutput) ToAppSpecFunctionCorsOutput added in v4.13.0

func (o AppSpecFunctionCorsOutput) ToAppSpecFunctionCorsOutput() AppSpecFunctionCorsOutput

func (AppSpecFunctionCorsOutput) ToAppSpecFunctionCorsOutputWithContext added in v4.13.0

func (o AppSpecFunctionCorsOutput) ToAppSpecFunctionCorsOutputWithContext(ctx context.Context) AppSpecFunctionCorsOutput

func (AppSpecFunctionCorsOutput) ToAppSpecFunctionCorsPtrOutput added in v4.13.0

func (o AppSpecFunctionCorsOutput) ToAppSpecFunctionCorsPtrOutput() AppSpecFunctionCorsPtrOutput

func (AppSpecFunctionCorsOutput) ToAppSpecFunctionCorsPtrOutputWithContext added in v4.13.0

func (o AppSpecFunctionCorsOutput) ToAppSpecFunctionCorsPtrOutputWithContext(ctx context.Context) AppSpecFunctionCorsPtrOutput

type AppSpecFunctionCorsPtrInput added in v4.13.0

type AppSpecFunctionCorsPtrInput interface {
	pulumi.Input

	ToAppSpecFunctionCorsPtrOutput() AppSpecFunctionCorsPtrOutput
	ToAppSpecFunctionCorsPtrOutputWithContext(context.Context) AppSpecFunctionCorsPtrOutput
}

AppSpecFunctionCorsPtrInput is an input type that accepts AppSpecFunctionCorsArgs, AppSpecFunctionCorsPtr and AppSpecFunctionCorsPtrOutput values. You can construct a concrete instance of `AppSpecFunctionCorsPtrInput` via:

        AppSpecFunctionCorsArgs{...}

or:

        nil

func AppSpecFunctionCorsPtr added in v4.13.0

func AppSpecFunctionCorsPtr(v *AppSpecFunctionCorsArgs) AppSpecFunctionCorsPtrInput

type AppSpecFunctionCorsPtrOutput added in v4.13.0

type AppSpecFunctionCorsPtrOutput struct{ *pulumi.OutputState }

func (AppSpecFunctionCorsPtrOutput) AllowCredentials added in v4.13.0

func (o AppSpecFunctionCorsPtrOutput) AllowCredentials() pulumi.BoolPtrOutput

Whether browsers should expose the response to the client-side JavaScript code when the request’s credentials mode is `include`. This configures the Access-Control-Allow-Credentials header.

func (AppSpecFunctionCorsPtrOutput) AllowHeaders added in v4.13.0

The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.

func (AppSpecFunctionCorsPtrOutput) AllowMethods added in v4.13.0

The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.

func (AppSpecFunctionCorsPtrOutput) AllowOrigins added in v4.13.0

The set of allowed CORS origins. This configures the Access-Control-Allow-Origin header.

func (AppSpecFunctionCorsPtrOutput) Elem added in v4.13.0

func (AppSpecFunctionCorsPtrOutput) ElementType added in v4.13.0

func (AppSpecFunctionCorsPtrOutput) ExposeHeaders added in v4.13.0

The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.

func (AppSpecFunctionCorsPtrOutput) MaxAge added in v4.13.0

An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: `5h30m`.

func (AppSpecFunctionCorsPtrOutput) ToAppSpecFunctionCorsPtrOutput added in v4.13.0

func (o AppSpecFunctionCorsPtrOutput) ToAppSpecFunctionCorsPtrOutput() AppSpecFunctionCorsPtrOutput

func (AppSpecFunctionCorsPtrOutput) ToAppSpecFunctionCorsPtrOutputWithContext added in v4.13.0

func (o AppSpecFunctionCorsPtrOutput) ToAppSpecFunctionCorsPtrOutputWithContext(ctx context.Context) AppSpecFunctionCorsPtrOutput

type AppSpecFunctionEnv added in v4.13.0

type AppSpecFunctionEnv struct {
	// The name of the environment variable.
	Key *string `pulumi:"key"`
	// The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).
	Scope *string `pulumi:"scope"`
	// The type of the environment variable, `GENERAL` or `SECRET`.
	Type *string `pulumi:"type"`
	// The value of the environment variable.
	Value *string `pulumi:"value"`
}

type AppSpecFunctionEnvArgs added in v4.13.0

type AppSpecFunctionEnvArgs struct {
	// The name of the environment variable.
	Key pulumi.StringPtrInput `pulumi:"key"`
	// The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).
	Scope pulumi.StringPtrInput `pulumi:"scope"`
	// The type of the environment variable, `GENERAL` or `SECRET`.
	Type pulumi.StringPtrInput `pulumi:"type"`
	// The value of the environment variable.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (AppSpecFunctionEnvArgs) ElementType added in v4.13.0

func (AppSpecFunctionEnvArgs) ElementType() reflect.Type

func (AppSpecFunctionEnvArgs) ToAppSpecFunctionEnvOutput added in v4.13.0

func (i AppSpecFunctionEnvArgs) ToAppSpecFunctionEnvOutput() AppSpecFunctionEnvOutput

func (AppSpecFunctionEnvArgs) ToAppSpecFunctionEnvOutputWithContext added in v4.13.0

func (i AppSpecFunctionEnvArgs) ToAppSpecFunctionEnvOutputWithContext(ctx context.Context) AppSpecFunctionEnvOutput

type AppSpecFunctionEnvArray added in v4.13.0

type AppSpecFunctionEnvArray []AppSpecFunctionEnvInput

func (AppSpecFunctionEnvArray) ElementType added in v4.13.0

func (AppSpecFunctionEnvArray) ElementType() reflect.Type

func (AppSpecFunctionEnvArray) ToAppSpecFunctionEnvArrayOutput added in v4.13.0

func (i AppSpecFunctionEnvArray) ToAppSpecFunctionEnvArrayOutput() AppSpecFunctionEnvArrayOutput

func (AppSpecFunctionEnvArray) ToAppSpecFunctionEnvArrayOutputWithContext added in v4.13.0

func (i AppSpecFunctionEnvArray) ToAppSpecFunctionEnvArrayOutputWithContext(ctx context.Context) AppSpecFunctionEnvArrayOutput

type AppSpecFunctionEnvArrayInput added in v4.13.0

type AppSpecFunctionEnvArrayInput interface {
	pulumi.Input

	ToAppSpecFunctionEnvArrayOutput() AppSpecFunctionEnvArrayOutput
	ToAppSpecFunctionEnvArrayOutputWithContext(context.Context) AppSpecFunctionEnvArrayOutput
}

AppSpecFunctionEnvArrayInput is an input type that accepts AppSpecFunctionEnvArray and AppSpecFunctionEnvArrayOutput values. You can construct a concrete instance of `AppSpecFunctionEnvArrayInput` via:

AppSpecFunctionEnvArray{ AppSpecFunctionEnvArgs{...} }

type AppSpecFunctionEnvArrayOutput added in v4.13.0

type AppSpecFunctionEnvArrayOutput struct{ *pulumi.OutputState }

func (AppSpecFunctionEnvArrayOutput) ElementType added in v4.13.0

func (AppSpecFunctionEnvArrayOutput) Index added in v4.13.0

func (AppSpecFunctionEnvArrayOutput) ToAppSpecFunctionEnvArrayOutput added in v4.13.0

func (o AppSpecFunctionEnvArrayOutput) ToAppSpecFunctionEnvArrayOutput() AppSpecFunctionEnvArrayOutput

func (AppSpecFunctionEnvArrayOutput) ToAppSpecFunctionEnvArrayOutputWithContext added in v4.13.0

func (o AppSpecFunctionEnvArrayOutput) ToAppSpecFunctionEnvArrayOutputWithContext(ctx context.Context) AppSpecFunctionEnvArrayOutput

type AppSpecFunctionEnvInput added in v4.13.0

type AppSpecFunctionEnvInput interface {
	pulumi.Input

	ToAppSpecFunctionEnvOutput() AppSpecFunctionEnvOutput
	ToAppSpecFunctionEnvOutputWithContext(context.Context) AppSpecFunctionEnvOutput
}

AppSpecFunctionEnvInput is an input type that accepts AppSpecFunctionEnvArgs and AppSpecFunctionEnvOutput values. You can construct a concrete instance of `AppSpecFunctionEnvInput` via:

AppSpecFunctionEnvArgs{...}

type AppSpecFunctionEnvOutput added in v4.13.0

type AppSpecFunctionEnvOutput struct{ *pulumi.OutputState }

func (AppSpecFunctionEnvOutput) ElementType added in v4.13.0

func (AppSpecFunctionEnvOutput) ElementType() reflect.Type

func (AppSpecFunctionEnvOutput) Key added in v4.13.0

The name of the environment variable.

func (AppSpecFunctionEnvOutput) Scope added in v4.13.0

The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).

func (AppSpecFunctionEnvOutput) ToAppSpecFunctionEnvOutput added in v4.13.0

func (o AppSpecFunctionEnvOutput) ToAppSpecFunctionEnvOutput() AppSpecFunctionEnvOutput

func (AppSpecFunctionEnvOutput) ToAppSpecFunctionEnvOutputWithContext added in v4.13.0

func (o AppSpecFunctionEnvOutput) ToAppSpecFunctionEnvOutputWithContext(ctx context.Context) AppSpecFunctionEnvOutput

func (AppSpecFunctionEnvOutput) Type added in v4.13.0

The type of the environment variable, `GENERAL` or `SECRET`.

func (AppSpecFunctionEnvOutput) Value added in v4.13.0

The value of the environment variable.

type AppSpecFunctionGit added in v4.13.0

type AppSpecFunctionGit struct {
	// The name of the branch to use.
	Branch *string `pulumi:"branch"`
	// The clone URL of the repo.
	RepoCloneUrl *string `pulumi:"repoCloneUrl"`
}

type AppSpecFunctionGitArgs added in v4.13.0

type AppSpecFunctionGitArgs struct {
	// The name of the branch to use.
	Branch pulumi.StringPtrInput `pulumi:"branch"`
	// The clone URL of the repo.
	RepoCloneUrl pulumi.StringPtrInput `pulumi:"repoCloneUrl"`
}

func (AppSpecFunctionGitArgs) ElementType added in v4.13.0

func (AppSpecFunctionGitArgs) ElementType() reflect.Type

func (AppSpecFunctionGitArgs) ToAppSpecFunctionGitOutput added in v4.13.0

func (i AppSpecFunctionGitArgs) ToAppSpecFunctionGitOutput() AppSpecFunctionGitOutput

func (AppSpecFunctionGitArgs) ToAppSpecFunctionGitOutputWithContext added in v4.13.0

func (i AppSpecFunctionGitArgs) ToAppSpecFunctionGitOutputWithContext(ctx context.Context) AppSpecFunctionGitOutput

func (AppSpecFunctionGitArgs) ToAppSpecFunctionGitPtrOutput added in v4.13.0

func (i AppSpecFunctionGitArgs) ToAppSpecFunctionGitPtrOutput() AppSpecFunctionGitPtrOutput

func (AppSpecFunctionGitArgs) ToAppSpecFunctionGitPtrOutputWithContext added in v4.13.0

func (i AppSpecFunctionGitArgs) ToAppSpecFunctionGitPtrOutputWithContext(ctx context.Context) AppSpecFunctionGitPtrOutput

type AppSpecFunctionGitInput added in v4.13.0

type AppSpecFunctionGitInput interface {
	pulumi.Input

	ToAppSpecFunctionGitOutput() AppSpecFunctionGitOutput
	ToAppSpecFunctionGitOutputWithContext(context.Context) AppSpecFunctionGitOutput
}

AppSpecFunctionGitInput is an input type that accepts AppSpecFunctionGitArgs and AppSpecFunctionGitOutput values. You can construct a concrete instance of `AppSpecFunctionGitInput` via:

AppSpecFunctionGitArgs{...}

type AppSpecFunctionGitOutput added in v4.13.0

type AppSpecFunctionGitOutput struct{ *pulumi.OutputState }

func (AppSpecFunctionGitOutput) Branch added in v4.13.0

The name of the branch to use.

func (AppSpecFunctionGitOutput) ElementType added in v4.13.0

func (AppSpecFunctionGitOutput) ElementType() reflect.Type

func (AppSpecFunctionGitOutput) RepoCloneUrl added in v4.13.0

The clone URL of the repo.

func (AppSpecFunctionGitOutput) ToAppSpecFunctionGitOutput added in v4.13.0

func (o AppSpecFunctionGitOutput) ToAppSpecFunctionGitOutput() AppSpecFunctionGitOutput

func (AppSpecFunctionGitOutput) ToAppSpecFunctionGitOutputWithContext added in v4.13.0

func (o AppSpecFunctionGitOutput) ToAppSpecFunctionGitOutputWithContext(ctx context.Context) AppSpecFunctionGitOutput

func (AppSpecFunctionGitOutput) ToAppSpecFunctionGitPtrOutput added in v4.13.0

func (o AppSpecFunctionGitOutput) ToAppSpecFunctionGitPtrOutput() AppSpecFunctionGitPtrOutput

func (AppSpecFunctionGitOutput) ToAppSpecFunctionGitPtrOutputWithContext added in v4.13.0

func (o AppSpecFunctionGitOutput) ToAppSpecFunctionGitPtrOutputWithContext(ctx context.Context) AppSpecFunctionGitPtrOutput

type AppSpecFunctionGitPtrInput added in v4.13.0

type AppSpecFunctionGitPtrInput interface {
	pulumi.Input

	ToAppSpecFunctionGitPtrOutput() AppSpecFunctionGitPtrOutput
	ToAppSpecFunctionGitPtrOutputWithContext(context.Context) AppSpecFunctionGitPtrOutput
}

AppSpecFunctionGitPtrInput is an input type that accepts AppSpecFunctionGitArgs, AppSpecFunctionGitPtr and AppSpecFunctionGitPtrOutput values. You can construct a concrete instance of `AppSpecFunctionGitPtrInput` via:

        AppSpecFunctionGitArgs{...}

or:

        nil

func AppSpecFunctionGitPtr added in v4.13.0

func AppSpecFunctionGitPtr(v *AppSpecFunctionGitArgs) AppSpecFunctionGitPtrInput

type AppSpecFunctionGitPtrOutput added in v4.13.0

type AppSpecFunctionGitPtrOutput struct{ *pulumi.OutputState }

func (AppSpecFunctionGitPtrOutput) Branch added in v4.13.0

The name of the branch to use.

func (AppSpecFunctionGitPtrOutput) Elem added in v4.13.0

func (AppSpecFunctionGitPtrOutput) ElementType added in v4.13.0

func (AppSpecFunctionGitPtrOutput) RepoCloneUrl added in v4.13.0

The clone URL of the repo.

func (AppSpecFunctionGitPtrOutput) ToAppSpecFunctionGitPtrOutput added in v4.13.0

func (o AppSpecFunctionGitPtrOutput) ToAppSpecFunctionGitPtrOutput() AppSpecFunctionGitPtrOutput

func (AppSpecFunctionGitPtrOutput) ToAppSpecFunctionGitPtrOutputWithContext added in v4.13.0

func (o AppSpecFunctionGitPtrOutput) ToAppSpecFunctionGitPtrOutputWithContext(ctx context.Context) AppSpecFunctionGitPtrOutput

type AppSpecFunctionGithub added in v4.13.0

type AppSpecFunctionGithub struct {
	// The name of the branch to use.
	Branch *string `pulumi:"branch"`
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPush *bool `pulumi:"deployOnPush"`
	// The name of the repo in the format `owner/repo`.
	Repo *string `pulumi:"repo"`
}

type AppSpecFunctionGithubArgs added in v4.13.0

type AppSpecFunctionGithubArgs struct {
	// The name of the branch to use.
	Branch pulumi.StringPtrInput `pulumi:"branch"`
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPush pulumi.BoolPtrInput `pulumi:"deployOnPush"`
	// The name of the repo in the format `owner/repo`.
	Repo pulumi.StringPtrInput `pulumi:"repo"`
}

func (AppSpecFunctionGithubArgs) ElementType added in v4.13.0

func (AppSpecFunctionGithubArgs) ElementType() reflect.Type

func (AppSpecFunctionGithubArgs) ToAppSpecFunctionGithubOutput added in v4.13.0

func (i AppSpecFunctionGithubArgs) ToAppSpecFunctionGithubOutput() AppSpecFunctionGithubOutput

func (AppSpecFunctionGithubArgs) ToAppSpecFunctionGithubOutputWithContext added in v4.13.0

func (i AppSpecFunctionGithubArgs) ToAppSpecFunctionGithubOutputWithContext(ctx context.Context) AppSpecFunctionGithubOutput

func (AppSpecFunctionGithubArgs) ToAppSpecFunctionGithubPtrOutput added in v4.13.0

func (i AppSpecFunctionGithubArgs) ToAppSpecFunctionGithubPtrOutput() AppSpecFunctionGithubPtrOutput

func (AppSpecFunctionGithubArgs) ToAppSpecFunctionGithubPtrOutputWithContext added in v4.13.0

func (i AppSpecFunctionGithubArgs) ToAppSpecFunctionGithubPtrOutputWithContext(ctx context.Context) AppSpecFunctionGithubPtrOutput

type AppSpecFunctionGithubInput added in v4.13.0

type AppSpecFunctionGithubInput interface {
	pulumi.Input

	ToAppSpecFunctionGithubOutput() AppSpecFunctionGithubOutput
	ToAppSpecFunctionGithubOutputWithContext(context.Context) AppSpecFunctionGithubOutput
}

AppSpecFunctionGithubInput is an input type that accepts AppSpecFunctionGithubArgs and AppSpecFunctionGithubOutput values. You can construct a concrete instance of `AppSpecFunctionGithubInput` via:

AppSpecFunctionGithubArgs{...}

type AppSpecFunctionGithubOutput added in v4.13.0

type AppSpecFunctionGithubOutput struct{ *pulumi.OutputState }

func (AppSpecFunctionGithubOutput) Branch added in v4.13.0

The name of the branch to use.

func (AppSpecFunctionGithubOutput) DeployOnPush added in v4.13.0

Whether to automatically deploy new commits made to the repo.

func (AppSpecFunctionGithubOutput) ElementType added in v4.13.0

func (AppSpecFunctionGithubOutput) Repo added in v4.13.0

The name of the repo in the format `owner/repo`.

func (AppSpecFunctionGithubOutput) ToAppSpecFunctionGithubOutput added in v4.13.0

func (o AppSpecFunctionGithubOutput) ToAppSpecFunctionGithubOutput() AppSpecFunctionGithubOutput

func (AppSpecFunctionGithubOutput) ToAppSpecFunctionGithubOutputWithContext added in v4.13.0

func (o AppSpecFunctionGithubOutput) ToAppSpecFunctionGithubOutputWithContext(ctx context.Context) AppSpecFunctionGithubOutput

func (AppSpecFunctionGithubOutput) ToAppSpecFunctionGithubPtrOutput added in v4.13.0

func (o AppSpecFunctionGithubOutput) ToAppSpecFunctionGithubPtrOutput() AppSpecFunctionGithubPtrOutput

func (AppSpecFunctionGithubOutput) ToAppSpecFunctionGithubPtrOutputWithContext added in v4.13.0

func (o AppSpecFunctionGithubOutput) ToAppSpecFunctionGithubPtrOutputWithContext(ctx context.Context) AppSpecFunctionGithubPtrOutput

type AppSpecFunctionGithubPtrInput added in v4.13.0

type AppSpecFunctionGithubPtrInput interface {
	pulumi.Input

	ToAppSpecFunctionGithubPtrOutput() AppSpecFunctionGithubPtrOutput
	ToAppSpecFunctionGithubPtrOutputWithContext(context.Context) AppSpecFunctionGithubPtrOutput
}

AppSpecFunctionGithubPtrInput is an input type that accepts AppSpecFunctionGithubArgs, AppSpecFunctionGithubPtr and AppSpecFunctionGithubPtrOutput values. You can construct a concrete instance of `AppSpecFunctionGithubPtrInput` via:

        AppSpecFunctionGithubArgs{...}

or:

        nil

func AppSpecFunctionGithubPtr added in v4.13.0

func AppSpecFunctionGithubPtr(v *AppSpecFunctionGithubArgs) AppSpecFunctionGithubPtrInput

type AppSpecFunctionGithubPtrOutput added in v4.13.0

type AppSpecFunctionGithubPtrOutput struct{ *pulumi.OutputState }

func (AppSpecFunctionGithubPtrOutput) Branch added in v4.13.0

The name of the branch to use.

func (AppSpecFunctionGithubPtrOutput) DeployOnPush added in v4.13.0

Whether to automatically deploy new commits made to the repo.

func (AppSpecFunctionGithubPtrOutput) Elem added in v4.13.0

func (AppSpecFunctionGithubPtrOutput) ElementType added in v4.13.0

func (AppSpecFunctionGithubPtrOutput) Repo added in v4.13.0

The name of the repo in the format `owner/repo`.

func (AppSpecFunctionGithubPtrOutput) ToAppSpecFunctionGithubPtrOutput added in v4.13.0

func (o AppSpecFunctionGithubPtrOutput) ToAppSpecFunctionGithubPtrOutput() AppSpecFunctionGithubPtrOutput

func (AppSpecFunctionGithubPtrOutput) ToAppSpecFunctionGithubPtrOutputWithContext added in v4.13.0

func (o AppSpecFunctionGithubPtrOutput) ToAppSpecFunctionGithubPtrOutputWithContext(ctx context.Context) AppSpecFunctionGithubPtrOutput

type AppSpecFunctionGitlab added in v4.13.0

type AppSpecFunctionGitlab struct {
	// The name of the branch to use.
	Branch *string `pulumi:"branch"`
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPush *bool `pulumi:"deployOnPush"`
	// The name of the repo in the format `owner/repo`.
	Repo *string `pulumi:"repo"`
}

type AppSpecFunctionGitlabArgs added in v4.13.0

type AppSpecFunctionGitlabArgs struct {
	// The name of the branch to use.
	Branch pulumi.StringPtrInput `pulumi:"branch"`
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPush pulumi.BoolPtrInput `pulumi:"deployOnPush"`
	// The name of the repo in the format `owner/repo`.
	Repo pulumi.StringPtrInput `pulumi:"repo"`
}

func (AppSpecFunctionGitlabArgs) ElementType added in v4.13.0

func (AppSpecFunctionGitlabArgs) ElementType() reflect.Type

func (AppSpecFunctionGitlabArgs) ToAppSpecFunctionGitlabOutput added in v4.13.0

func (i AppSpecFunctionGitlabArgs) ToAppSpecFunctionGitlabOutput() AppSpecFunctionGitlabOutput

func (AppSpecFunctionGitlabArgs) ToAppSpecFunctionGitlabOutputWithContext added in v4.13.0

func (i AppSpecFunctionGitlabArgs) ToAppSpecFunctionGitlabOutputWithContext(ctx context.Context) AppSpecFunctionGitlabOutput

func (AppSpecFunctionGitlabArgs) ToAppSpecFunctionGitlabPtrOutput added in v4.13.0

func (i AppSpecFunctionGitlabArgs) ToAppSpecFunctionGitlabPtrOutput() AppSpecFunctionGitlabPtrOutput

func (AppSpecFunctionGitlabArgs) ToAppSpecFunctionGitlabPtrOutputWithContext added in v4.13.0

func (i AppSpecFunctionGitlabArgs) ToAppSpecFunctionGitlabPtrOutputWithContext(ctx context.Context) AppSpecFunctionGitlabPtrOutput

type AppSpecFunctionGitlabInput added in v4.13.0

type AppSpecFunctionGitlabInput interface {
	pulumi.Input

	ToAppSpecFunctionGitlabOutput() AppSpecFunctionGitlabOutput
	ToAppSpecFunctionGitlabOutputWithContext(context.Context) AppSpecFunctionGitlabOutput
}

AppSpecFunctionGitlabInput is an input type that accepts AppSpecFunctionGitlabArgs and AppSpecFunctionGitlabOutput values. You can construct a concrete instance of `AppSpecFunctionGitlabInput` via:

AppSpecFunctionGitlabArgs{...}

type AppSpecFunctionGitlabOutput added in v4.13.0

type AppSpecFunctionGitlabOutput struct{ *pulumi.OutputState }

func (AppSpecFunctionGitlabOutput) Branch added in v4.13.0

The name of the branch to use.

func (AppSpecFunctionGitlabOutput) DeployOnPush added in v4.13.0

Whether to automatically deploy new commits made to the repo.

func (AppSpecFunctionGitlabOutput) ElementType added in v4.13.0

func (AppSpecFunctionGitlabOutput) Repo added in v4.13.0

The name of the repo in the format `owner/repo`.

func (AppSpecFunctionGitlabOutput) ToAppSpecFunctionGitlabOutput added in v4.13.0

func (o AppSpecFunctionGitlabOutput) ToAppSpecFunctionGitlabOutput() AppSpecFunctionGitlabOutput

func (AppSpecFunctionGitlabOutput) ToAppSpecFunctionGitlabOutputWithContext added in v4.13.0

func (o AppSpecFunctionGitlabOutput) ToAppSpecFunctionGitlabOutputWithContext(ctx context.Context) AppSpecFunctionGitlabOutput

func (AppSpecFunctionGitlabOutput) ToAppSpecFunctionGitlabPtrOutput added in v4.13.0

func (o AppSpecFunctionGitlabOutput) ToAppSpecFunctionGitlabPtrOutput() AppSpecFunctionGitlabPtrOutput

func (AppSpecFunctionGitlabOutput) ToAppSpecFunctionGitlabPtrOutputWithContext added in v4.13.0

func (o AppSpecFunctionGitlabOutput) ToAppSpecFunctionGitlabPtrOutputWithContext(ctx context.Context) AppSpecFunctionGitlabPtrOutput

type AppSpecFunctionGitlabPtrInput added in v4.13.0

type AppSpecFunctionGitlabPtrInput interface {
	pulumi.Input

	ToAppSpecFunctionGitlabPtrOutput() AppSpecFunctionGitlabPtrOutput
	ToAppSpecFunctionGitlabPtrOutputWithContext(context.Context) AppSpecFunctionGitlabPtrOutput
}

AppSpecFunctionGitlabPtrInput is an input type that accepts AppSpecFunctionGitlabArgs, AppSpecFunctionGitlabPtr and AppSpecFunctionGitlabPtrOutput values. You can construct a concrete instance of `AppSpecFunctionGitlabPtrInput` via:

        AppSpecFunctionGitlabArgs{...}

or:

        nil

func AppSpecFunctionGitlabPtr added in v4.13.0

func AppSpecFunctionGitlabPtr(v *AppSpecFunctionGitlabArgs) AppSpecFunctionGitlabPtrInput

type AppSpecFunctionGitlabPtrOutput added in v4.13.0

type AppSpecFunctionGitlabPtrOutput struct{ *pulumi.OutputState }

func (AppSpecFunctionGitlabPtrOutput) Branch added in v4.13.0

The name of the branch to use.

func (AppSpecFunctionGitlabPtrOutput) DeployOnPush added in v4.13.0

Whether to automatically deploy new commits made to the repo.

func (AppSpecFunctionGitlabPtrOutput) Elem added in v4.13.0

func (AppSpecFunctionGitlabPtrOutput) ElementType added in v4.13.0

func (AppSpecFunctionGitlabPtrOutput) Repo added in v4.13.0

The name of the repo in the format `owner/repo`.

func (AppSpecFunctionGitlabPtrOutput) ToAppSpecFunctionGitlabPtrOutput added in v4.13.0

func (o AppSpecFunctionGitlabPtrOutput) ToAppSpecFunctionGitlabPtrOutput() AppSpecFunctionGitlabPtrOutput

func (AppSpecFunctionGitlabPtrOutput) ToAppSpecFunctionGitlabPtrOutputWithContext added in v4.13.0

func (o AppSpecFunctionGitlabPtrOutput) ToAppSpecFunctionGitlabPtrOutputWithContext(ctx context.Context) AppSpecFunctionGitlabPtrOutput

type AppSpecFunctionInput added in v4.13.0

type AppSpecFunctionInput interface {
	pulumi.Input

	ToAppSpecFunctionOutput() AppSpecFunctionOutput
	ToAppSpecFunctionOutputWithContext(context.Context) AppSpecFunctionOutput
}

AppSpecFunctionInput is an input type that accepts AppSpecFunctionArgs and AppSpecFunctionOutput values. You can construct a concrete instance of `AppSpecFunctionInput` via:

AppSpecFunctionArgs{...}

type AppSpecFunctionLogDestination added in v4.13.0

type AppSpecFunctionLogDestination struct {
	// Datadog configuration.
	Datadog *AppSpecFunctionLogDestinationDatadog `pulumi:"datadog"`
	// Logtail configuration.
	Logtail *AppSpecFunctionLogDestinationLogtail `pulumi:"logtail"`
	// Name of the log destination. Minimum length: 2. Maximum length: 42.
	Name string `pulumi:"name"`
	// Papertrail configuration.
	Papertrail *AppSpecFunctionLogDestinationPapertrail `pulumi:"papertrail"`
}

type AppSpecFunctionLogDestinationArgs added in v4.13.0

type AppSpecFunctionLogDestinationArgs struct {
	// Datadog configuration.
	Datadog AppSpecFunctionLogDestinationDatadogPtrInput `pulumi:"datadog"`
	// Logtail configuration.
	Logtail AppSpecFunctionLogDestinationLogtailPtrInput `pulumi:"logtail"`
	// Name of the log destination. Minimum length: 2. Maximum length: 42.
	Name pulumi.StringInput `pulumi:"name"`
	// Papertrail configuration.
	Papertrail AppSpecFunctionLogDestinationPapertrailPtrInput `pulumi:"papertrail"`
}

func (AppSpecFunctionLogDestinationArgs) ElementType added in v4.13.0

func (AppSpecFunctionLogDestinationArgs) ToAppSpecFunctionLogDestinationOutput added in v4.13.0

func (i AppSpecFunctionLogDestinationArgs) ToAppSpecFunctionLogDestinationOutput() AppSpecFunctionLogDestinationOutput

func (AppSpecFunctionLogDestinationArgs) ToAppSpecFunctionLogDestinationOutputWithContext added in v4.13.0

func (i AppSpecFunctionLogDestinationArgs) ToAppSpecFunctionLogDestinationOutputWithContext(ctx context.Context) AppSpecFunctionLogDestinationOutput

type AppSpecFunctionLogDestinationArray added in v4.13.0

type AppSpecFunctionLogDestinationArray []AppSpecFunctionLogDestinationInput

func (AppSpecFunctionLogDestinationArray) ElementType added in v4.13.0

func (AppSpecFunctionLogDestinationArray) ToAppSpecFunctionLogDestinationArrayOutput added in v4.13.0

func (i AppSpecFunctionLogDestinationArray) ToAppSpecFunctionLogDestinationArrayOutput() AppSpecFunctionLogDestinationArrayOutput

func (AppSpecFunctionLogDestinationArray) ToAppSpecFunctionLogDestinationArrayOutputWithContext added in v4.13.0

func (i AppSpecFunctionLogDestinationArray) ToAppSpecFunctionLogDestinationArrayOutputWithContext(ctx context.Context) AppSpecFunctionLogDestinationArrayOutput

type AppSpecFunctionLogDestinationArrayInput added in v4.13.0

type AppSpecFunctionLogDestinationArrayInput interface {
	pulumi.Input

	ToAppSpecFunctionLogDestinationArrayOutput() AppSpecFunctionLogDestinationArrayOutput
	ToAppSpecFunctionLogDestinationArrayOutputWithContext(context.Context) AppSpecFunctionLogDestinationArrayOutput
}

AppSpecFunctionLogDestinationArrayInput is an input type that accepts AppSpecFunctionLogDestinationArray and AppSpecFunctionLogDestinationArrayOutput values. You can construct a concrete instance of `AppSpecFunctionLogDestinationArrayInput` via:

AppSpecFunctionLogDestinationArray{ AppSpecFunctionLogDestinationArgs{...} }

type AppSpecFunctionLogDestinationArrayOutput added in v4.13.0

type AppSpecFunctionLogDestinationArrayOutput struct{ *pulumi.OutputState }

func (AppSpecFunctionLogDestinationArrayOutput) ElementType added in v4.13.0

func (AppSpecFunctionLogDestinationArrayOutput) Index added in v4.13.0

func (AppSpecFunctionLogDestinationArrayOutput) ToAppSpecFunctionLogDestinationArrayOutput added in v4.13.0

func (o AppSpecFunctionLogDestinationArrayOutput) ToAppSpecFunctionLogDestinationArrayOutput() AppSpecFunctionLogDestinationArrayOutput

func (AppSpecFunctionLogDestinationArrayOutput) ToAppSpecFunctionLogDestinationArrayOutputWithContext added in v4.13.0

func (o AppSpecFunctionLogDestinationArrayOutput) ToAppSpecFunctionLogDestinationArrayOutputWithContext(ctx context.Context) AppSpecFunctionLogDestinationArrayOutput

type AppSpecFunctionLogDestinationDatadog added in v4.13.0

type AppSpecFunctionLogDestinationDatadog struct {
	// Datadog API key.
	ApiKey string `pulumi:"apiKey"`
	// Datadog HTTP log intake endpoint.
	Endpoint *string `pulumi:"endpoint"`
}

type AppSpecFunctionLogDestinationDatadogArgs added in v4.13.0

type AppSpecFunctionLogDestinationDatadogArgs struct {
	// Datadog API key.
	ApiKey pulumi.StringInput `pulumi:"apiKey"`
	// Datadog HTTP log intake endpoint.
	Endpoint pulumi.StringPtrInput `pulumi:"endpoint"`
}

func (AppSpecFunctionLogDestinationDatadogArgs) ElementType added in v4.13.0

func (AppSpecFunctionLogDestinationDatadogArgs) ToAppSpecFunctionLogDestinationDatadogOutput added in v4.13.0

func (i AppSpecFunctionLogDestinationDatadogArgs) ToAppSpecFunctionLogDestinationDatadogOutput() AppSpecFunctionLogDestinationDatadogOutput

func (AppSpecFunctionLogDestinationDatadogArgs) ToAppSpecFunctionLogDestinationDatadogOutputWithContext added in v4.13.0

func (i AppSpecFunctionLogDestinationDatadogArgs) ToAppSpecFunctionLogDestinationDatadogOutputWithContext(ctx context.Context) AppSpecFunctionLogDestinationDatadogOutput

func (AppSpecFunctionLogDestinationDatadogArgs) ToAppSpecFunctionLogDestinationDatadogPtrOutput added in v4.13.0

func (i AppSpecFunctionLogDestinationDatadogArgs) ToAppSpecFunctionLogDestinationDatadogPtrOutput() AppSpecFunctionLogDestinationDatadogPtrOutput

func (AppSpecFunctionLogDestinationDatadogArgs) ToAppSpecFunctionLogDestinationDatadogPtrOutputWithContext added in v4.13.0

func (i AppSpecFunctionLogDestinationDatadogArgs) ToAppSpecFunctionLogDestinationDatadogPtrOutputWithContext(ctx context.Context) AppSpecFunctionLogDestinationDatadogPtrOutput

type AppSpecFunctionLogDestinationDatadogInput added in v4.13.0

type AppSpecFunctionLogDestinationDatadogInput interface {
	pulumi.Input

	ToAppSpecFunctionLogDestinationDatadogOutput() AppSpecFunctionLogDestinationDatadogOutput
	ToAppSpecFunctionLogDestinationDatadogOutputWithContext(context.Context) AppSpecFunctionLogDestinationDatadogOutput
}

AppSpecFunctionLogDestinationDatadogInput is an input type that accepts AppSpecFunctionLogDestinationDatadogArgs and AppSpecFunctionLogDestinationDatadogOutput values. You can construct a concrete instance of `AppSpecFunctionLogDestinationDatadogInput` via:

AppSpecFunctionLogDestinationDatadogArgs{...}

type AppSpecFunctionLogDestinationDatadogOutput added in v4.13.0

type AppSpecFunctionLogDestinationDatadogOutput struct{ *pulumi.OutputState }

func (AppSpecFunctionLogDestinationDatadogOutput) ApiKey added in v4.13.0

Datadog API key.

func (AppSpecFunctionLogDestinationDatadogOutput) ElementType added in v4.13.0

func (AppSpecFunctionLogDestinationDatadogOutput) Endpoint added in v4.13.0

Datadog HTTP log intake endpoint.

func (AppSpecFunctionLogDestinationDatadogOutput) ToAppSpecFunctionLogDestinationDatadogOutput added in v4.13.0

func (o AppSpecFunctionLogDestinationDatadogOutput) ToAppSpecFunctionLogDestinationDatadogOutput() AppSpecFunctionLogDestinationDatadogOutput

func (AppSpecFunctionLogDestinationDatadogOutput) ToAppSpecFunctionLogDestinationDatadogOutputWithContext added in v4.13.0

func (o AppSpecFunctionLogDestinationDatadogOutput) ToAppSpecFunctionLogDestinationDatadogOutputWithContext(ctx context.Context) AppSpecFunctionLogDestinationDatadogOutput

func (AppSpecFunctionLogDestinationDatadogOutput) ToAppSpecFunctionLogDestinationDatadogPtrOutput added in v4.13.0

func (o AppSpecFunctionLogDestinationDatadogOutput) ToAppSpecFunctionLogDestinationDatadogPtrOutput() AppSpecFunctionLogDestinationDatadogPtrOutput

func (AppSpecFunctionLogDestinationDatadogOutput) ToAppSpecFunctionLogDestinationDatadogPtrOutputWithContext added in v4.13.0

func (o AppSpecFunctionLogDestinationDatadogOutput) ToAppSpecFunctionLogDestinationDatadogPtrOutputWithContext(ctx context.Context) AppSpecFunctionLogDestinationDatadogPtrOutput

type AppSpecFunctionLogDestinationDatadogPtrInput added in v4.13.0

type AppSpecFunctionLogDestinationDatadogPtrInput interface {
	pulumi.Input

	ToAppSpecFunctionLogDestinationDatadogPtrOutput() AppSpecFunctionLogDestinationDatadogPtrOutput
	ToAppSpecFunctionLogDestinationDatadogPtrOutputWithContext(context.Context) AppSpecFunctionLogDestinationDatadogPtrOutput
}

AppSpecFunctionLogDestinationDatadogPtrInput is an input type that accepts AppSpecFunctionLogDestinationDatadogArgs, AppSpecFunctionLogDestinationDatadogPtr and AppSpecFunctionLogDestinationDatadogPtrOutput values. You can construct a concrete instance of `AppSpecFunctionLogDestinationDatadogPtrInput` via:

        AppSpecFunctionLogDestinationDatadogArgs{...}

or:

        nil

type AppSpecFunctionLogDestinationDatadogPtrOutput added in v4.13.0

type AppSpecFunctionLogDestinationDatadogPtrOutput struct{ *pulumi.OutputState }

func (AppSpecFunctionLogDestinationDatadogPtrOutput) ApiKey added in v4.13.0

Datadog API key.

func (AppSpecFunctionLogDestinationDatadogPtrOutput) Elem added in v4.13.0

func (AppSpecFunctionLogDestinationDatadogPtrOutput) ElementType added in v4.13.0

func (AppSpecFunctionLogDestinationDatadogPtrOutput) Endpoint added in v4.13.0

Datadog HTTP log intake endpoint.

func (AppSpecFunctionLogDestinationDatadogPtrOutput) ToAppSpecFunctionLogDestinationDatadogPtrOutput added in v4.13.0

func (o AppSpecFunctionLogDestinationDatadogPtrOutput) ToAppSpecFunctionLogDestinationDatadogPtrOutput() AppSpecFunctionLogDestinationDatadogPtrOutput

func (AppSpecFunctionLogDestinationDatadogPtrOutput) ToAppSpecFunctionLogDestinationDatadogPtrOutputWithContext added in v4.13.0

func (o AppSpecFunctionLogDestinationDatadogPtrOutput) ToAppSpecFunctionLogDestinationDatadogPtrOutputWithContext(ctx context.Context) AppSpecFunctionLogDestinationDatadogPtrOutput

type AppSpecFunctionLogDestinationInput added in v4.13.0

type AppSpecFunctionLogDestinationInput interface {
	pulumi.Input

	ToAppSpecFunctionLogDestinationOutput() AppSpecFunctionLogDestinationOutput
	ToAppSpecFunctionLogDestinationOutputWithContext(context.Context) AppSpecFunctionLogDestinationOutput
}

AppSpecFunctionLogDestinationInput is an input type that accepts AppSpecFunctionLogDestinationArgs and AppSpecFunctionLogDestinationOutput values. You can construct a concrete instance of `AppSpecFunctionLogDestinationInput` via:

AppSpecFunctionLogDestinationArgs{...}

type AppSpecFunctionLogDestinationLogtail added in v4.13.0

type AppSpecFunctionLogDestinationLogtail struct {
	// Logtail token.
	Token string `pulumi:"token"`
}

type AppSpecFunctionLogDestinationLogtailArgs added in v4.13.0

type AppSpecFunctionLogDestinationLogtailArgs struct {
	// Logtail token.
	Token pulumi.StringInput `pulumi:"token"`
}

func (AppSpecFunctionLogDestinationLogtailArgs) ElementType added in v4.13.0

func (AppSpecFunctionLogDestinationLogtailArgs) ToAppSpecFunctionLogDestinationLogtailOutput added in v4.13.0

func (i AppSpecFunctionLogDestinationLogtailArgs) ToAppSpecFunctionLogDestinationLogtailOutput() AppSpecFunctionLogDestinationLogtailOutput

func (AppSpecFunctionLogDestinationLogtailArgs) ToAppSpecFunctionLogDestinationLogtailOutputWithContext added in v4.13.0

func (i AppSpecFunctionLogDestinationLogtailArgs) ToAppSpecFunctionLogDestinationLogtailOutputWithContext(ctx context.Context) AppSpecFunctionLogDestinationLogtailOutput

func (AppSpecFunctionLogDestinationLogtailArgs) ToAppSpecFunctionLogDestinationLogtailPtrOutput added in v4.13.0

func (i AppSpecFunctionLogDestinationLogtailArgs) ToAppSpecFunctionLogDestinationLogtailPtrOutput() AppSpecFunctionLogDestinationLogtailPtrOutput

func (AppSpecFunctionLogDestinationLogtailArgs) ToAppSpecFunctionLogDestinationLogtailPtrOutputWithContext added in v4.13.0

func (i AppSpecFunctionLogDestinationLogtailArgs) ToAppSpecFunctionLogDestinationLogtailPtrOutputWithContext(ctx context.Context) AppSpecFunctionLogDestinationLogtailPtrOutput

type AppSpecFunctionLogDestinationLogtailInput added in v4.13.0

type AppSpecFunctionLogDestinationLogtailInput interface {
	pulumi.Input

	ToAppSpecFunctionLogDestinationLogtailOutput() AppSpecFunctionLogDestinationLogtailOutput
	ToAppSpecFunctionLogDestinationLogtailOutputWithContext(context.Context) AppSpecFunctionLogDestinationLogtailOutput
}

AppSpecFunctionLogDestinationLogtailInput is an input type that accepts AppSpecFunctionLogDestinationLogtailArgs and AppSpecFunctionLogDestinationLogtailOutput values. You can construct a concrete instance of `AppSpecFunctionLogDestinationLogtailInput` via:

AppSpecFunctionLogDestinationLogtailArgs{...}

type AppSpecFunctionLogDestinationLogtailOutput added in v4.13.0

type AppSpecFunctionLogDestinationLogtailOutput struct{ *pulumi.OutputState }

func (AppSpecFunctionLogDestinationLogtailOutput) ElementType added in v4.13.0

func (AppSpecFunctionLogDestinationLogtailOutput) ToAppSpecFunctionLogDestinationLogtailOutput added in v4.13.0

func (o AppSpecFunctionLogDestinationLogtailOutput) ToAppSpecFunctionLogDestinationLogtailOutput() AppSpecFunctionLogDestinationLogtailOutput

func (AppSpecFunctionLogDestinationLogtailOutput) ToAppSpecFunctionLogDestinationLogtailOutputWithContext added in v4.13.0

func (o AppSpecFunctionLogDestinationLogtailOutput) ToAppSpecFunctionLogDestinationLogtailOutputWithContext(ctx context.Context) AppSpecFunctionLogDestinationLogtailOutput

func (AppSpecFunctionLogDestinationLogtailOutput) ToAppSpecFunctionLogDestinationLogtailPtrOutput added in v4.13.0

func (o AppSpecFunctionLogDestinationLogtailOutput) ToAppSpecFunctionLogDestinationLogtailPtrOutput() AppSpecFunctionLogDestinationLogtailPtrOutput

func (AppSpecFunctionLogDestinationLogtailOutput) ToAppSpecFunctionLogDestinationLogtailPtrOutputWithContext added in v4.13.0

func (o AppSpecFunctionLogDestinationLogtailOutput) ToAppSpecFunctionLogDestinationLogtailPtrOutputWithContext(ctx context.Context) AppSpecFunctionLogDestinationLogtailPtrOutput

func (AppSpecFunctionLogDestinationLogtailOutput) Token added in v4.13.0

Logtail token.

type AppSpecFunctionLogDestinationLogtailPtrInput added in v4.13.0

type AppSpecFunctionLogDestinationLogtailPtrInput interface {
	pulumi.Input

	ToAppSpecFunctionLogDestinationLogtailPtrOutput() AppSpecFunctionLogDestinationLogtailPtrOutput
	ToAppSpecFunctionLogDestinationLogtailPtrOutputWithContext(context.Context) AppSpecFunctionLogDestinationLogtailPtrOutput
}

AppSpecFunctionLogDestinationLogtailPtrInput is an input type that accepts AppSpecFunctionLogDestinationLogtailArgs, AppSpecFunctionLogDestinationLogtailPtr and AppSpecFunctionLogDestinationLogtailPtrOutput values. You can construct a concrete instance of `AppSpecFunctionLogDestinationLogtailPtrInput` via:

        AppSpecFunctionLogDestinationLogtailArgs{...}

or:

        nil

type AppSpecFunctionLogDestinationLogtailPtrOutput added in v4.13.0

type AppSpecFunctionLogDestinationLogtailPtrOutput struct{ *pulumi.OutputState }

func (AppSpecFunctionLogDestinationLogtailPtrOutput) Elem added in v4.13.0

func (AppSpecFunctionLogDestinationLogtailPtrOutput) ElementType added in v4.13.0

func (AppSpecFunctionLogDestinationLogtailPtrOutput) ToAppSpecFunctionLogDestinationLogtailPtrOutput added in v4.13.0

func (o AppSpecFunctionLogDestinationLogtailPtrOutput) ToAppSpecFunctionLogDestinationLogtailPtrOutput() AppSpecFunctionLogDestinationLogtailPtrOutput

func (AppSpecFunctionLogDestinationLogtailPtrOutput) ToAppSpecFunctionLogDestinationLogtailPtrOutputWithContext added in v4.13.0

func (o AppSpecFunctionLogDestinationLogtailPtrOutput) ToAppSpecFunctionLogDestinationLogtailPtrOutputWithContext(ctx context.Context) AppSpecFunctionLogDestinationLogtailPtrOutput

func (AppSpecFunctionLogDestinationLogtailPtrOutput) Token added in v4.13.0

Logtail token.

type AppSpecFunctionLogDestinationOutput added in v4.13.0

type AppSpecFunctionLogDestinationOutput struct{ *pulumi.OutputState }

func (AppSpecFunctionLogDestinationOutput) Datadog added in v4.13.0

Datadog configuration.

func (AppSpecFunctionLogDestinationOutput) ElementType added in v4.13.0

func (AppSpecFunctionLogDestinationOutput) Logtail added in v4.13.0

Logtail configuration.

func (AppSpecFunctionLogDestinationOutput) Name added in v4.13.0

Name of the log destination. Minimum length: 2. Maximum length: 42.

func (AppSpecFunctionLogDestinationOutput) Papertrail added in v4.13.0

Papertrail configuration.

func (AppSpecFunctionLogDestinationOutput) ToAppSpecFunctionLogDestinationOutput added in v4.13.0

func (o AppSpecFunctionLogDestinationOutput) ToAppSpecFunctionLogDestinationOutput() AppSpecFunctionLogDestinationOutput

func (AppSpecFunctionLogDestinationOutput) ToAppSpecFunctionLogDestinationOutputWithContext added in v4.13.0

func (o AppSpecFunctionLogDestinationOutput) ToAppSpecFunctionLogDestinationOutputWithContext(ctx context.Context) AppSpecFunctionLogDestinationOutput

type AppSpecFunctionLogDestinationPapertrail added in v4.13.0

type AppSpecFunctionLogDestinationPapertrail struct {
	// Papertrail syslog endpoint.
	Endpoint string `pulumi:"endpoint"`
}

type AppSpecFunctionLogDestinationPapertrailArgs added in v4.13.0

type AppSpecFunctionLogDestinationPapertrailArgs struct {
	// Papertrail syslog endpoint.
	Endpoint pulumi.StringInput `pulumi:"endpoint"`
}

func (AppSpecFunctionLogDestinationPapertrailArgs) ElementType added in v4.13.0

func (AppSpecFunctionLogDestinationPapertrailArgs) ToAppSpecFunctionLogDestinationPapertrailOutput added in v4.13.0

func (i AppSpecFunctionLogDestinationPapertrailArgs) ToAppSpecFunctionLogDestinationPapertrailOutput() AppSpecFunctionLogDestinationPapertrailOutput

func (AppSpecFunctionLogDestinationPapertrailArgs) ToAppSpecFunctionLogDestinationPapertrailOutputWithContext added in v4.13.0

func (i AppSpecFunctionLogDestinationPapertrailArgs) ToAppSpecFunctionLogDestinationPapertrailOutputWithContext(ctx context.Context) AppSpecFunctionLogDestinationPapertrailOutput

func (AppSpecFunctionLogDestinationPapertrailArgs) ToAppSpecFunctionLogDestinationPapertrailPtrOutput added in v4.13.0

func (i AppSpecFunctionLogDestinationPapertrailArgs) ToAppSpecFunctionLogDestinationPapertrailPtrOutput() AppSpecFunctionLogDestinationPapertrailPtrOutput

func (AppSpecFunctionLogDestinationPapertrailArgs) ToAppSpecFunctionLogDestinationPapertrailPtrOutputWithContext added in v4.13.0

func (i AppSpecFunctionLogDestinationPapertrailArgs) ToAppSpecFunctionLogDestinationPapertrailPtrOutputWithContext(ctx context.Context) AppSpecFunctionLogDestinationPapertrailPtrOutput

type AppSpecFunctionLogDestinationPapertrailInput added in v4.13.0

type AppSpecFunctionLogDestinationPapertrailInput interface {
	pulumi.Input

	ToAppSpecFunctionLogDestinationPapertrailOutput() AppSpecFunctionLogDestinationPapertrailOutput
	ToAppSpecFunctionLogDestinationPapertrailOutputWithContext(context.Context) AppSpecFunctionLogDestinationPapertrailOutput
}

AppSpecFunctionLogDestinationPapertrailInput is an input type that accepts AppSpecFunctionLogDestinationPapertrailArgs and AppSpecFunctionLogDestinationPapertrailOutput values. You can construct a concrete instance of `AppSpecFunctionLogDestinationPapertrailInput` via:

AppSpecFunctionLogDestinationPapertrailArgs{...}

type AppSpecFunctionLogDestinationPapertrailOutput added in v4.13.0

type AppSpecFunctionLogDestinationPapertrailOutput struct{ *pulumi.OutputState }

func (AppSpecFunctionLogDestinationPapertrailOutput) ElementType added in v4.13.0

func (AppSpecFunctionLogDestinationPapertrailOutput) Endpoint added in v4.13.0

Papertrail syslog endpoint.

func (AppSpecFunctionLogDestinationPapertrailOutput) ToAppSpecFunctionLogDestinationPapertrailOutput added in v4.13.0

func (o AppSpecFunctionLogDestinationPapertrailOutput) ToAppSpecFunctionLogDestinationPapertrailOutput() AppSpecFunctionLogDestinationPapertrailOutput

func (AppSpecFunctionLogDestinationPapertrailOutput) ToAppSpecFunctionLogDestinationPapertrailOutputWithContext added in v4.13.0

func (o AppSpecFunctionLogDestinationPapertrailOutput) ToAppSpecFunctionLogDestinationPapertrailOutputWithContext(ctx context.Context) AppSpecFunctionLogDestinationPapertrailOutput

func (AppSpecFunctionLogDestinationPapertrailOutput) ToAppSpecFunctionLogDestinationPapertrailPtrOutput added in v4.13.0

func (o AppSpecFunctionLogDestinationPapertrailOutput) ToAppSpecFunctionLogDestinationPapertrailPtrOutput() AppSpecFunctionLogDestinationPapertrailPtrOutput

func (AppSpecFunctionLogDestinationPapertrailOutput) ToAppSpecFunctionLogDestinationPapertrailPtrOutputWithContext added in v4.13.0

func (o AppSpecFunctionLogDestinationPapertrailOutput) ToAppSpecFunctionLogDestinationPapertrailPtrOutputWithContext(ctx context.Context) AppSpecFunctionLogDestinationPapertrailPtrOutput

type AppSpecFunctionLogDestinationPapertrailPtrInput added in v4.13.0

type AppSpecFunctionLogDestinationPapertrailPtrInput interface {
	pulumi.Input

	ToAppSpecFunctionLogDestinationPapertrailPtrOutput() AppSpecFunctionLogDestinationPapertrailPtrOutput
	ToAppSpecFunctionLogDestinationPapertrailPtrOutputWithContext(context.Context) AppSpecFunctionLogDestinationPapertrailPtrOutput
}

AppSpecFunctionLogDestinationPapertrailPtrInput is an input type that accepts AppSpecFunctionLogDestinationPapertrailArgs, AppSpecFunctionLogDestinationPapertrailPtr and AppSpecFunctionLogDestinationPapertrailPtrOutput values. You can construct a concrete instance of `AppSpecFunctionLogDestinationPapertrailPtrInput` via:

        AppSpecFunctionLogDestinationPapertrailArgs{...}

or:

        nil

type AppSpecFunctionLogDestinationPapertrailPtrOutput added in v4.13.0

type AppSpecFunctionLogDestinationPapertrailPtrOutput struct{ *pulumi.OutputState }

func (AppSpecFunctionLogDestinationPapertrailPtrOutput) Elem added in v4.13.0

func (AppSpecFunctionLogDestinationPapertrailPtrOutput) ElementType added in v4.13.0

func (AppSpecFunctionLogDestinationPapertrailPtrOutput) Endpoint added in v4.13.0

Papertrail syslog endpoint.

func (AppSpecFunctionLogDestinationPapertrailPtrOutput) ToAppSpecFunctionLogDestinationPapertrailPtrOutput added in v4.13.0

func (o AppSpecFunctionLogDestinationPapertrailPtrOutput) ToAppSpecFunctionLogDestinationPapertrailPtrOutput() AppSpecFunctionLogDestinationPapertrailPtrOutput

func (AppSpecFunctionLogDestinationPapertrailPtrOutput) ToAppSpecFunctionLogDestinationPapertrailPtrOutputWithContext added in v4.13.0

func (o AppSpecFunctionLogDestinationPapertrailPtrOutput) ToAppSpecFunctionLogDestinationPapertrailPtrOutputWithContext(ctx context.Context) AppSpecFunctionLogDestinationPapertrailPtrOutput

type AppSpecFunctionOutput added in v4.13.0

type AppSpecFunctionOutput struct{ *pulumi.OutputState }

func (AppSpecFunctionOutput) Alerts added in v4.13.0

Describes an alert policy for the component.

func (AppSpecFunctionOutput) Cors deprecated added in v4.13.0

The [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies of the app.

Deprecated: Service level CORS rules are deprecated in favor of ingresses

func (AppSpecFunctionOutput) ElementType added in v4.13.0

func (AppSpecFunctionOutput) ElementType() reflect.Type

func (AppSpecFunctionOutput) Envs added in v4.13.0

Describes an environment variable made available to an app competent.

func (AppSpecFunctionOutput) Git added in v4.13.0

A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of `git`, `github` or `gitlab` may be set.

func (AppSpecFunctionOutput) Github added in v4.13.0

A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.

func (AppSpecFunctionOutput) Gitlab added in v4.13.0

A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.

func (AppSpecFunctionOutput) LogDestinations added in v4.13.0

Describes a log forwarding destination.

func (AppSpecFunctionOutput) Name added in v4.13.0

The name of the component.

func (AppSpecFunctionOutput) Routes deprecated added in v4.13.0

An HTTP paths that should be routed to this component.

Deprecated: Service level routes are deprecated in favor of ingresses

func (AppSpecFunctionOutput) SourceDir added in v4.13.0

An optional path to the working directory to use for the build.

func (AppSpecFunctionOutput) ToAppSpecFunctionOutput added in v4.13.0

func (o AppSpecFunctionOutput) ToAppSpecFunctionOutput() AppSpecFunctionOutput

func (AppSpecFunctionOutput) ToAppSpecFunctionOutputWithContext added in v4.13.0

func (o AppSpecFunctionOutput) ToAppSpecFunctionOutputWithContext(ctx context.Context) AppSpecFunctionOutput

type AppSpecFunctionRoute added in v4.13.0

type AppSpecFunctionRoute struct {
	// Paths must start with `/` and must be unique within the app.
	Path *string `pulumi:"path"`
	// An optional flag to preserve the path that is forwarded to the backend service.
	PreservePathPrefix *bool `pulumi:"preservePathPrefix"`
}

type AppSpecFunctionRouteArgs added in v4.13.0

type AppSpecFunctionRouteArgs struct {
	// Paths must start with `/` and must be unique within the app.
	Path pulumi.StringPtrInput `pulumi:"path"`
	// An optional flag to preserve the path that is forwarded to the backend service.
	PreservePathPrefix pulumi.BoolPtrInput `pulumi:"preservePathPrefix"`
}

func (AppSpecFunctionRouteArgs) ElementType added in v4.13.0

func (AppSpecFunctionRouteArgs) ElementType() reflect.Type

func (AppSpecFunctionRouteArgs) ToAppSpecFunctionRouteOutput added in v4.13.0

func (i AppSpecFunctionRouteArgs) ToAppSpecFunctionRouteOutput() AppSpecFunctionRouteOutput

func (AppSpecFunctionRouteArgs) ToAppSpecFunctionRouteOutputWithContext added in v4.13.0

func (i AppSpecFunctionRouteArgs) ToAppSpecFunctionRouteOutputWithContext(ctx context.Context) AppSpecFunctionRouteOutput

type AppSpecFunctionRouteArray added in v4.13.0

type AppSpecFunctionRouteArray []AppSpecFunctionRouteInput

func (AppSpecFunctionRouteArray) ElementType added in v4.13.0

func (AppSpecFunctionRouteArray) ElementType() reflect.Type

func (AppSpecFunctionRouteArray) ToAppSpecFunctionRouteArrayOutput added in v4.13.0

func (i AppSpecFunctionRouteArray) ToAppSpecFunctionRouteArrayOutput() AppSpecFunctionRouteArrayOutput

func (AppSpecFunctionRouteArray) ToAppSpecFunctionRouteArrayOutputWithContext added in v4.13.0

func (i AppSpecFunctionRouteArray) ToAppSpecFunctionRouteArrayOutputWithContext(ctx context.Context) AppSpecFunctionRouteArrayOutput

type AppSpecFunctionRouteArrayInput added in v4.13.0

type AppSpecFunctionRouteArrayInput interface {
	pulumi.Input

	ToAppSpecFunctionRouteArrayOutput() AppSpecFunctionRouteArrayOutput
	ToAppSpecFunctionRouteArrayOutputWithContext(context.Context) AppSpecFunctionRouteArrayOutput
}

AppSpecFunctionRouteArrayInput is an input type that accepts AppSpecFunctionRouteArray and AppSpecFunctionRouteArrayOutput values. You can construct a concrete instance of `AppSpecFunctionRouteArrayInput` via:

AppSpecFunctionRouteArray{ AppSpecFunctionRouteArgs{...} }

type AppSpecFunctionRouteArrayOutput added in v4.13.0

type AppSpecFunctionRouteArrayOutput struct{ *pulumi.OutputState }

func (AppSpecFunctionRouteArrayOutput) ElementType added in v4.13.0

func (AppSpecFunctionRouteArrayOutput) Index added in v4.13.0

func (AppSpecFunctionRouteArrayOutput) ToAppSpecFunctionRouteArrayOutput added in v4.13.0

func (o AppSpecFunctionRouteArrayOutput) ToAppSpecFunctionRouteArrayOutput() AppSpecFunctionRouteArrayOutput

func (AppSpecFunctionRouteArrayOutput) ToAppSpecFunctionRouteArrayOutputWithContext added in v4.13.0

func (o AppSpecFunctionRouteArrayOutput) ToAppSpecFunctionRouteArrayOutputWithContext(ctx context.Context) AppSpecFunctionRouteArrayOutput

type AppSpecFunctionRouteInput added in v4.13.0

type AppSpecFunctionRouteInput interface {
	pulumi.Input

	ToAppSpecFunctionRouteOutput() AppSpecFunctionRouteOutput
	ToAppSpecFunctionRouteOutputWithContext(context.Context) AppSpecFunctionRouteOutput
}

AppSpecFunctionRouteInput is an input type that accepts AppSpecFunctionRouteArgs and AppSpecFunctionRouteOutput values. You can construct a concrete instance of `AppSpecFunctionRouteInput` via:

AppSpecFunctionRouteArgs{...}

type AppSpecFunctionRouteOutput added in v4.13.0

type AppSpecFunctionRouteOutput struct{ *pulumi.OutputState }

func (AppSpecFunctionRouteOutput) ElementType added in v4.13.0

func (AppSpecFunctionRouteOutput) ElementType() reflect.Type

func (AppSpecFunctionRouteOutput) Path added in v4.13.0

Paths must start with `/` and must be unique within the app.

func (AppSpecFunctionRouteOutput) PreservePathPrefix added in v4.13.0

func (o AppSpecFunctionRouteOutput) PreservePathPrefix() pulumi.BoolPtrOutput

An optional flag to preserve the path that is forwarded to the backend service.

func (AppSpecFunctionRouteOutput) ToAppSpecFunctionRouteOutput added in v4.13.0

func (o AppSpecFunctionRouteOutput) ToAppSpecFunctionRouteOutput() AppSpecFunctionRouteOutput

func (AppSpecFunctionRouteOutput) ToAppSpecFunctionRouteOutputWithContext added in v4.13.0

func (o AppSpecFunctionRouteOutput) ToAppSpecFunctionRouteOutputWithContext(ctx context.Context) AppSpecFunctionRouteOutput

type AppSpecIngress added in v4.23.0

type AppSpecIngress struct {
	// Rules for configuring HTTP ingress for component routes, CORS, rewrites, and redirects.
	Rules []AppSpecIngressRule `pulumi:"rules"`
}

type AppSpecIngressArgs added in v4.23.0

type AppSpecIngressArgs struct {
	// Rules for configuring HTTP ingress for component routes, CORS, rewrites, and redirects.
	Rules AppSpecIngressRuleArrayInput `pulumi:"rules"`
}

func (AppSpecIngressArgs) ElementType added in v4.23.0

func (AppSpecIngressArgs) ElementType() reflect.Type

func (AppSpecIngressArgs) ToAppSpecIngressOutput added in v4.23.0

func (i AppSpecIngressArgs) ToAppSpecIngressOutput() AppSpecIngressOutput

func (AppSpecIngressArgs) ToAppSpecIngressOutputWithContext added in v4.23.0

func (i AppSpecIngressArgs) ToAppSpecIngressOutputWithContext(ctx context.Context) AppSpecIngressOutput

func (AppSpecIngressArgs) ToAppSpecIngressPtrOutput added in v4.23.0

func (i AppSpecIngressArgs) ToAppSpecIngressPtrOutput() AppSpecIngressPtrOutput

func (AppSpecIngressArgs) ToAppSpecIngressPtrOutputWithContext added in v4.23.0

func (i AppSpecIngressArgs) ToAppSpecIngressPtrOutputWithContext(ctx context.Context) AppSpecIngressPtrOutput

type AppSpecIngressInput added in v4.23.0

type AppSpecIngressInput interface {
	pulumi.Input

	ToAppSpecIngressOutput() AppSpecIngressOutput
	ToAppSpecIngressOutputWithContext(context.Context) AppSpecIngressOutput
}

AppSpecIngressInput is an input type that accepts AppSpecIngressArgs and AppSpecIngressOutput values. You can construct a concrete instance of `AppSpecIngressInput` via:

AppSpecIngressArgs{...}

type AppSpecIngressOutput added in v4.23.0

type AppSpecIngressOutput struct{ *pulumi.OutputState }

func (AppSpecIngressOutput) ElementType added in v4.23.0

func (AppSpecIngressOutput) ElementType() reflect.Type

func (AppSpecIngressOutput) Rules added in v4.23.0

Rules for configuring HTTP ingress for component routes, CORS, rewrites, and redirects.

func (AppSpecIngressOutput) ToAppSpecIngressOutput added in v4.23.0

func (o AppSpecIngressOutput) ToAppSpecIngressOutput() AppSpecIngressOutput

func (AppSpecIngressOutput) ToAppSpecIngressOutputWithContext added in v4.23.0

func (o AppSpecIngressOutput) ToAppSpecIngressOutputWithContext(ctx context.Context) AppSpecIngressOutput

func (AppSpecIngressOutput) ToAppSpecIngressPtrOutput added in v4.23.0

func (o AppSpecIngressOutput) ToAppSpecIngressPtrOutput() AppSpecIngressPtrOutput

func (AppSpecIngressOutput) ToAppSpecIngressPtrOutputWithContext added in v4.23.0

func (o AppSpecIngressOutput) ToAppSpecIngressPtrOutputWithContext(ctx context.Context) AppSpecIngressPtrOutput

type AppSpecIngressPtrInput added in v4.23.0

type AppSpecIngressPtrInput interface {
	pulumi.Input

	ToAppSpecIngressPtrOutput() AppSpecIngressPtrOutput
	ToAppSpecIngressPtrOutputWithContext(context.Context) AppSpecIngressPtrOutput
}

AppSpecIngressPtrInput is an input type that accepts AppSpecIngressArgs, AppSpecIngressPtr and AppSpecIngressPtrOutput values. You can construct a concrete instance of `AppSpecIngressPtrInput` via:

        AppSpecIngressArgs{...}

or:

        nil

func AppSpecIngressPtr added in v4.23.0

func AppSpecIngressPtr(v *AppSpecIngressArgs) AppSpecIngressPtrInput

type AppSpecIngressPtrOutput added in v4.23.0

type AppSpecIngressPtrOutput struct{ *pulumi.OutputState }

func (AppSpecIngressPtrOutput) Elem added in v4.23.0

func (AppSpecIngressPtrOutput) ElementType added in v4.23.0

func (AppSpecIngressPtrOutput) ElementType() reflect.Type

func (AppSpecIngressPtrOutput) Rules added in v4.23.0

Rules for configuring HTTP ingress for component routes, CORS, rewrites, and redirects.

func (AppSpecIngressPtrOutput) ToAppSpecIngressPtrOutput added in v4.23.0

func (o AppSpecIngressPtrOutput) ToAppSpecIngressPtrOutput() AppSpecIngressPtrOutput

func (AppSpecIngressPtrOutput) ToAppSpecIngressPtrOutputWithContext added in v4.23.0

func (o AppSpecIngressPtrOutput) ToAppSpecIngressPtrOutputWithContext(ctx context.Context) AppSpecIngressPtrOutput

type AppSpecIngressRule added in v4.23.0

type AppSpecIngressRule struct {
	Component *AppSpecIngressRuleComponent `pulumi:"component"`
	// The [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies of the app.
	Cors     *AppSpecIngressRuleCors     `pulumi:"cors"`
	Match    *AppSpecIngressRuleMatch    `pulumi:"match"`
	Redirect *AppSpecIngressRuleRedirect `pulumi:"redirect"`
}

type AppSpecIngressRuleArgs added in v4.23.0

type AppSpecIngressRuleArgs struct {
	Component AppSpecIngressRuleComponentPtrInput `pulumi:"component"`
	// The [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies of the app.
	Cors     AppSpecIngressRuleCorsPtrInput     `pulumi:"cors"`
	Match    AppSpecIngressRuleMatchPtrInput    `pulumi:"match"`
	Redirect AppSpecIngressRuleRedirectPtrInput `pulumi:"redirect"`
}

func (AppSpecIngressRuleArgs) ElementType added in v4.23.0

func (AppSpecIngressRuleArgs) ElementType() reflect.Type

func (AppSpecIngressRuleArgs) ToAppSpecIngressRuleOutput added in v4.23.0

func (i AppSpecIngressRuleArgs) ToAppSpecIngressRuleOutput() AppSpecIngressRuleOutput

func (AppSpecIngressRuleArgs) ToAppSpecIngressRuleOutputWithContext added in v4.23.0

func (i AppSpecIngressRuleArgs) ToAppSpecIngressRuleOutputWithContext(ctx context.Context) AppSpecIngressRuleOutput

type AppSpecIngressRuleArray added in v4.23.0

type AppSpecIngressRuleArray []AppSpecIngressRuleInput

func (AppSpecIngressRuleArray) ElementType added in v4.23.0

func (AppSpecIngressRuleArray) ElementType() reflect.Type

func (AppSpecIngressRuleArray) ToAppSpecIngressRuleArrayOutput added in v4.23.0

func (i AppSpecIngressRuleArray) ToAppSpecIngressRuleArrayOutput() AppSpecIngressRuleArrayOutput

func (AppSpecIngressRuleArray) ToAppSpecIngressRuleArrayOutputWithContext added in v4.23.0

func (i AppSpecIngressRuleArray) ToAppSpecIngressRuleArrayOutputWithContext(ctx context.Context) AppSpecIngressRuleArrayOutput

type AppSpecIngressRuleArrayInput added in v4.23.0

type AppSpecIngressRuleArrayInput interface {
	pulumi.Input

	ToAppSpecIngressRuleArrayOutput() AppSpecIngressRuleArrayOutput
	ToAppSpecIngressRuleArrayOutputWithContext(context.Context) AppSpecIngressRuleArrayOutput
}

AppSpecIngressRuleArrayInput is an input type that accepts AppSpecIngressRuleArray and AppSpecIngressRuleArrayOutput values. You can construct a concrete instance of `AppSpecIngressRuleArrayInput` via:

AppSpecIngressRuleArray{ AppSpecIngressRuleArgs{...} }

type AppSpecIngressRuleArrayOutput added in v4.23.0

type AppSpecIngressRuleArrayOutput struct{ *pulumi.OutputState }

func (AppSpecIngressRuleArrayOutput) ElementType added in v4.23.0

func (AppSpecIngressRuleArrayOutput) Index added in v4.23.0

func (AppSpecIngressRuleArrayOutput) ToAppSpecIngressRuleArrayOutput added in v4.23.0

func (o AppSpecIngressRuleArrayOutput) ToAppSpecIngressRuleArrayOutput() AppSpecIngressRuleArrayOutput

func (AppSpecIngressRuleArrayOutput) ToAppSpecIngressRuleArrayOutputWithContext added in v4.23.0

func (o AppSpecIngressRuleArrayOutput) ToAppSpecIngressRuleArrayOutputWithContext(ctx context.Context) AppSpecIngressRuleArrayOutput

type AppSpecIngressRuleComponent added in v4.23.0

type AppSpecIngressRuleComponent struct {
	// The name of the component.
	Name               *string `pulumi:"name"`
	PreservePathPrefix *bool   `pulumi:"preservePathPrefix"`
	Rewrite            *string `pulumi:"rewrite"`
}

type AppSpecIngressRuleComponentArgs added in v4.23.0

type AppSpecIngressRuleComponentArgs struct {
	// The name of the component.
	Name               pulumi.StringPtrInput `pulumi:"name"`
	PreservePathPrefix pulumi.BoolPtrInput   `pulumi:"preservePathPrefix"`
	Rewrite            pulumi.StringPtrInput `pulumi:"rewrite"`
}

func (AppSpecIngressRuleComponentArgs) ElementType added in v4.23.0

func (AppSpecIngressRuleComponentArgs) ToAppSpecIngressRuleComponentOutput added in v4.23.0

func (i AppSpecIngressRuleComponentArgs) ToAppSpecIngressRuleComponentOutput() AppSpecIngressRuleComponentOutput

func (AppSpecIngressRuleComponentArgs) ToAppSpecIngressRuleComponentOutputWithContext added in v4.23.0

func (i AppSpecIngressRuleComponentArgs) ToAppSpecIngressRuleComponentOutputWithContext(ctx context.Context) AppSpecIngressRuleComponentOutput

func (AppSpecIngressRuleComponentArgs) ToAppSpecIngressRuleComponentPtrOutput added in v4.23.0

func (i AppSpecIngressRuleComponentArgs) ToAppSpecIngressRuleComponentPtrOutput() AppSpecIngressRuleComponentPtrOutput

func (AppSpecIngressRuleComponentArgs) ToAppSpecIngressRuleComponentPtrOutputWithContext added in v4.23.0

func (i AppSpecIngressRuleComponentArgs) ToAppSpecIngressRuleComponentPtrOutputWithContext(ctx context.Context) AppSpecIngressRuleComponentPtrOutput

type AppSpecIngressRuleComponentInput added in v4.23.0

type AppSpecIngressRuleComponentInput interface {
	pulumi.Input

	ToAppSpecIngressRuleComponentOutput() AppSpecIngressRuleComponentOutput
	ToAppSpecIngressRuleComponentOutputWithContext(context.Context) AppSpecIngressRuleComponentOutput
}

AppSpecIngressRuleComponentInput is an input type that accepts AppSpecIngressRuleComponentArgs and AppSpecIngressRuleComponentOutput values. You can construct a concrete instance of `AppSpecIngressRuleComponentInput` via:

AppSpecIngressRuleComponentArgs{...}

type AppSpecIngressRuleComponentOutput added in v4.23.0

type AppSpecIngressRuleComponentOutput struct{ *pulumi.OutputState }

func (AppSpecIngressRuleComponentOutput) ElementType added in v4.23.0

func (AppSpecIngressRuleComponentOutput) Name added in v4.23.0

The name of the component.

func (AppSpecIngressRuleComponentOutput) PreservePathPrefix added in v4.23.0

func (AppSpecIngressRuleComponentOutput) Rewrite added in v4.23.0

func (AppSpecIngressRuleComponentOutput) ToAppSpecIngressRuleComponentOutput added in v4.23.0

func (o AppSpecIngressRuleComponentOutput) ToAppSpecIngressRuleComponentOutput() AppSpecIngressRuleComponentOutput

func (AppSpecIngressRuleComponentOutput) ToAppSpecIngressRuleComponentOutputWithContext added in v4.23.0

func (o AppSpecIngressRuleComponentOutput) ToAppSpecIngressRuleComponentOutputWithContext(ctx context.Context) AppSpecIngressRuleComponentOutput

func (AppSpecIngressRuleComponentOutput) ToAppSpecIngressRuleComponentPtrOutput added in v4.23.0

func (o AppSpecIngressRuleComponentOutput) ToAppSpecIngressRuleComponentPtrOutput() AppSpecIngressRuleComponentPtrOutput

func (AppSpecIngressRuleComponentOutput) ToAppSpecIngressRuleComponentPtrOutputWithContext added in v4.23.0

func (o AppSpecIngressRuleComponentOutput) ToAppSpecIngressRuleComponentPtrOutputWithContext(ctx context.Context) AppSpecIngressRuleComponentPtrOutput

type AppSpecIngressRuleComponentPtrInput added in v4.23.0

type AppSpecIngressRuleComponentPtrInput interface {
	pulumi.Input

	ToAppSpecIngressRuleComponentPtrOutput() AppSpecIngressRuleComponentPtrOutput
	ToAppSpecIngressRuleComponentPtrOutputWithContext(context.Context) AppSpecIngressRuleComponentPtrOutput
}

AppSpecIngressRuleComponentPtrInput is an input type that accepts AppSpecIngressRuleComponentArgs, AppSpecIngressRuleComponentPtr and AppSpecIngressRuleComponentPtrOutput values. You can construct a concrete instance of `AppSpecIngressRuleComponentPtrInput` via:

        AppSpecIngressRuleComponentArgs{...}

or:

        nil

func AppSpecIngressRuleComponentPtr added in v4.23.0

type AppSpecIngressRuleComponentPtrOutput added in v4.23.0

type AppSpecIngressRuleComponentPtrOutput struct{ *pulumi.OutputState }

func (AppSpecIngressRuleComponentPtrOutput) Elem added in v4.23.0

func (AppSpecIngressRuleComponentPtrOutput) ElementType added in v4.23.0

func (AppSpecIngressRuleComponentPtrOutput) Name added in v4.23.0

The name of the component.

func (AppSpecIngressRuleComponentPtrOutput) PreservePathPrefix added in v4.23.0

func (AppSpecIngressRuleComponentPtrOutput) Rewrite added in v4.23.0

func (AppSpecIngressRuleComponentPtrOutput) ToAppSpecIngressRuleComponentPtrOutput added in v4.23.0

func (o AppSpecIngressRuleComponentPtrOutput) ToAppSpecIngressRuleComponentPtrOutput() AppSpecIngressRuleComponentPtrOutput

func (AppSpecIngressRuleComponentPtrOutput) ToAppSpecIngressRuleComponentPtrOutputWithContext added in v4.23.0

func (o AppSpecIngressRuleComponentPtrOutput) ToAppSpecIngressRuleComponentPtrOutputWithContext(ctx context.Context) AppSpecIngressRuleComponentPtrOutput

type AppSpecIngressRuleCors added in v4.23.0

type AppSpecIngressRuleCors struct {
	// Whether browsers should expose the response to the client-side JavaScript code when the request’s credentials mode is `include`. This configures the Access-Control-Allow-Credentials header.
	AllowCredentials *bool `pulumi:"allowCredentials"`
	// The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.
	AllowHeaders []string `pulumi:"allowHeaders"`
	// The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.
	AllowMethods []string `pulumi:"allowMethods"`
	// The set of allowed CORS origins. This configures the Access-Control-Allow-Origin header.
	AllowOrigins *AppSpecIngressRuleCorsAllowOrigins `pulumi:"allowOrigins"`
	// The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.
	ExposeHeaders []string `pulumi:"exposeHeaders"`
	// An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: `5h30m`.
	MaxAge *string `pulumi:"maxAge"`
}

type AppSpecIngressRuleCorsAllowOrigins added in v4.23.0

type AppSpecIngressRuleCorsAllowOrigins struct {
	// Exact string match.
	Exact *string `pulumi:"exact"`
	// Prefix-based match.
	Prefix *string `pulumi:"prefix"`
	// RE2 style regex-based match.
	Regex *string `pulumi:"regex"`
}

type AppSpecIngressRuleCorsAllowOriginsArgs added in v4.23.0

type AppSpecIngressRuleCorsAllowOriginsArgs struct {
	// Exact string match.
	Exact pulumi.StringPtrInput `pulumi:"exact"`
	// Prefix-based match.
	Prefix pulumi.StringPtrInput `pulumi:"prefix"`
	// RE2 style regex-based match.
	Regex pulumi.StringPtrInput `pulumi:"regex"`
}

func (AppSpecIngressRuleCorsAllowOriginsArgs) ElementType added in v4.23.0

func (AppSpecIngressRuleCorsAllowOriginsArgs) ToAppSpecIngressRuleCorsAllowOriginsOutput added in v4.23.0

func (i AppSpecIngressRuleCorsAllowOriginsArgs) ToAppSpecIngressRuleCorsAllowOriginsOutput() AppSpecIngressRuleCorsAllowOriginsOutput

func (AppSpecIngressRuleCorsAllowOriginsArgs) ToAppSpecIngressRuleCorsAllowOriginsOutputWithContext added in v4.23.0

func (i AppSpecIngressRuleCorsAllowOriginsArgs) ToAppSpecIngressRuleCorsAllowOriginsOutputWithContext(ctx context.Context) AppSpecIngressRuleCorsAllowOriginsOutput

func (AppSpecIngressRuleCorsAllowOriginsArgs) ToAppSpecIngressRuleCorsAllowOriginsPtrOutput added in v4.23.0

func (i AppSpecIngressRuleCorsAllowOriginsArgs) ToAppSpecIngressRuleCorsAllowOriginsPtrOutput() AppSpecIngressRuleCorsAllowOriginsPtrOutput

func (AppSpecIngressRuleCorsAllowOriginsArgs) ToAppSpecIngressRuleCorsAllowOriginsPtrOutputWithContext added in v4.23.0

func (i AppSpecIngressRuleCorsAllowOriginsArgs) ToAppSpecIngressRuleCorsAllowOriginsPtrOutputWithContext(ctx context.Context) AppSpecIngressRuleCorsAllowOriginsPtrOutput

type AppSpecIngressRuleCorsAllowOriginsInput added in v4.23.0

type AppSpecIngressRuleCorsAllowOriginsInput interface {
	pulumi.Input

	ToAppSpecIngressRuleCorsAllowOriginsOutput() AppSpecIngressRuleCorsAllowOriginsOutput
	ToAppSpecIngressRuleCorsAllowOriginsOutputWithContext(context.Context) AppSpecIngressRuleCorsAllowOriginsOutput
}

AppSpecIngressRuleCorsAllowOriginsInput is an input type that accepts AppSpecIngressRuleCorsAllowOriginsArgs and AppSpecIngressRuleCorsAllowOriginsOutput values. You can construct a concrete instance of `AppSpecIngressRuleCorsAllowOriginsInput` via:

AppSpecIngressRuleCorsAllowOriginsArgs{...}

type AppSpecIngressRuleCorsAllowOriginsOutput added in v4.23.0

type AppSpecIngressRuleCorsAllowOriginsOutput struct{ *pulumi.OutputState }

func (AppSpecIngressRuleCorsAllowOriginsOutput) ElementType added in v4.23.0

func (AppSpecIngressRuleCorsAllowOriginsOutput) Exact added in v4.23.0

Exact string match.

func (AppSpecIngressRuleCorsAllowOriginsOutput) Prefix added in v4.23.0

Prefix-based match.

func (AppSpecIngressRuleCorsAllowOriginsOutput) Regex added in v4.23.0

RE2 style regex-based match.

func (AppSpecIngressRuleCorsAllowOriginsOutput) ToAppSpecIngressRuleCorsAllowOriginsOutput added in v4.23.0

func (o AppSpecIngressRuleCorsAllowOriginsOutput) ToAppSpecIngressRuleCorsAllowOriginsOutput() AppSpecIngressRuleCorsAllowOriginsOutput

func (AppSpecIngressRuleCorsAllowOriginsOutput) ToAppSpecIngressRuleCorsAllowOriginsOutputWithContext added in v4.23.0

func (o AppSpecIngressRuleCorsAllowOriginsOutput) ToAppSpecIngressRuleCorsAllowOriginsOutputWithContext(ctx context.Context) AppSpecIngressRuleCorsAllowOriginsOutput

func (AppSpecIngressRuleCorsAllowOriginsOutput) ToAppSpecIngressRuleCorsAllowOriginsPtrOutput added in v4.23.0

func (o AppSpecIngressRuleCorsAllowOriginsOutput) ToAppSpecIngressRuleCorsAllowOriginsPtrOutput() AppSpecIngressRuleCorsAllowOriginsPtrOutput

func (AppSpecIngressRuleCorsAllowOriginsOutput) ToAppSpecIngressRuleCorsAllowOriginsPtrOutputWithContext added in v4.23.0

func (o AppSpecIngressRuleCorsAllowOriginsOutput) ToAppSpecIngressRuleCorsAllowOriginsPtrOutputWithContext(ctx context.Context) AppSpecIngressRuleCorsAllowOriginsPtrOutput

type AppSpecIngressRuleCorsAllowOriginsPtrInput added in v4.23.0

type AppSpecIngressRuleCorsAllowOriginsPtrInput interface {
	pulumi.Input

	ToAppSpecIngressRuleCorsAllowOriginsPtrOutput() AppSpecIngressRuleCorsAllowOriginsPtrOutput
	ToAppSpecIngressRuleCorsAllowOriginsPtrOutputWithContext(context.Context) AppSpecIngressRuleCorsAllowOriginsPtrOutput
}

AppSpecIngressRuleCorsAllowOriginsPtrInput is an input type that accepts AppSpecIngressRuleCorsAllowOriginsArgs, AppSpecIngressRuleCorsAllowOriginsPtr and AppSpecIngressRuleCorsAllowOriginsPtrOutput values. You can construct a concrete instance of `AppSpecIngressRuleCorsAllowOriginsPtrInput` via:

        AppSpecIngressRuleCorsAllowOriginsArgs{...}

or:

        nil

type AppSpecIngressRuleCorsAllowOriginsPtrOutput added in v4.23.0

type AppSpecIngressRuleCorsAllowOriginsPtrOutput struct{ *pulumi.OutputState }

func (AppSpecIngressRuleCorsAllowOriginsPtrOutput) Elem added in v4.23.0

func (AppSpecIngressRuleCorsAllowOriginsPtrOutput) ElementType added in v4.23.0

func (AppSpecIngressRuleCorsAllowOriginsPtrOutput) Exact added in v4.23.0

Exact string match.

func (AppSpecIngressRuleCorsAllowOriginsPtrOutput) Prefix added in v4.23.0

Prefix-based match.

func (AppSpecIngressRuleCorsAllowOriginsPtrOutput) Regex added in v4.23.0

RE2 style regex-based match.

func (AppSpecIngressRuleCorsAllowOriginsPtrOutput) ToAppSpecIngressRuleCorsAllowOriginsPtrOutput added in v4.23.0

func (o AppSpecIngressRuleCorsAllowOriginsPtrOutput) ToAppSpecIngressRuleCorsAllowOriginsPtrOutput() AppSpecIngressRuleCorsAllowOriginsPtrOutput

func (AppSpecIngressRuleCorsAllowOriginsPtrOutput) ToAppSpecIngressRuleCorsAllowOriginsPtrOutputWithContext added in v4.23.0

func (o AppSpecIngressRuleCorsAllowOriginsPtrOutput) ToAppSpecIngressRuleCorsAllowOriginsPtrOutputWithContext(ctx context.Context) AppSpecIngressRuleCorsAllowOriginsPtrOutput

type AppSpecIngressRuleCorsArgs added in v4.23.0

type AppSpecIngressRuleCorsArgs struct {
	// Whether browsers should expose the response to the client-side JavaScript code when the request’s credentials mode is `include`. This configures the Access-Control-Allow-Credentials header.
	AllowCredentials pulumi.BoolPtrInput `pulumi:"allowCredentials"`
	// The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.
	AllowHeaders pulumi.StringArrayInput `pulumi:"allowHeaders"`
	// The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.
	AllowMethods pulumi.StringArrayInput `pulumi:"allowMethods"`
	// The set of allowed CORS origins. This configures the Access-Control-Allow-Origin header.
	AllowOrigins AppSpecIngressRuleCorsAllowOriginsPtrInput `pulumi:"allowOrigins"`
	// The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.
	ExposeHeaders pulumi.StringArrayInput `pulumi:"exposeHeaders"`
	// An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: `5h30m`.
	MaxAge pulumi.StringPtrInput `pulumi:"maxAge"`
}

func (AppSpecIngressRuleCorsArgs) ElementType added in v4.23.0

func (AppSpecIngressRuleCorsArgs) ElementType() reflect.Type

func (AppSpecIngressRuleCorsArgs) ToAppSpecIngressRuleCorsOutput added in v4.23.0

func (i AppSpecIngressRuleCorsArgs) ToAppSpecIngressRuleCorsOutput() AppSpecIngressRuleCorsOutput

func (AppSpecIngressRuleCorsArgs) ToAppSpecIngressRuleCorsOutputWithContext added in v4.23.0

func (i AppSpecIngressRuleCorsArgs) ToAppSpecIngressRuleCorsOutputWithContext(ctx context.Context) AppSpecIngressRuleCorsOutput

func (AppSpecIngressRuleCorsArgs) ToAppSpecIngressRuleCorsPtrOutput added in v4.23.0

func (i AppSpecIngressRuleCorsArgs) ToAppSpecIngressRuleCorsPtrOutput() AppSpecIngressRuleCorsPtrOutput

func (AppSpecIngressRuleCorsArgs) ToAppSpecIngressRuleCorsPtrOutputWithContext added in v4.23.0

func (i AppSpecIngressRuleCorsArgs) ToAppSpecIngressRuleCorsPtrOutputWithContext(ctx context.Context) AppSpecIngressRuleCorsPtrOutput

type AppSpecIngressRuleCorsInput added in v4.23.0

type AppSpecIngressRuleCorsInput interface {
	pulumi.Input

	ToAppSpecIngressRuleCorsOutput() AppSpecIngressRuleCorsOutput
	ToAppSpecIngressRuleCorsOutputWithContext(context.Context) AppSpecIngressRuleCorsOutput
}

AppSpecIngressRuleCorsInput is an input type that accepts AppSpecIngressRuleCorsArgs and AppSpecIngressRuleCorsOutput values. You can construct a concrete instance of `AppSpecIngressRuleCorsInput` via:

AppSpecIngressRuleCorsArgs{...}

type AppSpecIngressRuleCorsOutput added in v4.23.0

type AppSpecIngressRuleCorsOutput struct{ *pulumi.OutputState }

func (AppSpecIngressRuleCorsOutput) AllowCredentials added in v4.23.0

func (o AppSpecIngressRuleCorsOutput) AllowCredentials() pulumi.BoolPtrOutput

Whether browsers should expose the response to the client-side JavaScript code when the request’s credentials mode is `include`. This configures the Access-Control-Allow-Credentials header.

func (AppSpecIngressRuleCorsOutput) AllowHeaders added in v4.23.0

The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.

func (AppSpecIngressRuleCorsOutput) AllowMethods added in v4.23.0

The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.

func (AppSpecIngressRuleCorsOutput) AllowOrigins added in v4.23.0

The set of allowed CORS origins. This configures the Access-Control-Allow-Origin header.

func (AppSpecIngressRuleCorsOutput) ElementType added in v4.23.0

func (AppSpecIngressRuleCorsOutput) ExposeHeaders added in v4.23.0

The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.

func (AppSpecIngressRuleCorsOutput) MaxAge added in v4.23.0

An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: `5h30m`.

func (AppSpecIngressRuleCorsOutput) ToAppSpecIngressRuleCorsOutput added in v4.23.0

func (o AppSpecIngressRuleCorsOutput) ToAppSpecIngressRuleCorsOutput() AppSpecIngressRuleCorsOutput

func (AppSpecIngressRuleCorsOutput) ToAppSpecIngressRuleCorsOutputWithContext added in v4.23.0

func (o AppSpecIngressRuleCorsOutput) ToAppSpecIngressRuleCorsOutputWithContext(ctx context.Context) AppSpecIngressRuleCorsOutput

func (AppSpecIngressRuleCorsOutput) ToAppSpecIngressRuleCorsPtrOutput added in v4.23.0

func (o AppSpecIngressRuleCorsOutput) ToAppSpecIngressRuleCorsPtrOutput() AppSpecIngressRuleCorsPtrOutput

func (AppSpecIngressRuleCorsOutput) ToAppSpecIngressRuleCorsPtrOutputWithContext added in v4.23.0

func (o AppSpecIngressRuleCorsOutput) ToAppSpecIngressRuleCorsPtrOutputWithContext(ctx context.Context) AppSpecIngressRuleCorsPtrOutput

type AppSpecIngressRuleCorsPtrInput added in v4.23.0

type AppSpecIngressRuleCorsPtrInput interface {
	pulumi.Input

	ToAppSpecIngressRuleCorsPtrOutput() AppSpecIngressRuleCorsPtrOutput
	ToAppSpecIngressRuleCorsPtrOutputWithContext(context.Context) AppSpecIngressRuleCorsPtrOutput
}

AppSpecIngressRuleCorsPtrInput is an input type that accepts AppSpecIngressRuleCorsArgs, AppSpecIngressRuleCorsPtr and AppSpecIngressRuleCorsPtrOutput values. You can construct a concrete instance of `AppSpecIngressRuleCorsPtrInput` via:

        AppSpecIngressRuleCorsArgs{...}

or:

        nil

func AppSpecIngressRuleCorsPtr added in v4.23.0

func AppSpecIngressRuleCorsPtr(v *AppSpecIngressRuleCorsArgs) AppSpecIngressRuleCorsPtrInput

type AppSpecIngressRuleCorsPtrOutput added in v4.23.0

type AppSpecIngressRuleCorsPtrOutput struct{ *pulumi.OutputState }

func (AppSpecIngressRuleCorsPtrOutput) AllowCredentials added in v4.23.0

Whether browsers should expose the response to the client-side JavaScript code when the request’s credentials mode is `include`. This configures the Access-Control-Allow-Credentials header.

func (AppSpecIngressRuleCorsPtrOutput) AllowHeaders added in v4.23.0

The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.

func (AppSpecIngressRuleCorsPtrOutput) AllowMethods added in v4.23.0

The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.

func (AppSpecIngressRuleCorsPtrOutput) AllowOrigins added in v4.23.0

The set of allowed CORS origins. This configures the Access-Control-Allow-Origin header.

func (AppSpecIngressRuleCorsPtrOutput) Elem added in v4.23.0

func (AppSpecIngressRuleCorsPtrOutput) ElementType added in v4.23.0

func (AppSpecIngressRuleCorsPtrOutput) ExposeHeaders added in v4.23.0

The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.

func (AppSpecIngressRuleCorsPtrOutput) MaxAge added in v4.23.0

An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: `5h30m`.

func (AppSpecIngressRuleCorsPtrOutput) ToAppSpecIngressRuleCorsPtrOutput added in v4.23.0

func (o AppSpecIngressRuleCorsPtrOutput) ToAppSpecIngressRuleCorsPtrOutput() AppSpecIngressRuleCorsPtrOutput

func (AppSpecIngressRuleCorsPtrOutput) ToAppSpecIngressRuleCorsPtrOutputWithContext added in v4.23.0

func (o AppSpecIngressRuleCorsPtrOutput) ToAppSpecIngressRuleCorsPtrOutputWithContext(ctx context.Context) AppSpecIngressRuleCorsPtrOutput

type AppSpecIngressRuleInput added in v4.23.0

type AppSpecIngressRuleInput interface {
	pulumi.Input

	ToAppSpecIngressRuleOutput() AppSpecIngressRuleOutput
	ToAppSpecIngressRuleOutputWithContext(context.Context) AppSpecIngressRuleOutput
}

AppSpecIngressRuleInput is an input type that accepts AppSpecIngressRuleArgs and AppSpecIngressRuleOutput values. You can construct a concrete instance of `AppSpecIngressRuleInput` via:

AppSpecIngressRuleArgs{...}

type AppSpecIngressRuleMatch added in v4.23.0

type AppSpecIngressRuleMatch struct {
	Path *AppSpecIngressRuleMatchPath `pulumi:"path"`
}

type AppSpecIngressRuleMatchArgs added in v4.23.0

type AppSpecIngressRuleMatchArgs struct {
	Path AppSpecIngressRuleMatchPathPtrInput `pulumi:"path"`
}

func (AppSpecIngressRuleMatchArgs) ElementType added in v4.23.0

func (AppSpecIngressRuleMatchArgs) ToAppSpecIngressRuleMatchOutput added in v4.23.0

func (i AppSpecIngressRuleMatchArgs) ToAppSpecIngressRuleMatchOutput() AppSpecIngressRuleMatchOutput

func (AppSpecIngressRuleMatchArgs) ToAppSpecIngressRuleMatchOutputWithContext added in v4.23.0

func (i AppSpecIngressRuleMatchArgs) ToAppSpecIngressRuleMatchOutputWithContext(ctx context.Context) AppSpecIngressRuleMatchOutput

func (AppSpecIngressRuleMatchArgs) ToAppSpecIngressRuleMatchPtrOutput added in v4.23.0

func (i AppSpecIngressRuleMatchArgs) ToAppSpecIngressRuleMatchPtrOutput() AppSpecIngressRuleMatchPtrOutput

func (AppSpecIngressRuleMatchArgs) ToAppSpecIngressRuleMatchPtrOutputWithContext added in v4.23.0

func (i AppSpecIngressRuleMatchArgs) ToAppSpecIngressRuleMatchPtrOutputWithContext(ctx context.Context) AppSpecIngressRuleMatchPtrOutput

type AppSpecIngressRuleMatchInput added in v4.23.0

type AppSpecIngressRuleMatchInput interface {
	pulumi.Input

	ToAppSpecIngressRuleMatchOutput() AppSpecIngressRuleMatchOutput
	ToAppSpecIngressRuleMatchOutputWithContext(context.Context) AppSpecIngressRuleMatchOutput
}

AppSpecIngressRuleMatchInput is an input type that accepts AppSpecIngressRuleMatchArgs and AppSpecIngressRuleMatchOutput values. You can construct a concrete instance of `AppSpecIngressRuleMatchInput` via:

AppSpecIngressRuleMatchArgs{...}

type AppSpecIngressRuleMatchOutput added in v4.23.0

type AppSpecIngressRuleMatchOutput struct{ *pulumi.OutputState }

func (AppSpecIngressRuleMatchOutput) ElementType added in v4.23.0

func (AppSpecIngressRuleMatchOutput) Path added in v4.23.0

func (AppSpecIngressRuleMatchOutput) ToAppSpecIngressRuleMatchOutput added in v4.23.0

func (o AppSpecIngressRuleMatchOutput) ToAppSpecIngressRuleMatchOutput() AppSpecIngressRuleMatchOutput

func (AppSpecIngressRuleMatchOutput) ToAppSpecIngressRuleMatchOutputWithContext added in v4.23.0

func (o AppSpecIngressRuleMatchOutput) ToAppSpecIngressRuleMatchOutputWithContext(ctx context.Context) AppSpecIngressRuleMatchOutput

func (AppSpecIngressRuleMatchOutput) ToAppSpecIngressRuleMatchPtrOutput added in v4.23.0

func (o AppSpecIngressRuleMatchOutput) ToAppSpecIngressRuleMatchPtrOutput() AppSpecIngressRuleMatchPtrOutput

func (AppSpecIngressRuleMatchOutput) ToAppSpecIngressRuleMatchPtrOutputWithContext added in v4.23.0

func (o AppSpecIngressRuleMatchOutput) ToAppSpecIngressRuleMatchPtrOutputWithContext(ctx context.Context) AppSpecIngressRuleMatchPtrOutput

type AppSpecIngressRuleMatchPath added in v4.23.0

type AppSpecIngressRuleMatchPath struct {
	Prefix *string `pulumi:"prefix"`
}

type AppSpecIngressRuleMatchPathArgs added in v4.23.0

type AppSpecIngressRuleMatchPathArgs struct {
	Prefix pulumi.StringPtrInput `pulumi:"prefix"`
}

func (AppSpecIngressRuleMatchPathArgs) ElementType added in v4.23.0

func (AppSpecIngressRuleMatchPathArgs) ToAppSpecIngressRuleMatchPathOutput added in v4.23.0

func (i AppSpecIngressRuleMatchPathArgs) ToAppSpecIngressRuleMatchPathOutput() AppSpecIngressRuleMatchPathOutput

func (AppSpecIngressRuleMatchPathArgs) ToAppSpecIngressRuleMatchPathOutputWithContext added in v4.23.0

func (i AppSpecIngressRuleMatchPathArgs) ToAppSpecIngressRuleMatchPathOutputWithContext(ctx context.Context) AppSpecIngressRuleMatchPathOutput

func (AppSpecIngressRuleMatchPathArgs) ToAppSpecIngressRuleMatchPathPtrOutput added in v4.23.0

func (i AppSpecIngressRuleMatchPathArgs) ToAppSpecIngressRuleMatchPathPtrOutput() AppSpecIngressRuleMatchPathPtrOutput

func (AppSpecIngressRuleMatchPathArgs) ToAppSpecIngressRuleMatchPathPtrOutputWithContext added in v4.23.0

func (i AppSpecIngressRuleMatchPathArgs) ToAppSpecIngressRuleMatchPathPtrOutputWithContext(ctx context.Context) AppSpecIngressRuleMatchPathPtrOutput

type AppSpecIngressRuleMatchPathInput added in v4.23.0

type AppSpecIngressRuleMatchPathInput interface {
	pulumi.Input

	ToAppSpecIngressRuleMatchPathOutput() AppSpecIngressRuleMatchPathOutput
	ToAppSpecIngressRuleMatchPathOutputWithContext(context.Context) AppSpecIngressRuleMatchPathOutput
}

AppSpecIngressRuleMatchPathInput is an input type that accepts AppSpecIngressRuleMatchPathArgs and AppSpecIngressRuleMatchPathOutput values. You can construct a concrete instance of `AppSpecIngressRuleMatchPathInput` via:

AppSpecIngressRuleMatchPathArgs{...}

type AppSpecIngressRuleMatchPathOutput added in v4.23.0

type AppSpecIngressRuleMatchPathOutput struct{ *pulumi.OutputState }

func (AppSpecIngressRuleMatchPathOutput) ElementType added in v4.23.0

func (AppSpecIngressRuleMatchPathOutput) Prefix added in v4.23.0

func (AppSpecIngressRuleMatchPathOutput) ToAppSpecIngressRuleMatchPathOutput added in v4.23.0

func (o AppSpecIngressRuleMatchPathOutput) ToAppSpecIngressRuleMatchPathOutput() AppSpecIngressRuleMatchPathOutput

func (AppSpecIngressRuleMatchPathOutput) ToAppSpecIngressRuleMatchPathOutputWithContext added in v4.23.0

func (o AppSpecIngressRuleMatchPathOutput) ToAppSpecIngressRuleMatchPathOutputWithContext(ctx context.Context) AppSpecIngressRuleMatchPathOutput

func (AppSpecIngressRuleMatchPathOutput) ToAppSpecIngressRuleMatchPathPtrOutput added in v4.23.0

func (o AppSpecIngressRuleMatchPathOutput) ToAppSpecIngressRuleMatchPathPtrOutput() AppSpecIngressRuleMatchPathPtrOutput

func (AppSpecIngressRuleMatchPathOutput) ToAppSpecIngressRuleMatchPathPtrOutputWithContext added in v4.23.0

func (o AppSpecIngressRuleMatchPathOutput) ToAppSpecIngressRuleMatchPathPtrOutputWithContext(ctx context.Context) AppSpecIngressRuleMatchPathPtrOutput

type AppSpecIngressRuleMatchPathPtrInput added in v4.23.0

type AppSpecIngressRuleMatchPathPtrInput interface {
	pulumi.Input

	ToAppSpecIngressRuleMatchPathPtrOutput() AppSpecIngressRuleMatchPathPtrOutput
	ToAppSpecIngressRuleMatchPathPtrOutputWithContext(context.Context) AppSpecIngressRuleMatchPathPtrOutput
}

AppSpecIngressRuleMatchPathPtrInput is an input type that accepts AppSpecIngressRuleMatchPathArgs, AppSpecIngressRuleMatchPathPtr and AppSpecIngressRuleMatchPathPtrOutput values. You can construct a concrete instance of `AppSpecIngressRuleMatchPathPtrInput` via:

        AppSpecIngressRuleMatchPathArgs{...}

or:

        nil

func AppSpecIngressRuleMatchPathPtr added in v4.23.0

type AppSpecIngressRuleMatchPathPtrOutput added in v4.23.0

type AppSpecIngressRuleMatchPathPtrOutput struct{ *pulumi.OutputState }

func (AppSpecIngressRuleMatchPathPtrOutput) Elem added in v4.23.0

func (AppSpecIngressRuleMatchPathPtrOutput) ElementType added in v4.23.0

func (AppSpecIngressRuleMatchPathPtrOutput) Prefix added in v4.23.0

func (AppSpecIngressRuleMatchPathPtrOutput) ToAppSpecIngressRuleMatchPathPtrOutput added in v4.23.0

func (o AppSpecIngressRuleMatchPathPtrOutput) ToAppSpecIngressRuleMatchPathPtrOutput() AppSpecIngressRuleMatchPathPtrOutput

func (AppSpecIngressRuleMatchPathPtrOutput) ToAppSpecIngressRuleMatchPathPtrOutputWithContext added in v4.23.0

func (o AppSpecIngressRuleMatchPathPtrOutput) ToAppSpecIngressRuleMatchPathPtrOutputWithContext(ctx context.Context) AppSpecIngressRuleMatchPathPtrOutput

type AppSpecIngressRuleMatchPtrInput added in v4.23.0

type AppSpecIngressRuleMatchPtrInput interface {
	pulumi.Input

	ToAppSpecIngressRuleMatchPtrOutput() AppSpecIngressRuleMatchPtrOutput
	ToAppSpecIngressRuleMatchPtrOutputWithContext(context.Context) AppSpecIngressRuleMatchPtrOutput
}

AppSpecIngressRuleMatchPtrInput is an input type that accepts AppSpecIngressRuleMatchArgs, AppSpecIngressRuleMatchPtr and AppSpecIngressRuleMatchPtrOutput values. You can construct a concrete instance of `AppSpecIngressRuleMatchPtrInput` via:

        AppSpecIngressRuleMatchArgs{...}

or:

        nil

func AppSpecIngressRuleMatchPtr added in v4.23.0

func AppSpecIngressRuleMatchPtr(v *AppSpecIngressRuleMatchArgs) AppSpecIngressRuleMatchPtrInput

type AppSpecIngressRuleMatchPtrOutput added in v4.23.0

type AppSpecIngressRuleMatchPtrOutput struct{ *pulumi.OutputState }

func (AppSpecIngressRuleMatchPtrOutput) Elem added in v4.23.0

func (AppSpecIngressRuleMatchPtrOutput) ElementType added in v4.23.0

func (AppSpecIngressRuleMatchPtrOutput) Path added in v4.23.0

func (AppSpecIngressRuleMatchPtrOutput) ToAppSpecIngressRuleMatchPtrOutput added in v4.23.0

func (o AppSpecIngressRuleMatchPtrOutput) ToAppSpecIngressRuleMatchPtrOutput() AppSpecIngressRuleMatchPtrOutput

func (AppSpecIngressRuleMatchPtrOutput) ToAppSpecIngressRuleMatchPtrOutputWithContext added in v4.23.0

func (o AppSpecIngressRuleMatchPtrOutput) ToAppSpecIngressRuleMatchPtrOutputWithContext(ctx context.Context) AppSpecIngressRuleMatchPtrOutput

type AppSpecIngressRuleOutput added in v4.23.0

type AppSpecIngressRuleOutput struct{ *pulumi.OutputState }

func (AppSpecIngressRuleOutput) Component added in v4.23.0

func (AppSpecIngressRuleOutput) Cors added in v4.23.0

The [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies of the app.

func (AppSpecIngressRuleOutput) ElementType added in v4.23.0

func (AppSpecIngressRuleOutput) ElementType() reflect.Type

func (AppSpecIngressRuleOutput) Match added in v4.23.0

func (AppSpecIngressRuleOutput) Redirect added in v4.23.0

func (AppSpecIngressRuleOutput) ToAppSpecIngressRuleOutput added in v4.23.0

func (o AppSpecIngressRuleOutput) ToAppSpecIngressRuleOutput() AppSpecIngressRuleOutput

func (AppSpecIngressRuleOutput) ToAppSpecIngressRuleOutputWithContext added in v4.23.0

func (o AppSpecIngressRuleOutput) ToAppSpecIngressRuleOutputWithContext(ctx context.Context) AppSpecIngressRuleOutput

type AppSpecIngressRuleRedirect added in v4.23.0

type AppSpecIngressRuleRedirect struct {
	Authority    *string `pulumi:"authority"`
	Port         *int    `pulumi:"port"`
	RedirectCode *int    `pulumi:"redirectCode"`
	Scheme       *string `pulumi:"scheme"`
	Uri          *string `pulumi:"uri"`
}

type AppSpecIngressRuleRedirectArgs added in v4.23.0

type AppSpecIngressRuleRedirectArgs struct {
	Authority    pulumi.StringPtrInput `pulumi:"authority"`
	Port         pulumi.IntPtrInput    `pulumi:"port"`
	RedirectCode pulumi.IntPtrInput    `pulumi:"redirectCode"`
	Scheme       pulumi.StringPtrInput `pulumi:"scheme"`
	Uri          pulumi.StringPtrInput `pulumi:"uri"`
}

func (AppSpecIngressRuleRedirectArgs) ElementType added in v4.23.0

func (AppSpecIngressRuleRedirectArgs) ToAppSpecIngressRuleRedirectOutput added in v4.23.0

func (i AppSpecIngressRuleRedirectArgs) ToAppSpecIngressRuleRedirectOutput() AppSpecIngressRuleRedirectOutput

func (AppSpecIngressRuleRedirectArgs) ToAppSpecIngressRuleRedirectOutputWithContext added in v4.23.0

func (i AppSpecIngressRuleRedirectArgs) ToAppSpecIngressRuleRedirectOutputWithContext(ctx context.Context) AppSpecIngressRuleRedirectOutput

func (AppSpecIngressRuleRedirectArgs) ToAppSpecIngressRuleRedirectPtrOutput added in v4.23.0

func (i AppSpecIngressRuleRedirectArgs) ToAppSpecIngressRuleRedirectPtrOutput() AppSpecIngressRuleRedirectPtrOutput

func (AppSpecIngressRuleRedirectArgs) ToAppSpecIngressRuleRedirectPtrOutputWithContext added in v4.23.0

func (i AppSpecIngressRuleRedirectArgs) ToAppSpecIngressRuleRedirectPtrOutputWithContext(ctx context.Context) AppSpecIngressRuleRedirectPtrOutput

type AppSpecIngressRuleRedirectInput added in v4.23.0

type AppSpecIngressRuleRedirectInput interface {
	pulumi.Input

	ToAppSpecIngressRuleRedirectOutput() AppSpecIngressRuleRedirectOutput
	ToAppSpecIngressRuleRedirectOutputWithContext(context.Context) AppSpecIngressRuleRedirectOutput
}

AppSpecIngressRuleRedirectInput is an input type that accepts AppSpecIngressRuleRedirectArgs and AppSpecIngressRuleRedirectOutput values. You can construct a concrete instance of `AppSpecIngressRuleRedirectInput` via:

AppSpecIngressRuleRedirectArgs{...}

type AppSpecIngressRuleRedirectOutput added in v4.23.0

type AppSpecIngressRuleRedirectOutput struct{ *pulumi.OutputState }

func (AppSpecIngressRuleRedirectOutput) Authority added in v4.23.0

func (AppSpecIngressRuleRedirectOutput) ElementType added in v4.23.0

func (AppSpecIngressRuleRedirectOutput) Port added in v4.23.0

func (AppSpecIngressRuleRedirectOutput) RedirectCode added in v4.23.0

func (AppSpecIngressRuleRedirectOutput) Scheme added in v4.23.0

func (AppSpecIngressRuleRedirectOutput) ToAppSpecIngressRuleRedirectOutput added in v4.23.0

func (o AppSpecIngressRuleRedirectOutput) ToAppSpecIngressRuleRedirectOutput() AppSpecIngressRuleRedirectOutput

func (AppSpecIngressRuleRedirectOutput) ToAppSpecIngressRuleRedirectOutputWithContext added in v4.23.0

func (o AppSpecIngressRuleRedirectOutput) ToAppSpecIngressRuleRedirectOutputWithContext(ctx context.Context) AppSpecIngressRuleRedirectOutput

func (AppSpecIngressRuleRedirectOutput) ToAppSpecIngressRuleRedirectPtrOutput added in v4.23.0

func (o AppSpecIngressRuleRedirectOutput) ToAppSpecIngressRuleRedirectPtrOutput() AppSpecIngressRuleRedirectPtrOutput

func (AppSpecIngressRuleRedirectOutput) ToAppSpecIngressRuleRedirectPtrOutputWithContext added in v4.23.0

func (o AppSpecIngressRuleRedirectOutput) ToAppSpecIngressRuleRedirectPtrOutputWithContext(ctx context.Context) AppSpecIngressRuleRedirectPtrOutput

func (AppSpecIngressRuleRedirectOutput) Uri added in v4.23.0

type AppSpecIngressRuleRedirectPtrInput added in v4.23.0

type AppSpecIngressRuleRedirectPtrInput interface {
	pulumi.Input

	ToAppSpecIngressRuleRedirectPtrOutput() AppSpecIngressRuleRedirectPtrOutput
	ToAppSpecIngressRuleRedirectPtrOutputWithContext(context.Context) AppSpecIngressRuleRedirectPtrOutput
}

AppSpecIngressRuleRedirectPtrInput is an input type that accepts AppSpecIngressRuleRedirectArgs, AppSpecIngressRuleRedirectPtr and AppSpecIngressRuleRedirectPtrOutput values. You can construct a concrete instance of `AppSpecIngressRuleRedirectPtrInput` via:

        AppSpecIngressRuleRedirectArgs{...}

or:

        nil

func AppSpecIngressRuleRedirectPtr added in v4.23.0

type AppSpecIngressRuleRedirectPtrOutput added in v4.23.0

type AppSpecIngressRuleRedirectPtrOutput struct{ *pulumi.OutputState }

func (AppSpecIngressRuleRedirectPtrOutput) Authority added in v4.23.0

func (AppSpecIngressRuleRedirectPtrOutput) Elem added in v4.23.0

func (AppSpecIngressRuleRedirectPtrOutput) ElementType added in v4.23.0

func (AppSpecIngressRuleRedirectPtrOutput) Port added in v4.23.0

func (AppSpecIngressRuleRedirectPtrOutput) RedirectCode added in v4.23.0

func (AppSpecIngressRuleRedirectPtrOutput) Scheme added in v4.23.0

func (AppSpecIngressRuleRedirectPtrOutput) ToAppSpecIngressRuleRedirectPtrOutput added in v4.23.0

func (o AppSpecIngressRuleRedirectPtrOutput) ToAppSpecIngressRuleRedirectPtrOutput() AppSpecIngressRuleRedirectPtrOutput

func (AppSpecIngressRuleRedirectPtrOutput) ToAppSpecIngressRuleRedirectPtrOutputWithContext added in v4.23.0

func (o AppSpecIngressRuleRedirectPtrOutput) ToAppSpecIngressRuleRedirectPtrOutputWithContext(ctx context.Context) AppSpecIngressRuleRedirectPtrOutput

func (AppSpecIngressRuleRedirectPtrOutput) Uri added in v4.23.0

type AppSpecInput

type AppSpecInput interface {
	pulumi.Input

	ToAppSpecOutput() AppSpecOutput
	ToAppSpecOutputWithContext(context.Context) AppSpecOutput
}

AppSpecInput is an input type that accepts AppSpecArgs and AppSpecOutput values. You can construct a concrete instance of `AppSpecInput` via:

AppSpecArgs{...}

type AppSpecJob

type AppSpecJob struct {
	// Describes an alert policy for the component.
	Alerts []AppSpecJobAlert `pulumi:"alerts"`
	// An optional build command to run while building this component from source.
	BuildCommand *string `pulumi:"buildCommand"`
	// The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
	DockerfilePath *string `pulumi:"dockerfilePath"`
	// An environment slug describing the type of this app.
	EnvironmentSlug *string `pulumi:"environmentSlug"`
	// Describes an environment variable made available to an app competent.
	Envs []AppSpecJobEnv `pulumi:"envs"`
	// A Git repo to use as the component's source. The repository must be able to be cloned without authentication.  Only one of `git`, `github` or `gitlab`  may be set.
	Git *AppSpecJobGit `pulumi:"git"`
	// A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Github *AppSpecJobGithub `pulumi:"github"`
	// A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Gitlab *AppSpecJobGitlab `pulumi:"gitlab"`
	// An image to use as the component's source. Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Image *AppSpecJobImage `pulumi:"image"`
	// The amount of instances that this component should be scaled to.
	InstanceCount *int `pulumi:"instanceCount"`
	// The instance size to use for this component. This determines the plan (basic or professional) and the available CPU and memory. The list of available instance sizes can be [found with the API](https://docs.digitalocean.com/reference/api/api-reference/#operation/list_instance_sizes) or using the [doctl CLI](https://docs.digitalocean.com/reference/doctl/) (`doctl apps tier instance-size list`). Default: `basic-xxs`
	InstanceSizeSlug *string `pulumi:"instanceSizeSlug"`
	// The type of job and when it will be run during the deployment process. It may be one of:
	Kind *string `pulumi:"kind"`
	// Describes a log forwarding destination.
	LogDestinations []AppSpecJobLogDestination `pulumi:"logDestinations"`
	// The name of the component.
	Name string `pulumi:"name"`
	// An optional run command to override the component's default.
	RunCommand *string `pulumi:"runCommand"`
	// An optional path to the working directory to use for the build.
	SourceDir *string `pulumi:"sourceDir"`
}

type AppSpecJobAlert added in v4.12.0

type AppSpecJobAlert struct {
	// Determines whether or not the alert is disabled (default: `false`).
	Disabled *bool `pulumi:"disabled"`
	// The operator to use. This is either of `GREATER_THAN` or `LESS_THAN`.
	Operator string `pulumi:"operator"`
	// The type of the alert to configure. Component app alert policies can be: `CPU_UTILIZATION`, `MEM_UTILIZATION`, or `RESTART_COUNT`.
	Rule string `pulumi:"rule"`
	// The threshold for the type of the warning.
	Value float64 `pulumi:"value"`
	// The time before alerts should be triggered. This is may be one of: `FIVE_MINUTES`, `TEN_MINUTES`, `THIRTY_MINUTES`, `ONE_HOUR`.
	Window string `pulumi:"window"`
}

type AppSpecJobAlertArgs added in v4.12.0

type AppSpecJobAlertArgs struct {
	// Determines whether or not the alert is disabled (default: `false`).
	Disabled pulumi.BoolPtrInput `pulumi:"disabled"`
	// The operator to use. This is either of `GREATER_THAN` or `LESS_THAN`.
	Operator pulumi.StringInput `pulumi:"operator"`
	// The type of the alert to configure. Component app alert policies can be: `CPU_UTILIZATION`, `MEM_UTILIZATION`, or `RESTART_COUNT`.
	Rule pulumi.StringInput `pulumi:"rule"`
	// The threshold for the type of the warning.
	Value pulumi.Float64Input `pulumi:"value"`
	// The time before alerts should be triggered. This is may be one of: `FIVE_MINUTES`, `TEN_MINUTES`, `THIRTY_MINUTES`, `ONE_HOUR`.
	Window pulumi.StringInput `pulumi:"window"`
}

func (AppSpecJobAlertArgs) ElementType added in v4.12.0

func (AppSpecJobAlertArgs) ElementType() reflect.Type

func (AppSpecJobAlertArgs) ToAppSpecJobAlertOutput added in v4.12.0

func (i AppSpecJobAlertArgs) ToAppSpecJobAlertOutput() AppSpecJobAlertOutput

func (AppSpecJobAlertArgs) ToAppSpecJobAlertOutputWithContext added in v4.12.0

func (i AppSpecJobAlertArgs) ToAppSpecJobAlertOutputWithContext(ctx context.Context) AppSpecJobAlertOutput

type AppSpecJobAlertArray added in v4.12.0

type AppSpecJobAlertArray []AppSpecJobAlertInput

func (AppSpecJobAlertArray) ElementType added in v4.12.0

func (AppSpecJobAlertArray) ElementType() reflect.Type

func (AppSpecJobAlertArray) ToAppSpecJobAlertArrayOutput added in v4.12.0

func (i AppSpecJobAlertArray) ToAppSpecJobAlertArrayOutput() AppSpecJobAlertArrayOutput

func (AppSpecJobAlertArray) ToAppSpecJobAlertArrayOutputWithContext added in v4.12.0

func (i AppSpecJobAlertArray) ToAppSpecJobAlertArrayOutputWithContext(ctx context.Context) AppSpecJobAlertArrayOutput

type AppSpecJobAlertArrayInput added in v4.12.0

type AppSpecJobAlertArrayInput interface {
	pulumi.Input

	ToAppSpecJobAlertArrayOutput() AppSpecJobAlertArrayOutput
	ToAppSpecJobAlertArrayOutputWithContext(context.Context) AppSpecJobAlertArrayOutput
}

AppSpecJobAlertArrayInput is an input type that accepts AppSpecJobAlertArray and AppSpecJobAlertArrayOutput values. You can construct a concrete instance of `AppSpecJobAlertArrayInput` via:

AppSpecJobAlertArray{ AppSpecJobAlertArgs{...} }

type AppSpecJobAlertArrayOutput added in v4.12.0

type AppSpecJobAlertArrayOutput struct{ *pulumi.OutputState }

func (AppSpecJobAlertArrayOutput) ElementType added in v4.12.0

func (AppSpecJobAlertArrayOutput) ElementType() reflect.Type

func (AppSpecJobAlertArrayOutput) Index added in v4.12.0

func (AppSpecJobAlertArrayOutput) ToAppSpecJobAlertArrayOutput added in v4.12.0

func (o AppSpecJobAlertArrayOutput) ToAppSpecJobAlertArrayOutput() AppSpecJobAlertArrayOutput

func (AppSpecJobAlertArrayOutput) ToAppSpecJobAlertArrayOutputWithContext added in v4.12.0

func (o AppSpecJobAlertArrayOutput) ToAppSpecJobAlertArrayOutputWithContext(ctx context.Context) AppSpecJobAlertArrayOutput

type AppSpecJobAlertInput added in v4.12.0

type AppSpecJobAlertInput interface {
	pulumi.Input

	ToAppSpecJobAlertOutput() AppSpecJobAlertOutput
	ToAppSpecJobAlertOutputWithContext(context.Context) AppSpecJobAlertOutput
}

AppSpecJobAlertInput is an input type that accepts AppSpecJobAlertArgs and AppSpecJobAlertOutput values. You can construct a concrete instance of `AppSpecJobAlertInput` via:

AppSpecJobAlertArgs{...}

type AppSpecJobAlertOutput added in v4.12.0

type AppSpecJobAlertOutput struct{ *pulumi.OutputState }

func (AppSpecJobAlertOutput) Disabled added in v4.12.0

Determines whether or not the alert is disabled (default: `false`).

func (AppSpecJobAlertOutput) ElementType added in v4.12.0

func (AppSpecJobAlertOutput) ElementType() reflect.Type

func (AppSpecJobAlertOutput) Operator added in v4.12.0

The operator to use. This is either of `GREATER_THAN` or `LESS_THAN`.

func (AppSpecJobAlertOutput) Rule added in v4.12.0

The type of the alert to configure. Component app alert policies can be: `CPU_UTILIZATION`, `MEM_UTILIZATION`, or `RESTART_COUNT`.

func (AppSpecJobAlertOutput) ToAppSpecJobAlertOutput added in v4.12.0

func (o AppSpecJobAlertOutput) ToAppSpecJobAlertOutput() AppSpecJobAlertOutput

func (AppSpecJobAlertOutput) ToAppSpecJobAlertOutputWithContext added in v4.12.0

func (o AppSpecJobAlertOutput) ToAppSpecJobAlertOutputWithContext(ctx context.Context) AppSpecJobAlertOutput

func (AppSpecJobAlertOutput) Value added in v4.12.0

The threshold for the type of the warning.

func (AppSpecJobAlertOutput) Window added in v4.12.0

The time before alerts should be triggered. This is may be one of: `FIVE_MINUTES`, `TEN_MINUTES`, `THIRTY_MINUTES`, `ONE_HOUR`.

type AppSpecJobArgs

type AppSpecJobArgs struct {
	// Describes an alert policy for the component.
	Alerts AppSpecJobAlertArrayInput `pulumi:"alerts"`
	// An optional build command to run while building this component from source.
	BuildCommand pulumi.StringPtrInput `pulumi:"buildCommand"`
	// The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
	DockerfilePath pulumi.StringPtrInput `pulumi:"dockerfilePath"`
	// An environment slug describing the type of this app.
	EnvironmentSlug pulumi.StringPtrInput `pulumi:"environmentSlug"`
	// Describes an environment variable made available to an app competent.
	Envs AppSpecJobEnvArrayInput `pulumi:"envs"`
	// A Git repo to use as the component's source. The repository must be able to be cloned without authentication.  Only one of `git`, `github` or `gitlab`  may be set.
	Git AppSpecJobGitPtrInput `pulumi:"git"`
	// A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Github AppSpecJobGithubPtrInput `pulumi:"github"`
	// A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Gitlab AppSpecJobGitlabPtrInput `pulumi:"gitlab"`
	// An image to use as the component's source. Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Image AppSpecJobImagePtrInput `pulumi:"image"`
	// The amount of instances that this component should be scaled to.
	InstanceCount pulumi.IntPtrInput `pulumi:"instanceCount"`
	// The instance size to use for this component. This determines the plan (basic or professional) and the available CPU and memory. The list of available instance sizes can be [found with the API](https://docs.digitalocean.com/reference/api/api-reference/#operation/list_instance_sizes) or using the [doctl CLI](https://docs.digitalocean.com/reference/doctl/) (`doctl apps tier instance-size list`). Default: `basic-xxs`
	InstanceSizeSlug pulumi.StringPtrInput `pulumi:"instanceSizeSlug"`
	// The type of job and when it will be run during the deployment process. It may be one of:
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// Describes a log forwarding destination.
	LogDestinations AppSpecJobLogDestinationArrayInput `pulumi:"logDestinations"`
	// The name of the component.
	Name pulumi.StringInput `pulumi:"name"`
	// An optional run command to override the component's default.
	RunCommand pulumi.StringPtrInput `pulumi:"runCommand"`
	// An optional path to the working directory to use for the build.
	SourceDir pulumi.StringPtrInput `pulumi:"sourceDir"`
}

func (AppSpecJobArgs) ElementType

func (AppSpecJobArgs) ElementType() reflect.Type

func (AppSpecJobArgs) ToAppSpecJobOutput

func (i AppSpecJobArgs) ToAppSpecJobOutput() AppSpecJobOutput

func (AppSpecJobArgs) ToAppSpecJobOutputWithContext

func (i AppSpecJobArgs) ToAppSpecJobOutputWithContext(ctx context.Context) AppSpecJobOutput

type AppSpecJobArray

type AppSpecJobArray []AppSpecJobInput

func (AppSpecJobArray) ElementType

func (AppSpecJobArray) ElementType() reflect.Type

func (AppSpecJobArray) ToAppSpecJobArrayOutput

func (i AppSpecJobArray) ToAppSpecJobArrayOutput() AppSpecJobArrayOutput

func (AppSpecJobArray) ToAppSpecJobArrayOutputWithContext

func (i AppSpecJobArray) ToAppSpecJobArrayOutputWithContext(ctx context.Context) AppSpecJobArrayOutput

type AppSpecJobArrayInput

type AppSpecJobArrayInput interface {
	pulumi.Input

	ToAppSpecJobArrayOutput() AppSpecJobArrayOutput
	ToAppSpecJobArrayOutputWithContext(context.Context) AppSpecJobArrayOutput
}

AppSpecJobArrayInput is an input type that accepts AppSpecJobArray and AppSpecJobArrayOutput values. You can construct a concrete instance of `AppSpecJobArrayInput` via:

AppSpecJobArray{ AppSpecJobArgs{...} }

type AppSpecJobArrayOutput

type AppSpecJobArrayOutput struct{ *pulumi.OutputState }

func (AppSpecJobArrayOutput) ElementType

func (AppSpecJobArrayOutput) ElementType() reflect.Type

func (AppSpecJobArrayOutput) Index

func (AppSpecJobArrayOutput) ToAppSpecJobArrayOutput

func (o AppSpecJobArrayOutput) ToAppSpecJobArrayOutput() AppSpecJobArrayOutput

func (AppSpecJobArrayOutput) ToAppSpecJobArrayOutputWithContext

func (o AppSpecJobArrayOutput) ToAppSpecJobArrayOutputWithContext(ctx context.Context) AppSpecJobArrayOutput

type AppSpecJobEnv

type AppSpecJobEnv struct {
	// The name of the environment variable.
	Key *string `pulumi:"key"`
	// The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).
	Scope *string `pulumi:"scope"`
	// The type of the environment variable, `GENERAL` or `SECRET`.
	Type *string `pulumi:"type"`
	// The value of the environment variable.
	Value *string `pulumi:"value"`
}

type AppSpecJobEnvArgs

type AppSpecJobEnvArgs struct {
	// The name of the environment variable.
	Key pulumi.StringPtrInput `pulumi:"key"`
	// The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).
	Scope pulumi.StringPtrInput `pulumi:"scope"`
	// The type of the environment variable, `GENERAL` or `SECRET`.
	Type pulumi.StringPtrInput `pulumi:"type"`
	// The value of the environment variable.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (AppSpecJobEnvArgs) ElementType

func (AppSpecJobEnvArgs) ElementType() reflect.Type

func (AppSpecJobEnvArgs) ToAppSpecJobEnvOutput

func (i AppSpecJobEnvArgs) ToAppSpecJobEnvOutput() AppSpecJobEnvOutput

func (AppSpecJobEnvArgs) ToAppSpecJobEnvOutputWithContext

func (i AppSpecJobEnvArgs) ToAppSpecJobEnvOutputWithContext(ctx context.Context) AppSpecJobEnvOutput

type AppSpecJobEnvArray

type AppSpecJobEnvArray []AppSpecJobEnvInput

func (AppSpecJobEnvArray) ElementType

func (AppSpecJobEnvArray) ElementType() reflect.Type

func (AppSpecJobEnvArray) ToAppSpecJobEnvArrayOutput

func (i AppSpecJobEnvArray) ToAppSpecJobEnvArrayOutput() AppSpecJobEnvArrayOutput

func (AppSpecJobEnvArray) ToAppSpecJobEnvArrayOutputWithContext

func (i AppSpecJobEnvArray) ToAppSpecJobEnvArrayOutputWithContext(ctx context.Context) AppSpecJobEnvArrayOutput

type AppSpecJobEnvArrayInput

type AppSpecJobEnvArrayInput interface {
	pulumi.Input

	ToAppSpecJobEnvArrayOutput() AppSpecJobEnvArrayOutput
	ToAppSpecJobEnvArrayOutputWithContext(context.Context) AppSpecJobEnvArrayOutput
}

AppSpecJobEnvArrayInput is an input type that accepts AppSpecJobEnvArray and AppSpecJobEnvArrayOutput values. You can construct a concrete instance of `AppSpecJobEnvArrayInput` via:

AppSpecJobEnvArray{ AppSpecJobEnvArgs{...} }

type AppSpecJobEnvArrayOutput

type AppSpecJobEnvArrayOutput struct{ *pulumi.OutputState }

func (AppSpecJobEnvArrayOutput) ElementType

func (AppSpecJobEnvArrayOutput) ElementType() reflect.Type

func (AppSpecJobEnvArrayOutput) Index

func (AppSpecJobEnvArrayOutput) ToAppSpecJobEnvArrayOutput

func (o AppSpecJobEnvArrayOutput) ToAppSpecJobEnvArrayOutput() AppSpecJobEnvArrayOutput

func (AppSpecJobEnvArrayOutput) ToAppSpecJobEnvArrayOutputWithContext

func (o AppSpecJobEnvArrayOutput) ToAppSpecJobEnvArrayOutputWithContext(ctx context.Context) AppSpecJobEnvArrayOutput

type AppSpecJobEnvInput

type AppSpecJobEnvInput interface {
	pulumi.Input

	ToAppSpecJobEnvOutput() AppSpecJobEnvOutput
	ToAppSpecJobEnvOutputWithContext(context.Context) AppSpecJobEnvOutput
}

AppSpecJobEnvInput is an input type that accepts AppSpecJobEnvArgs and AppSpecJobEnvOutput values. You can construct a concrete instance of `AppSpecJobEnvInput` via:

AppSpecJobEnvArgs{...}

type AppSpecJobEnvOutput

type AppSpecJobEnvOutput struct{ *pulumi.OutputState }

func (AppSpecJobEnvOutput) ElementType

func (AppSpecJobEnvOutput) ElementType() reflect.Type

func (AppSpecJobEnvOutput) Key

The name of the environment variable.

func (AppSpecJobEnvOutput) Scope

The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).

func (AppSpecJobEnvOutput) ToAppSpecJobEnvOutput

func (o AppSpecJobEnvOutput) ToAppSpecJobEnvOutput() AppSpecJobEnvOutput

func (AppSpecJobEnvOutput) ToAppSpecJobEnvOutputWithContext

func (o AppSpecJobEnvOutput) ToAppSpecJobEnvOutputWithContext(ctx context.Context) AppSpecJobEnvOutput

func (AppSpecJobEnvOutput) Type

The type of the environment variable, `GENERAL` or `SECRET`.

func (AppSpecJobEnvOutput) Value

The value of the environment variable.

type AppSpecJobGit

type AppSpecJobGit struct {
	// The name of the branch to use.
	Branch *string `pulumi:"branch"`
	// The clone URL of the repo.
	RepoCloneUrl *string `pulumi:"repoCloneUrl"`
}

type AppSpecJobGitArgs

type AppSpecJobGitArgs struct {
	// The name of the branch to use.
	Branch pulumi.StringPtrInput `pulumi:"branch"`
	// The clone URL of the repo.
	RepoCloneUrl pulumi.StringPtrInput `pulumi:"repoCloneUrl"`
}

func (AppSpecJobGitArgs) ElementType

func (AppSpecJobGitArgs) ElementType() reflect.Type

func (AppSpecJobGitArgs) ToAppSpecJobGitOutput

func (i AppSpecJobGitArgs) ToAppSpecJobGitOutput() AppSpecJobGitOutput

func (AppSpecJobGitArgs) ToAppSpecJobGitOutputWithContext

func (i AppSpecJobGitArgs) ToAppSpecJobGitOutputWithContext(ctx context.Context) AppSpecJobGitOutput

func (AppSpecJobGitArgs) ToAppSpecJobGitPtrOutput

func (i AppSpecJobGitArgs) ToAppSpecJobGitPtrOutput() AppSpecJobGitPtrOutput

func (AppSpecJobGitArgs) ToAppSpecJobGitPtrOutputWithContext

func (i AppSpecJobGitArgs) ToAppSpecJobGitPtrOutputWithContext(ctx context.Context) AppSpecJobGitPtrOutput

type AppSpecJobGitInput

type AppSpecJobGitInput interface {
	pulumi.Input

	ToAppSpecJobGitOutput() AppSpecJobGitOutput
	ToAppSpecJobGitOutputWithContext(context.Context) AppSpecJobGitOutput
}

AppSpecJobGitInput is an input type that accepts AppSpecJobGitArgs and AppSpecJobGitOutput values. You can construct a concrete instance of `AppSpecJobGitInput` via:

AppSpecJobGitArgs{...}

type AppSpecJobGitOutput

type AppSpecJobGitOutput struct{ *pulumi.OutputState }

func (AppSpecJobGitOutput) Branch

The name of the branch to use.

func (AppSpecJobGitOutput) ElementType

func (AppSpecJobGitOutput) ElementType() reflect.Type

func (AppSpecJobGitOutput) RepoCloneUrl

func (o AppSpecJobGitOutput) RepoCloneUrl() pulumi.StringPtrOutput

The clone URL of the repo.

func (AppSpecJobGitOutput) ToAppSpecJobGitOutput

func (o AppSpecJobGitOutput) ToAppSpecJobGitOutput() AppSpecJobGitOutput

func (AppSpecJobGitOutput) ToAppSpecJobGitOutputWithContext

func (o AppSpecJobGitOutput) ToAppSpecJobGitOutputWithContext(ctx context.Context) AppSpecJobGitOutput

func (AppSpecJobGitOutput) ToAppSpecJobGitPtrOutput

func (o AppSpecJobGitOutput) ToAppSpecJobGitPtrOutput() AppSpecJobGitPtrOutput

func (AppSpecJobGitOutput) ToAppSpecJobGitPtrOutputWithContext

func (o AppSpecJobGitOutput) ToAppSpecJobGitPtrOutputWithContext(ctx context.Context) AppSpecJobGitPtrOutput

type AppSpecJobGitPtrInput

type AppSpecJobGitPtrInput interface {
	pulumi.Input

	ToAppSpecJobGitPtrOutput() AppSpecJobGitPtrOutput
	ToAppSpecJobGitPtrOutputWithContext(context.Context) AppSpecJobGitPtrOutput
}

AppSpecJobGitPtrInput is an input type that accepts AppSpecJobGitArgs, AppSpecJobGitPtr and AppSpecJobGitPtrOutput values. You can construct a concrete instance of `AppSpecJobGitPtrInput` via:

        AppSpecJobGitArgs{...}

or:

        nil

type AppSpecJobGitPtrOutput

type AppSpecJobGitPtrOutput struct{ *pulumi.OutputState }

func (AppSpecJobGitPtrOutput) Branch

The name of the branch to use.

func (AppSpecJobGitPtrOutput) Elem

func (AppSpecJobGitPtrOutput) ElementType

func (AppSpecJobGitPtrOutput) ElementType() reflect.Type

func (AppSpecJobGitPtrOutput) RepoCloneUrl

The clone URL of the repo.

func (AppSpecJobGitPtrOutput) ToAppSpecJobGitPtrOutput

func (o AppSpecJobGitPtrOutput) ToAppSpecJobGitPtrOutput() AppSpecJobGitPtrOutput

func (AppSpecJobGitPtrOutput) ToAppSpecJobGitPtrOutputWithContext

func (o AppSpecJobGitPtrOutput) ToAppSpecJobGitPtrOutputWithContext(ctx context.Context) AppSpecJobGitPtrOutput

type AppSpecJobGithub

type AppSpecJobGithub struct {
	// The name of the branch to use.
	Branch *string `pulumi:"branch"`
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPush *bool `pulumi:"deployOnPush"`
	// The name of the repo in the format `owner/repo`.
	Repo *string `pulumi:"repo"`
}

type AppSpecJobGithubArgs

type AppSpecJobGithubArgs struct {
	// The name of the branch to use.
	Branch pulumi.StringPtrInput `pulumi:"branch"`
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPush pulumi.BoolPtrInput `pulumi:"deployOnPush"`
	// The name of the repo in the format `owner/repo`.
	Repo pulumi.StringPtrInput `pulumi:"repo"`
}

func (AppSpecJobGithubArgs) ElementType

func (AppSpecJobGithubArgs) ElementType() reflect.Type

func (AppSpecJobGithubArgs) ToAppSpecJobGithubOutput

func (i AppSpecJobGithubArgs) ToAppSpecJobGithubOutput() AppSpecJobGithubOutput

func (AppSpecJobGithubArgs) ToAppSpecJobGithubOutputWithContext

func (i AppSpecJobGithubArgs) ToAppSpecJobGithubOutputWithContext(ctx context.Context) AppSpecJobGithubOutput

func (AppSpecJobGithubArgs) ToAppSpecJobGithubPtrOutput

func (i AppSpecJobGithubArgs) ToAppSpecJobGithubPtrOutput() AppSpecJobGithubPtrOutput

func (AppSpecJobGithubArgs) ToAppSpecJobGithubPtrOutputWithContext

func (i AppSpecJobGithubArgs) ToAppSpecJobGithubPtrOutputWithContext(ctx context.Context) AppSpecJobGithubPtrOutput

type AppSpecJobGithubInput

type AppSpecJobGithubInput interface {
	pulumi.Input

	ToAppSpecJobGithubOutput() AppSpecJobGithubOutput
	ToAppSpecJobGithubOutputWithContext(context.Context) AppSpecJobGithubOutput
}

AppSpecJobGithubInput is an input type that accepts AppSpecJobGithubArgs and AppSpecJobGithubOutput values. You can construct a concrete instance of `AppSpecJobGithubInput` via:

AppSpecJobGithubArgs{...}

type AppSpecJobGithubOutput

type AppSpecJobGithubOutput struct{ *pulumi.OutputState }

func (AppSpecJobGithubOutput) Branch

The name of the branch to use.

func (AppSpecJobGithubOutput) DeployOnPush

func (o AppSpecJobGithubOutput) DeployOnPush() pulumi.BoolPtrOutput

Whether to automatically deploy new commits made to the repo.

func (AppSpecJobGithubOutput) ElementType

func (AppSpecJobGithubOutput) ElementType() reflect.Type

func (AppSpecJobGithubOutput) Repo

The name of the repo in the format `owner/repo`.

func (AppSpecJobGithubOutput) ToAppSpecJobGithubOutput

func (o AppSpecJobGithubOutput) ToAppSpecJobGithubOutput() AppSpecJobGithubOutput

func (AppSpecJobGithubOutput) ToAppSpecJobGithubOutputWithContext

func (o AppSpecJobGithubOutput) ToAppSpecJobGithubOutputWithContext(ctx context.Context) AppSpecJobGithubOutput

func (AppSpecJobGithubOutput) ToAppSpecJobGithubPtrOutput

func (o AppSpecJobGithubOutput) ToAppSpecJobGithubPtrOutput() AppSpecJobGithubPtrOutput

func (AppSpecJobGithubOutput) ToAppSpecJobGithubPtrOutputWithContext

func (o AppSpecJobGithubOutput) ToAppSpecJobGithubPtrOutputWithContext(ctx context.Context) AppSpecJobGithubPtrOutput

type AppSpecJobGithubPtrInput

type AppSpecJobGithubPtrInput interface {
	pulumi.Input

	ToAppSpecJobGithubPtrOutput() AppSpecJobGithubPtrOutput
	ToAppSpecJobGithubPtrOutputWithContext(context.Context) AppSpecJobGithubPtrOutput
}

AppSpecJobGithubPtrInput is an input type that accepts AppSpecJobGithubArgs, AppSpecJobGithubPtr and AppSpecJobGithubPtrOutput values. You can construct a concrete instance of `AppSpecJobGithubPtrInput` via:

        AppSpecJobGithubArgs{...}

or:

        nil

type AppSpecJobGithubPtrOutput

type AppSpecJobGithubPtrOutput struct{ *pulumi.OutputState }

func (AppSpecJobGithubPtrOutput) Branch

The name of the branch to use.

func (AppSpecJobGithubPtrOutput) DeployOnPush

Whether to automatically deploy new commits made to the repo.

func (AppSpecJobGithubPtrOutput) Elem

func (AppSpecJobGithubPtrOutput) ElementType

func (AppSpecJobGithubPtrOutput) ElementType() reflect.Type

func (AppSpecJobGithubPtrOutput) Repo

The name of the repo in the format `owner/repo`.

func (AppSpecJobGithubPtrOutput) ToAppSpecJobGithubPtrOutput

func (o AppSpecJobGithubPtrOutput) ToAppSpecJobGithubPtrOutput() AppSpecJobGithubPtrOutput

func (AppSpecJobGithubPtrOutput) ToAppSpecJobGithubPtrOutputWithContext

func (o AppSpecJobGithubPtrOutput) ToAppSpecJobGithubPtrOutputWithContext(ctx context.Context) AppSpecJobGithubPtrOutput

type AppSpecJobGitlab

type AppSpecJobGitlab struct {
	// The name of the branch to use.
	Branch *string `pulumi:"branch"`
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPush *bool `pulumi:"deployOnPush"`
	// The name of the repo in the format `owner/repo`.
	Repo *string `pulumi:"repo"`
}

type AppSpecJobGitlabArgs

type AppSpecJobGitlabArgs struct {
	// The name of the branch to use.
	Branch pulumi.StringPtrInput `pulumi:"branch"`
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPush pulumi.BoolPtrInput `pulumi:"deployOnPush"`
	// The name of the repo in the format `owner/repo`.
	Repo pulumi.StringPtrInput `pulumi:"repo"`
}

func (AppSpecJobGitlabArgs) ElementType

func (AppSpecJobGitlabArgs) ElementType() reflect.Type

func (AppSpecJobGitlabArgs) ToAppSpecJobGitlabOutput

func (i AppSpecJobGitlabArgs) ToAppSpecJobGitlabOutput() AppSpecJobGitlabOutput

func (AppSpecJobGitlabArgs) ToAppSpecJobGitlabOutputWithContext

func (i AppSpecJobGitlabArgs) ToAppSpecJobGitlabOutputWithContext(ctx context.Context) AppSpecJobGitlabOutput

func (AppSpecJobGitlabArgs) ToAppSpecJobGitlabPtrOutput

func (i AppSpecJobGitlabArgs) ToAppSpecJobGitlabPtrOutput() AppSpecJobGitlabPtrOutput

func (AppSpecJobGitlabArgs) ToAppSpecJobGitlabPtrOutputWithContext

func (i AppSpecJobGitlabArgs) ToAppSpecJobGitlabPtrOutputWithContext(ctx context.Context) AppSpecJobGitlabPtrOutput

type AppSpecJobGitlabInput

type AppSpecJobGitlabInput interface {
	pulumi.Input

	ToAppSpecJobGitlabOutput() AppSpecJobGitlabOutput
	ToAppSpecJobGitlabOutputWithContext(context.Context) AppSpecJobGitlabOutput
}

AppSpecJobGitlabInput is an input type that accepts AppSpecJobGitlabArgs and AppSpecJobGitlabOutput values. You can construct a concrete instance of `AppSpecJobGitlabInput` via:

AppSpecJobGitlabArgs{...}

type AppSpecJobGitlabOutput

type AppSpecJobGitlabOutput struct{ *pulumi.OutputState }

func (AppSpecJobGitlabOutput) Branch

The name of the branch to use.

func (AppSpecJobGitlabOutput) DeployOnPush

func (o AppSpecJobGitlabOutput) DeployOnPush() pulumi.BoolPtrOutput

Whether to automatically deploy new commits made to the repo.

func (AppSpecJobGitlabOutput) ElementType

func (AppSpecJobGitlabOutput) ElementType() reflect.Type

func (AppSpecJobGitlabOutput) Repo

The name of the repo in the format `owner/repo`.

func (AppSpecJobGitlabOutput) ToAppSpecJobGitlabOutput

func (o AppSpecJobGitlabOutput) ToAppSpecJobGitlabOutput() AppSpecJobGitlabOutput

func (AppSpecJobGitlabOutput) ToAppSpecJobGitlabOutputWithContext

func (o AppSpecJobGitlabOutput) ToAppSpecJobGitlabOutputWithContext(ctx context.Context) AppSpecJobGitlabOutput

func (AppSpecJobGitlabOutput) ToAppSpecJobGitlabPtrOutput

func (o AppSpecJobGitlabOutput) ToAppSpecJobGitlabPtrOutput() AppSpecJobGitlabPtrOutput

func (AppSpecJobGitlabOutput) ToAppSpecJobGitlabPtrOutputWithContext

func (o AppSpecJobGitlabOutput) ToAppSpecJobGitlabPtrOutputWithContext(ctx context.Context) AppSpecJobGitlabPtrOutput

type AppSpecJobGitlabPtrInput

type AppSpecJobGitlabPtrInput interface {
	pulumi.Input

	ToAppSpecJobGitlabPtrOutput() AppSpecJobGitlabPtrOutput
	ToAppSpecJobGitlabPtrOutputWithContext(context.Context) AppSpecJobGitlabPtrOutput
}

AppSpecJobGitlabPtrInput is an input type that accepts AppSpecJobGitlabArgs, AppSpecJobGitlabPtr and AppSpecJobGitlabPtrOutput values. You can construct a concrete instance of `AppSpecJobGitlabPtrInput` via:

        AppSpecJobGitlabArgs{...}

or:

        nil

type AppSpecJobGitlabPtrOutput

type AppSpecJobGitlabPtrOutput struct{ *pulumi.OutputState }

func (AppSpecJobGitlabPtrOutput) Branch

The name of the branch to use.

func (AppSpecJobGitlabPtrOutput) DeployOnPush

Whether to automatically deploy new commits made to the repo.

func (AppSpecJobGitlabPtrOutput) Elem

func (AppSpecJobGitlabPtrOutput) ElementType

func (AppSpecJobGitlabPtrOutput) ElementType() reflect.Type

func (AppSpecJobGitlabPtrOutput) Repo

The name of the repo in the format `owner/repo`.

func (AppSpecJobGitlabPtrOutput) ToAppSpecJobGitlabPtrOutput

func (o AppSpecJobGitlabPtrOutput) ToAppSpecJobGitlabPtrOutput() AppSpecJobGitlabPtrOutput

func (AppSpecJobGitlabPtrOutput) ToAppSpecJobGitlabPtrOutputWithContext

func (o AppSpecJobGitlabPtrOutput) ToAppSpecJobGitlabPtrOutputWithContext(ctx context.Context) AppSpecJobGitlabPtrOutput

type AppSpecJobImage

type AppSpecJobImage struct {
	// Configures automatically deploying images pushed to DOCR.
	DeployOnPushes []AppSpecJobImageDeployOnPush `pulumi:"deployOnPushes"`
	// The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.
	Registry *string `pulumi:"registry"`
	// Access credentials for third-party registries
	RegistryCredentials *string `pulumi:"registryCredentials"`
	// The registry type. One of `DOCR` (DigitalOcean container registry) or `DOCKER_HUB`.
	RegistryType string `pulumi:"registryType"`
	// The repository name.
	Repository string `pulumi:"repository"`
	// The repository tag. Defaults to `latest` if not provided.
	Tag *string `pulumi:"tag"`
}

type AppSpecJobImageArgs

type AppSpecJobImageArgs struct {
	// Configures automatically deploying images pushed to DOCR.
	DeployOnPushes AppSpecJobImageDeployOnPushArrayInput `pulumi:"deployOnPushes"`
	// The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.
	Registry pulumi.StringPtrInput `pulumi:"registry"`
	// Access credentials for third-party registries
	RegistryCredentials pulumi.StringPtrInput `pulumi:"registryCredentials"`
	// The registry type. One of `DOCR` (DigitalOcean container registry) or `DOCKER_HUB`.
	RegistryType pulumi.StringInput `pulumi:"registryType"`
	// The repository name.
	Repository pulumi.StringInput `pulumi:"repository"`
	// The repository tag. Defaults to `latest` if not provided.
	Tag pulumi.StringPtrInput `pulumi:"tag"`
}

func (AppSpecJobImageArgs) ElementType

func (AppSpecJobImageArgs) ElementType() reflect.Type

func (AppSpecJobImageArgs) ToAppSpecJobImageOutput

func (i AppSpecJobImageArgs) ToAppSpecJobImageOutput() AppSpecJobImageOutput

func (AppSpecJobImageArgs) ToAppSpecJobImageOutputWithContext

func (i AppSpecJobImageArgs) ToAppSpecJobImageOutputWithContext(ctx context.Context) AppSpecJobImageOutput

func (AppSpecJobImageArgs) ToAppSpecJobImagePtrOutput

func (i AppSpecJobImageArgs) ToAppSpecJobImagePtrOutput() AppSpecJobImagePtrOutput

func (AppSpecJobImageArgs) ToAppSpecJobImagePtrOutputWithContext

func (i AppSpecJobImageArgs) ToAppSpecJobImagePtrOutputWithContext(ctx context.Context) AppSpecJobImagePtrOutput

type AppSpecJobImageDeployOnPush added in v4.16.0

type AppSpecJobImageDeployOnPush struct {
	// Whether to automatically deploy images pushed to DOCR.
	Enabled *bool `pulumi:"enabled"`
}

type AppSpecJobImageDeployOnPushArgs added in v4.16.0

type AppSpecJobImageDeployOnPushArgs struct {
	// Whether to automatically deploy images pushed to DOCR.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
}

func (AppSpecJobImageDeployOnPushArgs) ElementType added in v4.16.0

func (AppSpecJobImageDeployOnPushArgs) ToAppSpecJobImageDeployOnPushOutput added in v4.16.0

func (i AppSpecJobImageDeployOnPushArgs) ToAppSpecJobImageDeployOnPushOutput() AppSpecJobImageDeployOnPushOutput

func (AppSpecJobImageDeployOnPushArgs) ToAppSpecJobImageDeployOnPushOutputWithContext added in v4.16.0

func (i AppSpecJobImageDeployOnPushArgs) ToAppSpecJobImageDeployOnPushOutputWithContext(ctx context.Context) AppSpecJobImageDeployOnPushOutput

type AppSpecJobImageDeployOnPushArray added in v4.16.0

type AppSpecJobImageDeployOnPushArray []AppSpecJobImageDeployOnPushInput

func (AppSpecJobImageDeployOnPushArray) ElementType added in v4.16.0

func (AppSpecJobImageDeployOnPushArray) ToAppSpecJobImageDeployOnPushArrayOutput added in v4.16.0

func (i AppSpecJobImageDeployOnPushArray) ToAppSpecJobImageDeployOnPushArrayOutput() AppSpecJobImageDeployOnPushArrayOutput

func (AppSpecJobImageDeployOnPushArray) ToAppSpecJobImageDeployOnPushArrayOutputWithContext added in v4.16.0

func (i AppSpecJobImageDeployOnPushArray) ToAppSpecJobImageDeployOnPushArrayOutputWithContext(ctx context.Context) AppSpecJobImageDeployOnPushArrayOutput

type AppSpecJobImageDeployOnPushArrayInput added in v4.16.0

type AppSpecJobImageDeployOnPushArrayInput interface {
	pulumi.Input

	ToAppSpecJobImageDeployOnPushArrayOutput() AppSpecJobImageDeployOnPushArrayOutput
	ToAppSpecJobImageDeployOnPushArrayOutputWithContext(context.Context) AppSpecJobImageDeployOnPushArrayOutput
}

AppSpecJobImageDeployOnPushArrayInput is an input type that accepts AppSpecJobImageDeployOnPushArray and AppSpecJobImageDeployOnPushArrayOutput values. You can construct a concrete instance of `AppSpecJobImageDeployOnPushArrayInput` via:

AppSpecJobImageDeployOnPushArray{ AppSpecJobImageDeployOnPushArgs{...} }

type AppSpecJobImageDeployOnPushArrayOutput added in v4.16.0

type AppSpecJobImageDeployOnPushArrayOutput struct{ *pulumi.OutputState }

func (AppSpecJobImageDeployOnPushArrayOutput) ElementType added in v4.16.0

func (AppSpecJobImageDeployOnPushArrayOutput) Index added in v4.16.0

func (AppSpecJobImageDeployOnPushArrayOutput) ToAppSpecJobImageDeployOnPushArrayOutput added in v4.16.0

func (o AppSpecJobImageDeployOnPushArrayOutput) ToAppSpecJobImageDeployOnPushArrayOutput() AppSpecJobImageDeployOnPushArrayOutput

func (AppSpecJobImageDeployOnPushArrayOutput) ToAppSpecJobImageDeployOnPushArrayOutputWithContext added in v4.16.0

func (o AppSpecJobImageDeployOnPushArrayOutput) ToAppSpecJobImageDeployOnPushArrayOutputWithContext(ctx context.Context) AppSpecJobImageDeployOnPushArrayOutput

type AppSpecJobImageDeployOnPushInput added in v4.16.0

type AppSpecJobImageDeployOnPushInput interface {
	pulumi.Input

	ToAppSpecJobImageDeployOnPushOutput() AppSpecJobImageDeployOnPushOutput
	ToAppSpecJobImageDeployOnPushOutputWithContext(context.Context) AppSpecJobImageDeployOnPushOutput
}

AppSpecJobImageDeployOnPushInput is an input type that accepts AppSpecJobImageDeployOnPushArgs and AppSpecJobImageDeployOnPushOutput values. You can construct a concrete instance of `AppSpecJobImageDeployOnPushInput` via:

AppSpecJobImageDeployOnPushArgs{...}

type AppSpecJobImageDeployOnPushOutput added in v4.16.0

type AppSpecJobImageDeployOnPushOutput struct{ *pulumi.OutputState }

func (AppSpecJobImageDeployOnPushOutput) ElementType added in v4.16.0

func (AppSpecJobImageDeployOnPushOutput) Enabled added in v4.16.0

Whether to automatically deploy images pushed to DOCR.

func (AppSpecJobImageDeployOnPushOutput) ToAppSpecJobImageDeployOnPushOutput added in v4.16.0

func (o AppSpecJobImageDeployOnPushOutput) ToAppSpecJobImageDeployOnPushOutput() AppSpecJobImageDeployOnPushOutput

func (AppSpecJobImageDeployOnPushOutput) ToAppSpecJobImageDeployOnPushOutputWithContext added in v4.16.0

func (o AppSpecJobImageDeployOnPushOutput) ToAppSpecJobImageDeployOnPushOutputWithContext(ctx context.Context) AppSpecJobImageDeployOnPushOutput

type AppSpecJobImageInput

type AppSpecJobImageInput interface {
	pulumi.Input

	ToAppSpecJobImageOutput() AppSpecJobImageOutput
	ToAppSpecJobImageOutputWithContext(context.Context) AppSpecJobImageOutput
}

AppSpecJobImageInput is an input type that accepts AppSpecJobImageArgs and AppSpecJobImageOutput values. You can construct a concrete instance of `AppSpecJobImageInput` via:

AppSpecJobImageArgs{...}

type AppSpecJobImageOutput

type AppSpecJobImageOutput struct{ *pulumi.OutputState }

func (AppSpecJobImageOutput) DeployOnPushes added in v4.16.0

Configures automatically deploying images pushed to DOCR.

func (AppSpecJobImageOutput) ElementType

func (AppSpecJobImageOutput) ElementType() reflect.Type

func (AppSpecJobImageOutput) Registry

The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.

func (AppSpecJobImageOutput) RegistryCredentials added in v4.28.0

func (o AppSpecJobImageOutput) RegistryCredentials() pulumi.StringPtrOutput

Access credentials for third-party registries

func (AppSpecJobImageOutput) RegistryType

func (o AppSpecJobImageOutput) RegistryType() pulumi.StringOutput

The registry type. One of `DOCR` (DigitalOcean container registry) or `DOCKER_HUB`.

func (AppSpecJobImageOutput) Repository

func (o AppSpecJobImageOutput) Repository() pulumi.StringOutput

The repository name.

func (AppSpecJobImageOutput) Tag

The repository tag. Defaults to `latest` if not provided.

func (AppSpecJobImageOutput) ToAppSpecJobImageOutput

func (o AppSpecJobImageOutput) ToAppSpecJobImageOutput() AppSpecJobImageOutput

func (AppSpecJobImageOutput) ToAppSpecJobImageOutputWithContext

func (o AppSpecJobImageOutput) ToAppSpecJobImageOutputWithContext(ctx context.Context) AppSpecJobImageOutput

func (AppSpecJobImageOutput) ToAppSpecJobImagePtrOutput

func (o AppSpecJobImageOutput) ToAppSpecJobImagePtrOutput() AppSpecJobImagePtrOutput

func (AppSpecJobImageOutput) ToAppSpecJobImagePtrOutputWithContext

func (o AppSpecJobImageOutput) ToAppSpecJobImagePtrOutputWithContext(ctx context.Context) AppSpecJobImagePtrOutput

type AppSpecJobImagePtrInput

type AppSpecJobImagePtrInput interface {
	pulumi.Input

	ToAppSpecJobImagePtrOutput() AppSpecJobImagePtrOutput
	ToAppSpecJobImagePtrOutputWithContext(context.Context) AppSpecJobImagePtrOutput
}

AppSpecJobImagePtrInput is an input type that accepts AppSpecJobImageArgs, AppSpecJobImagePtr and AppSpecJobImagePtrOutput values. You can construct a concrete instance of `AppSpecJobImagePtrInput` via:

        AppSpecJobImageArgs{...}

or:

        nil

type AppSpecJobImagePtrOutput

type AppSpecJobImagePtrOutput struct{ *pulumi.OutputState }

func (AppSpecJobImagePtrOutput) DeployOnPushes added in v4.16.0

Configures automatically deploying images pushed to DOCR.

func (AppSpecJobImagePtrOutput) Elem

func (AppSpecJobImagePtrOutput) ElementType

func (AppSpecJobImagePtrOutput) ElementType() reflect.Type

func (AppSpecJobImagePtrOutput) Registry

The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.

func (AppSpecJobImagePtrOutput) RegistryCredentials added in v4.28.0

func (o AppSpecJobImagePtrOutput) RegistryCredentials() pulumi.StringPtrOutput

Access credentials for third-party registries

func (AppSpecJobImagePtrOutput) RegistryType

The registry type. One of `DOCR` (DigitalOcean container registry) or `DOCKER_HUB`.

func (AppSpecJobImagePtrOutput) Repository

The repository name.

func (AppSpecJobImagePtrOutput) Tag

The repository tag. Defaults to `latest` if not provided.

func (AppSpecJobImagePtrOutput) ToAppSpecJobImagePtrOutput

func (o AppSpecJobImagePtrOutput) ToAppSpecJobImagePtrOutput() AppSpecJobImagePtrOutput

func (AppSpecJobImagePtrOutput) ToAppSpecJobImagePtrOutputWithContext

func (o AppSpecJobImagePtrOutput) ToAppSpecJobImagePtrOutputWithContext(ctx context.Context) AppSpecJobImagePtrOutput

type AppSpecJobInput

type AppSpecJobInput interface {
	pulumi.Input

	ToAppSpecJobOutput() AppSpecJobOutput
	ToAppSpecJobOutputWithContext(context.Context) AppSpecJobOutput
}

AppSpecJobInput is an input type that accepts AppSpecJobArgs and AppSpecJobOutput values. You can construct a concrete instance of `AppSpecJobInput` via:

AppSpecJobArgs{...}

type AppSpecJobLogDestination added in v4.12.0

type AppSpecJobLogDestination struct {
	// Datadog configuration.
	Datadog *AppSpecJobLogDestinationDatadog `pulumi:"datadog"`
	// Logtail configuration.
	Logtail *AppSpecJobLogDestinationLogtail `pulumi:"logtail"`
	// Name of the log destination. Minimum length: 2. Maximum length: 42.
	Name string `pulumi:"name"`
	// Papertrail configuration.
	Papertrail *AppSpecJobLogDestinationPapertrail `pulumi:"papertrail"`
}

type AppSpecJobLogDestinationArgs added in v4.12.0

type AppSpecJobLogDestinationArgs struct {
	// Datadog configuration.
	Datadog AppSpecJobLogDestinationDatadogPtrInput `pulumi:"datadog"`
	// Logtail configuration.
	Logtail AppSpecJobLogDestinationLogtailPtrInput `pulumi:"logtail"`
	// Name of the log destination. Minimum length: 2. Maximum length: 42.
	Name pulumi.StringInput `pulumi:"name"`
	// Papertrail configuration.
	Papertrail AppSpecJobLogDestinationPapertrailPtrInput `pulumi:"papertrail"`
}

func (AppSpecJobLogDestinationArgs) ElementType added in v4.12.0

func (AppSpecJobLogDestinationArgs) ToAppSpecJobLogDestinationOutput added in v4.12.0

func (i AppSpecJobLogDestinationArgs) ToAppSpecJobLogDestinationOutput() AppSpecJobLogDestinationOutput

func (AppSpecJobLogDestinationArgs) ToAppSpecJobLogDestinationOutputWithContext added in v4.12.0

func (i AppSpecJobLogDestinationArgs) ToAppSpecJobLogDestinationOutputWithContext(ctx context.Context) AppSpecJobLogDestinationOutput

type AppSpecJobLogDestinationArray added in v4.12.0

type AppSpecJobLogDestinationArray []AppSpecJobLogDestinationInput

func (AppSpecJobLogDestinationArray) ElementType added in v4.12.0

func (AppSpecJobLogDestinationArray) ToAppSpecJobLogDestinationArrayOutput added in v4.12.0

func (i AppSpecJobLogDestinationArray) ToAppSpecJobLogDestinationArrayOutput() AppSpecJobLogDestinationArrayOutput

func (AppSpecJobLogDestinationArray) ToAppSpecJobLogDestinationArrayOutputWithContext added in v4.12.0

func (i AppSpecJobLogDestinationArray) ToAppSpecJobLogDestinationArrayOutputWithContext(ctx context.Context) AppSpecJobLogDestinationArrayOutput

type AppSpecJobLogDestinationArrayInput added in v4.12.0

type AppSpecJobLogDestinationArrayInput interface {
	pulumi.Input

	ToAppSpecJobLogDestinationArrayOutput() AppSpecJobLogDestinationArrayOutput
	ToAppSpecJobLogDestinationArrayOutputWithContext(context.Context) AppSpecJobLogDestinationArrayOutput
}

AppSpecJobLogDestinationArrayInput is an input type that accepts AppSpecJobLogDestinationArray and AppSpecJobLogDestinationArrayOutput values. You can construct a concrete instance of `AppSpecJobLogDestinationArrayInput` via:

AppSpecJobLogDestinationArray{ AppSpecJobLogDestinationArgs{...} }

type AppSpecJobLogDestinationArrayOutput added in v4.12.0

type AppSpecJobLogDestinationArrayOutput struct{ *pulumi.OutputState }

func (AppSpecJobLogDestinationArrayOutput) ElementType added in v4.12.0

func (AppSpecJobLogDestinationArrayOutput) Index added in v4.12.0

func (AppSpecJobLogDestinationArrayOutput) ToAppSpecJobLogDestinationArrayOutput added in v4.12.0

func (o AppSpecJobLogDestinationArrayOutput) ToAppSpecJobLogDestinationArrayOutput() AppSpecJobLogDestinationArrayOutput

func (AppSpecJobLogDestinationArrayOutput) ToAppSpecJobLogDestinationArrayOutputWithContext added in v4.12.0

func (o AppSpecJobLogDestinationArrayOutput) ToAppSpecJobLogDestinationArrayOutputWithContext(ctx context.Context) AppSpecJobLogDestinationArrayOutput

type AppSpecJobLogDestinationDatadog added in v4.12.0

type AppSpecJobLogDestinationDatadog struct {
	// Datadog API key.
	ApiKey string `pulumi:"apiKey"`
	// Datadog HTTP log intake endpoint.
	Endpoint *string `pulumi:"endpoint"`
}

type AppSpecJobLogDestinationDatadogArgs added in v4.12.0

type AppSpecJobLogDestinationDatadogArgs struct {
	// Datadog API key.
	ApiKey pulumi.StringInput `pulumi:"apiKey"`
	// Datadog HTTP log intake endpoint.
	Endpoint pulumi.StringPtrInput `pulumi:"endpoint"`
}

func (AppSpecJobLogDestinationDatadogArgs) ElementType added in v4.12.0

func (AppSpecJobLogDestinationDatadogArgs) ToAppSpecJobLogDestinationDatadogOutput added in v4.12.0

func (i AppSpecJobLogDestinationDatadogArgs) ToAppSpecJobLogDestinationDatadogOutput() AppSpecJobLogDestinationDatadogOutput

func (AppSpecJobLogDestinationDatadogArgs) ToAppSpecJobLogDestinationDatadogOutputWithContext added in v4.12.0

func (i AppSpecJobLogDestinationDatadogArgs) ToAppSpecJobLogDestinationDatadogOutputWithContext(ctx context.Context) AppSpecJobLogDestinationDatadogOutput

func (AppSpecJobLogDestinationDatadogArgs) ToAppSpecJobLogDestinationDatadogPtrOutput added in v4.12.0

func (i AppSpecJobLogDestinationDatadogArgs) ToAppSpecJobLogDestinationDatadogPtrOutput() AppSpecJobLogDestinationDatadogPtrOutput

func (AppSpecJobLogDestinationDatadogArgs) ToAppSpecJobLogDestinationDatadogPtrOutputWithContext added in v4.12.0

func (i AppSpecJobLogDestinationDatadogArgs) ToAppSpecJobLogDestinationDatadogPtrOutputWithContext(ctx context.Context) AppSpecJobLogDestinationDatadogPtrOutput

type AppSpecJobLogDestinationDatadogInput added in v4.12.0

type AppSpecJobLogDestinationDatadogInput interface {
	pulumi.Input

	ToAppSpecJobLogDestinationDatadogOutput() AppSpecJobLogDestinationDatadogOutput
	ToAppSpecJobLogDestinationDatadogOutputWithContext(context.Context) AppSpecJobLogDestinationDatadogOutput
}

AppSpecJobLogDestinationDatadogInput is an input type that accepts AppSpecJobLogDestinationDatadogArgs and AppSpecJobLogDestinationDatadogOutput values. You can construct a concrete instance of `AppSpecJobLogDestinationDatadogInput` via:

AppSpecJobLogDestinationDatadogArgs{...}

type AppSpecJobLogDestinationDatadogOutput added in v4.12.0

type AppSpecJobLogDestinationDatadogOutput struct{ *pulumi.OutputState }

func (AppSpecJobLogDestinationDatadogOutput) ApiKey added in v4.12.0

Datadog API key.

func (AppSpecJobLogDestinationDatadogOutput) ElementType added in v4.12.0

func (AppSpecJobLogDestinationDatadogOutput) Endpoint added in v4.12.0

Datadog HTTP log intake endpoint.

func (AppSpecJobLogDestinationDatadogOutput) ToAppSpecJobLogDestinationDatadogOutput added in v4.12.0

func (o AppSpecJobLogDestinationDatadogOutput) ToAppSpecJobLogDestinationDatadogOutput() AppSpecJobLogDestinationDatadogOutput

func (AppSpecJobLogDestinationDatadogOutput) ToAppSpecJobLogDestinationDatadogOutputWithContext added in v4.12.0

func (o AppSpecJobLogDestinationDatadogOutput) ToAppSpecJobLogDestinationDatadogOutputWithContext(ctx context.Context) AppSpecJobLogDestinationDatadogOutput

func (AppSpecJobLogDestinationDatadogOutput) ToAppSpecJobLogDestinationDatadogPtrOutput added in v4.12.0

func (o AppSpecJobLogDestinationDatadogOutput) ToAppSpecJobLogDestinationDatadogPtrOutput() AppSpecJobLogDestinationDatadogPtrOutput

func (AppSpecJobLogDestinationDatadogOutput) ToAppSpecJobLogDestinationDatadogPtrOutputWithContext added in v4.12.0

func (o AppSpecJobLogDestinationDatadogOutput) ToAppSpecJobLogDestinationDatadogPtrOutputWithContext(ctx context.Context) AppSpecJobLogDestinationDatadogPtrOutput

type AppSpecJobLogDestinationDatadogPtrInput added in v4.12.0

type AppSpecJobLogDestinationDatadogPtrInput interface {
	pulumi.Input

	ToAppSpecJobLogDestinationDatadogPtrOutput() AppSpecJobLogDestinationDatadogPtrOutput
	ToAppSpecJobLogDestinationDatadogPtrOutputWithContext(context.Context) AppSpecJobLogDestinationDatadogPtrOutput
}

AppSpecJobLogDestinationDatadogPtrInput is an input type that accepts AppSpecJobLogDestinationDatadogArgs, AppSpecJobLogDestinationDatadogPtr and AppSpecJobLogDestinationDatadogPtrOutput values. You can construct a concrete instance of `AppSpecJobLogDestinationDatadogPtrInput` via:

        AppSpecJobLogDestinationDatadogArgs{...}

or:

        nil

type AppSpecJobLogDestinationDatadogPtrOutput added in v4.12.0

type AppSpecJobLogDestinationDatadogPtrOutput struct{ *pulumi.OutputState }

func (AppSpecJobLogDestinationDatadogPtrOutput) ApiKey added in v4.12.0

Datadog API key.

func (AppSpecJobLogDestinationDatadogPtrOutput) Elem added in v4.12.0

func (AppSpecJobLogDestinationDatadogPtrOutput) ElementType added in v4.12.0

func (AppSpecJobLogDestinationDatadogPtrOutput) Endpoint added in v4.12.0

Datadog HTTP log intake endpoint.

func (AppSpecJobLogDestinationDatadogPtrOutput) ToAppSpecJobLogDestinationDatadogPtrOutput added in v4.12.0

func (o AppSpecJobLogDestinationDatadogPtrOutput) ToAppSpecJobLogDestinationDatadogPtrOutput() AppSpecJobLogDestinationDatadogPtrOutput

func (AppSpecJobLogDestinationDatadogPtrOutput) ToAppSpecJobLogDestinationDatadogPtrOutputWithContext added in v4.12.0

func (o AppSpecJobLogDestinationDatadogPtrOutput) ToAppSpecJobLogDestinationDatadogPtrOutputWithContext(ctx context.Context) AppSpecJobLogDestinationDatadogPtrOutput

type AppSpecJobLogDestinationInput added in v4.12.0

type AppSpecJobLogDestinationInput interface {
	pulumi.Input

	ToAppSpecJobLogDestinationOutput() AppSpecJobLogDestinationOutput
	ToAppSpecJobLogDestinationOutputWithContext(context.Context) AppSpecJobLogDestinationOutput
}

AppSpecJobLogDestinationInput is an input type that accepts AppSpecJobLogDestinationArgs and AppSpecJobLogDestinationOutput values. You can construct a concrete instance of `AppSpecJobLogDestinationInput` via:

AppSpecJobLogDestinationArgs{...}

type AppSpecJobLogDestinationLogtail added in v4.12.0

type AppSpecJobLogDestinationLogtail struct {
	// Logtail token.
	Token string `pulumi:"token"`
}

type AppSpecJobLogDestinationLogtailArgs added in v4.12.0

type AppSpecJobLogDestinationLogtailArgs struct {
	// Logtail token.
	Token pulumi.StringInput `pulumi:"token"`
}

func (AppSpecJobLogDestinationLogtailArgs) ElementType added in v4.12.0

func (AppSpecJobLogDestinationLogtailArgs) ToAppSpecJobLogDestinationLogtailOutput added in v4.12.0

func (i AppSpecJobLogDestinationLogtailArgs) ToAppSpecJobLogDestinationLogtailOutput() AppSpecJobLogDestinationLogtailOutput

func (AppSpecJobLogDestinationLogtailArgs) ToAppSpecJobLogDestinationLogtailOutputWithContext added in v4.12.0

func (i AppSpecJobLogDestinationLogtailArgs) ToAppSpecJobLogDestinationLogtailOutputWithContext(ctx context.Context) AppSpecJobLogDestinationLogtailOutput

func (AppSpecJobLogDestinationLogtailArgs) ToAppSpecJobLogDestinationLogtailPtrOutput added in v4.12.0

func (i AppSpecJobLogDestinationLogtailArgs) ToAppSpecJobLogDestinationLogtailPtrOutput() AppSpecJobLogDestinationLogtailPtrOutput

func (AppSpecJobLogDestinationLogtailArgs) ToAppSpecJobLogDestinationLogtailPtrOutputWithContext added in v4.12.0

func (i AppSpecJobLogDestinationLogtailArgs) ToAppSpecJobLogDestinationLogtailPtrOutputWithContext(ctx context.Context) AppSpecJobLogDestinationLogtailPtrOutput

type AppSpecJobLogDestinationLogtailInput added in v4.12.0

type AppSpecJobLogDestinationLogtailInput interface {
	pulumi.Input

	ToAppSpecJobLogDestinationLogtailOutput() AppSpecJobLogDestinationLogtailOutput
	ToAppSpecJobLogDestinationLogtailOutputWithContext(context.Context) AppSpecJobLogDestinationLogtailOutput
}

AppSpecJobLogDestinationLogtailInput is an input type that accepts AppSpecJobLogDestinationLogtailArgs and AppSpecJobLogDestinationLogtailOutput values. You can construct a concrete instance of `AppSpecJobLogDestinationLogtailInput` via:

AppSpecJobLogDestinationLogtailArgs{...}

type AppSpecJobLogDestinationLogtailOutput added in v4.12.0

type AppSpecJobLogDestinationLogtailOutput struct{ *pulumi.OutputState }

func (AppSpecJobLogDestinationLogtailOutput) ElementType added in v4.12.0

func (AppSpecJobLogDestinationLogtailOutput) ToAppSpecJobLogDestinationLogtailOutput added in v4.12.0

func (o AppSpecJobLogDestinationLogtailOutput) ToAppSpecJobLogDestinationLogtailOutput() AppSpecJobLogDestinationLogtailOutput

func (AppSpecJobLogDestinationLogtailOutput) ToAppSpecJobLogDestinationLogtailOutputWithContext added in v4.12.0

func (o AppSpecJobLogDestinationLogtailOutput) ToAppSpecJobLogDestinationLogtailOutputWithContext(ctx context.Context) AppSpecJobLogDestinationLogtailOutput

func (AppSpecJobLogDestinationLogtailOutput) ToAppSpecJobLogDestinationLogtailPtrOutput added in v4.12.0

func (o AppSpecJobLogDestinationLogtailOutput) ToAppSpecJobLogDestinationLogtailPtrOutput() AppSpecJobLogDestinationLogtailPtrOutput

func (AppSpecJobLogDestinationLogtailOutput) ToAppSpecJobLogDestinationLogtailPtrOutputWithContext added in v4.12.0

func (o AppSpecJobLogDestinationLogtailOutput) ToAppSpecJobLogDestinationLogtailPtrOutputWithContext(ctx context.Context) AppSpecJobLogDestinationLogtailPtrOutput

func (AppSpecJobLogDestinationLogtailOutput) Token added in v4.12.0

Logtail token.

type AppSpecJobLogDestinationLogtailPtrInput added in v4.12.0

type AppSpecJobLogDestinationLogtailPtrInput interface {
	pulumi.Input

	ToAppSpecJobLogDestinationLogtailPtrOutput() AppSpecJobLogDestinationLogtailPtrOutput
	ToAppSpecJobLogDestinationLogtailPtrOutputWithContext(context.Context) AppSpecJobLogDestinationLogtailPtrOutput
}

AppSpecJobLogDestinationLogtailPtrInput is an input type that accepts AppSpecJobLogDestinationLogtailArgs, AppSpecJobLogDestinationLogtailPtr and AppSpecJobLogDestinationLogtailPtrOutput values. You can construct a concrete instance of `AppSpecJobLogDestinationLogtailPtrInput` via:

        AppSpecJobLogDestinationLogtailArgs{...}

or:

        nil

type AppSpecJobLogDestinationLogtailPtrOutput added in v4.12.0

type AppSpecJobLogDestinationLogtailPtrOutput struct{ *pulumi.OutputState }

func (AppSpecJobLogDestinationLogtailPtrOutput) Elem added in v4.12.0

func (AppSpecJobLogDestinationLogtailPtrOutput) ElementType added in v4.12.0

func (AppSpecJobLogDestinationLogtailPtrOutput) ToAppSpecJobLogDestinationLogtailPtrOutput added in v4.12.0

func (o AppSpecJobLogDestinationLogtailPtrOutput) ToAppSpecJobLogDestinationLogtailPtrOutput() AppSpecJobLogDestinationLogtailPtrOutput

func (AppSpecJobLogDestinationLogtailPtrOutput) ToAppSpecJobLogDestinationLogtailPtrOutputWithContext added in v4.12.0

func (o AppSpecJobLogDestinationLogtailPtrOutput) ToAppSpecJobLogDestinationLogtailPtrOutputWithContext(ctx context.Context) AppSpecJobLogDestinationLogtailPtrOutput

func (AppSpecJobLogDestinationLogtailPtrOutput) Token added in v4.12.0

Logtail token.

type AppSpecJobLogDestinationOutput added in v4.12.0

type AppSpecJobLogDestinationOutput struct{ *pulumi.OutputState }

func (AppSpecJobLogDestinationOutput) Datadog added in v4.12.0

Datadog configuration.

func (AppSpecJobLogDestinationOutput) ElementType added in v4.12.0

func (AppSpecJobLogDestinationOutput) Logtail added in v4.12.0

Logtail configuration.

func (AppSpecJobLogDestinationOutput) Name added in v4.12.0

Name of the log destination. Minimum length: 2. Maximum length: 42.

func (AppSpecJobLogDestinationOutput) Papertrail added in v4.12.0

Papertrail configuration.

func (AppSpecJobLogDestinationOutput) ToAppSpecJobLogDestinationOutput added in v4.12.0

func (o AppSpecJobLogDestinationOutput) ToAppSpecJobLogDestinationOutput() AppSpecJobLogDestinationOutput

func (AppSpecJobLogDestinationOutput) ToAppSpecJobLogDestinationOutputWithContext added in v4.12.0

func (o AppSpecJobLogDestinationOutput) ToAppSpecJobLogDestinationOutputWithContext(ctx context.Context) AppSpecJobLogDestinationOutput

type AppSpecJobLogDestinationPapertrail added in v4.12.0

type AppSpecJobLogDestinationPapertrail struct {
	// Papertrail syslog endpoint.
	Endpoint string `pulumi:"endpoint"`
}

type AppSpecJobLogDestinationPapertrailArgs added in v4.12.0

type AppSpecJobLogDestinationPapertrailArgs struct {
	// Papertrail syslog endpoint.
	Endpoint pulumi.StringInput `pulumi:"endpoint"`
}

func (AppSpecJobLogDestinationPapertrailArgs) ElementType added in v4.12.0

func (AppSpecJobLogDestinationPapertrailArgs) ToAppSpecJobLogDestinationPapertrailOutput added in v4.12.0

func (i AppSpecJobLogDestinationPapertrailArgs) ToAppSpecJobLogDestinationPapertrailOutput() AppSpecJobLogDestinationPapertrailOutput

func (AppSpecJobLogDestinationPapertrailArgs) ToAppSpecJobLogDestinationPapertrailOutputWithContext added in v4.12.0

func (i AppSpecJobLogDestinationPapertrailArgs) ToAppSpecJobLogDestinationPapertrailOutputWithContext(ctx context.Context) AppSpecJobLogDestinationPapertrailOutput

func (AppSpecJobLogDestinationPapertrailArgs) ToAppSpecJobLogDestinationPapertrailPtrOutput added in v4.12.0

func (i AppSpecJobLogDestinationPapertrailArgs) ToAppSpecJobLogDestinationPapertrailPtrOutput() AppSpecJobLogDestinationPapertrailPtrOutput

func (AppSpecJobLogDestinationPapertrailArgs) ToAppSpecJobLogDestinationPapertrailPtrOutputWithContext added in v4.12.0

func (i AppSpecJobLogDestinationPapertrailArgs) ToAppSpecJobLogDestinationPapertrailPtrOutputWithContext(ctx context.Context) AppSpecJobLogDestinationPapertrailPtrOutput

type AppSpecJobLogDestinationPapertrailInput added in v4.12.0

type AppSpecJobLogDestinationPapertrailInput interface {
	pulumi.Input

	ToAppSpecJobLogDestinationPapertrailOutput() AppSpecJobLogDestinationPapertrailOutput
	ToAppSpecJobLogDestinationPapertrailOutputWithContext(context.Context) AppSpecJobLogDestinationPapertrailOutput
}

AppSpecJobLogDestinationPapertrailInput is an input type that accepts AppSpecJobLogDestinationPapertrailArgs and AppSpecJobLogDestinationPapertrailOutput values. You can construct a concrete instance of `AppSpecJobLogDestinationPapertrailInput` via:

AppSpecJobLogDestinationPapertrailArgs{...}

type AppSpecJobLogDestinationPapertrailOutput added in v4.12.0

type AppSpecJobLogDestinationPapertrailOutput struct{ *pulumi.OutputState }

func (AppSpecJobLogDestinationPapertrailOutput) ElementType added in v4.12.0

func (AppSpecJobLogDestinationPapertrailOutput) Endpoint added in v4.12.0

Papertrail syslog endpoint.

func (AppSpecJobLogDestinationPapertrailOutput) ToAppSpecJobLogDestinationPapertrailOutput added in v4.12.0

func (o AppSpecJobLogDestinationPapertrailOutput) ToAppSpecJobLogDestinationPapertrailOutput() AppSpecJobLogDestinationPapertrailOutput

func (AppSpecJobLogDestinationPapertrailOutput) ToAppSpecJobLogDestinationPapertrailOutputWithContext added in v4.12.0

func (o AppSpecJobLogDestinationPapertrailOutput) ToAppSpecJobLogDestinationPapertrailOutputWithContext(ctx context.Context) AppSpecJobLogDestinationPapertrailOutput

func (AppSpecJobLogDestinationPapertrailOutput) ToAppSpecJobLogDestinationPapertrailPtrOutput added in v4.12.0

func (o AppSpecJobLogDestinationPapertrailOutput) ToAppSpecJobLogDestinationPapertrailPtrOutput() AppSpecJobLogDestinationPapertrailPtrOutput

func (AppSpecJobLogDestinationPapertrailOutput) ToAppSpecJobLogDestinationPapertrailPtrOutputWithContext added in v4.12.0

func (o AppSpecJobLogDestinationPapertrailOutput) ToAppSpecJobLogDestinationPapertrailPtrOutputWithContext(ctx context.Context) AppSpecJobLogDestinationPapertrailPtrOutput

type AppSpecJobLogDestinationPapertrailPtrInput added in v4.12.0

type AppSpecJobLogDestinationPapertrailPtrInput interface {
	pulumi.Input

	ToAppSpecJobLogDestinationPapertrailPtrOutput() AppSpecJobLogDestinationPapertrailPtrOutput
	ToAppSpecJobLogDestinationPapertrailPtrOutputWithContext(context.Context) AppSpecJobLogDestinationPapertrailPtrOutput
}

AppSpecJobLogDestinationPapertrailPtrInput is an input type that accepts AppSpecJobLogDestinationPapertrailArgs, AppSpecJobLogDestinationPapertrailPtr and AppSpecJobLogDestinationPapertrailPtrOutput values. You can construct a concrete instance of `AppSpecJobLogDestinationPapertrailPtrInput` via:

        AppSpecJobLogDestinationPapertrailArgs{...}

or:

        nil

type AppSpecJobLogDestinationPapertrailPtrOutput added in v4.12.0

type AppSpecJobLogDestinationPapertrailPtrOutput struct{ *pulumi.OutputState }

func (AppSpecJobLogDestinationPapertrailPtrOutput) Elem added in v4.12.0

func (AppSpecJobLogDestinationPapertrailPtrOutput) ElementType added in v4.12.0

func (AppSpecJobLogDestinationPapertrailPtrOutput) Endpoint added in v4.12.0

Papertrail syslog endpoint.

func (AppSpecJobLogDestinationPapertrailPtrOutput) ToAppSpecJobLogDestinationPapertrailPtrOutput added in v4.12.0

func (o AppSpecJobLogDestinationPapertrailPtrOutput) ToAppSpecJobLogDestinationPapertrailPtrOutput() AppSpecJobLogDestinationPapertrailPtrOutput

func (AppSpecJobLogDestinationPapertrailPtrOutput) ToAppSpecJobLogDestinationPapertrailPtrOutputWithContext added in v4.12.0

func (o AppSpecJobLogDestinationPapertrailPtrOutput) ToAppSpecJobLogDestinationPapertrailPtrOutputWithContext(ctx context.Context) AppSpecJobLogDestinationPapertrailPtrOutput

type AppSpecJobOutput

type AppSpecJobOutput struct{ *pulumi.OutputState }

func (AppSpecJobOutput) Alerts added in v4.12.0

Describes an alert policy for the component.

func (AppSpecJobOutput) BuildCommand

func (o AppSpecJobOutput) BuildCommand() pulumi.StringPtrOutput

An optional build command to run while building this component from source.

func (AppSpecJobOutput) DockerfilePath

func (o AppSpecJobOutput) DockerfilePath() pulumi.StringPtrOutput

The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.

func (AppSpecJobOutput) ElementType

func (AppSpecJobOutput) ElementType() reflect.Type

func (AppSpecJobOutput) EnvironmentSlug

func (o AppSpecJobOutput) EnvironmentSlug() pulumi.StringPtrOutput

An environment slug describing the type of this app.

func (AppSpecJobOutput) Envs

Describes an environment variable made available to an app competent.

func (AppSpecJobOutput) Git

A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of `git`, `github` or `gitlab` may be set.

func (AppSpecJobOutput) Github

A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.

func (AppSpecJobOutput) Gitlab

A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.

func (AppSpecJobOutput) Image

An image to use as the component's source. Only one of `git`, `github`, `gitlab`, or `image` may be set.

func (AppSpecJobOutput) InstanceCount

func (o AppSpecJobOutput) InstanceCount() pulumi.IntPtrOutput

The amount of instances that this component should be scaled to.

func (AppSpecJobOutput) InstanceSizeSlug

func (o AppSpecJobOutput) InstanceSizeSlug() pulumi.StringPtrOutput

The instance size to use for this component. This determines the plan (basic or professional) and the available CPU and memory. The list of available instance sizes can be [found with the API](https://docs.digitalocean.com/reference/api/api-reference/#operation/list_instance_sizes) or using the [doctl CLI](https://docs.digitalocean.com/reference/doctl/) (`doctl apps tier instance-size list`). Default: `basic-xxs`

func (AppSpecJobOutput) Kind

The type of job and when it will be run during the deployment process. It may be one of:

func (AppSpecJobOutput) LogDestinations added in v4.12.0

Describes a log forwarding destination.

func (AppSpecJobOutput) Name

The name of the component.

func (AppSpecJobOutput) RunCommand

func (o AppSpecJobOutput) RunCommand() pulumi.StringPtrOutput

An optional run command to override the component's default.

func (AppSpecJobOutput) SourceDir

func (o AppSpecJobOutput) SourceDir() pulumi.StringPtrOutput

An optional path to the working directory to use for the build.

func (AppSpecJobOutput) ToAppSpecJobOutput

func (o AppSpecJobOutput) ToAppSpecJobOutput() AppSpecJobOutput

func (AppSpecJobOutput) ToAppSpecJobOutputWithContext

func (o AppSpecJobOutput) ToAppSpecJobOutputWithContext(ctx context.Context) AppSpecJobOutput

type AppSpecOutput

type AppSpecOutput struct{ *pulumi.OutputState }

func (AppSpecOutput) Alerts added in v4.12.0

Describes an alert policy for the component.

func (AppSpecOutput) Databases

func (AppSpecOutput) DomainNames

Describes a domain where the application will be made available.

func (AppSpecOutput) Domains deprecated

Deprecated: This attribute has been replaced by `domain` which supports additional functionality.

func (AppSpecOutput) ElementType

func (AppSpecOutput) ElementType() reflect.Type

func (AppSpecOutput) Envs

Describes an environment variable made available to an app competent.

func (AppSpecOutput) Features added in v4.24.0

func (o AppSpecOutput) Features() pulumi.StringArrayOutput

A list of the features applied to the app. The default buildpack can be overridden here. List of available buildpacks can be found using the [doctl CLI](https://docs.digitalocean.com/reference/doctl/reference/apps/list-buildpacks/)

func (AppSpecOutput) Functions added in v4.13.0

func (AppSpecOutput) Ingress added in v4.23.0

Specification for component routing, rewrites, and redirects.

func (AppSpecOutput) Jobs

func (AppSpecOutput) Name

The name of the component.

func (AppSpecOutput) Region

The slug for the DigitalOcean data center region hosting the app.

func (AppSpecOutput) Services

func (AppSpecOutput) StaticSites

func (AppSpecOutput) ToAppSpecOutput

func (o AppSpecOutput) ToAppSpecOutput() AppSpecOutput

func (AppSpecOutput) ToAppSpecOutputWithContext

func (o AppSpecOutput) ToAppSpecOutputWithContext(ctx context.Context) AppSpecOutput

func (AppSpecOutput) ToAppSpecPtrOutput

func (o AppSpecOutput) ToAppSpecPtrOutput() AppSpecPtrOutput

func (AppSpecOutput) ToAppSpecPtrOutputWithContext

func (o AppSpecOutput) ToAppSpecPtrOutputWithContext(ctx context.Context) AppSpecPtrOutput

func (AppSpecOutput) Workers

type AppSpecPtrInput

type AppSpecPtrInput interface {
	pulumi.Input

	ToAppSpecPtrOutput() AppSpecPtrOutput
	ToAppSpecPtrOutputWithContext(context.Context) AppSpecPtrOutput
}

AppSpecPtrInput is an input type that accepts AppSpecArgs, AppSpecPtr and AppSpecPtrOutput values. You can construct a concrete instance of `AppSpecPtrInput` via:

        AppSpecArgs{...}

or:

        nil

func AppSpecPtr

func AppSpecPtr(v *AppSpecArgs) AppSpecPtrInput

type AppSpecPtrOutput

type AppSpecPtrOutput struct{ *pulumi.OutputState }

func (AppSpecPtrOutput) Alerts added in v4.12.0

Describes an alert policy for the component.

func (AppSpecPtrOutput) Databases

func (AppSpecPtrOutput) DomainNames

Describes a domain where the application will be made available.

func (AppSpecPtrOutput) Domains deprecated

Deprecated: This attribute has been replaced by `domain` which supports additional functionality.

func (AppSpecPtrOutput) Elem

func (AppSpecPtrOutput) ElementType

func (AppSpecPtrOutput) ElementType() reflect.Type

func (AppSpecPtrOutput) Envs

Describes an environment variable made available to an app competent.

func (AppSpecPtrOutput) Features added in v4.24.0

A list of the features applied to the app. The default buildpack can be overridden here. List of available buildpacks can be found using the [doctl CLI](https://docs.digitalocean.com/reference/doctl/reference/apps/list-buildpacks/)

func (AppSpecPtrOutput) Functions added in v4.13.0

func (AppSpecPtrOutput) Ingress added in v4.23.0

Specification for component routing, rewrites, and redirects.

func (AppSpecPtrOutput) Jobs

func (AppSpecPtrOutput) Name

The name of the component.

func (AppSpecPtrOutput) Region

The slug for the DigitalOcean data center region hosting the app.

func (AppSpecPtrOutput) Services

func (AppSpecPtrOutput) StaticSites

func (AppSpecPtrOutput) ToAppSpecPtrOutput

func (o AppSpecPtrOutput) ToAppSpecPtrOutput() AppSpecPtrOutput

func (AppSpecPtrOutput) ToAppSpecPtrOutputWithContext

func (o AppSpecPtrOutput) ToAppSpecPtrOutputWithContext(ctx context.Context) AppSpecPtrOutput

func (AppSpecPtrOutput) Workers

type AppSpecService

type AppSpecService struct {
	// Describes an alert policy for the component.
	Alerts []AppSpecServiceAlert `pulumi:"alerts"`
	// An optional build command to run while building this component from source.
	BuildCommand *string `pulumi:"buildCommand"`
	// The [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies of the app.
	//
	// Deprecated: Service level CORS rules are deprecated in favor of ingresses
	Cors *AppSpecServiceCors `pulumi:"cors"`
	// The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
	DockerfilePath *string `pulumi:"dockerfilePath"`
	// An environment slug describing the type of this app.
	EnvironmentSlug *string `pulumi:"environmentSlug"`
	// Describes an environment variable made available to an app competent.
	Envs []AppSpecServiceEnv `pulumi:"envs"`
	// A Git repo to use as the component's source. The repository must be able to be cloned without authentication.  Only one of `git`, `github` or `gitlab`  may be set.
	Git *AppSpecServiceGit `pulumi:"git"`
	// A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Github *AppSpecServiceGithub `pulumi:"github"`
	// A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Gitlab *AppSpecServiceGitlab `pulumi:"gitlab"`
	// A health check to determine the availability of this component.
	HealthCheck *AppSpecServiceHealthCheck `pulumi:"healthCheck"`
	// The internal port on which this service's run command will listen.
	HttpPort *int `pulumi:"httpPort"`
	// An image to use as the component's source. Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Image *AppSpecServiceImage `pulumi:"image"`
	// The amount of instances that this component should be scaled to.
	InstanceCount *int `pulumi:"instanceCount"`
	// The instance size to use for this component. This determines the plan (basic or professional) and the available CPU and memory. The list of available instance sizes can be [found with the API](https://docs.digitalocean.com/reference/api/api-reference/#operation/list_instance_sizes) or using the [doctl CLI](https://docs.digitalocean.com/reference/doctl/) (`doctl apps tier instance-size list`). Default: `basic-xxs`
	InstanceSizeSlug *string `pulumi:"instanceSizeSlug"`
	// A list of ports on which this service will listen for internal traffic.
	InternalPorts []int `pulumi:"internalPorts"`
	// Describes a log forwarding destination.
	LogDestinations []AppSpecServiceLogDestination `pulumi:"logDestinations"`
	// The name of the component.
	Name string `pulumi:"name"`
	// An HTTP paths that should be routed to this component.
	//
	// Deprecated: Service level routes are deprecated in favor of ingresses
	Routes []AppSpecServiceRoute `pulumi:"routes"`
	// An optional run command to override the component's default.
	RunCommand *string `pulumi:"runCommand"`
	// An optional path to the working directory to use for the build.
	SourceDir *string `pulumi:"sourceDir"`
}

type AppSpecServiceAlert added in v4.12.0

type AppSpecServiceAlert struct {
	// Determines whether or not the alert is disabled (default: `false`).
	Disabled *bool `pulumi:"disabled"`
	// The operator to use. This is either of `GREATER_THAN` or `LESS_THAN`.
	Operator string `pulumi:"operator"`
	// The type of the alert to configure. Component app alert policies can be: `CPU_UTILIZATION`, `MEM_UTILIZATION`, or `RESTART_COUNT`.
	Rule string `pulumi:"rule"`
	// The threshold for the type of the warning.
	Value float64 `pulumi:"value"`
	// The time before alerts should be triggered. This is may be one of: `FIVE_MINUTES`, `TEN_MINUTES`, `THIRTY_MINUTES`, `ONE_HOUR`.
	Window string `pulumi:"window"`
}

type AppSpecServiceAlertArgs added in v4.12.0

type AppSpecServiceAlertArgs struct {
	// Determines whether or not the alert is disabled (default: `false`).
	Disabled pulumi.BoolPtrInput `pulumi:"disabled"`
	// The operator to use. This is either of `GREATER_THAN` or `LESS_THAN`.
	Operator pulumi.StringInput `pulumi:"operator"`
	// The type of the alert to configure. Component app alert policies can be: `CPU_UTILIZATION`, `MEM_UTILIZATION`, or `RESTART_COUNT`.
	Rule pulumi.StringInput `pulumi:"rule"`
	// The threshold for the type of the warning.
	Value pulumi.Float64Input `pulumi:"value"`
	// The time before alerts should be triggered. This is may be one of: `FIVE_MINUTES`, `TEN_MINUTES`, `THIRTY_MINUTES`, `ONE_HOUR`.
	Window pulumi.StringInput `pulumi:"window"`
}

func (AppSpecServiceAlertArgs) ElementType added in v4.12.0

func (AppSpecServiceAlertArgs) ElementType() reflect.Type

func (AppSpecServiceAlertArgs) ToAppSpecServiceAlertOutput added in v4.12.0

func (i AppSpecServiceAlertArgs) ToAppSpecServiceAlertOutput() AppSpecServiceAlertOutput

func (AppSpecServiceAlertArgs) ToAppSpecServiceAlertOutputWithContext added in v4.12.0

func (i AppSpecServiceAlertArgs) ToAppSpecServiceAlertOutputWithContext(ctx context.Context) AppSpecServiceAlertOutput

type AppSpecServiceAlertArray added in v4.12.0

type AppSpecServiceAlertArray []AppSpecServiceAlertInput

func (AppSpecServiceAlertArray) ElementType added in v4.12.0

func (AppSpecServiceAlertArray) ElementType() reflect.Type

func (AppSpecServiceAlertArray) ToAppSpecServiceAlertArrayOutput added in v4.12.0

func (i AppSpecServiceAlertArray) ToAppSpecServiceAlertArrayOutput() AppSpecServiceAlertArrayOutput

func (AppSpecServiceAlertArray) ToAppSpecServiceAlertArrayOutputWithContext added in v4.12.0

func (i AppSpecServiceAlertArray) ToAppSpecServiceAlertArrayOutputWithContext(ctx context.Context) AppSpecServiceAlertArrayOutput

type AppSpecServiceAlertArrayInput added in v4.12.0

type AppSpecServiceAlertArrayInput interface {
	pulumi.Input

	ToAppSpecServiceAlertArrayOutput() AppSpecServiceAlertArrayOutput
	ToAppSpecServiceAlertArrayOutputWithContext(context.Context) AppSpecServiceAlertArrayOutput
}

AppSpecServiceAlertArrayInput is an input type that accepts AppSpecServiceAlertArray and AppSpecServiceAlertArrayOutput values. You can construct a concrete instance of `AppSpecServiceAlertArrayInput` via:

AppSpecServiceAlertArray{ AppSpecServiceAlertArgs{...} }

type AppSpecServiceAlertArrayOutput added in v4.12.0

type AppSpecServiceAlertArrayOutput struct{ *pulumi.OutputState }

func (AppSpecServiceAlertArrayOutput) ElementType added in v4.12.0

func (AppSpecServiceAlertArrayOutput) Index added in v4.12.0

func (AppSpecServiceAlertArrayOutput) ToAppSpecServiceAlertArrayOutput added in v4.12.0

func (o AppSpecServiceAlertArrayOutput) ToAppSpecServiceAlertArrayOutput() AppSpecServiceAlertArrayOutput

func (AppSpecServiceAlertArrayOutput) ToAppSpecServiceAlertArrayOutputWithContext added in v4.12.0

func (o AppSpecServiceAlertArrayOutput) ToAppSpecServiceAlertArrayOutputWithContext(ctx context.Context) AppSpecServiceAlertArrayOutput

type AppSpecServiceAlertInput added in v4.12.0

type AppSpecServiceAlertInput interface {
	pulumi.Input

	ToAppSpecServiceAlertOutput() AppSpecServiceAlertOutput
	ToAppSpecServiceAlertOutputWithContext(context.Context) AppSpecServiceAlertOutput
}

AppSpecServiceAlertInput is an input type that accepts AppSpecServiceAlertArgs and AppSpecServiceAlertOutput values. You can construct a concrete instance of `AppSpecServiceAlertInput` via:

AppSpecServiceAlertArgs{...}

type AppSpecServiceAlertOutput added in v4.12.0

type AppSpecServiceAlertOutput struct{ *pulumi.OutputState }

func (AppSpecServiceAlertOutput) Disabled added in v4.12.0

Determines whether or not the alert is disabled (default: `false`).

func (AppSpecServiceAlertOutput) ElementType added in v4.12.0

func (AppSpecServiceAlertOutput) ElementType() reflect.Type

func (AppSpecServiceAlertOutput) Operator added in v4.12.0

The operator to use. This is either of `GREATER_THAN` or `LESS_THAN`.

func (AppSpecServiceAlertOutput) Rule added in v4.12.0

The type of the alert to configure. Component app alert policies can be: `CPU_UTILIZATION`, `MEM_UTILIZATION`, or `RESTART_COUNT`.

func (AppSpecServiceAlertOutput) ToAppSpecServiceAlertOutput added in v4.12.0

func (o AppSpecServiceAlertOutput) ToAppSpecServiceAlertOutput() AppSpecServiceAlertOutput

func (AppSpecServiceAlertOutput) ToAppSpecServiceAlertOutputWithContext added in v4.12.0

func (o AppSpecServiceAlertOutput) ToAppSpecServiceAlertOutputWithContext(ctx context.Context) AppSpecServiceAlertOutput

func (AppSpecServiceAlertOutput) Value added in v4.12.0

The threshold for the type of the warning.

func (AppSpecServiceAlertOutput) Window added in v4.12.0

The time before alerts should be triggered. This is may be one of: `FIVE_MINUTES`, `TEN_MINUTES`, `THIRTY_MINUTES`, `ONE_HOUR`.

type AppSpecServiceArgs

type AppSpecServiceArgs struct {
	// Describes an alert policy for the component.
	Alerts AppSpecServiceAlertArrayInput `pulumi:"alerts"`
	// An optional build command to run while building this component from source.
	BuildCommand pulumi.StringPtrInput `pulumi:"buildCommand"`
	// The [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies of the app.
	//
	// Deprecated: Service level CORS rules are deprecated in favor of ingresses
	Cors AppSpecServiceCorsPtrInput `pulumi:"cors"`
	// The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
	DockerfilePath pulumi.StringPtrInput `pulumi:"dockerfilePath"`
	// An environment slug describing the type of this app.
	EnvironmentSlug pulumi.StringPtrInput `pulumi:"environmentSlug"`
	// Describes an environment variable made available to an app competent.
	Envs AppSpecServiceEnvArrayInput `pulumi:"envs"`
	// A Git repo to use as the component's source. The repository must be able to be cloned without authentication.  Only one of `git`, `github` or `gitlab`  may be set.
	Git AppSpecServiceGitPtrInput `pulumi:"git"`
	// A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Github AppSpecServiceGithubPtrInput `pulumi:"github"`
	// A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Gitlab AppSpecServiceGitlabPtrInput `pulumi:"gitlab"`
	// A health check to determine the availability of this component.
	HealthCheck AppSpecServiceHealthCheckPtrInput `pulumi:"healthCheck"`
	// The internal port on which this service's run command will listen.
	HttpPort pulumi.IntPtrInput `pulumi:"httpPort"`
	// An image to use as the component's source. Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Image AppSpecServiceImagePtrInput `pulumi:"image"`
	// The amount of instances that this component should be scaled to.
	InstanceCount pulumi.IntPtrInput `pulumi:"instanceCount"`
	// The instance size to use for this component. This determines the plan (basic or professional) and the available CPU and memory. The list of available instance sizes can be [found with the API](https://docs.digitalocean.com/reference/api/api-reference/#operation/list_instance_sizes) or using the [doctl CLI](https://docs.digitalocean.com/reference/doctl/) (`doctl apps tier instance-size list`). Default: `basic-xxs`
	InstanceSizeSlug pulumi.StringPtrInput `pulumi:"instanceSizeSlug"`
	// A list of ports on which this service will listen for internal traffic.
	InternalPorts pulumi.IntArrayInput `pulumi:"internalPorts"`
	// Describes a log forwarding destination.
	LogDestinations AppSpecServiceLogDestinationArrayInput `pulumi:"logDestinations"`
	// The name of the component.
	Name pulumi.StringInput `pulumi:"name"`
	// An HTTP paths that should be routed to this component.
	//
	// Deprecated: Service level routes are deprecated in favor of ingresses
	Routes AppSpecServiceRouteArrayInput `pulumi:"routes"`
	// An optional run command to override the component's default.
	RunCommand pulumi.StringPtrInput `pulumi:"runCommand"`
	// An optional path to the working directory to use for the build.
	SourceDir pulumi.StringPtrInput `pulumi:"sourceDir"`
}

func (AppSpecServiceArgs) ElementType

func (AppSpecServiceArgs) ElementType() reflect.Type

func (AppSpecServiceArgs) ToAppSpecServiceOutput

func (i AppSpecServiceArgs) ToAppSpecServiceOutput() AppSpecServiceOutput

func (AppSpecServiceArgs) ToAppSpecServiceOutputWithContext

func (i AppSpecServiceArgs) ToAppSpecServiceOutputWithContext(ctx context.Context) AppSpecServiceOutput

type AppSpecServiceArray

type AppSpecServiceArray []AppSpecServiceInput

func (AppSpecServiceArray) ElementType

func (AppSpecServiceArray) ElementType() reflect.Type

func (AppSpecServiceArray) ToAppSpecServiceArrayOutput

func (i AppSpecServiceArray) ToAppSpecServiceArrayOutput() AppSpecServiceArrayOutput

func (AppSpecServiceArray) ToAppSpecServiceArrayOutputWithContext

func (i AppSpecServiceArray) ToAppSpecServiceArrayOutputWithContext(ctx context.Context) AppSpecServiceArrayOutput

type AppSpecServiceArrayInput

type AppSpecServiceArrayInput interface {
	pulumi.Input

	ToAppSpecServiceArrayOutput() AppSpecServiceArrayOutput
	ToAppSpecServiceArrayOutputWithContext(context.Context) AppSpecServiceArrayOutput
}

AppSpecServiceArrayInput is an input type that accepts AppSpecServiceArray and AppSpecServiceArrayOutput values. You can construct a concrete instance of `AppSpecServiceArrayInput` via:

AppSpecServiceArray{ AppSpecServiceArgs{...} }

type AppSpecServiceArrayOutput

type AppSpecServiceArrayOutput struct{ *pulumi.OutputState }

func (AppSpecServiceArrayOutput) ElementType

func (AppSpecServiceArrayOutput) ElementType() reflect.Type

func (AppSpecServiceArrayOutput) Index

func (AppSpecServiceArrayOutput) ToAppSpecServiceArrayOutput

func (o AppSpecServiceArrayOutput) ToAppSpecServiceArrayOutput() AppSpecServiceArrayOutput

func (AppSpecServiceArrayOutput) ToAppSpecServiceArrayOutputWithContext

func (o AppSpecServiceArrayOutput) ToAppSpecServiceArrayOutputWithContext(ctx context.Context) AppSpecServiceArrayOutput

type AppSpecServiceCors added in v4.7.0

type AppSpecServiceCors struct {
	// Whether browsers should expose the response to the client-side JavaScript code when the request’s credentials mode is `include`. This configures the Access-Control-Allow-Credentials header.
	AllowCredentials *bool `pulumi:"allowCredentials"`
	// The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.
	AllowHeaders []string `pulumi:"allowHeaders"`
	// The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.
	AllowMethods []string `pulumi:"allowMethods"`
	// The set of allowed CORS origins. This configures the Access-Control-Allow-Origin header.
	AllowOrigins *AppSpecServiceCorsAllowOrigins `pulumi:"allowOrigins"`
	// The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.
	ExposeHeaders []string `pulumi:"exposeHeaders"`
	// An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: `5h30m`.
	MaxAge *string `pulumi:"maxAge"`
}

type AppSpecServiceCorsAllowOrigins added in v4.7.0

type AppSpecServiceCorsAllowOrigins struct {
	// Exact string match.
	Exact *string `pulumi:"exact"`
	// Prefix-based match.
	Prefix *string `pulumi:"prefix"`
	// RE2 style regex-based match.
	Regex *string `pulumi:"regex"`
}

type AppSpecServiceCorsAllowOriginsArgs added in v4.7.0

type AppSpecServiceCorsAllowOriginsArgs struct {
	// Exact string match.
	Exact pulumi.StringPtrInput `pulumi:"exact"`
	// Prefix-based match.
	Prefix pulumi.StringPtrInput `pulumi:"prefix"`
	// RE2 style regex-based match.
	Regex pulumi.StringPtrInput `pulumi:"regex"`
}

func (AppSpecServiceCorsAllowOriginsArgs) ElementType added in v4.7.0

func (AppSpecServiceCorsAllowOriginsArgs) ToAppSpecServiceCorsAllowOriginsOutput added in v4.7.0

func (i AppSpecServiceCorsAllowOriginsArgs) ToAppSpecServiceCorsAllowOriginsOutput() AppSpecServiceCorsAllowOriginsOutput

func (AppSpecServiceCorsAllowOriginsArgs) ToAppSpecServiceCorsAllowOriginsOutputWithContext added in v4.7.0

func (i AppSpecServiceCorsAllowOriginsArgs) ToAppSpecServiceCorsAllowOriginsOutputWithContext(ctx context.Context) AppSpecServiceCorsAllowOriginsOutput

func (AppSpecServiceCorsAllowOriginsArgs) ToAppSpecServiceCorsAllowOriginsPtrOutput added in v4.7.0

func (i AppSpecServiceCorsAllowOriginsArgs) ToAppSpecServiceCorsAllowOriginsPtrOutput() AppSpecServiceCorsAllowOriginsPtrOutput

func (AppSpecServiceCorsAllowOriginsArgs) ToAppSpecServiceCorsAllowOriginsPtrOutputWithContext added in v4.7.0

func (i AppSpecServiceCorsAllowOriginsArgs) ToAppSpecServiceCorsAllowOriginsPtrOutputWithContext(ctx context.Context) AppSpecServiceCorsAllowOriginsPtrOutput

type AppSpecServiceCorsAllowOriginsInput added in v4.7.0

type AppSpecServiceCorsAllowOriginsInput interface {
	pulumi.Input

	ToAppSpecServiceCorsAllowOriginsOutput() AppSpecServiceCorsAllowOriginsOutput
	ToAppSpecServiceCorsAllowOriginsOutputWithContext(context.Context) AppSpecServiceCorsAllowOriginsOutput
}

AppSpecServiceCorsAllowOriginsInput is an input type that accepts AppSpecServiceCorsAllowOriginsArgs and AppSpecServiceCorsAllowOriginsOutput values. You can construct a concrete instance of `AppSpecServiceCorsAllowOriginsInput` via:

AppSpecServiceCorsAllowOriginsArgs{...}

type AppSpecServiceCorsAllowOriginsOutput added in v4.7.0

type AppSpecServiceCorsAllowOriginsOutput struct{ *pulumi.OutputState }

func (AppSpecServiceCorsAllowOriginsOutput) ElementType added in v4.7.0

func (AppSpecServiceCorsAllowOriginsOutput) Exact added in v4.7.0

Exact string match.

func (AppSpecServiceCorsAllowOriginsOutput) Prefix added in v4.7.0

Prefix-based match.

func (AppSpecServiceCorsAllowOriginsOutput) Regex added in v4.7.0

RE2 style regex-based match.

func (AppSpecServiceCorsAllowOriginsOutput) ToAppSpecServiceCorsAllowOriginsOutput added in v4.7.0

func (o AppSpecServiceCorsAllowOriginsOutput) ToAppSpecServiceCorsAllowOriginsOutput() AppSpecServiceCorsAllowOriginsOutput

func (AppSpecServiceCorsAllowOriginsOutput) ToAppSpecServiceCorsAllowOriginsOutputWithContext added in v4.7.0

func (o AppSpecServiceCorsAllowOriginsOutput) ToAppSpecServiceCorsAllowOriginsOutputWithContext(ctx context.Context) AppSpecServiceCorsAllowOriginsOutput

func (AppSpecServiceCorsAllowOriginsOutput) ToAppSpecServiceCorsAllowOriginsPtrOutput added in v4.7.0

func (o AppSpecServiceCorsAllowOriginsOutput) ToAppSpecServiceCorsAllowOriginsPtrOutput() AppSpecServiceCorsAllowOriginsPtrOutput

func (AppSpecServiceCorsAllowOriginsOutput) ToAppSpecServiceCorsAllowOriginsPtrOutputWithContext added in v4.7.0

func (o AppSpecServiceCorsAllowOriginsOutput) ToAppSpecServiceCorsAllowOriginsPtrOutputWithContext(ctx context.Context) AppSpecServiceCorsAllowOriginsPtrOutput

type AppSpecServiceCorsAllowOriginsPtrInput added in v4.7.0

type AppSpecServiceCorsAllowOriginsPtrInput interface {
	pulumi.Input

	ToAppSpecServiceCorsAllowOriginsPtrOutput() AppSpecServiceCorsAllowOriginsPtrOutput
	ToAppSpecServiceCorsAllowOriginsPtrOutputWithContext(context.Context) AppSpecServiceCorsAllowOriginsPtrOutput
}

AppSpecServiceCorsAllowOriginsPtrInput is an input type that accepts AppSpecServiceCorsAllowOriginsArgs, AppSpecServiceCorsAllowOriginsPtr and AppSpecServiceCorsAllowOriginsPtrOutput values. You can construct a concrete instance of `AppSpecServiceCorsAllowOriginsPtrInput` via:

        AppSpecServiceCorsAllowOriginsArgs{...}

or:

        nil

type AppSpecServiceCorsAllowOriginsPtrOutput added in v4.7.0

type AppSpecServiceCorsAllowOriginsPtrOutput struct{ *pulumi.OutputState }

func (AppSpecServiceCorsAllowOriginsPtrOutput) Elem added in v4.7.0

func (AppSpecServiceCorsAllowOriginsPtrOutput) ElementType added in v4.7.0

func (AppSpecServiceCorsAllowOriginsPtrOutput) Exact added in v4.7.0

Exact string match.

func (AppSpecServiceCorsAllowOriginsPtrOutput) Prefix added in v4.7.0

Prefix-based match.

func (AppSpecServiceCorsAllowOriginsPtrOutput) Regex added in v4.7.0

RE2 style regex-based match.

func (AppSpecServiceCorsAllowOriginsPtrOutput) ToAppSpecServiceCorsAllowOriginsPtrOutput added in v4.7.0

func (o AppSpecServiceCorsAllowOriginsPtrOutput) ToAppSpecServiceCorsAllowOriginsPtrOutput() AppSpecServiceCorsAllowOriginsPtrOutput

func (AppSpecServiceCorsAllowOriginsPtrOutput) ToAppSpecServiceCorsAllowOriginsPtrOutputWithContext added in v4.7.0

func (o AppSpecServiceCorsAllowOriginsPtrOutput) ToAppSpecServiceCorsAllowOriginsPtrOutputWithContext(ctx context.Context) AppSpecServiceCorsAllowOriginsPtrOutput

type AppSpecServiceCorsArgs added in v4.7.0

type AppSpecServiceCorsArgs struct {
	// Whether browsers should expose the response to the client-side JavaScript code when the request’s credentials mode is `include`. This configures the Access-Control-Allow-Credentials header.
	AllowCredentials pulumi.BoolPtrInput `pulumi:"allowCredentials"`
	// The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.
	AllowHeaders pulumi.StringArrayInput `pulumi:"allowHeaders"`
	// The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.
	AllowMethods pulumi.StringArrayInput `pulumi:"allowMethods"`
	// The set of allowed CORS origins. This configures the Access-Control-Allow-Origin header.
	AllowOrigins AppSpecServiceCorsAllowOriginsPtrInput `pulumi:"allowOrigins"`
	// The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.
	ExposeHeaders pulumi.StringArrayInput `pulumi:"exposeHeaders"`
	// An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: `5h30m`.
	MaxAge pulumi.StringPtrInput `pulumi:"maxAge"`
}

func (AppSpecServiceCorsArgs) ElementType added in v4.7.0

func (AppSpecServiceCorsArgs) ElementType() reflect.Type

func (AppSpecServiceCorsArgs) ToAppSpecServiceCorsOutput added in v4.7.0

func (i AppSpecServiceCorsArgs) ToAppSpecServiceCorsOutput() AppSpecServiceCorsOutput

func (AppSpecServiceCorsArgs) ToAppSpecServiceCorsOutputWithContext added in v4.7.0

func (i AppSpecServiceCorsArgs) ToAppSpecServiceCorsOutputWithContext(ctx context.Context) AppSpecServiceCorsOutput

func (AppSpecServiceCorsArgs) ToAppSpecServiceCorsPtrOutput added in v4.7.0

func (i AppSpecServiceCorsArgs) ToAppSpecServiceCorsPtrOutput() AppSpecServiceCorsPtrOutput

func (AppSpecServiceCorsArgs) ToAppSpecServiceCorsPtrOutputWithContext added in v4.7.0

func (i AppSpecServiceCorsArgs) ToAppSpecServiceCorsPtrOutputWithContext(ctx context.Context) AppSpecServiceCorsPtrOutput

type AppSpecServiceCorsInput added in v4.7.0

type AppSpecServiceCorsInput interface {
	pulumi.Input

	ToAppSpecServiceCorsOutput() AppSpecServiceCorsOutput
	ToAppSpecServiceCorsOutputWithContext(context.Context) AppSpecServiceCorsOutput
}

AppSpecServiceCorsInput is an input type that accepts AppSpecServiceCorsArgs and AppSpecServiceCorsOutput values. You can construct a concrete instance of `AppSpecServiceCorsInput` via:

AppSpecServiceCorsArgs{...}

type AppSpecServiceCorsOutput added in v4.7.0

type AppSpecServiceCorsOutput struct{ *pulumi.OutputState }

func (AppSpecServiceCorsOutput) AllowCredentials added in v4.7.0

func (o AppSpecServiceCorsOutput) AllowCredentials() pulumi.BoolPtrOutput

Whether browsers should expose the response to the client-side JavaScript code when the request’s credentials mode is `include`. This configures the Access-Control-Allow-Credentials header.

func (AppSpecServiceCorsOutput) AllowHeaders added in v4.7.0

The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.

func (AppSpecServiceCorsOutput) AllowMethods added in v4.7.0

The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.

func (AppSpecServiceCorsOutput) AllowOrigins added in v4.7.0

The set of allowed CORS origins. This configures the Access-Control-Allow-Origin header.

func (AppSpecServiceCorsOutput) ElementType added in v4.7.0

func (AppSpecServiceCorsOutput) ElementType() reflect.Type

func (AppSpecServiceCorsOutput) ExposeHeaders added in v4.7.0

The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.

func (AppSpecServiceCorsOutput) MaxAge added in v4.7.0

An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: `5h30m`.

func (AppSpecServiceCorsOutput) ToAppSpecServiceCorsOutput added in v4.7.0

func (o AppSpecServiceCorsOutput) ToAppSpecServiceCorsOutput() AppSpecServiceCorsOutput

func (AppSpecServiceCorsOutput) ToAppSpecServiceCorsOutputWithContext added in v4.7.0

func (o AppSpecServiceCorsOutput) ToAppSpecServiceCorsOutputWithContext(ctx context.Context) AppSpecServiceCorsOutput

func (AppSpecServiceCorsOutput) ToAppSpecServiceCorsPtrOutput added in v4.7.0

func (o AppSpecServiceCorsOutput) ToAppSpecServiceCorsPtrOutput() AppSpecServiceCorsPtrOutput

func (AppSpecServiceCorsOutput) ToAppSpecServiceCorsPtrOutputWithContext added in v4.7.0

func (o AppSpecServiceCorsOutput) ToAppSpecServiceCorsPtrOutputWithContext(ctx context.Context) AppSpecServiceCorsPtrOutput

type AppSpecServiceCorsPtrInput added in v4.7.0

type AppSpecServiceCorsPtrInput interface {
	pulumi.Input

	ToAppSpecServiceCorsPtrOutput() AppSpecServiceCorsPtrOutput
	ToAppSpecServiceCorsPtrOutputWithContext(context.Context) AppSpecServiceCorsPtrOutput
}

AppSpecServiceCorsPtrInput is an input type that accepts AppSpecServiceCorsArgs, AppSpecServiceCorsPtr and AppSpecServiceCorsPtrOutput values. You can construct a concrete instance of `AppSpecServiceCorsPtrInput` via:

        AppSpecServiceCorsArgs{...}

or:

        nil

func AppSpecServiceCorsPtr added in v4.7.0

func AppSpecServiceCorsPtr(v *AppSpecServiceCorsArgs) AppSpecServiceCorsPtrInput

type AppSpecServiceCorsPtrOutput added in v4.7.0

type AppSpecServiceCorsPtrOutput struct{ *pulumi.OutputState }

func (AppSpecServiceCorsPtrOutput) AllowCredentials added in v4.7.0

func (o AppSpecServiceCorsPtrOutput) AllowCredentials() pulumi.BoolPtrOutput

Whether browsers should expose the response to the client-side JavaScript code when the request’s credentials mode is `include`. This configures the Access-Control-Allow-Credentials header.

func (AppSpecServiceCorsPtrOutput) AllowHeaders added in v4.7.0

The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.

func (AppSpecServiceCorsPtrOutput) AllowMethods added in v4.7.0

The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.

func (AppSpecServiceCorsPtrOutput) AllowOrigins added in v4.7.0

The set of allowed CORS origins. This configures the Access-Control-Allow-Origin header.

func (AppSpecServiceCorsPtrOutput) Elem added in v4.7.0

func (AppSpecServiceCorsPtrOutput) ElementType added in v4.7.0

func (AppSpecServiceCorsPtrOutput) ExposeHeaders added in v4.7.0

The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.

func (AppSpecServiceCorsPtrOutput) MaxAge added in v4.7.0

An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: `5h30m`.

func (AppSpecServiceCorsPtrOutput) ToAppSpecServiceCorsPtrOutput added in v4.7.0

func (o AppSpecServiceCorsPtrOutput) ToAppSpecServiceCorsPtrOutput() AppSpecServiceCorsPtrOutput

func (AppSpecServiceCorsPtrOutput) ToAppSpecServiceCorsPtrOutputWithContext added in v4.7.0

func (o AppSpecServiceCorsPtrOutput) ToAppSpecServiceCorsPtrOutputWithContext(ctx context.Context) AppSpecServiceCorsPtrOutput

type AppSpecServiceEnv

type AppSpecServiceEnv struct {
	// The name of the environment variable.
	Key *string `pulumi:"key"`
	// The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).
	Scope *string `pulumi:"scope"`
	// The type of the environment variable, `GENERAL` or `SECRET`.
	Type *string `pulumi:"type"`
	// The value of the environment variable.
	Value *string `pulumi:"value"`
}

type AppSpecServiceEnvArgs

type AppSpecServiceEnvArgs struct {
	// The name of the environment variable.
	Key pulumi.StringPtrInput `pulumi:"key"`
	// The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).
	Scope pulumi.StringPtrInput `pulumi:"scope"`
	// The type of the environment variable, `GENERAL` or `SECRET`.
	Type pulumi.StringPtrInput `pulumi:"type"`
	// The value of the environment variable.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (AppSpecServiceEnvArgs) ElementType

func (AppSpecServiceEnvArgs) ElementType() reflect.Type

func (AppSpecServiceEnvArgs) ToAppSpecServiceEnvOutput

func (i AppSpecServiceEnvArgs) ToAppSpecServiceEnvOutput() AppSpecServiceEnvOutput

func (AppSpecServiceEnvArgs) ToAppSpecServiceEnvOutputWithContext

func (i AppSpecServiceEnvArgs) ToAppSpecServiceEnvOutputWithContext(ctx context.Context) AppSpecServiceEnvOutput

type AppSpecServiceEnvArray

type AppSpecServiceEnvArray []AppSpecServiceEnvInput

func (AppSpecServiceEnvArray) ElementType

func (AppSpecServiceEnvArray) ElementType() reflect.Type

func (AppSpecServiceEnvArray) ToAppSpecServiceEnvArrayOutput

func (i AppSpecServiceEnvArray) ToAppSpecServiceEnvArrayOutput() AppSpecServiceEnvArrayOutput

func (AppSpecServiceEnvArray) ToAppSpecServiceEnvArrayOutputWithContext

func (i AppSpecServiceEnvArray) ToAppSpecServiceEnvArrayOutputWithContext(ctx context.Context) AppSpecServiceEnvArrayOutput

type AppSpecServiceEnvArrayInput

type AppSpecServiceEnvArrayInput interface {
	pulumi.Input

	ToAppSpecServiceEnvArrayOutput() AppSpecServiceEnvArrayOutput
	ToAppSpecServiceEnvArrayOutputWithContext(context.Context) AppSpecServiceEnvArrayOutput
}

AppSpecServiceEnvArrayInput is an input type that accepts AppSpecServiceEnvArray and AppSpecServiceEnvArrayOutput values. You can construct a concrete instance of `AppSpecServiceEnvArrayInput` via:

AppSpecServiceEnvArray{ AppSpecServiceEnvArgs{...} }

type AppSpecServiceEnvArrayOutput

type AppSpecServiceEnvArrayOutput struct{ *pulumi.OutputState }

func (AppSpecServiceEnvArrayOutput) ElementType

func (AppSpecServiceEnvArrayOutput) Index

func (AppSpecServiceEnvArrayOutput) ToAppSpecServiceEnvArrayOutput

func (o AppSpecServiceEnvArrayOutput) ToAppSpecServiceEnvArrayOutput() AppSpecServiceEnvArrayOutput

func (AppSpecServiceEnvArrayOutput) ToAppSpecServiceEnvArrayOutputWithContext

func (o AppSpecServiceEnvArrayOutput) ToAppSpecServiceEnvArrayOutputWithContext(ctx context.Context) AppSpecServiceEnvArrayOutput

type AppSpecServiceEnvInput

type AppSpecServiceEnvInput interface {
	pulumi.Input

	ToAppSpecServiceEnvOutput() AppSpecServiceEnvOutput
	ToAppSpecServiceEnvOutputWithContext(context.Context) AppSpecServiceEnvOutput
}

AppSpecServiceEnvInput is an input type that accepts AppSpecServiceEnvArgs and AppSpecServiceEnvOutput values. You can construct a concrete instance of `AppSpecServiceEnvInput` via:

AppSpecServiceEnvArgs{...}

type AppSpecServiceEnvOutput

type AppSpecServiceEnvOutput struct{ *pulumi.OutputState }

func (AppSpecServiceEnvOutput) ElementType

func (AppSpecServiceEnvOutput) ElementType() reflect.Type

func (AppSpecServiceEnvOutput) Key

The name of the environment variable.

func (AppSpecServiceEnvOutput) Scope

The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).

func (AppSpecServiceEnvOutput) ToAppSpecServiceEnvOutput

func (o AppSpecServiceEnvOutput) ToAppSpecServiceEnvOutput() AppSpecServiceEnvOutput

func (AppSpecServiceEnvOutput) ToAppSpecServiceEnvOutputWithContext

func (o AppSpecServiceEnvOutput) ToAppSpecServiceEnvOutputWithContext(ctx context.Context) AppSpecServiceEnvOutput

func (AppSpecServiceEnvOutput) Type

The type of the environment variable, `GENERAL` or `SECRET`.

func (AppSpecServiceEnvOutput) Value

The value of the environment variable.

type AppSpecServiceGit

type AppSpecServiceGit struct {
	// The name of the branch to use.
	Branch *string `pulumi:"branch"`
	// The clone URL of the repo.
	RepoCloneUrl *string `pulumi:"repoCloneUrl"`
}

type AppSpecServiceGitArgs

type AppSpecServiceGitArgs struct {
	// The name of the branch to use.
	Branch pulumi.StringPtrInput `pulumi:"branch"`
	// The clone URL of the repo.
	RepoCloneUrl pulumi.StringPtrInput `pulumi:"repoCloneUrl"`
}

func (AppSpecServiceGitArgs) ElementType

func (AppSpecServiceGitArgs) ElementType() reflect.Type

func (AppSpecServiceGitArgs) ToAppSpecServiceGitOutput

func (i AppSpecServiceGitArgs) ToAppSpecServiceGitOutput() AppSpecServiceGitOutput

func (AppSpecServiceGitArgs) ToAppSpecServiceGitOutputWithContext

func (i AppSpecServiceGitArgs) ToAppSpecServiceGitOutputWithContext(ctx context.Context) AppSpecServiceGitOutput

func (AppSpecServiceGitArgs) ToAppSpecServiceGitPtrOutput

func (i AppSpecServiceGitArgs) ToAppSpecServiceGitPtrOutput() AppSpecServiceGitPtrOutput

func (AppSpecServiceGitArgs) ToAppSpecServiceGitPtrOutputWithContext

func (i AppSpecServiceGitArgs) ToAppSpecServiceGitPtrOutputWithContext(ctx context.Context) AppSpecServiceGitPtrOutput

type AppSpecServiceGitInput

type AppSpecServiceGitInput interface {
	pulumi.Input

	ToAppSpecServiceGitOutput() AppSpecServiceGitOutput
	ToAppSpecServiceGitOutputWithContext(context.Context) AppSpecServiceGitOutput
}

AppSpecServiceGitInput is an input type that accepts AppSpecServiceGitArgs and AppSpecServiceGitOutput values. You can construct a concrete instance of `AppSpecServiceGitInput` via:

AppSpecServiceGitArgs{...}

type AppSpecServiceGitOutput

type AppSpecServiceGitOutput struct{ *pulumi.OutputState }

func (AppSpecServiceGitOutput) Branch

The name of the branch to use.

func (AppSpecServiceGitOutput) ElementType

func (AppSpecServiceGitOutput) ElementType() reflect.Type

func (AppSpecServiceGitOutput) RepoCloneUrl

The clone URL of the repo.

func (AppSpecServiceGitOutput) ToAppSpecServiceGitOutput

func (o AppSpecServiceGitOutput) ToAppSpecServiceGitOutput() AppSpecServiceGitOutput

func (AppSpecServiceGitOutput) ToAppSpecServiceGitOutputWithContext

func (o AppSpecServiceGitOutput) ToAppSpecServiceGitOutputWithContext(ctx context.Context) AppSpecServiceGitOutput

func (AppSpecServiceGitOutput) ToAppSpecServiceGitPtrOutput

func (o AppSpecServiceGitOutput) ToAppSpecServiceGitPtrOutput() AppSpecServiceGitPtrOutput

func (AppSpecServiceGitOutput) ToAppSpecServiceGitPtrOutputWithContext

func (o AppSpecServiceGitOutput) ToAppSpecServiceGitPtrOutputWithContext(ctx context.Context) AppSpecServiceGitPtrOutput

type AppSpecServiceGitPtrInput

type AppSpecServiceGitPtrInput interface {
	pulumi.Input

	ToAppSpecServiceGitPtrOutput() AppSpecServiceGitPtrOutput
	ToAppSpecServiceGitPtrOutputWithContext(context.Context) AppSpecServiceGitPtrOutput
}

AppSpecServiceGitPtrInput is an input type that accepts AppSpecServiceGitArgs, AppSpecServiceGitPtr and AppSpecServiceGitPtrOutput values. You can construct a concrete instance of `AppSpecServiceGitPtrInput` via:

        AppSpecServiceGitArgs{...}

or:

        nil

type AppSpecServiceGitPtrOutput

type AppSpecServiceGitPtrOutput struct{ *pulumi.OutputState }

func (AppSpecServiceGitPtrOutput) Branch

The name of the branch to use.

func (AppSpecServiceGitPtrOutput) Elem

func (AppSpecServiceGitPtrOutput) ElementType

func (AppSpecServiceGitPtrOutput) ElementType() reflect.Type

func (AppSpecServiceGitPtrOutput) RepoCloneUrl

The clone URL of the repo.

func (AppSpecServiceGitPtrOutput) ToAppSpecServiceGitPtrOutput

func (o AppSpecServiceGitPtrOutput) ToAppSpecServiceGitPtrOutput() AppSpecServiceGitPtrOutput

func (AppSpecServiceGitPtrOutput) ToAppSpecServiceGitPtrOutputWithContext

func (o AppSpecServiceGitPtrOutput) ToAppSpecServiceGitPtrOutputWithContext(ctx context.Context) AppSpecServiceGitPtrOutput

type AppSpecServiceGithub

type AppSpecServiceGithub struct {
	// The name of the branch to use.
	Branch *string `pulumi:"branch"`
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPush *bool `pulumi:"deployOnPush"`
	// The name of the repo in the format `owner/repo`.
	Repo *string `pulumi:"repo"`
}

type AppSpecServiceGithubArgs

type AppSpecServiceGithubArgs struct {
	// The name of the branch to use.
	Branch pulumi.StringPtrInput `pulumi:"branch"`
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPush pulumi.BoolPtrInput `pulumi:"deployOnPush"`
	// The name of the repo in the format `owner/repo`.
	Repo pulumi.StringPtrInput `pulumi:"repo"`
}

func (AppSpecServiceGithubArgs) ElementType

func (AppSpecServiceGithubArgs) ElementType() reflect.Type

func (AppSpecServiceGithubArgs) ToAppSpecServiceGithubOutput

func (i AppSpecServiceGithubArgs) ToAppSpecServiceGithubOutput() AppSpecServiceGithubOutput

func (AppSpecServiceGithubArgs) ToAppSpecServiceGithubOutputWithContext

func (i AppSpecServiceGithubArgs) ToAppSpecServiceGithubOutputWithContext(ctx context.Context) AppSpecServiceGithubOutput

func (AppSpecServiceGithubArgs) ToAppSpecServiceGithubPtrOutput

func (i AppSpecServiceGithubArgs) ToAppSpecServiceGithubPtrOutput() AppSpecServiceGithubPtrOutput

func (AppSpecServiceGithubArgs) ToAppSpecServiceGithubPtrOutputWithContext

func (i AppSpecServiceGithubArgs) ToAppSpecServiceGithubPtrOutputWithContext(ctx context.Context) AppSpecServiceGithubPtrOutput

type AppSpecServiceGithubInput

type AppSpecServiceGithubInput interface {
	pulumi.Input

	ToAppSpecServiceGithubOutput() AppSpecServiceGithubOutput
	ToAppSpecServiceGithubOutputWithContext(context.Context) AppSpecServiceGithubOutput
}

AppSpecServiceGithubInput is an input type that accepts AppSpecServiceGithubArgs and AppSpecServiceGithubOutput values. You can construct a concrete instance of `AppSpecServiceGithubInput` via:

AppSpecServiceGithubArgs{...}

type AppSpecServiceGithubOutput

type AppSpecServiceGithubOutput struct{ *pulumi.OutputState }

func (AppSpecServiceGithubOutput) Branch

The name of the branch to use.

func (AppSpecServiceGithubOutput) DeployOnPush

Whether to automatically deploy new commits made to the repo.

func (AppSpecServiceGithubOutput) ElementType

func (AppSpecServiceGithubOutput) ElementType() reflect.Type

func (AppSpecServiceGithubOutput) Repo

The name of the repo in the format `owner/repo`.

func (AppSpecServiceGithubOutput) ToAppSpecServiceGithubOutput

func (o AppSpecServiceGithubOutput) ToAppSpecServiceGithubOutput() AppSpecServiceGithubOutput

func (AppSpecServiceGithubOutput) ToAppSpecServiceGithubOutputWithContext

func (o AppSpecServiceGithubOutput) ToAppSpecServiceGithubOutputWithContext(ctx context.Context) AppSpecServiceGithubOutput

func (AppSpecServiceGithubOutput) ToAppSpecServiceGithubPtrOutput

func (o AppSpecServiceGithubOutput) ToAppSpecServiceGithubPtrOutput() AppSpecServiceGithubPtrOutput

func (AppSpecServiceGithubOutput) ToAppSpecServiceGithubPtrOutputWithContext

func (o AppSpecServiceGithubOutput) ToAppSpecServiceGithubPtrOutputWithContext(ctx context.Context) AppSpecServiceGithubPtrOutput

type AppSpecServiceGithubPtrInput

type AppSpecServiceGithubPtrInput interface {
	pulumi.Input

	ToAppSpecServiceGithubPtrOutput() AppSpecServiceGithubPtrOutput
	ToAppSpecServiceGithubPtrOutputWithContext(context.Context) AppSpecServiceGithubPtrOutput
}

AppSpecServiceGithubPtrInput is an input type that accepts AppSpecServiceGithubArgs, AppSpecServiceGithubPtr and AppSpecServiceGithubPtrOutput values. You can construct a concrete instance of `AppSpecServiceGithubPtrInput` via:

        AppSpecServiceGithubArgs{...}

or:

        nil

type AppSpecServiceGithubPtrOutput

type AppSpecServiceGithubPtrOutput struct{ *pulumi.OutputState }

func (AppSpecServiceGithubPtrOutput) Branch

The name of the branch to use.

func (AppSpecServiceGithubPtrOutput) DeployOnPush

Whether to automatically deploy new commits made to the repo.

func (AppSpecServiceGithubPtrOutput) Elem

func (AppSpecServiceGithubPtrOutput) ElementType

func (AppSpecServiceGithubPtrOutput) Repo

The name of the repo in the format `owner/repo`.

func (AppSpecServiceGithubPtrOutput) ToAppSpecServiceGithubPtrOutput

func (o AppSpecServiceGithubPtrOutput) ToAppSpecServiceGithubPtrOutput() AppSpecServiceGithubPtrOutput

func (AppSpecServiceGithubPtrOutput) ToAppSpecServiceGithubPtrOutputWithContext

func (o AppSpecServiceGithubPtrOutput) ToAppSpecServiceGithubPtrOutputWithContext(ctx context.Context) AppSpecServiceGithubPtrOutput

type AppSpecServiceGitlab

type AppSpecServiceGitlab struct {
	// The name of the branch to use.
	Branch *string `pulumi:"branch"`
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPush *bool `pulumi:"deployOnPush"`
	// The name of the repo in the format `owner/repo`.
	Repo *string `pulumi:"repo"`
}

type AppSpecServiceGitlabArgs

type AppSpecServiceGitlabArgs struct {
	// The name of the branch to use.
	Branch pulumi.StringPtrInput `pulumi:"branch"`
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPush pulumi.BoolPtrInput `pulumi:"deployOnPush"`
	// The name of the repo in the format `owner/repo`.
	Repo pulumi.StringPtrInput `pulumi:"repo"`
}

func (AppSpecServiceGitlabArgs) ElementType

func (AppSpecServiceGitlabArgs) ElementType() reflect.Type

func (AppSpecServiceGitlabArgs) ToAppSpecServiceGitlabOutput

func (i AppSpecServiceGitlabArgs) ToAppSpecServiceGitlabOutput() AppSpecServiceGitlabOutput

func (AppSpecServiceGitlabArgs) ToAppSpecServiceGitlabOutputWithContext

func (i AppSpecServiceGitlabArgs) ToAppSpecServiceGitlabOutputWithContext(ctx context.Context) AppSpecServiceGitlabOutput

func (AppSpecServiceGitlabArgs) ToAppSpecServiceGitlabPtrOutput

func (i AppSpecServiceGitlabArgs) ToAppSpecServiceGitlabPtrOutput() AppSpecServiceGitlabPtrOutput

func (AppSpecServiceGitlabArgs) ToAppSpecServiceGitlabPtrOutputWithContext

func (i AppSpecServiceGitlabArgs) ToAppSpecServiceGitlabPtrOutputWithContext(ctx context.Context) AppSpecServiceGitlabPtrOutput

type AppSpecServiceGitlabInput

type AppSpecServiceGitlabInput interface {
	pulumi.Input

	ToAppSpecServiceGitlabOutput() AppSpecServiceGitlabOutput
	ToAppSpecServiceGitlabOutputWithContext(context.Context) AppSpecServiceGitlabOutput
}

AppSpecServiceGitlabInput is an input type that accepts AppSpecServiceGitlabArgs and AppSpecServiceGitlabOutput values. You can construct a concrete instance of `AppSpecServiceGitlabInput` via:

AppSpecServiceGitlabArgs{...}

type AppSpecServiceGitlabOutput

type AppSpecServiceGitlabOutput struct{ *pulumi.OutputState }

func (AppSpecServiceGitlabOutput) Branch

The name of the branch to use.

func (AppSpecServiceGitlabOutput) DeployOnPush

Whether to automatically deploy new commits made to the repo.

func (AppSpecServiceGitlabOutput) ElementType

func (AppSpecServiceGitlabOutput) ElementType() reflect.Type

func (AppSpecServiceGitlabOutput) Repo

The name of the repo in the format `owner/repo`.

func (AppSpecServiceGitlabOutput) ToAppSpecServiceGitlabOutput

func (o AppSpecServiceGitlabOutput) ToAppSpecServiceGitlabOutput() AppSpecServiceGitlabOutput

func (AppSpecServiceGitlabOutput) ToAppSpecServiceGitlabOutputWithContext

func (o AppSpecServiceGitlabOutput) ToAppSpecServiceGitlabOutputWithContext(ctx context.Context) AppSpecServiceGitlabOutput

func (AppSpecServiceGitlabOutput) ToAppSpecServiceGitlabPtrOutput

func (o AppSpecServiceGitlabOutput) ToAppSpecServiceGitlabPtrOutput() AppSpecServiceGitlabPtrOutput

func (AppSpecServiceGitlabOutput) ToAppSpecServiceGitlabPtrOutputWithContext

func (o AppSpecServiceGitlabOutput) ToAppSpecServiceGitlabPtrOutputWithContext(ctx context.Context) AppSpecServiceGitlabPtrOutput

type AppSpecServiceGitlabPtrInput

type AppSpecServiceGitlabPtrInput interface {
	pulumi.Input

	ToAppSpecServiceGitlabPtrOutput() AppSpecServiceGitlabPtrOutput
	ToAppSpecServiceGitlabPtrOutputWithContext(context.Context) AppSpecServiceGitlabPtrOutput
}

AppSpecServiceGitlabPtrInput is an input type that accepts AppSpecServiceGitlabArgs, AppSpecServiceGitlabPtr and AppSpecServiceGitlabPtrOutput values. You can construct a concrete instance of `AppSpecServiceGitlabPtrInput` via:

        AppSpecServiceGitlabArgs{...}

or:

        nil

type AppSpecServiceGitlabPtrOutput

type AppSpecServiceGitlabPtrOutput struct{ *pulumi.OutputState }

func (AppSpecServiceGitlabPtrOutput) Branch

The name of the branch to use.

func (AppSpecServiceGitlabPtrOutput) DeployOnPush

Whether to automatically deploy new commits made to the repo.

func (AppSpecServiceGitlabPtrOutput) Elem

func (AppSpecServiceGitlabPtrOutput) ElementType

func (AppSpecServiceGitlabPtrOutput) Repo

The name of the repo in the format `owner/repo`.

func (AppSpecServiceGitlabPtrOutput) ToAppSpecServiceGitlabPtrOutput

func (o AppSpecServiceGitlabPtrOutput) ToAppSpecServiceGitlabPtrOutput() AppSpecServiceGitlabPtrOutput

func (AppSpecServiceGitlabPtrOutput) ToAppSpecServiceGitlabPtrOutputWithContext

func (o AppSpecServiceGitlabPtrOutput) ToAppSpecServiceGitlabPtrOutputWithContext(ctx context.Context) AppSpecServiceGitlabPtrOutput

type AppSpecServiceHealthCheck

type AppSpecServiceHealthCheck struct {
	// The number of failed health checks before considered unhealthy.
	FailureThreshold *int `pulumi:"failureThreshold"`
	// The route path used for the HTTP health check ping.
	HttpPath *string `pulumi:"httpPath"`
	// The number of seconds to wait before beginning health checks.
	InitialDelaySeconds *int `pulumi:"initialDelaySeconds"`
	// The number of seconds to wait between health checks.
	PeriodSeconds *int `pulumi:"periodSeconds"`
	// The health check will be performed on this port instead of component's HTTP port.
	Port *int `pulumi:"port"`
	// The number of successful health checks before considered healthy.
	SuccessThreshold *int `pulumi:"successThreshold"`
	// The number of seconds after which the check times out.
	TimeoutSeconds *int `pulumi:"timeoutSeconds"`
}

type AppSpecServiceHealthCheckArgs

type AppSpecServiceHealthCheckArgs struct {
	// The number of failed health checks before considered unhealthy.
	FailureThreshold pulumi.IntPtrInput `pulumi:"failureThreshold"`
	// The route path used for the HTTP health check ping.
	HttpPath pulumi.StringPtrInput `pulumi:"httpPath"`
	// The number of seconds to wait before beginning health checks.
	InitialDelaySeconds pulumi.IntPtrInput `pulumi:"initialDelaySeconds"`
	// The number of seconds to wait between health checks.
	PeriodSeconds pulumi.IntPtrInput `pulumi:"periodSeconds"`
	// The health check will be performed on this port instead of component's HTTP port.
	Port pulumi.IntPtrInput `pulumi:"port"`
	// The number of successful health checks before considered healthy.
	SuccessThreshold pulumi.IntPtrInput `pulumi:"successThreshold"`
	// The number of seconds after which the check times out.
	TimeoutSeconds pulumi.IntPtrInput `pulumi:"timeoutSeconds"`
}

func (AppSpecServiceHealthCheckArgs) ElementType

func (AppSpecServiceHealthCheckArgs) ToAppSpecServiceHealthCheckOutput

func (i AppSpecServiceHealthCheckArgs) ToAppSpecServiceHealthCheckOutput() AppSpecServiceHealthCheckOutput

func (AppSpecServiceHealthCheckArgs) ToAppSpecServiceHealthCheckOutputWithContext

func (i AppSpecServiceHealthCheckArgs) ToAppSpecServiceHealthCheckOutputWithContext(ctx context.Context) AppSpecServiceHealthCheckOutput

func (AppSpecServiceHealthCheckArgs) ToAppSpecServiceHealthCheckPtrOutput

func (i AppSpecServiceHealthCheckArgs) ToAppSpecServiceHealthCheckPtrOutput() AppSpecServiceHealthCheckPtrOutput

func (AppSpecServiceHealthCheckArgs) ToAppSpecServiceHealthCheckPtrOutputWithContext

func (i AppSpecServiceHealthCheckArgs) ToAppSpecServiceHealthCheckPtrOutputWithContext(ctx context.Context) AppSpecServiceHealthCheckPtrOutput

type AppSpecServiceHealthCheckInput

type AppSpecServiceHealthCheckInput interface {
	pulumi.Input

	ToAppSpecServiceHealthCheckOutput() AppSpecServiceHealthCheckOutput
	ToAppSpecServiceHealthCheckOutputWithContext(context.Context) AppSpecServiceHealthCheckOutput
}

AppSpecServiceHealthCheckInput is an input type that accepts AppSpecServiceHealthCheckArgs and AppSpecServiceHealthCheckOutput values. You can construct a concrete instance of `AppSpecServiceHealthCheckInput` via:

AppSpecServiceHealthCheckArgs{...}

type AppSpecServiceHealthCheckOutput

type AppSpecServiceHealthCheckOutput struct{ *pulumi.OutputState }

func (AppSpecServiceHealthCheckOutput) ElementType

func (AppSpecServiceHealthCheckOutput) FailureThreshold

The number of failed health checks before considered unhealthy.

func (AppSpecServiceHealthCheckOutput) HttpPath

The route path used for the HTTP health check ping.

func (AppSpecServiceHealthCheckOutput) InitialDelaySeconds

func (o AppSpecServiceHealthCheckOutput) InitialDelaySeconds() pulumi.IntPtrOutput

The number of seconds to wait before beginning health checks.

func (AppSpecServiceHealthCheckOutput) PeriodSeconds

The number of seconds to wait between health checks.

func (AppSpecServiceHealthCheckOutput) Port added in v4.25.0

The health check will be performed on this port instead of component's HTTP port.

func (AppSpecServiceHealthCheckOutput) SuccessThreshold

The number of successful health checks before considered healthy.

func (AppSpecServiceHealthCheckOutput) TimeoutSeconds

The number of seconds after which the check times out.

func (AppSpecServiceHealthCheckOutput) ToAppSpecServiceHealthCheckOutput

func (o AppSpecServiceHealthCheckOutput) ToAppSpecServiceHealthCheckOutput() AppSpecServiceHealthCheckOutput

func (AppSpecServiceHealthCheckOutput) ToAppSpecServiceHealthCheckOutputWithContext

func (o AppSpecServiceHealthCheckOutput) ToAppSpecServiceHealthCheckOutputWithContext(ctx context.Context) AppSpecServiceHealthCheckOutput

func (AppSpecServiceHealthCheckOutput) ToAppSpecServiceHealthCheckPtrOutput

func (o AppSpecServiceHealthCheckOutput) ToAppSpecServiceHealthCheckPtrOutput() AppSpecServiceHealthCheckPtrOutput

func (AppSpecServiceHealthCheckOutput) ToAppSpecServiceHealthCheckPtrOutputWithContext

func (o AppSpecServiceHealthCheckOutput) ToAppSpecServiceHealthCheckPtrOutputWithContext(ctx context.Context) AppSpecServiceHealthCheckPtrOutput

type AppSpecServiceHealthCheckPtrInput

type AppSpecServiceHealthCheckPtrInput interface {
	pulumi.Input

	ToAppSpecServiceHealthCheckPtrOutput() AppSpecServiceHealthCheckPtrOutput
	ToAppSpecServiceHealthCheckPtrOutputWithContext(context.Context) AppSpecServiceHealthCheckPtrOutput
}

AppSpecServiceHealthCheckPtrInput is an input type that accepts AppSpecServiceHealthCheckArgs, AppSpecServiceHealthCheckPtr and AppSpecServiceHealthCheckPtrOutput values. You can construct a concrete instance of `AppSpecServiceHealthCheckPtrInput` via:

        AppSpecServiceHealthCheckArgs{...}

or:

        nil

type AppSpecServiceHealthCheckPtrOutput

type AppSpecServiceHealthCheckPtrOutput struct{ *pulumi.OutputState }

func (AppSpecServiceHealthCheckPtrOutput) Elem

func (AppSpecServiceHealthCheckPtrOutput) ElementType

func (AppSpecServiceHealthCheckPtrOutput) FailureThreshold

The number of failed health checks before considered unhealthy.

func (AppSpecServiceHealthCheckPtrOutput) HttpPath

The route path used for the HTTP health check ping.

func (AppSpecServiceHealthCheckPtrOutput) InitialDelaySeconds

func (o AppSpecServiceHealthCheckPtrOutput) InitialDelaySeconds() pulumi.IntPtrOutput

The number of seconds to wait before beginning health checks.

func (AppSpecServiceHealthCheckPtrOutput) PeriodSeconds

The number of seconds to wait between health checks.

func (AppSpecServiceHealthCheckPtrOutput) Port added in v4.25.0

The health check will be performed on this port instead of component's HTTP port.

func (AppSpecServiceHealthCheckPtrOutput) SuccessThreshold

The number of successful health checks before considered healthy.

func (AppSpecServiceHealthCheckPtrOutput) TimeoutSeconds

The number of seconds after which the check times out.

func (AppSpecServiceHealthCheckPtrOutput) ToAppSpecServiceHealthCheckPtrOutput

func (o AppSpecServiceHealthCheckPtrOutput) ToAppSpecServiceHealthCheckPtrOutput() AppSpecServiceHealthCheckPtrOutput

func (AppSpecServiceHealthCheckPtrOutput) ToAppSpecServiceHealthCheckPtrOutputWithContext

func (o AppSpecServiceHealthCheckPtrOutput) ToAppSpecServiceHealthCheckPtrOutputWithContext(ctx context.Context) AppSpecServiceHealthCheckPtrOutput

type AppSpecServiceImage

type AppSpecServiceImage struct {
	// Configures automatically deploying images pushed to DOCR.
	DeployOnPushes []AppSpecServiceImageDeployOnPush `pulumi:"deployOnPushes"`
	// The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.
	Registry *string `pulumi:"registry"`
	// Access credentials for third-party registries
	RegistryCredentials *string `pulumi:"registryCredentials"`
	// The registry type. One of `DOCR` (DigitalOcean container registry) or `DOCKER_HUB`.
	RegistryType string `pulumi:"registryType"`
	// The repository name.
	Repository string `pulumi:"repository"`
	// The repository tag. Defaults to `latest` if not provided.
	Tag *string `pulumi:"tag"`
}

type AppSpecServiceImageArgs

type AppSpecServiceImageArgs struct {
	// Configures automatically deploying images pushed to DOCR.
	DeployOnPushes AppSpecServiceImageDeployOnPushArrayInput `pulumi:"deployOnPushes"`
	// The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.
	Registry pulumi.StringPtrInput `pulumi:"registry"`
	// Access credentials for third-party registries
	RegistryCredentials pulumi.StringPtrInput `pulumi:"registryCredentials"`
	// The registry type. One of `DOCR` (DigitalOcean container registry) or `DOCKER_HUB`.
	RegistryType pulumi.StringInput `pulumi:"registryType"`
	// The repository name.
	Repository pulumi.StringInput `pulumi:"repository"`
	// The repository tag. Defaults to `latest` if not provided.
	Tag pulumi.StringPtrInput `pulumi:"tag"`
}

func (AppSpecServiceImageArgs) ElementType

func (AppSpecServiceImageArgs) ElementType() reflect.Type

func (AppSpecServiceImageArgs) ToAppSpecServiceImageOutput

func (i AppSpecServiceImageArgs) ToAppSpecServiceImageOutput() AppSpecServiceImageOutput

func (AppSpecServiceImageArgs) ToAppSpecServiceImageOutputWithContext

func (i AppSpecServiceImageArgs) ToAppSpecServiceImageOutputWithContext(ctx context.Context) AppSpecServiceImageOutput

func (AppSpecServiceImageArgs) ToAppSpecServiceImagePtrOutput

func (i AppSpecServiceImageArgs) ToAppSpecServiceImagePtrOutput() AppSpecServiceImagePtrOutput

func (AppSpecServiceImageArgs) ToAppSpecServiceImagePtrOutputWithContext

func (i AppSpecServiceImageArgs) ToAppSpecServiceImagePtrOutputWithContext(ctx context.Context) AppSpecServiceImagePtrOutput

type AppSpecServiceImageDeployOnPush added in v4.16.0

type AppSpecServiceImageDeployOnPush struct {
	// Whether to automatically deploy images pushed to DOCR.
	Enabled *bool `pulumi:"enabled"`
}

type AppSpecServiceImageDeployOnPushArgs added in v4.16.0

type AppSpecServiceImageDeployOnPushArgs struct {
	// Whether to automatically deploy images pushed to DOCR.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
}

func (AppSpecServiceImageDeployOnPushArgs) ElementType added in v4.16.0

func (AppSpecServiceImageDeployOnPushArgs) ToAppSpecServiceImageDeployOnPushOutput added in v4.16.0

func (i AppSpecServiceImageDeployOnPushArgs) ToAppSpecServiceImageDeployOnPushOutput() AppSpecServiceImageDeployOnPushOutput

func (AppSpecServiceImageDeployOnPushArgs) ToAppSpecServiceImageDeployOnPushOutputWithContext added in v4.16.0

func (i AppSpecServiceImageDeployOnPushArgs) ToAppSpecServiceImageDeployOnPushOutputWithContext(ctx context.Context) AppSpecServiceImageDeployOnPushOutput

type AppSpecServiceImageDeployOnPushArray added in v4.16.0

type AppSpecServiceImageDeployOnPushArray []AppSpecServiceImageDeployOnPushInput

func (AppSpecServiceImageDeployOnPushArray) ElementType added in v4.16.0

func (AppSpecServiceImageDeployOnPushArray) ToAppSpecServiceImageDeployOnPushArrayOutput added in v4.16.0

func (i AppSpecServiceImageDeployOnPushArray) ToAppSpecServiceImageDeployOnPushArrayOutput() AppSpecServiceImageDeployOnPushArrayOutput

func (AppSpecServiceImageDeployOnPushArray) ToAppSpecServiceImageDeployOnPushArrayOutputWithContext added in v4.16.0

func (i AppSpecServiceImageDeployOnPushArray) ToAppSpecServiceImageDeployOnPushArrayOutputWithContext(ctx context.Context) AppSpecServiceImageDeployOnPushArrayOutput

type AppSpecServiceImageDeployOnPushArrayInput added in v4.16.0

type AppSpecServiceImageDeployOnPushArrayInput interface {
	pulumi.Input

	ToAppSpecServiceImageDeployOnPushArrayOutput() AppSpecServiceImageDeployOnPushArrayOutput
	ToAppSpecServiceImageDeployOnPushArrayOutputWithContext(context.Context) AppSpecServiceImageDeployOnPushArrayOutput
}

AppSpecServiceImageDeployOnPushArrayInput is an input type that accepts AppSpecServiceImageDeployOnPushArray and AppSpecServiceImageDeployOnPushArrayOutput values. You can construct a concrete instance of `AppSpecServiceImageDeployOnPushArrayInput` via:

AppSpecServiceImageDeployOnPushArray{ AppSpecServiceImageDeployOnPushArgs{...} }

type AppSpecServiceImageDeployOnPushArrayOutput added in v4.16.0

type AppSpecServiceImageDeployOnPushArrayOutput struct{ *pulumi.OutputState }

func (AppSpecServiceImageDeployOnPushArrayOutput) ElementType added in v4.16.0

func (AppSpecServiceImageDeployOnPushArrayOutput) Index added in v4.16.0

func (AppSpecServiceImageDeployOnPushArrayOutput) ToAppSpecServiceImageDeployOnPushArrayOutput added in v4.16.0

func (o AppSpecServiceImageDeployOnPushArrayOutput) ToAppSpecServiceImageDeployOnPushArrayOutput() AppSpecServiceImageDeployOnPushArrayOutput

func (AppSpecServiceImageDeployOnPushArrayOutput) ToAppSpecServiceImageDeployOnPushArrayOutputWithContext added in v4.16.0

func (o AppSpecServiceImageDeployOnPushArrayOutput) ToAppSpecServiceImageDeployOnPushArrayOutputWithContext(ctx context.Context) AppSpecServiceImageDeployOnPushArrayOutput

type AppSpecServiceImageDeployOnPushInput added in v4.16.0

type AppSpecServiceImageDeployOnPushInput interface {
	pulumi.Input

	ToAppSpecServiceImageDeployOnPushOutput() AppSpecServiceImageDeployOnPushOutput
	ToAppSpecServiceImageDeployOnPushOutputWithContext(context.Context) AppSpecServiceImageDeployOnPushOutput
}

AppSpecServiceImageDeployOnPushInput is an input type that accepts AppSpecServiceImageDeployOnPushArgs and AppSpecServiceImageDeployOnPushOutput values. You can construct a concrete instance of `AppSpecServiceImageDeployOnPushInput` via:

AppSpecServiceImageDeployOnPushArgs{...}

type AppSpecServiceImageDeployOnPushOutput added in v4.16.0

type AppSpecServiceImageDeployOnPushOutput struct{ *pulumi.OutputState }

func (AppSpecServiceImageDeployOnPushOutput) ElementType added in v4.16.0

func (AppSpecServiceImageDeployOnPushOutput) Enabled added in v4.16.0

Whether to automatically deploy images pushed to DOCR.

func (AppSpecServiceImageDeployOnPushOutput) ToAppSpecServiceImageDeployOnPushOutput added in v4.16.0

func (o AppSpecServiceImageDeployOnPushOutput) ToAppSpecServiceImageDeployOnPushOutput() AppSpecServiceImageDeployOnPushOutput

func (AppSpecServiceImageDeployOnPushOutput) ToAppSpecServiceImageDeployOnPushOutputWithContext added in v4.16.0

func (o AppSpecServiceImageDeployOnPushOutput) ToAppSpecServiceImageDeployOnPushOutputWithContext(ctx context.Context) AppSpecServiceImageDeployOnPushOutput

type AppSpecServiceImageInput

type AppSpecServiceImageInput interface {
	pulumi.Input

	ToAppSpecServiceImageOutput() AppSpecServiceImageOutput
	ToAppSpecServiceImageOutputWithContext(context.Context) AppSpecServiceImageOutput
}

AppSpecServiceImageInput is an input type that accepts AppSpecServiceImageArgs and AppSpecServiceImageOutput values. You can construct a concrete instance of `AppSpecServiceImageInput` via:

AppSpecServiceImageArgs{...}

type AppSpecServiceImageOutput

type AppSpecServiceImageOutput struct{ *pulumi.OutputState }

func (AppSpecServiceImageOutput) DeployOnPushes added in v4.16.0

Configures automatically deploying images pushed to DOCR.

func (AppSpecServiceImageOutput) ElementType

func (AppSpecServiceImageOutput) ElementType() reflect.Type

func (AppSpecServiceImageOutput) Registry

The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.

func (AppSpecServiceImageOutput) RegistryCredentials added in v4.28.0

func (o AppSpecServiceImageOutput) RegistryCredentials() pulumi.StringPtrOutput

Access credentials for third-party registries

func (AppSpecServiceImageOutput) RegistryType

The registry type. One of `DOCR` (DigitalOcean container registry) or `DOCKER_HUB`.

func (AppSpecServiceImageOutput) Repository

The repository name.

func (AppSpecServiceImageOutput) Tag

The repository tag. Defaults to `latest` if not provided.

func (AppSpecServiceImageOutput) ToAppSpecServiceImageOutput

func (o AppSpecServiceImageOutput) ToAppSpecServiceImageOutput() AppSpecServiceImageOutput

func (AppSpecServiceImageOutput) ToAppSpecServiceImageOutputWithContext

func (o AppSpecServiceImageOutput) ToAppSpecServiceImageOutputWithContext(ctx context.Context) AppSpecServiceImageOutput

func (AppSpecServiceImageOutput) ToAppSpecServiceImagePtrOutput

func (o AppSpecServiceImageOutput) ToAppSpecServiceImagePtrOutput() AppSpecServiceImagePtrOutput

func (AppSpecServiceImageOutput) ToAppSpecServiceImagePtrOutputWithContext

func (o AppSpecServiceImageOutput) ToAppSpecServiceImagePtrOutputWithContext(ctx context.Context) AppSpecServiceImagePtrOutput

type AppSpecServiceImagePtrInput

type AppSpecServiceImagePtrInput interface {
	pulumi.Input

	ToAppSpecServiceImagePtrOutput() AppSpecServiceImagePtrOutput
	ToAppSpecServiceImagePtrOutputWithContext(context.Context) AppSpecServiceImagePtrOutput
}

AppSpecServiceImagePtrInput is an input type that accepts AppSpecServiceImageArgs, AppSpecServiceImagePtr and AppSpecServiceImagePtrOutput values. You can construct a concrete instance of `AppSpecServiceImagePtrInput` via:

        AppSpecServiceImageArgs{...}

or:

        nil

type AppSpecServiceImagePtrOutput

type AppSpecServiceImagePtrOutput struct{ *pulumi.OutputState }

func (AppSpecServiceImagePtrOutput) DeployOnPushes added in v4.16.0

Configures automatically deploying images pushed to DOCR.

func (AppSpecServiceImagePtrOutput) Elem

func (AppSpecServiceImagePtrOutput) ElementType

func (AppSpecServiceImagePtrOutput) Registry

The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.

func (AppSpecServiceImagePtrOutput) RegistryCredentials added in v4.28.0

func (o AppSpecServiceImagePtrOutput) RegistryCredentials() pulumi.StringPtrOutput

Access credentials for third-party registries

func (AppSpecServiceImagePtrOutput) RegistryType

The registry type. One of `DOCR` (DigitalOcean container registry) or `DOCKER_HUB`.

func (AppSpecServiceImagePtrOutput) Repository

The repository name.

func (AppSpecServiceImagePtrOutput) Tag

The repository tag. Defaults to `latest` if not provided.

func (AppSpecServiceImagePtrOutput) ToAppSpecServiceImagePtrOutput

func (o AppSpecServiceImagePtrOutput) ToAppSpecServiceImagePtrOutput() AppSpecServiceImagePtrOutput

func (AppSpecServiceImagePtrOutput) ToAppSpecServiceImagePtrOutputWithContext

func (o AppSpecServiceImagePtrOutput) ToAppSpecServiceImagePtrOutputWithContext(ctx context.Context) AppSpecServiceImagePtrOutput

type AppSpecServiceInput

type AppSpecServiceInput interface {
	pulumi.Input

	ToAppSpecServiceOutput() AppSpecServiceOutput
	ToAppSpecServiceOutputWithContext(context.Context) AppSpecServiceOutput
}

AppSpecServiceInput is an input type that accepts AppSpecServiceArgs and AppSpecServiceOutput values. You can construct a concrete instance of `AppSpecServiceInput` via:

AppSpecServiceArgs{...}

type AppSpecServiceLogDestination added in v4.12.0

type AppSpecServiceLogDestination struct {
	// Datadog configuration.
	Datadog *AppSpecServiceLogDestinationDatadog `pulumi:"datadog"`
	// Logtail configuration.
	Logtail *AppSpecServiceLogDestinationLogtail `pulumi:"logtail"`
	// Name of the log destination. Minimum length: 2. Maximum length: 42.
	Name string `pulumi:"name"`
	// Papertrail configuration.
	Papertrail *AppSpecServiceLogDestinationPapertrail `pulumi:"papertrail"`
}

type AppSpecServiceLogDestinationArgs added in v4.12.0

type AppSpecServiceLogDestinationArgs struct {
	// Datadog configuration.
	Datadog AppSpecServiceLogDestinationDatadogPtrInput `pulumi:"datadog"`
	// Logtail configuration.
	Logtail AppSpecServiceLogDestinationLogtailPtrInput `pulumi:"logtail"`
	// Name of the log destination. Minimum length: 2. Maximum length: 42.
	Name pulumi.StringInput `pulumi:"name"`
	// Papertrail configuration.
	Papertrail AppSpecServiceLogDestinationPapertrailPtrInput `pulumi:"papertrail"`
}

func (AppSpecServiceLogDestinationArgs) ElementType added in v4.12.0

func (AppSpecServiceLogDestinationArgs) ToAppSpecServiceLogDestinationOutput added in v4.12.0

func (i AppSpecServiceLogDestinationArgs) ToAppSpecServiceLogDestinationOutput() AppSpecServiceLogDestinationOutput

func (AppSpecServiceLogDestinationArgs) ToAppSpecServiceLogDestinationOutputWithContext added in v4.12.0

func (i AppSpecServiceLogDestinationArgs) ToAppSpecServiceLogDestinationOutputWithContext(ctx context.Context) AppSpecServiceLogDestinationOutput

type AppSpecServiceLogDestinationArray added in v4.12.0

type AppSpecServiceLogDestinationArray []AppSpecServiceLogDestinationInput

func (AppSpecServiceLogDestinationArray) ElementType added in v4.12.0

func (AppSpecServiceLogDestinationArray) ToAppSpecServiceLogDestinationArrayOutput added in v4.12.0

func (i AppSpecServiceLogDestinationArray) ToAppSpecServiceLogDestinationArrayOutput() AppSpecServiceLogDestinationArrayOutput

func (AppSpecServiceLogDestinationArray) ToAppSpecServiceLogDestinationArrayOutputWithContext added in v4.12.0

func (i AppSpecServiceLogDestinationArray) ToAppSpecServiceLogDestinationArrayOutputWithContext(ctx context.Context) AppSpecServiceLogDestinationArrayOutput

type AppSpecServiceLogDestinationArrayInput added in v4.12.0

type AppSpecServiceLogDestinationArrayInput interface {
	pulumi.Input

	ToAppSpecServiceLogDestinationArrayOutput() AppSpecServiceLogDestinationArrayOutput
	ToAppSpecServiceLogDestinationArrayOutputWithContext(context.Context) AppSpecServiceLogDestinationArrayOutput
}

AppSpecServiceLogDestinationArrayInput is an input type that accepts AppSpecServiceLogDestinationArray and AppSpecServiceLogDestinationArrayOutput values. You can construct a concrete instance of `AppSpecServiceLogDestinationArrayInput` via:

AppSpecServiceLogDestinationArray{ AppSpecServiceLogDestinationArgs{...} }

type AppSpecServiceLogDestinationArrayOutput added in v4.12.0

type AppSpecServiceLogDestinationArrayOutput struct{ *pulumi.OutputState }

func (AppSpecServiceLogDestinationArrayOutput) ElementType added in v4.12.0

func (AppSpecServiceLogDestinationArrayOutput) Index added in v4.12.0

func (AppSpecServiceLogDestinationArrayOutput) ToAppSpecServiceLogDestinationArrayOutput added in v4.12.0

func (o AppSpecServiceLogDestinationArrayOutput) ToAppSpecServiceLogDestinationArrayOutput() AppSpecServiceLogDestinationArrayOutput

func (AppSpecServiceLogDestinationArrayOutput) ToAppSpecServiceLogDestinationArrayOutputWithContext added in v4.12.0

func (o AppSpecServiceLogDestinationArrayOutput) ToAppSpecServiceLogDestinationArrayOutputWithContext(ctx context.Context) AppSpecServiceLogDestinationArrayOutput

type AppSpecServiceLogDestinationDatadog added in v4.12.0

type AppSpecServiceLogDestinationDatadog struct {
	// Datadog API key.
	ApiKey string `pulumi:"apiKey"`
	// Datadog HTTP log intake endpoint.
	Endpoint *string `pulumi:"endpoint"`
}

type AppSpecServiceLogDestinationDatadogArgs added in v4.12.0

type AppSpecServiceLogDestinationDatadogArgs struct {
	// Datadog API key.
	ApiKey pulumi.StringInput `pulumi:"apiKey"`
	// Datadog HTTP log intake endpoint.
	Endpoint pulumi.StringPtrInput `pulumi:"endpoint"`
}

func (AppSpecServiceLogDestinationDatadogArgs) ElementType added in v4.12.0

func (AppSpecServiceLogDestinationDatadogArgs) ToAppSpecServiceLogDestinationDatadogOutput added in v4.12.0

func (i AppSpecServiceLogDestinationDatadogArgs) ToAppSpecServiceLogDestinationDatadogOutput() AppSpecServiceLogDestinationDatadogOutput

func (AppSpecServiceLogDestinationDatadogArgs) ToAppSpecServiceLogDestinationDatadogOutputWithContext added in v4.12.0

func (i AppSpecServiceLogDestinationDatadogArgs) ToAppSpecServiceLogDestinationDatadogOutputWithContext(ctx context.Context) AppSpecServiceLogDestinationDatadogOutput

func (AppSpecServiceLogDestinationDatadogArgs) ToAppSpecServiceLogDestinationDatadogPtrOutput added in v4.12.0

func (i AppSpecServiceLogDestinationDatadogArgs) ToAppSpecServiceLogDestinationDatadogPtrOutput() AppSpecServiceLogDestinationDatadogPtrOutput

func (AppSpecServiceLogDestinationDatadogArgs) ToAppSpecServiceLogDestinationDatadogPtrOutputWithContext added in v4.12.0

func (i AppSpecServiceLogDestinationDatadogArgs) ToAppSpecServiceLogDestinationDatadogPtrOutputWithContext(ctx context.Context) AppSpecServiceLogDestinationDatadogPtrOutput

type AppSpecServiceLogDestinationDatadogInput added in v4.12.0

type AppSpecServiceLogDestinationDatadogInput interface {
	pulumi.Input

	ToAppSpecServiceLogDestinationDatadogOutput() AppSpecServiceLogDestinationDatadogOutput
	ToAppSpecServiceLogDestinationDatadogOutputWithContext(context.Context) AppSpecServiceLogDestinationDatadogOutput
}

AppSpecServiceLogDestinationDatadogInput is an input type that accepts AppSpecServiceLogDestinationDatadogArgs and AppSpecServiceLogDestinationDatadogOutput values. You can construct a concrete instance of `AppSpecServiceLogDestinationDatadogInput` via:

AppSpecServiceLogDestinationDatadogArgs{...}

type AppSpecServiceLogDestinationDatadogOutput added in v4.12.0

type AppSpecServiceLogDestinationDatadogOutput struct{ *pulumi.OutputState }

func (AppSpecServiceLogDestinationDatadogOutput) ApiKey added in v4.12.0

Datadog API key.

func (AppSpecServiceLogDestinationDatadogOutput) ElementType added in v4.12.0

func (AppSpecServiceLogDestinationDatadogOutput) Endpoint added in v4.12.0

Datadog HTTP log intake endpoint.

func (AppSpecServiceLogDestinationDatadogOutput) ToAppSpecServiceLogDestinationDatadogOutput added in v4.12.0

func (o AppSpecServiceLogDestinationDatadogOutput) ToAppSpecServiceLogDestinationDatadogOutput() AppSpecServiceLogDestinationDatadogOutput

func (AppSpecServiceLogDestinationDatadogOutput) ToAppSpecServiceLogDestinationDatadogOutputWithContext added in v4.12.0

func (o AppSpecServiceLogDestinationDatadogOutput) ToAppSpecServiceLogDestinationDatadogOutputWithContext(ctx context.Context) AppSpecServiceLogDestinationDatadogOutput

func (AppSpecServiceLogDestinationDatadogOutput) ToAppSpecServiceLogDestinationDatadogPtrOutput added in v4.12.0

func (o AppSpecServiceLogDestinationDatadogOutput) ToAppSpecServiceLogDestinationDatadogPtrOutput() AppSpecServiceLogDestinationDatadogPtrOutput

func (AppSpecServiceLogDestinationDatadogOutput) ToAppSpecServiceLogDestinationDatadogPtrOutputWithContext added in v4.12.0

func (o AppSpecServiceLogDestinationDatadogOutput) ToAppSpecServiceLogDestinationDatadogPtrOutputWithContext(ctx context.Context) AppSpecServiceLogDestinationDatadogPtrOutput

type AppSpecServiceLogDestinationDatadogPtrInput added in v4.12.0

type AppSpecServiceLogDestinationDatadogPtrInput interface {
	pulumi.Input

	ToAppSpecServiceLogDestinationDatadogPtrOutput() AppSpecServiceLogDestinationDatadogPtrOutput
	ToAppSpecServiceLogDestinationDatadogPtrOutputWithContext(context.Context) AppSpecServiceLogDestinationDatadogPtrOutput
}

AppSpecServiceLogDestinationDatadogPtrInput is an input type that accepts AppSpecServiceLogDestinationDatadogArgs, AppSpecServiceLogDestinationDatadogPtr and AppSpecServiceLogDestinationDatadogPtrOutput values. You can construct a concrete instance of `AppSpecServiceLogDestinationDatadogPtrInput` via:

        AppSpecServiceLogDestinationDatadogArgs{...}

or:

        nil

type AppSpecServiceLogDestinationDatadogPtrOutput added in v4.12.0

type AppSpecServiceLogDestinationDatadogPtrOutput struct{ *pulumi.OutputState }

func (AppSpecServiceLogDestinationDatadogPtrOutput) ApiKey added in v4.12.0

Datadog API key.

func (AppSpecServiceLogDestinationDatadogPtrOutput) Elem added in v4.12.0

func (AppSpecServiceLogDestinationDatadogPtrOutput) ElementType added in v4.12.0

func (AppSpecServiceLogDestinationDatadogPtrOutput) Endpoint added in v4.12.0

Datadog HTTP log intake endpoint.

func (AppSpecServiceLogDestinationDatadogPtrOutput) ToAppSpecServiceLogDestinationDatadogPtrOutput added in v4.12.0

func (o AppSpecServiceLogDestinationDatadogPtrOutput) ToAppSpecServiceLogDestinationDatadogPtrOutput() AppSpecServiceLogDestinationDatadogPtrOutput

func (AppSpecServiceLogDestinationDatadogPtrOutput) ToAppSpecServiceLogDestinationDatadogPtrOutputWithContext added in v4.12.0

func (o AppSpecServiceLogDestinationDatadogPtrOutput) ToAppSpecServiceLogDestinationDatadogPtrOutputWithContext(ctx context.Context) AppSpecServiceLogDestinationDatadogPtrOutput

type AppSpecServiceLogDestinationInput added in v4.12.0

type AppSpecServiceLogDestinationInput interface {
	pulumi.Input

	ToAppSpecServiceLogDestinationOutput() AppSpecServiceLogDestinationOutput
	ToAppSpecServiceLogDestinationOutputWithContext(context.Context) AppSpecServiceLogDestinationOutput
}

AppSpecServiceLogDestinationInput is an input type that accepts AppSpecServiceLogDestinationArgs and AppSpecServiceLogDestinationOutput values. You can construct a concrete instance of `AppSpecServiceLogDestinationInput` via:

AppSpecServiceLogDestinationArgs{...}

type AppSpecServiceLogDestinationLogtail added in v4.12.0

type AppSpecServiceLogDestinationLogtail struct {
	// Logtail token.
	Token string `pulumi:"token"`
}

type AppSpecServiceLogDestinationLogtailArgs added in v4.12.0

type AppSpecServiceLogDestinationLogtailArgs struct {
	// Logtail token.
	Token pulumi.StringInput `pulumi:"token"`
}

func (AppSpecServiceLogDestinationLogtailArgs) ElementType added in v4.12.0

func (AppSpecServiceLogDestinationLogtailArgs) ToAppSpecServiceLogDestinationLogtailOutput added in v4.12.0

func (i AppSpecServiceLogDestinationLogtailArgs) ToAppSpecServiceLogDestinationLogtailOutput() AppSpecServiceLogDestinationLogtailOutput

func (AppSpecServiceLogDestinationLogtailArgs) ToAppSpecServiceLogDestinationLogtailOutputWithContext added in v4.12.0

func (i AppSpecServiceLogDestinationLogtailArgs) ToAppSpecServiceLogDestinationLogtailOutputWithContext(ctx context.Context) AppSpecServiceLogDestinationLogtailOutput

func (AppSpecServiceLogDestinationLogtailArgs) ToAppSpecServiceLogDestinationLogtailPtrOutput added in v4.12.0

func (i AppSpecServiceLogDestinationLogtailArgs) ToAppSpecServiceLogDestinationLogtailPtrOutput() AppSpecServiceLogDestinationLogtailPtrOutput

func (AppSpecServiceLogDestinationLogtailArgs) ToAppSpecServiceLogDestinationLogtailPtrOutputWithContext added in v4.12.0

func (i AppSpecServiceLogDestinationLogtailArgs) ToAppSpecServiceLogDestinationLogtailPtrOutputWithContext(ctx context.Context) AppSpecServiceLogDestinationLogtailPtrOutput

type AppSpecServiceLogDestinationLogtailInput added in v4.12.0

type AppSpecServiceLogDestinationLogtailInput interface {
	pulumi.Input

	ToAppSpecServiceLogDestinationLogtailOutput() AppSpecServiceLogDestinationLogtailOutput
	ToAppSpecServiceLogDestinationLogtailOutputWithContext(context.Context) AppSpecServiceLogDestinationLogtailOutput
}

AppSpecServiceLogDestinationLogtailInput is an input type that accepts AppSpecServiceLogDestinationLogtailArgs and AppSpecServiceLogDestinationLogtailOutput values. You can construct a concrete instance of `AppSpecServiceLogDestinationLogtailInput` via:

AppSpecServiceLogDestinationLogtailArgs{...}

type AppSpecServiceLogDestinationLogtailOutput added in v4.12.0

type AppSpecServiceLogDestinationLogtailOutput struct{ *pulumi.OutputState }

func (AppSpecServiceLogDestinationLogtailOutput) ElementType added in v4.12.0

func (AppSpecServiceLogDestinationLogtailOutput) ToAppSpecServiceLogDestinationLogtailOutput added in v4.12.0

func (o AppSpecServiceLogDestinationLogtailOutput) ToAppSpecServiceLogDestinationLogtailOutput() AppSpecServiceLogDestinationLogtailOutput

func (AppSpecServiceLogDestinationLogtailOutput) ToAppSpecServiceLogDestinationLogtailOutputWithContext added in v4.12.0

func (o AppSpecServiceLogDestinationLogtailOutput) ToAppSpecServiceLogDestinationLogtailOutputWithContext(ctx context.Context) AppSpecServiceLogDestinationLogtailOutput

func (AppSpecServiceLogDestinationLogtailOutput) ToAppSpecServiceLogDestinationLogtailPtrOutput added in v4.12.0

func (o AppSpecServiceLogDestinationLogtailOutput) ToAppSpecServiceLogDestinationLogtailPtrOutput() AppSpecServiceLogDestinationLogtailPtrOutput

func (AppSpecServiceLogDestinationLogtailOutput) ToAppSpecServiceLogDestinationLogtailPtrOutputWithContext added in v4.12.0

func (o AppSpecServiceLogDestinationLogtailOutput) ToAppSpecServiceLogDestinationLogtailPtrOutputWithContext(ctx context.Context) AppSpecServiceLogDestinationLogtailPtrOutput

func (AppSpecServiceLogDestinationLogtailOutput) Token added in v4.12.0

Logtail token.

type AppSpecServiceLogDestinationLogtailPtrInput added in v4.12.0

type AppSpecServiceLogDestinationLogtailPtrInput interface {
	pulumi.Input

	ToAppSpecServiceLogDestinationLogtailPtrOutput() AppSpecServiceLogDestinationLogtailPtrOutput
	ToAppSpecServiceLogDestinationLogtailPtrOutputWithContext(context.Context) AppSpecServiceLogDestinationLogtailPtrOutput
}

AppSpecServiceLogDestinationLogtailPtrInput is an input type that accepts AppSpecServiceLogDestinationLogtailArgs, AppSpecServiceLogDestinationLogtailPtr and AppSpecServiceLogDestinationLogtailPtrOutput values. You can construct a concrete instance of `AppSpecServiceLogDestinationLogtailPtrInput` via:

        AppSpecServiceLogDestinationLogtailArgs{...}

or:

        nil

type AppSpecServiceLogDestinationLogtailPtrOutput added in v4.12.0

type AppSpecServiceLogDestinationLogtailPtrOutput struct{ *pulumi.OutputState }

func (AppSpecServiceLogDestinationLogtailPtrOutput) Elem added in v4.12.0

func (AppSpecServiceLogDestinationLogtailPtrOutput) ElementType added in v4.12.0

func (AppSpecServiceLogDestinationLogtailPtrOutput) ToAppSpecServiceLogDestinationLogtailPtrOutput added in v4.12.0

func (o AppSpecServiceLogDestinationLogtailPtrOutput) ToAppSpecServiceLogDestinationLogtailPtrOutput() AppSpecServiceLogDestinationLogtailPtrOutput

func (AppSpecServiceLogDestinationLogtailPtrOutput) ToAppSpecServiceLogDestinationLogtailPtrOutputWithContext added in v4.12.0

func (o AppSpecServiceLogDestinationLogtailPtrOutput) ToAppSpecServiceLogDestinationLogtailPtrOutputWithContext(ctx context.Context) AppSpecServiceLogDestinationLogtailPtrOutput

func (AppSpecServiceLogDestinationLogtailPtrOutput) Token added in v4.12.0

Logtail token.

type AppSpecServiceLogDestinationOutput added in v4.12.0

type AppSpecServiceLogDestinationOutput struct{ *pulumi.OutputState }

func (AppSpecServiceLogDestinationOutput) Datadog added in v4.12.0

Datadog configuration.

func (AppSpecServiceLogDestinationOutput) ElementType added in v4.12.0

func (AppSpecServiceLogDestinationOutput) Logtail added in v4.12.0

Logtail configuration.

func (AppSpecServiceLogDestinationOutput) Name added in v4.12.0

Name of the log destination. Minimum length: 2. Maximum length: 42.

func (AppSpecServiceLogDestinationOutput) Papertrail added in v4.12.0

Papertrail configuration.

func (AppSpecServiceLogDestinationOutput) ToAppSpecServiceLogDestinationOutput added in v4.12.0

func (o AppSpecServiceLogDestinationOutput) ToAppSpecServiceLogDestinationOutput() AppSpecServiceLogDestinationOutput

func (AppSpecServiceLogDestinationOutput) ToAppSpecServiceLogDestinationOutputWithContext added in v4.12.0

func (o AppSpecServiceLogDestinationOutput) ToAppSpecServiceLogDestinationOutputWithContext(ctx context.Context) AppSpecServiceLogDestinationOutput

type AppSpecServiceLogDestinationPapertrail added in v4.12.0

type AppSpecServiceLogDestinationPapertrail struct {
	// Papertrail syslog endpoint.
	Endpoint string `pulumi:"endpoint"`
}

type AppSpecServiceLogDestinationPapertrailArgs added in v4.12.0

type AppSpecServiceLogDestinationPapertrailArgs struct {
	// Papertrail syslog endpoint.
	Endpoint pulumi.StringInput `pulumi:"endpoint"`
}

func (AppSpecServiceLogDestinationPapertrailArgs) ElementType added in v4.12.0

func (AppSpecServiceLogDestinationPapertrailArgs) ToAppSpecServiceLogDestinationPapertrailOutput added in v4.12.0

func (i AppSpecServiceLogDestinationPapertrailArgs) ToAppSpecServiceLogDestinationPapertrailOutput() AppSpecServiceLogDestinationPapertrailOutput

func (AppSpecServiceLogDestinationPapertrailArgs) ToAppSpecServiceLogDestinationPapertrailOutputWithContext added in v4.12.0

func (i AppSpecServiceLogDestinationPapertrailArgs) ToAppSpecServiceLogDestinationPapertrailOutputWithContext(ctx context.Context) AppSpecServiceLogDestinationPapertrailOutput

func (AppSpecServiceLogDestinationPapertrailArgs) ToAppSpecServiceLogDestinationPapertrailPtrOutput added in v4.12.0

func (i AppSpecServiceLogDestinationPapertrailArgs) ToAppSpecServiceLogDestinationPapertrailPtrOutput() AppSpecServiceLogDestinationPapertrailPtrOutput

func (AppSpecServiceLogDestinationPapertrailArgs) ToAppSpecServiceLogDestinationPapertrailPtrOutputWithContext added in v4.12.0

func (i AppSpecServiceLogDestinationPapertrailArgs) ToAppSpecServiceLogDestinationPapertrailPtrOutputWithContext(ctx context.Context) AppSpecServiceLogDestinationPapertrailPtrOutput

type AppSpecServiceLogDestinationPapertrailInput added in v4.12.0

type AppSpecServiceLogDestinationPapertrailInput interface {
	pulumi.Input

	ToAppSpecServiceLogDestinationPapertrailOutput() AppSpecServiceLogDestinationPapertrailOutput
	ToAppSpecServiceLogDestinationPapertrailOutputWithContext(context.Context) AppSpecServiceLogDestinationPapertrailOutput
}

AppSpecServiceLogDestinationPapertrailInput is an input type that accepts AppSpecServiceLogDestinationPapertrailArgs and AppSpecServiceLogDestinationPapertrailOutput values. You can construct a concrete instance of `AppSpecServiceLogDestinationPapertrailInput` via:

AppSpecServiceLogDestinationPapertrailArgs{...}

type AppSpecServiceLogDestinationPapertrailOutput added in v4.12.0

type AppSpecServiceLogDestinationPapertrailOutput struct{ *pulumi.OutputState }

func (AppSpecServiceLogDestinationPapertrailOutput) ElementType added in v4.12.0

func (AppSpecServiceLogDestinationPapertrailOutput) Endpoint added in v4.12.0

Papertrail syslog endpoint.

func (AppSpecServiceLogDestinationPapertrailOutput) ToAppSpecServiceLogDestinationPapertrailOutput added in v4.12.0

func (o AppSpecServiceLogDestinationPapertrailOutput) ToAppSpecServiceLogDestinationPapertrailOutput() AppSpecServiceLogDestinationPapertrailOutput

func (AppSpecServiceLogDestinationPapertrailOutput) ToAppSpecServiceLogDestinationPapertrailOutputWithContext added in v4.12.0

func (o AppSpecServiceLogDestinationPapertrailOutput) ToAppSpecServiceLogDestinationPapertrailOutputWithContext(ctx context.Context) AppSpecServiceLogDestinationPapertrailOutput

func (AppSpecServiceLogDestinationPapertrailOutput) ToAppSpecServiceLogDestinationPapertrailPtrOutput added in v4.12.0

func (o AppSpecServiceLogDestinationPapertrailOutput) ToAppSpecServiceLogDestinationPapertrailPtrOutput() AppSpecServiceLogDestinationPapertrailPtrOutput

func (AppSpecServiceLogDestinationPapertrailOutput) ToAppSpecServiceLogDestinationPapertrailPtrOutputWithContext added in v4.12.0

func (o AppSpecServiceLogDestinationPapertrailOutput) ToAppSpecServiceLogDestinationPapertrailPtrOutputWithContext(ctx context.Context) AppSpecServiceLogDestinationPapertrailPtrOutput

type AppSpecServiceLogDestinationPapertrailPtrInput added in v4.12.0

type AppSpecServiceLogDestinationPapertrailPtrInput interface {
	pulumi.Input

	ToAppSpecServiceLogDestinationPapertrailPtrOutput() AppSpecServiceLogDestinationPapertrailPtrOutput
	ToAppSpecServiceLogDestinationPapertrailPtrOutputWithContext(context.Context) AppSpecServiceLogDestinationPapertrailPtrOutput
}

AppSpecServiceLogDestinationPapertrailPtrInput is an input type that accepts AppSpecServiceLogDestinationPapertrailArgs, AppSpecServiceLogDestinationPapertrailPtr and AppSpecServiceLogDestinationPapertrailPtrOutput values. You can construct a concrete instance of `AppSpecServiceLogDestinationPapertrailPtrInput` via:

        AppSpecServiceLogDestinationPapertrailArgs{...}

or:

        nil

type AppSpecServiceLogDestinationPapertrailPtrOutput added in v4.12.0

type AppSpecServiceLogDestinationPapertrailPtrOutput struct{ *pulumi.OutputState }

func (AppSpecServiceLogDestinationPapertrailPtrOutput) Elem added in v4.12.0

func (AppSpecServiceLogDestinationPapertrailPtrOutput) ElementType added in v4.12.0

func (AppSpecServiceLogDestinationPapertrailPtrOutput) Endpoint added in v4.12.0

Papertrail syslog endpoint.

func (AppSpecServiceLogDestinationPapertrailPtrOutput) ToAppSpecServiceLogDestinationPapertrailPtrOutput added in v4.12.0

func (o AppSpecServiceLogDestinationPapertrailPtrOutput) ToAppSpecServiceLogDestinationPapertrailPtrOutput() AppSpecServiceLogDestinationPapertrailPtrOutput

func (AppSpecServiceLogDestinationPapertrailPtrOutput) ToAppSpecServiceLogDestinationPapertrailPtrOutputWithContext added in v4.12.0

func (o AppSpecServiceLogDestinationPapertrailPtrOutput) ToAppSpecServiceLogDestinationPapertrailPtrOutputWithContext(ctx context.Context) AppSpecServiceLogDestinationPapertrailPtrOutput

type AppSpecServiceOutput

type AppSpecServiceOutput struct{ *pulumi.OutputState }

func (AppSpecServiceOutput) Alerts added in v4.12.0

Describes an alert policy for the component.

func (AppSpecServiceOutput) BuildCommand

func (o AppSpecServiceOutput) BuildCommand() pulumi.StringPtrOutput

An optional build command to run while building this component from source.

func (AppSpecServiceOutput) Cors deprecated added in v4.7.0

The [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies of the app.

Deprecated: Service level CORS rules are deprecated in favor of ingresses

func (AppSpecServiceOutput) DockerfilePath

func (o AppSpecServiceOutput) DockerfilePath() pulumi.StringPtrOutput

The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.

func (AppSpecServiceOutput) ElementType

func (AppSpecServiceOutput) ElementType() reflect.Type

func (AppSpecServiceOutput) EnvironmentSlug

func (o AppSpecServiceOutput) EnvironmentSlug() pulumi.StringPtrOutput

An environment slug describing the type of this app.

func (AppSpecServiceOutput) Envs

Describes an environment variable made available to an app competent.

func (AppSpecServiceOutput) Git

A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of `git`, `github` or `gitlab` may be set.

func (AppSpecServiceOutput) Github

A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.

func (AppSpecServiceOutput) Gitlab

A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.

func (AppSpecServiceOutput) HealthCheck

A health check to determine the availability of this component.

func (AppSpecServiceOutput) HttpPort

The internal port on which this service's run command will listen.

func (AppSpecServiceOutput) Image

An image to use as the component's source. Only one of `git`, `github`, `gitlab`, or `image` may be set.

func (AppSpecServiceOutput) InstanceCount

func (o AppSpecServiceOutput) InstanceCount() pulumi.IntPtrOutput

The amount of instances that this component should be scaled to.

func (AppSpecServiceOutput) InstanceSizeSlug

func (o AppSpecServiceOutput) InstanceSizeSlug() pulumi.StringPtrOutput

The instance size to use for this component. This determines the plan (basic or professional) and the available CPU and memory. The list of available instance sizes can be [found with the API](https://docs.digitalocean.com/reference/api/api-reference/#operation/list_instance_sizes) or using the [doctl CLI](https://docs.digitalocean.com/reference/doctl/) (`doctl apps tier instance-size list`). Default: `basic-xxs`

func (AppSpecServiceOutput) InternalPorts

func (o AppSpecServiceOutput) InternalPorts() pulumi.IntArrayOutput

A list of ports on which this service will listen for internal traffic.

func (AppSpecServiceOutput) LogDestinations added in v4.12.0

Describes a log forwarding destination.

func (AppSpecServiceOutput) Name

The name of the component.

func (AppSpecServiceOutput) Routes deprecated

An HTTP paths that should be routed to this component.

Deprecated: Service level routes are deprecated in favor of ingresses

func (AppSpecServiceOutput) RunCommand

An optional run command to override the component's default.

func (AppSpecServiceOutput) SourceDir

An optional path to the working directory to use for the build.

func (AppSpecServiceOutput) ToAppSpecServiceOutput

func (o AppSpecServiceOutput) ToAppSpecServiceOutput() AppSpecServiceOutput

func (AppSpecServiceOutput) ToAppSpecServiceOutputWithContext

func (o AppSpecServiceOutput) ToAppSpecServiceOutputWithContext(ctx context.Context) AppSpecServiceOutput

type AppSpecServiceRoute

type AppSpecServiceRoute struct {
	// Paths must start with `/` and must be unique within the app.
	Path *string `pulumi:"path"`
	// An optional flag to preserve the path that is forwarded to the backend service.
	PreservePathPrefix *bool `pulumi:"preservePathPrefix"`
}

type AppSpecServiceRouteArgs

type AppSpecServiceRouteArgs struct {
	// Paths must start with `/` and must be unique within the app.
	Path pulumi.StringPtrInput `pulumi:"path"`
	// An optional flag to preserve the path that is forwarded to the backend service.
	PreservePathPrefix pulumi.BoolPtrInput `pulumi:"preservePathPrefix"`
}

func (AppSpecServiceRouteArgs) ElementType

func (AppSpecServiceRouteArgs) ElementType() reflect.Type

func (AppSpecServiceRouteArgs) ToAppSpecServiceRouteOutput

func (i AppSpecServiceRouteArgs) ToAppSpecServiceRouteOutput() AppSpecServiceRouteOutput

func (AppSpecServiceRouteArgs) ToAppSpecServiceRouteOutputWithContext

func (i AppSpecServiceRouteArgs) ToAppSpecServiceRouteOutputWithContext(ctx context.Context) AppSpecServiceRouteOutput

type AppSpecServiceRouteArray

type AppSpecServiceRouteArray []AppSpecServiceRouteInput

func (AppSpecServiceRouteArray) ElementType

func (AppSpecServiceRouteArray) ElementType() reflect.Type

func (AppSpecServiceRouteArray) ToAppSpecServiceRouteArrayOutput

func (i AppSpecServiceRouteArray) ToAppSpecServiceRouteArrayOutput() AppSpecServiceRouteArrayOutput

func (AppSpecServiceRouteArray) ToAppSpecServiceRouteArrayOutputWithContext

func (i AppSpecServiceRouteArray) ToAppSpecServiceRouteArrayOutputWithContext(ctx context.Context) AppSpecServiceRouteArrayOutput

type AppSpecServiceRouteArrayInput

type AppSpecServiceRouteArrayInput interface {
	pulumi.Input

	ToAppSpecServiceRouteArrayOutput() AppSpecServiceRouteArrayOutput
	ToAppSpecServiceRouteArrayOutputWithContext(context.Context) AppSpecServiceRouteArrayOutput
}

AppSpecServiceRouteArrayInput is an input type that accepts AppSpecServiceRouteArray and AppSpecServiceRouteArrayOutput values. You can construct a concrete instance of `AppSpecServiceRouteArrayInput` via:

AppSpecServiceRouteArray{ AppSpecServiceRouteArgs{...} }

type AppSpecServiceRouteArrayOutput

type AppSpecServiceRouteArrayOutput struct{ *pulumi.OutputState }

func (AppSpecServiceRouteArrayOutput) ElementType

func (AppSpecServiceRouteArrayOutput) Index

func (AppSpecServiceRouteArrayOutput) ToAppSpecServiceRouteArrayOutput

func (o AppSpecServiceRouteArrayOutput) ToAppSpecServiceRouteArrayOutput() AppSpecServiceRouteArrayOutput

func (AppSpecServiceRouteArrayOutput) ToAppSpecServiceRouteArrayOutputWithContext

func (o AppSpecServiceRouteArrayOutput) ToAppSpecServiceRouteArrayOutputWithContext(ctx context.Context) AppSpecServiceRouteArrayOutput

type AppSpecServiceRouteInput

type AppSpecServiceRouteInput interface {
	pulumi.Input

	ToAppSpecServiceRouteOutput() AppSpecServiceRouteOutput
	ToAppSpecServiceRouteOutputWithContext(context.Context) AppSpecServiceRouteOutput
}

AppSpecServiceRouteInput is an input type that accepts AppSpecServiceRouteArgs and AppSpecServiceRouteOutput values. You can construct a concrete instance of `AppSpecServiceRouteInput` via:

AppSpecServiceRouteArgs{...}

type AppSpecServiceRouteOutput

type AppSpecServiceRouteOutput struct{ *pulumi.OutputState }

func (AppSpecServiceRouteOutput) ElementType

func (AppSpecServiceRouteOutput) ElementType() reflect.Type

func (AppSpecServiceRouteOutput) Path

Paths must start with `/` and must be unique within the app.

func (AppSpecServiceRouteOutput) PreservePathPrefix added in v4.11.0

func (o AppSpecServiceRouteOutput) PreservePathPrefix() pulumi.BoolPtrOutput

An optional flag to preserve the path that is forwarded to the backend service.

func (AppSpecServiceRouteOutput) ToAppSpecServiceRouteOutput

func (o AppSpecServiceRouteOutput) ToAppSpecServiceRouteOutput() AppSpecServiceRouteOutput

func (AppSpecServiceRouteOutput) ToAppSpecServiceRouteOutputWithContext

func (o AppSpecServiceRouteOutput) ToAppSpecServiceRouteOutputWithContext(ctx context.Context) AppSpecServiceRouteOutput

type AppSpecStaticSite

type AppSpecStaticSite struct {
	// An optional build command to run while building this component from source.
	BuildCommand *string `pulumi:"buildCommand"`
	// The name of the document to use as the fallback for any requests to documents that are not found when serving this static site.
	CatchallDocument *string `pulumi:"catchallDocument"`
	// The [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies of the app.
	//
	// Deprecated: Service level CORS rules are deprecated in favor of ingresses
	Cors *AppSpecStaticSiteCors `pulumi:"cors"`
	// The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
	DockerfilePath *string `pulumi:"dockerfilePath"`
	// An environment slug describing the type of this app.
	EnvironmentSlug *string `pulumi:"environmentSlug"`
	// Describes an environment variable made available to an app competent.
	Envs []AppSpecStaticSiteEnv `pulumi:"envs"`
	// The name of the error document to use when serving this static site.
	ErrorDocument *string `pulumi:"errorDocument"`
	// A Git repo to use as the component's source. The repository must be able to be cloned without authentication.  Only one of `git`, `github` or `gitlab`  may be set.
	Git *AppSpecStaticSiteGit `pulumi:"git"`
	// A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Github *AppSpecStaticSiteGithub `pulumi:"github"`
	// A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Gitlab *AppSpecStaticSiteGitlab `pulumi:"gitlab"`
	// The name of the index document to use when serving this static site.
	IndexDocument *string `pulumi:"indexDocument"`
	// The name of the component.
	Name string `pulumi:"name"`
	// An optional path to where the built assets will be located, relative to the build context. If not set, App Platform will automatically scan for these directory names: `_static`, `dist`, `public`.
	OutputDir *string `pulumi:"outputDir"`
	// An HTTP paths that should be routed to this component.
	//
	// Deprecated: Service level routes are deprecated in favor of ingresses
	Routes []AppSpecStaticSiteRoute `pulumi:"routes"`
	// An optional path to the working directory to use for the build.
	SourceDir *string `pulumi:"sourceDir"`
}

type AppSpecStaticSiteArgs

type AppSpecStaticSiteArgs struct {
	// An optional build command to run while building this component from source.
	BuildCommand pulumi.StringPtrInput `pulumi:"buildCommand"`
	// The name of the document to use as the fallback for any requests to documents that are not found when serving this static site.
	CatchallDocument pulumi.StringPtrInput `pulumi:"catchallDocument"`
	// The [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies of the app.
	//
	// Deprecated: Service level CORS rules are deprecated in favor of ingresses
	Cors AppSpecStaticSiteCorsPtrInput `pulumi:"cors"`
	// The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
	DockerfilePath pulumi.StringPtrInput `pulumi:"dockerfilePath"`
	// An environment slug describing the type of this app.
	EnvironmentSlug pulumi.StringPtrInput `pulumi:"environmentSlug"`
	// Describes an environment variable made available to an app competent.
	Envs AppSpecStaticSiteEnvArrayInput `pulumi:"envs"`
	// The name of the error document to use when serving this static site.
	ErrorDocument pulumi.StringPtrInput `pulumi:"errorDocument"`
	// A Git repo to use as the component's source. The repository must be able to be cloned without authentication.  Only one of `git`, `github` or `gitlab`  may be set.
	Git AppSpecStaticSiteGitPtrInput `pulumi:"git"`
	// A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Github AppSpecStaticSiteGithubPtrInput `pulumi:"github"`
	// A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Gitlab AppSpecStaticSiteGitlabPtrInput `pulumi:"gitlab"`
	// The name of the index document to use when serving this static site.
	IndexDocument pulumi.StringPtrInput `pulumi:"indexDocument"`
	// The name of the component.
	Name pulumi.StringInput `pulumi:"name"`
	// An optional path to where the built assets will be located, relative to the build context. If not set, App Platform will automatically scan for these directory names: `_static`, `dist`, `public`.
	OutputDir pulumi.StringPtrInput `pulumi:"outputDir"`
	// An HTTP paths that should be routed to this component.
	//
	// Deprecated: Service level routes are deprecated in favor of ingresses
	Routes AppSpecStaticSiteRouteArrayInput `pulumi:"routes"`
	// An optional path to the working directory to use for the build.
	SourceDir pulumi.StringPtrInput `pulumi:"sourceDir"`
}

func (AppSpecStaticSiteArgs) ElementType

func (AppSpecStaticSiteArgs) ElementType() reflect.Type

func (AppSpecStaticSiteArgs) ToAppSpecStaticSiteOutput

func (i AppSpecStaticSiteArgs) ToAppSpecStaticSiteOutput() AppSpecStaticSiteOutput

func (AppSpecStaticSiteArgs) ToAppSpecStaticSiteOutputWithContext

func (i AppSpecStaticSiteArgs) ToAppSpecStaticSiteOutputWithContext(ctx context.Context) AppSpecStaticSiteOutput

type AppSpecStaticSiteArray

type AppSpecStaticSiteArray []AppSpecStaticSiteInput

func (AppSpecStaticSiteArray) ElementType

func (AppSpecStaticSiteArray) ElementType() reflect.Type

func (AppSpecStaticSiteArray) ToAppSpecStaticSiteArrayOutput

func (i AppSpecStaticSiteArray) ToAppSpecStaticSiteArrayOutput() AppSpecStaticSiteArrayOutput

func (AppSpecStaticSiteArray) ToAppSpecStaticSiteArrayOutputWithContext

func (i AppSpecStaticSiteArray) ToAppSpecStaticSiteArrayOutputWithContext(ctx context.Context) AppSpecStaticSiteArrayOutput

type AppSpecStaticSiteArrayInput

type AppSpecStaticSiteArrayInput interface {
	pulumi.Input

	ToAppSpecStaticSiteArrayOutput() AppSpecStaticSiteArrayOutput
	ToAppSpecStaticSiteArrayOutputWithContext(context.Context) AppSpecStaticSiteArrayOutput
}

AppSpecStaticSiteArrayInput is an input type that accepts AppSpecStaticSiteArray and AppSpecStaticSiteArrayOutput values. You can construct a concrete instance of `AppSpecStaticSiteArrayInput` via:

AppSpecStaticSiteArray{ AppSpecStaticSiteArgs{...} }

type AppSpecStaticSiteArrayOutput

type AppSpecStaticSiteArrayOutput struct{ *pulumi.OutputState }

func (AppSpecStaticSiteArrayOutput) ElementType

func (AppSpecStaticSiteArrayOutput) Index

func (AppSpecStaticSiteArrayOutput) ToAppSpecStaticSiteArrayOutput

func (o AppSpecStaticSiteArrayOutput) ToAppSpecStaticSiteArrayOutput() AppSpecStaticSiteArrayOutput

func (AppSpecStaticSiteArrayOutput) ToAppSpecStaticSiteArrayOutputWithContext

func (o AppSpecStaticSiteArrayOutput) ToAppSpecStaticSiteArrayOutputWithContext(ctx context.Context) AppSpecStaticSiteArrayOutput

type AppSpecStaticSiteCors added in v4.7.0

type AppSpecStaticSiteCors struct {
	// Whether browsers should expose the response to the client-side JavaScript code when the request’s credentials mode is `include`. This configures the Access-Control-Allow-Credentials header.
	AllowCredentials *bool `pulumi:"allowCredentials"`
	// The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.
	AllowHeaders []string `pulumi:"allowHeaders"`
	// The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.
	AllowMethods []string `pulumi:"allowMethods"`
	// The set of allowed CORS origins. This configures the Access-Control-Allow-Origin header.
	AllowOrigins *AppSpecStaticSiteCorsAllowOrigins `pulumi:"allowOrigins"`
	// The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.
	ExposeHeaders []string `pulumi:"exposeHeaders"`
	// An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: `5h30m`.
	MaxAge *string `pulumi:"maxAge"`
}

type AppSpecStaticSiteCorsAllowOrigins added in v4.7.0

type AppSpecStaticSiteCorsAllowOrigins struct {
	// Exact string match.
	Exact *string `pulumi:"exact"`
	// Prefix-based match.
	Prefix *string `pulumi:"prefix"`
	// RE2 style regex-based match.
	Regex *string `pulumi:"regex"`
}

type AppSpecStaticSiteCorsAllowOriginsArgs added in v4.7.0

type AppSpecStaticSiteCorsAllowOriginsArgs struct {
	// Exact string match.
	Exact pulumi.StringPtrInput `pulumi:"exact"`
	// Prefix-based match.
	Prefix pulumi.StringPtrInput `pulumi:"prefix"`
	// RE2 style regex-based match.
	Regex pulumi.StringPtrInput `pulumi:"regex"`
}

func (AppSpecStaticSiteCorsAllowOriginsArgs) ElementType added in v4.7.0

func (AppSpecStaticSiteCorsAllowOriginsArgs) ToAppSpecStaticSiteCorsAllowOriginsOutput added in v4.7.0

func (i AppSpecStaticSiteCorsAllowOriginsArgs) ToAppSpecStaticSiteCorsAllowOriginsOutput() AppSpecStaticSiteCorsAllowOriginsOutput

func (AppSpecStaticSiteCorsAllowOriginsArgs) ToAppSpecStaticSiteCorsAllowOriginsOutputWithContext added in v4.7.0

func (i AppSpecStaticSiteCorsAllowOriginsArgs) ToAppSpecStaticSiteCorsAllowOriginsOutputWithContext(ctx context.Context) AppSpecStaticSiteCorsAllowOriginsOutput

func (AppSpecStaticSiteCorsAllowOriginsArgs) ToAppSpecStaticSiteCorsAllowOriginsPtrOutput added in v4.7.0

func (i AppSpecStaticSiteCorsAllowOriginsArgs) ToAppSpecStaticSiteCorsAllowOriginsPtrOutput() AppSpecStaticSiteCorsAllowOriginsPtrOutput

func (AppSpecStaticSiteCorsAllowOriginsArgs) ToAppSpecStaticSiteCorsAllowOriginsPtrOutputWithContext added in v4.7.0

func (i AppSpecStaticSiteCorsAllowOriginsArgs) ToAppSpecStaticSiteCorsAllowOriginsPtrOutputWithContext(ctx context.Context) AppSpecStaticSiteCorsAllowOriginsPtrOutput

type AppSpecStaticSiteCorsAllowOriginsInput added in v4.7.0

type AppSpecStaticSiteCorsAllowOriginsInput interface {
	pulumi.Input

	ToAppSpecStaticSiteCorsAllowOriginsOutput() AppSpecStaticSiteCorsAllowOriginsOutput
	ToAppSpecStaticSiteCorsAllowOriginsOutputWithContext(context.Context) AppSpecStaticSiteCorsAllowOriginsOutput
}

AppSpecStaticSiteCorsAllowOriginsInput is an input type that accepts AppSpecStaticSiteCorsAllowOriginsArgs and AppSpecStaticSiteCorsAllowOriginsOutput values. You can construct a concrete instance of `AppSpecStaticSiteCorsAllowOriginsInput` via:

AppSpecStaticSiteCorsAllowOriginsArgs{...}

type AppSpecStaticSiteCorsAllowOriginsOutput added in v4.7.0

type AppSpecStaticSiteCorsAllowOriginsOutput struct{ *pulumi.OutputState }

func (AppSpecStaticSiteCorsAllowOriginsOutput) ElementType added in v4.7.0

func (AppSpecStaticSiteCorsAllowOriginsOutput) Exact added in v4.7.0

Exact string match.

func (AppSpecStaticSiteCorsAllowOriginsOutput) Prefix added in v4.7.0

Prefix-based match.

func (AppSpecStaticSiteCorsAllowOriginsOutput) Regex added in v4.7.0

RE2 style regex-based match.

func (AppSpecStaticSiteCorsAllowOriginsOutput) ToAppSpecStaticSiteCorsAllowOriginsOutput added in v4.7.0

func (o AppSpecStaticSiteCorsAllowOriginsOutput) ToAppSpecStaticSiteCorsAllowOriginsOutput() AppSpecStaticSiteCorsAllowOriginsOutput

func (AppSpecStaticSiteCorsAllowOriginsOutput) ToAppSpecStaticSiteCorsAllowOriginsOutputWithContext added in v4.7.0

func (o AppSpecStaticSiteCorsAllowOriginsOutput) ToAppSpecStaticSiteCorsAllowOriginsOutputWithContext(ctx context.Context) AppSpecStaticSiteCorsAllowOriginsOutput

func (AppSpecStaticSiteCorsAllowOriginsOutput) ToAppSpecStaticSiteCorsAllowOriginsPtrOutput added in v4.7.0

func (o AppSpecStaticSiteCorsAllowOriginsOutput) ToAppSpecStaticSiteCorsAllowOriginsPtrOutput() AppSpecStaticSiteCorsAllowOriginsPtrOutput

func (AppSpecStaticSiteCorsAllowOriginsOutput) ToAppSpecStaticSiteCorsAllowOriginsPtrOutputWithContext added in v4.7.0

func (o AppSpecStaticSiteCorsAllowOriginsOutput) ToAppSpecStaticSiteCorsAllowOriginsPtrOutputWithContext(ctx context.Context) AppSpecStaticSiteCorsAllowOriginsPtrOutput

type AppSpecStaticSiteCorsAllowOriginsPtrInput added in v4.7.0

type AppSpecStaticSiteCorsAllowOriginsPtrInput interface {
	pulumi.Input

	ToAppSpecStaticSiteCorsAllowOriginsPtrOutput() AppSpecStaticSiteCorsAllowOriginsPtrOutput
	ToAppSpecStaticSiteCorsAllowOriginsPtrOutputWithContext(context.Context) AppSpecStaticSiteCorsAllowOriginsPtrOutput
}

AppSpecStaticSiteCorsAllowOriginsPtrInput is an input type that accepts AppSpecStaticSiteCorsAllowOriginsArgs, AppSpecStaticSiteCorsAllowOriginsPtr and AppSpecStaticSiteCorsAllowOriginsPtrOutput values. You can construct a concrete instance of `AppSpecStaticSiteCorsAllowOriginsPtrInput` via:

        AppSpecStaticSiteCorsAllowOriginsArgs{...}

or:

        nil

type AppSpecStaticSiteCorsAllowOriginsPtrOutput added in v4.7.0

type AppSpecStaticSiteCorsAllowOriginsPtrOutput struct{ *pulumi.OutputState }

func (AppSpecStaticSiteCorsAllowOriginsPtrOutput) Elem added in v4.7.0

func (AppSpecStaticSiteCorsAllowOriginsPtrOutput) ElementType added in v4.7.0

func (AppSpecStaticSiteCorsAllowOriginsPtrOutput) Exact added in v4.7.0

Exact string match.

func (AppSpecStaticSiteCorsAllowOriginsPtrOutput) Prefix added in v4.7.0

Prefix-based match.

func (AppSpecStaticSiteCorsAllowOriginsPtrOutput) Regex added in v4.7.0

RE2 style regex-based match.

func (AppSpecStaticSiteCorsAllowOriginsPtrOutput) ToAppSpecStaticSiteCorsAllowOriginsPtrOutput added in v4.7.0

func (o AppSpecStaticSiteCorsAllowOriginsPtrOutput) ToAppSpecStaticSiteCorsAllowOriginsPtrOutput() AppSpecStaticSiteCorsAllowOriginsPtrOutput

func (AppSpecStaticSiteCorsAllowOriginsPtrOutput) ToAppSpecStaticSiteCorsAllowOriginsPtrOutputWithContext added in v4.7.0

func (o AppSpecStaticSiteCorsAllowOriginsPtrOutput) ToAppSpecStaticSiteCorsAllowOriginsPtrOutputWithContext(ctx context.Context) AppSpecStaticSiteCorsAllowOriginsPtrOutput

type AppSpecStaticSiteCorsArgs added in v4.7.0

type AppSpecStaticSiteCorsArgs struct {
	// Whether browsers should expose the response to the client-side JavaScript code when the request’s credentials mode is `include`. This configures the Access-Control-Allow-Credentials header.
	AllowCredentials pulumi.BoolPtrInput `pulumi:"allowCredentials"`
	// The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.
	AllowHeaders pulumi.StringArrayInput `pulumi:"allowHeaders"`
	// The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.
	AllowMethods pulumi.StringArrayInput `pulumi:"allowMethods"`
	// The set of allowed CORS origins. This configures the Access-Control-Allow-Origin header.
	AllowOrigins AppSpecStaticSiteCorsAllowOriginsPtrInput `pulumi:"allowOrigins"`
	// The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.
	ExposeHeaders pulumi.StringArrayInput `pulumi:"exposeHeaders"`
	// An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: `5h30m`.
	MaxAge pulumi.StringPtrInput `pulumi:"maxAge"`
}

func (AppSpecStaticSiteCorsArgs) ElementType added in v4.7.0

func (AppSpecStaticSiteCorsArgs) ElementType() reflect.Type

func (AppSpecStaticSiteCorsArgs) ToAppSpecStaticSiteCorsOutput added in v4.7.0

func (i AppSpecStaticSiteCorsArgs) ToAppSpecStaticSiteCorsOutput() AppSpecStaticSiteCorsOutput

func (AppSpecStaticSiteCorsArgs) ToAppSpecStaticSiteCorsOutputWithContext added in v4.7.0

func (i AppSpecStaticSiteCorsArgs) ToAppSpecStaticSiteCorsOutputWithContext(ctx context.Context) AppSpecStaticSiteCorsOutput

func (AppSpecStaticSiteCorsArgs) ToAppSpecStaticSiteCorsPtrOutput added in v4.7.0

func (i AppSpecStaticSiteCorsArgs) ToAppSpecStaticSiteCorsPtrOutput() AppSpecStaticSiteCorsPtrOutput

func (AppSpecStaticSiteCorsArgs) ToAppSpecStaticSiteCorsPtrOutputWithContext added in v4.7.0

func (i AppSpecStaticSiteCorsArgs) ToAppSpecStaticSiteCorsPtrOutputWithContext(ctx context.Context) AppSpecStaticSiteCorsPtrOutput

type AppSpecStaticSiteCorsInput added in v4.7.0

type AppSpecStaticSiteCorsInput interface {
	pulumi.Input

	ToAppSpecStaticSiteCorsOutput() AppSpecStaticSiteCorsOutput
	ToAppSpecStaticSiteCorsOutputWithContext(context.Context) AppSpecStaticSiteCorsOutput
}

AppSpecStaticSiteCorsInput is an input type that accepts AppSpecStaticSiteCorsArgs and AppSpecStaticSiteCorsOutput values. You can construct a concrete instance of `AppSpecStaticSiteCorsInput` via:

AppSpecStaticSiteCorsArgs{...}

type AppSpecStaticSiteCorsOutput added in v4.7.0

type AppSpecStaticSiteCorsOutput struct{ *pulumi.OutputState }

func (AppSpecStaticSiteCorsOutput) AllowCredentials added in v4.7.0

func (o AppSpecStaticSiteCorsOutput) AllowCredentials() pulumi.BoolPtrOutput

Whether browsers should expose the response to the client-side JavaScript code when the request’s credentials mode is `include`. This configures the Access-Control-Allow-Credentials header.

func (AppSpecStaticSiteCorsOutput) AllowHeaders added in v4.7.0

The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.

func (AppSpecStaticSiteCorsOutput) AllowMethods added in v4.7.0

The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.

func (AppSpecStaticSiteCorsOutput) AllowOrigins added in v4.7.0

The set of allowed CORS origins. This configures the Access-Control-Allow-Origin header.

func (AppSpecStaticSiteCorsOutput) ElementType added in v4.7.0

func (AppSpecStaticSiteCorsOutput) ExposeHeaders added in v4.7.0

The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.

func (AppSpecStaticSiteCorsOutput) MaxAge added in v4.7.0

An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: `5h30m`.

func (AppSpecStaticSiteCorsOutput) ToAppSpecStaticSiteCorsOutput added in v4.7.0

func (o AppSpecStaticSiteCorsOutput) ToAppSpecStaticSiteCorsOutput() AppSpecStaticSiteCorsOutput

func (AppSpecStaticSiteCorsOutput) ToAppSpecStaticSiteCorsOutputWithContext added in v4.7.0

func (o AppSpecStaticSiteCorsOutput) ToAppSpecStaticSiteCorsOutputWithContext(ctx context.Context) AppSpecStaticSiteCorsOutput

func (AppSpecStaticSiteCorsOutput) ToAppSpecStaticSiteCorsPtrOutput added in v4.7.0

func (o AppSpecStaticSiteCorsOutput) ToAppSpecStaticSiteCorsPtrOutput() AppSpecStaticSiteCorsPtrOutput

func (AppSpecStaticSiteCorsOutput) ToAppSpecStaticSiteCorsPtrOutputWithContext added in v4.7.0

func (o AppSpecStaticSiteCorsOutput) ToAppSpecStaticSiteCorsPtrOutputWithContext(ctx context.Context) AppSpecStaticSiteCorsPtrOutput

type AppSpecStaticSiteCorsPtrInput added in v4.7.0

type AppSpecStaticSiteCorsPtrInput interface {
	pulumi.Input

	ToAppSpecStaticSiteCorsPtrOutput() AppSpecStaticSiteCorsPtrOutput
	ToAppSpecStaticSiteCorsPtrOutputWithContext(context.Context) AppSpecStaticSiteCorsPtrOutput
}

AppSpecStaticSiteCorsPtrInput is an input type that accepts AppSpecStaticSiteCorsArgs, AppSpecStaticSiteCorsPtr and AppSpecStaticSiteCorsPtrOutput values. You can construct a concrete instance of `AppSpecStaticSiteCorsPtrInput` via:

        AppSpecStaticSiteCorsArgs{...}

or:

        nil

func AppSpecStaticSiteCorsPtr added in v4.7.0

func AppSpecStaticSiteCorsPtr(v *AppSpecStaticSiteCorsArgs) AppSpecStaticSiteCorsPtrInput

type AppSpecStaticSiteCorsPtrOutput added in v4.7.0

type AppSpecStaticSiteCorsPtrOutput struct{ *pulumi.OutputState }

func (AppSpecStaticSiteCorsPtrOutput) AllowCredentials added in v4.7.0

Whether browsers should expose the response to the client-side JavaScript code when the request’s credentials mode is `include`. This configures the Access-Control-Allow-Credentials header.

func (AppSpecStaticSiteCorsPtrOutput) AllowHeaders added in v4.7.0

The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.

func (AppSpecStaticSiteCorsPtrOutput) AllowMethods added in v4.7.0

The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.

func (AppSpecStaticSiteCorsPtrOutput) AllowOrigins added in v4.7.0

The set of allowed CORS origins. This configures the Access-Control-Allow-Origin header.

func (AppSpecStaticSiteCorsPtrOutput) Elem added in v4.7.0

func (AppSpecStaticSiteCorsPtrOutput) ElementType added in v4.7.0

func (AppSpecStaticSiteCorsPtrOutput) ExposeHeaders added in v4.7.0

The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.

func (AppSpecStaticSiteCorsPtrOutput) MaxAge added in v4.7.0

An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: `5h30m`.

func (AppSpecStaticSiteCorsPtrOutput) ToAppSpecStaticSiteCorsPtrOutput added in v4.7.0

func (o AppSpecStaticSiteCorsPtrOutput) ToAppSpecStaticSiteCorsPtrOutput() AppSpecStaticSiteCorsPtrOutput

func (AppSpecStaticSiteCorsPtrOutput) ToAppSpecStaticSiteCorsPtrOutputWithContext added in v4.7.0

func (o AppSpecStaticSiteCorsPtrOutput) ToAppSpecStaticSiteCorsPtrOutputWithContext(ctx context.Context) AppSpecStaticSiteCorsPtrOutput

type AppSpecStaticSiteEnv

type AppSpecStaticSiteEnv struct {
	// The name of the environment variable.
	Key *string `pulumi:"key"`
	// The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).
	Scope *string `pulumi:"scope"`
	// The type of the environment variable, `GENERAL` or `SECRET`.
	Type *string `pulumi:"type"`
	// The value of the environment variable.
	Value *string `pulumi:"value"`
}

type AppSpecStaticSiteEnvArgs

type AppSpecStaticSiteEnvArgs struct {
	// The name of the environment variable.
	Key pulumi.StringPtrInput `pulumi:"key"`
	// The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).
	Scope pulumi.StringPtrInput `pulumi:"scope"`
	// The type of the environment variable, `GENERAL` or `SECRET`.
	Type pulumi.StringPtrInput `pulumi:"type"`
	// The value of the environment variable.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (AppSpecStaticSiteEnvArgs) ElementType

func (AppSpecStaticSiteEnvArgs) ElementType() reflect.Type

func (AppSpecStaticSiteEnvArgs) ToAppSpecStaticSiteEnvOutput

func (i AppSpecStaticSiteEnvArgs) ToAppSpecStaticSiteEnvOutput() AppSpecStaticSiteEnvOutput

func (AppSpecStaticSiteEnvArgs) ToAppSpecStaticSiteEnvOutputWithContext

func (i AppSpecStaticSiteEnvArgs) ToAppSpecStaticSiteEnvOutputWithContext(ctx context.Context) AppSpecStaticSiteEnvOutput

type AppSpecStaticSiteEnvArray

type AppSpecStaticSiteEnvArray []AppSpecStaticSiteEnvInput

func (AppSpecStaticSiteEnvArray) ElementType

func (AppSpecStaticSiteEnvArray) ElementType() reflect.Type

func (AppSpecStaticSiteEnvArray) ToAppSpecStaticSiteEnvArrayOutput

func (i AppSpecStaticSiteEnvArray) ToAppSpecStaticSiteEnvArrayOutput() AppSpecStaticSiteEnvArrayOutput

func (AppSpecStaticSiteEnvArray) ToAppSpecStaticSiteEnvArrayOutputWithContext

func (i AppSpecStaticSiteEnvArray) ToAppSpecStaticSiteEnvArrayOutputWithContext(ctx context.Context) AppSpecStaticSiteEnvArrayOutput

type AppSpecStaticSiteEnvArrayInput

type AppSpecStaticSiteEnvArrayInput interface {
	pulumi.Input

	ToAppSpecStaticSiteEnvArrayOutput() AppSpecStaticSiteEnvArrayOutput
	ToAppSpecStaticSiteEnvArrayOutputWithContext(context.Context) AppSpecStaticSiteEnvArrayOutput
}

AppSpecStaticSiteEnvArrayInput is an input type that accepts AppSpecStaticSiteEnvArray and AppSpecStaticSiteEnvArrayOutput values. You can construct a concrete instance of `AppSpecStaticSiteEnvArrayInput` via:

AppSpecStaticSiteEnvArray{ AppSpecStaticSiteEnvArgs{...} }

type AppSpecStaticSiteEnvArrayOutput

type AppSpecStaticSiteEnvArrayOutput struct{ *pulumi.OutputState }

func (AppSpecStaticSiteEnvArrayOutput) ElementType

func (AppSpecStaticSiteEnvArrayOutput) Index

func (AppSpecStaticSiteEnvArrayOutput) ToAppSpecStaticSiteEnvArrayOutput

func (o AppSpecStaticSiteEnvArrayOutput) ToAppSpecStaticSiteEnvArrayOutput() AppSpecStaticSiteEnvArrayOutput

func (AppSpecStaticSiteEnvArrayOutput) ToAppSpecStaticSiteEnvArrayOutputWithContext

func (o AppSpecStaticSiteEnvArrayOutput) ToAppSpecStaticSiteEnvArrayOutputWithContext(ctx context.Context) AppSpecStaticSiteEnvArrayOutput

type AppSpecStaticSiteEnvInput

type AppSpecStaticSiteEnvInput interface {
	pulumi.Input

	ToAppSpecStaticSiteEnvOutput() AppSpecStaticSiteEnvOutput
	ToAppSpecStaticSiteEnvOutputWithContext(context.Context) AppSpecStaticSiteEnvOutput
}

AppSpecStaticSiteEnvInput is an input type that accepts AppSpecStaticSiteEnvArgs and AppSpecStaticSiteEnvOutput values. You can construct a concrete instance of `AppSpecStaticSiteEnvInput` via:

AppSpecStaticSiteEnvArgs{...}

type AppSpecStaticSiteEnvOutput

type AppSpecStaticSiteEnvOutput struct{ *pulumi.OutputState }

func (AppSpecStaticSiteEnvOutput) ElementType

func (AppSpecStaticSiteEnvOutput) ElementType() reflect.Type

func (AppSpecStaticSiteEnvOutput) Key

The name of the environment variable.

func (AppSpecStaticSiteEnvOutput) Scope

The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).

func (AppSpecStaticSiteEnvOutput) ToAppSpecStaticSiteEnvOutput

func (o AppSpecStaticSiteEnvOutput) ToAppSpecStaticSiteEnvOutput() AppSpecStaticSiteEnvOutput

func (AppSpecStaticSiteEnvOutput) ToAppSpecStaticSiteEnvOutputWithContext

func (o AppSpecStaticSiteEnvOutput) ToAppSpecStaticSiteEnvOutputWithContext(ctx context.Context) AppSpecStaticSiteEnvOutput

func (AppSpecStaticSiteEnvOutput) Type

The type of the environment variable, `GENERAL` or `SECRET`.

func (AppSpecStaticSiteEnvOutput) Value

The value of the environment variable.

type AppSpecStaticSiteGit

type AppSpecStaticSiteGit struct {
	// The name of the branch to use.
	Branch *string `pulumi:"branch"`
	// The clone URL of the repo.
	RepoCloneUrl *string `pulumi:"repoCloneUrl"`
}

type AppSpecStaticSiteGitArgs

type AppSpecStaticSiteGitArgs struct {
	// The name of the branch to use.
	Branch pulumi.StringPtrInput `pulumi:"branch"`
	// The clone URL of the repo.
	RepoCloneUrl pulumi.StringPtrInput `pulumi:"repoCloneUrl"`
}

func (AppSpecStaticSiteGitArgs) ElementType

func (AppSpecStaticSiteGitArgs) ElementType() reflect.Type

func (AppSpecStaticSiteGitArgs) ToAppSpecStaticSiteGitOutput

func (i AppSpecStaticSiteGitArgs) ToAppSpecStaticSiteGitOutput() AppSpecStaticSiteGitOutput

func (AppSpecStaticSiteGitArgs) ToAppSpecStaticSiteGitOutputWithContext

func (i AppSpecStaticSiteGitArgs) ToAppSpecStaticSiteGitOutputWithContext(ctx context.Context) AppSpecStaticSiteGitOutput

func (AppSpecStaticSiteGitArgs) ToAppSpecStaticSiteGitPtrOutput

func (i AppSpecStaticSiteGitArgs) ToAppSpecStaticSiteGitPtrOutput() AppSpecStaticSiteGitPtrOutput

func (AppSpecStaticSiteGitArgs) ToAppSpecStaticSiteGitPtrOutputWithContext

func (i AppSpecStaticSiteGitArgs) ToAppSpecStaticSiteGitPtrOutputWithContext(ctx context.Context) AppSpecStaticSiteGitPtrOutput

type AppSpecStaticSiteGitInput

type AppSpecStaticSiteGitInput interface {
	pulumi.Input

	ToAppSpecStaticSiteGitOutput() AppSpecStaticSiteGitOutput
	ToAppSpecStaticSiteGitOutputWithContext(context.Context) AppSpecStaticSiteGitOutput
}

AppSpecStaticSiteGitInput is an input type that accepts AppSpecStaticSiteGitArgs and AppSpecStaticSiteGitOutput values. You can construct a concrete instance of `AppSpecStaticSiteGitInput` via:

AppSpecStaticSiteGitArgs{...}

type AppSpecStaticSiteGitOutput

type AppSpecStaticSiteGitOutput struct{ *pulumi.OutputState }

func (AppSpecStaticSiteGitOutput) Branch

The name of the branch to use.

func (AppSpecStaticSiteGitOutput) ElementType

func (AppSpecStaticSiteGitOutput) ElementType() reflect.Type

func (AppSpecStaticSiteGitOutput) RepoCloneUrl

The clone URL of the repo.

func (AppSpecStaticSiteGitOutput) ToAppSpecStaticSiteGitOutput

func (o AppSpecStaticSiteGitOutput) ToAppSpecStaticSiteGitOutput() AppSpecStaticSiteGitOutput

func (AppSpecStaticSiteGitOutput) ToAppSpecStaticSiteGitOutputWithContext

func (o AppSpecStaticSiteGitOutput) ToAppSpecStaticSiteGitOutputWithContext(ctx context.Context) AppSpecStaticSiteGitOutput

func (AppSpecStaticSiteGitOutput) ToAppSpecStaticSiteGitPtrOutput

func (o AppSpecStaticSiteGitOutput) ToAppSpecStaticSiteGitPtrOutput() AppSpecStaticSiteGitPtrOutput

func (AppSpecStaticSiteGitOutput) ToAppSpecStaticSiteGitPtrOutputWithContext

func (o AppSpecStaticSiteGitOutput) ToAppSpecStaticSiteGitPtrOutputWithContext(ctx context.Context) AppSpecStaticSiteGitPtrOutput

type AppSpecStaticSiteGitPtrInput

type AppSpecStaticSiteGitPtrInput interface {
	pulumi.Input

	ToAppSpecStaticSiteGitPtrOutput() AppSpecStaticSiteGitPtrOutput
	ToAppSpecStaticSiteGitPtrOutputWithContext(context.Context) AppSpecStaticSiteGitPtrOutput
}

AppSpecStaticSiteGitPtrInput is an input type that accepts AppSpecStaticSiteGitArgs, AppSpecStaticSiteGitPtr and AppSpecStaticSiteGitPtrOutput values. You can construct a concrete instance of `AppSpecStaticSiteGitPtrInput` via:

        AppSpecStaticSiteGitArgs{...}

or:

        nil

type AppSpecStaticSiteGitPtrOutput

type AppSpecStaticSiteGitPtrOutput struct{ *pulumi.OutputState }

func (AppSpecStaticSiteGitPtrOutput) Branch

The name of the branch to use.

func (AppSpecStaticSiteGitPtrOutput) Elem

func (AppSpecStaticSiteGitPtrOutput) ElementType

func (AppSpecStaticSiteGitPtrOutput) RepoCloneUrl

The clone URL of the repo.

func (AppSpecStaticSiteGitPtrOutput) ToAppSpecStaticSiteGitPtrOutput

func (o AppSpecStaticSiteGitPtrOutput) ToAppSpecStaticSiteGitPtrOutput() AppSpecStaticSiteGitPtrOutput

func (AppSpecStaticSiteGitPtrOutput) ToAppSpecStaticSiteGitPtrOutputWithContext

func (o AppSpecStaticSiteGitPtrOutput) ToAppSpecStaticSiteGitPtrOutputWithContext(ctx context.Context) AppSpecStaticSiteGitPtrOutput

type AppSpecStaticSiteGithub

type AppSpecStaticSiteGithub struct {
	// The name of the branch to use.
	Branch *string `pulumi:"branch"`
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPush *bool `pulumi:"deployOnPush"`
	// The name of the repo in the format `owner/repo`.
	Repo *string `pulumi:"repo"`
}

type AppSpecStaticSiteGithubArgs

type AppSpecStaticSiteGithubArgs struct {
	// The name of the branch to use.
	Branch pulumi.StringPtrInput `pulumi:"branch"`
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPush pulumi.BoolPtrInput `pulumi:"deployOnPush"`
	// The name of the repo in the format `owner/repo`.
	Repo pulumi.StringPtrInput `pulumi:"repo"`
}

func (AppSpecStaticSiteGithubArgs) ElementType

func (AppSpecStaticSiteGithubArgs) ToAppSpecStaticSiteGithubOutput

func (i AppSpecStaticSiteGithubArgs) ToAppSpecStaticSiteGithubOutput() AppSpecStaticSiteGithubOutput

func (AppSpecStaticSiteGithubArgs) ToAppSpecStaticSiteGithubOutputWithContext

func (i AppSpecStaticSiteGithubArgs) ToAppSpecStaticSiteGithubOutputWithContext(ctx context.Context) AppSpecStaticSiteGithubOutput

func (AppSpecStaticSiteGithubArgs) ToAppSpecStaticSiteGithubPtrOutput

func (i AppSpecStaticSiteGithubArgs) ToAppSpecStaticSiteGithubPtrOutput() AppSpecStaticSiteGithubPtrOutput

func (AppSpecStaticSiteGithubArgs) ToAppSpecStaticSiteGithubPtrOutputWithContext

func (i AppSpecStaticSiteGithubArgs) ToAppSpecStaticSiteGithubPtrOutputWithContext(ctx context.Context) AppSpecStaticSiteGithubPtrOutput

type AppSpecStaticSiteGithubInput

type AppSpecStaticSiteGithubInput interface {
	pulumi.Input

	ToAppSpecStaticSiteGithubOutput() AppSpecStaticSiteGithubOutput
	ToAppSpecStaticSiteGithubOutputWithContext(context.Context) AppSpecStaticSiteGithubOutput
}

AppSpecStaticSiteGithubInput is an input type that accepts AppSpecStaticSiteGithubArgs and AppSpecStaticSiteGithubOutput values. You can construct a concrete instance of `AppSpecStaticSiteGithubInput` via:

AppSpecStaticSiteGithubArgs{...}

type AppSpecStaticSiteGithubOutput

type AppSpecStaticSiteGithubOutput struct{ *pulumi.OutputState }

func (AppSpecStaticSiteGithubOutput) Branch

The name of the branch to use.

func (AppSpecStaticSiteGithubOutput) DeployOnPush

Whether to automatically deploy new commits made to the repo.

func (AppSpecStaticSiteGithubOutput) ElementType

func (AppSpecStaticSiteGithubOutput) Repo

The name of the repo in the format `owner/repo`.

func (AppSpecStaticSiteGithubOutput) ToAppSpecStaticSiteGithubOutput

func (o AppSpecStaticSiteGithubOutput) ToAppSpecStaticSiteGithubOutput() AppSpecStaticSiteGithubOutput

func (AppSpecStaticSiteGithubOutput) ToAppSpecStaticSiteGithubOutputWithContext

func (o AppSpecStaticSiteGithubOutput) ToAppSpecStaticSiteGithubOutputWithContext(ctx context.Context) AppSpecStaticSiteGithubOutput

func (AppSpecStaticSiteGithubOutput) ToAppSpecStaticSiteGithubPtrOutput

func (o AppSpecStaticSiteGithubOutput) ToAppSpecStaticSiteGithubPtrOutput() AppSpecStaticSiteGithubPtrOutput

func (AppSpecStaticSiteGithubOutput) ToAppSpecStaticSiteGithubPtrOutputWithContext

func (o AppSpecStaticSiteGithubOutput) ToAppSpecStaticSiteGithubPtrOutputWithContext(ctx context.Context) AppSpecStaticSiteGithubPtrOutput

type AppSpecStaticSiteGithubPtrInput

type AppSpecStaticSiteGithubPtrInput interface {
	pulumi.Input

	ToAppSpecStaticSiteGithubPtrOutput() AppSpecStaticSiteGithubPtrOutput
	ToAppSpecStaticSiteGithubPtrOutputWithContext(context.Context) AppSpecStaticSiteGithubPtrOutput
}

AppSpecStaticSiteGithubPtrInput is an input type that accepts AppSpecStaticSiteGithubArgs, AppSpecStaticSiteGithubPtr and AppSpecStaticSiteGithubPtrOutput values. You can construct a concrete instance of `AppSpecStaticSiteGithubPtrInput` via:

        AppSpecStaticSiteGithubArgs{...}

or:

        nil

type AppSpecStaticSiteGithubPtrOutput

type AppSpecStaticSiteGithubPtrOutput struct{ *pulumi.OutputState }

func (AppSpecStaticSiteGithubPtrOutput) Branch

The name of the branch to use.

func (AppSpecStaticSiteGithubPtrOutput) DeployOnPush

Whether to automatically deploy new commits made to the repo.

func (AppSpecStaticSiteGithubPtrOutput) Elem

func (AppSpecStaticSiteGithubPtrOutput) ElementType

func (AppSpecStaticSiteGithubPtrOutput) Repo

The name of the repo in the format `owner/repo`.

func (AppSpecStaticSiteGithubPtrOutput) ToAppSpecStaticSiteGithubPtrOutput

func (o AppSpecStaticSiteGithubPtrOutput) ToAppSpecStaticSiteGithubPtrOutput() AppSpecStaticSiteGithubPtrOutput

func (AppSpecStaticSiteGithubPtrOutput) ToAppSpecStaticSiteGithubPtrOutputWithContext

func (o AppSpecStaticSiteGithubPtrOutput) ToAppSpecStaticSiteGithubPtrOutputWithContext(ctx context.Context) AppSpecStaticSiteGithubPtrOutput

type AppSpecStaticSiteGitlab

type AppSpecStaticSiteGitlab struct {
	// The name of the branch to use.
	Branch *string `pulumi:"branch"`
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPush *bool `pulumi:"deployOnPush"`
	// The name of the repo in the format `owner/repo`.
	Repo *string `pulumi:"repo"`
}

type AppSpecStaticSiteGitlabArgs

type AppSpecStaticSiteGitlabArgs struct {
	// The name of the branch to use.
	Branch pulumi.StringPtrInput `pulumi:"branch"`
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPush pulumi.BoolPtrInput `pulumi:"deployOnPush"`
	// The name of the repo in the format `owner/repo`.
	Repo pulumi.StringPtrInput `pulumi:"repo"`
}

func (AppSpecStaticSiteGitlabArgs) ElementType

func (AppSpecStaticSiteGitlabArgs) ToAppSpecStaticSiteGitlabOutput

func (i AppSpecStaticSiteGitlabArgs) ToAppSpecStaticSiteGitlabOutput() AppSpecStaticSiteGitlabOutput

func (AppSpecStaticSiteGitlabArgs) ToAppSpecStaticSiteGitlabOutputWithContext

func (i AppSpecStaticSiteGitlabArgs) ToAppSpecStaticSiteGitlabOutputWithContext(ctx context.Context) AppSpecStaticSiteGitlabOutput

func (AppSpecStaticSiteGitlabArgs) ToAppSpecStaticSiteGitlabPtrOutput

func (i AppSpecStaticSiteGitlabArgs) ToAppSpecStaticSiteGitlabPtrOutput() AppSpecStaticSiteGitlabPtrOutput

func (AppSpecStaticSiteGitlabArgs) ToAppSpecStaticSiteGitlabPtrOutputWithContext

func (i AppSpecStaticSiteGitlabArgs) ToAppSpecStaticSiteGitlabPtrOutputWithContext(ctx context.Context) AppSpecStaticSiteGitlabPtrOutput

type AppSpecStaticSiteGitlabInput

type AppSpecStaticSiteGitlabInput interface {
	pulumi.Input

	ToAppSpecStaticSiteGitlabOutput() AppSpecStaticSiteGitlabOutput
	ToAppSpecStaticSiteGitlabOutputWithContext(context.Context) AppSpecStaticSiteGitlabOutput
}

AppSpecStaticSiteGitlabInput is an input type that accepts AppSpecStaticSiteGitlabArgs and AppSpecStaticSiteGitlabOutput values. You can construct a concrete instance of `AppSpecStaticSiteGitlabInput` via:

AppSpecStaticSiteGitlabArgs{...}

type AppSpecStaticSiteGitlabOutput

type AppSpecStaticSiteGitlabOutput struct{ *pulumi.OutputState }

func (AppSpecStaticSiteGitlabOutput) Branch

The name of the branch to use.

func (AppSpecStaticSiteGitlabOutput) DeployOnPush

Whether to automatically deploy new commits made to the repo.

func (AppSpecStaticSiteGitlabOutput) ElementType

func (AppSpecStaticSiteGitlabOutput) Repo

The name of the repo in the format `owner/repo`.

func (AppSpecStaticSiteGitlabOutput) ToAppSpecStaticSiteGitlabOutput

func (o AppSpecStaticSiteGitlabOutput) ToAppSpecStaticSiteGitlabOutput() AppSpecStaticSiteGitlabOutput

func (AppSpecStaticSiteGitlabOutput) ToAppSpecStaticSiteGitlabOutputWithContext

func (o AppSpecStaticSiteGitlabOutput) ToAppSpecStaticSiteGitlabOutputWithContext(ctx context.Context) AppSpecStaticSiteGitlabOutput

func (AppSpecStaticSiteGitlabOutput) ToAppSpecStaticSiteGitlabPtrOutput

func (o AppSpecStaticSiteGitlabOutput) ToAppSpecStaticSiteGitlabPtrOutput() AppSpecStaticSiteGitlabPtrOutput

func (AppSpecStaticSiteGitlabOutput) ToAppSpecStaticSiteGitlabPtrOutputWithContext

func (o AppSpecStaticSiteGitlabOutput) ToAppSpecStaticSiteGitlabPtrOutputWithContext(ctx context.Context) AppSpecStaticSiteGitlabPtrOutput

type AppSpecStaticSiteGitlabPtrInput

type AppSpecStaticSiteGitlabPtrInput interface {
	pulumi.Input

	ToAppSpecStaticSiteGitlabPtrOutput() AppSpecStaticSiteGitlabPtrOutput
	ToAppSpecStaticSiteGitlabPtrOutputWithContext(context.Context) AppSpecStaticSiteGitlabPtrOutput
}

AppSpecStaticSiteGitlabPtrInput is an input type that accepts AppSpecStaticSiteGitlabArgs, AppSpecStaticSiteGitlabPtr and AppSpecStaticSiteGitlabPtrOutput values. You can construct a concrete instance of `AppSpecStaticSiteGitlabPtrInput` via:

        AppSpecStaticSiteGitlabArgs{...}

or:

        nil

type AppSpecStaticSiteGitlabPtrOutput

type AppSpecStaticSiteGitlabPtrOutput struct{ *pulumi.OutputState }

func (AppSpecStaticSiteGitlabPtrOutput) Branch

The name of the branch to use.

func (AppSpecStaticSiteGitlabPtrOutput) DeployOnPush

Whether to automatically deploy new commits made to the repo.

func (AppSpecStaticSiteGitlabPtrOutput) Elem

func (AppSpecStaticSiteGitlabPtrOutput) ElementType

func (AppSpecStaticSiteGitlabPtrOutput) Repo

The name of the repo in the format `owner/repo`.

func (AppSpecStaticSiteGitlabPtrOutput) ToAppSpecStaticSiteGitlabPtrOutput

func (o AppSpecStaticSiteGitlabPtrOutput) ToAppSpecStaticSiteGitlabPtrOutput() AppSpecStaticSiteGitlabPtrOutput

func (AppSpecStaticSiteGitlabPtrOutput) ToAppSpecStaticSiteGitlabPtrOutputWithContext

func (o AppSpecStaticSiteGitlabPtrOutput) ToAppSpecStaticSiteGitlabPtrOutputWithContext(ctx context.Context) AppSpecStaticSiteGitlabPtrOutput

type AppSpecStaticSiteInput

type AppSpecStaticSiteInput interface {
	pulumi.Input

	ToAppSpecStaticSiteOutput() AppSpecStaticSiteOutput
	ToAppSpecStaticSiteOutputWithContext(context.Context) AppSpecStaticSiteOutput
}

AppSpecStaticSiteInput is an input type that accepts AppSpecStaticSiteArgs and AppSpecStaticSiteOutput values. You can construct a concrete instance of `AppSpecStaticSiteInput` via:

AppSpecStaticSiteArgs{...}

type AppSpecStaticSiteOutput

type AppSpecStaticSiteOutput struct{ *pulumi.OutputState }

func (AppSpecStaticSiteOutput) BuildCommand

An optional build command to run while building this component from source.

func (AppSpecStaticSiteOutput) CatchallDocument

func (o AppSpecStaticSiteOutput) CatchallDocument() pulumi.StringPtrOutput

The name of the document to use as the fallback for any requests to documents that are not found when serving this static site.

func (AppSpecStaticSiteOutput) Cors deprecated added in v4.7.0

The [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies of the app.

Deprecated: Service level CORS rules are deprecated in favor of ingresses

func (AppSpecStaticSiteOutput) DockerfilePath

func (o AppSpecStaticSiteOutput) DockerfilePath() pulumi.StringPtrOutput

The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.

func (AppSpecStaticSiteOutput) ElementType

func (AppSpecStaticSiteOutput) ElementType() reflect.Type

func (AppSpecStaticSiteOutput) EnvironmentSlug

func (o AppSpecStaticSiteOutput) EnvironmentSlug() pulumi.StringPtrOutput

An environment slug describing the type of this app.

func (AppSpecStaticSiteOutput) Envs

Describes an environment variable made available to an app competent.

func (AppSpecStaticSiteOutput) ErrorDocument

The name of the error document to use when serving this static site.

func (AppSpecStaticSiteOutput) Git

A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of `git`, `github` or `gitlab` may be set.

func (AppSpecStaticSiteOutput) Github

A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.

func (AppSpecStaticSiteOutput) Gitlab

A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.

func (AppSpecStaticSiteOutput) IndexDocument

The name of the index document to use when serving this static site.

func (AppSpecStaticSiteOutput) Name

The name of the component.

func (AppSpecStaticSiteOutput) OutputDir

An optional path to where the built assets will be located, relative to the build context. If not set, App Platform will automatically scan for these directory names: `_static`, `dist`, `public`.

func (AppSpecStaticSiteOutput) Routes deprecated

An HTTP paths that should be routed to this component.

Deprecated: Service level routes are deprecated in favor of ingresses

func (AppSpecStaticSiteOutput) SourceDir

An optional path to the working directory to use for the build.

func (AppSpecStaticSiteOutput) ToAppSpecStaticSiteOutput

func (o AppSpecStaticSiteOutput) ToAppSpecStaticSiteOutput() AppSpecStaticSiteOutput

func (AppSpecStaticSiteOutput) ToAppSpecStaticSiteOutputWithContext

func (o AppSpecStaticSiteOutput) ToAppSpecStaticSiteOutputWithContext(ctx context.Context) AppSpecStaticSiteOutput

type AppSpecStaticSiteRoute

type AppSpecStaticSiteRoute struct {
	// Paths must start with `/` and must be unique within the app.
	Path *string `pulumi:"path"`
	// An optional flag to preserve the path that is forwarded to the backend service.
	PreservePathPrefix *bool `pulumi:"preservePathPrefix"`
}

type AppSpecStaticSiteRouteArgs

type AppSpecStaticSiteRouteArgs struct {
	// Paths must start with `/` and must be unique within the app.
	Path pulumi.StringPtrInput `pulumi:"path"`
	// An optional flag to preserve the path that is forwarded to the backend service.
	PreservePathPrefix pulumi.BoolPtrInput `pulumi:"preservePathPrefix"`
}

func (AppSpecStaticSiteRouteArgs) ElementType

func (AppSpecStaticSiteRouteArgs) ElementType() reflect.Type

func (AppSpecStaticSiteRouteArgs) ToAppSpecStaticSiteRouteOutput

func (i AppSpecStaticSiteRouteArgs) ToAppSpecStaticSiteRouteOutput() AppSpecStaticSiteRouteOutput

func (AppSpecStaticSiteRouteArgs) ToAppSpecStaticSiteRouteOutputWithContext

func (i AppSpecStaticSiteRouteArgs) ToAppSpecStaticSiteRouteOutputWithContext(ctx context.Context) AppSpecStaticSiteRouteOutput

type AppSpecStaticSiteRouteArray

type AppSpecStaticSiteRouteArray []AppSpecStaticSiteRouteInput

func (AppSpecStaticSiteRouteArray) ElementType

func (AppSpecStaticSiteRouteArray) ToAppSpecStaticSiteRouteArrayOutput

func (i AppSpecStaticSiteRouteArray) ToAppSpecStaticSiteRouteArrayOutput() AppSpecStaticSiteRouteArrayOutput

func (AppSpecStaticSiteRouteArray) ToAppSpecStaticSiteRouteArrayOutputWithContext

func (i AppSpecStaticSiteRouteArray) ToAppSpecStaticSiteRouteArrayOutputWithContext(ctx context.Context) AppSpecStaticSiteRouteArrayOutput

type AppSpecStaticSiteRouteArrayInput

type AppSpecStaticSiteRouteArrayInput interface {
	pulumi.Input

	ToAppSpecStaticSiteRouteArrayOutput() AppSpecStaticSiteRouteArrayOutput
	ToAppSpecStaticSiteRouteArrayOutputWithContext(context.Context) AppSpecStaticSiteRouteArrayOutput
}

AppSpecStaticSiteRouteArrayInput is an input type that accepts AppSpecStaticSiteRouteArray and AppSpecStaticSiteRouteArrayOutput values. You can construct a concrete instance of `AppSpecStaticSiteRouteArrayInput` via:

AppSpecStaticSiteRouteArray{ AppSpecStaticSiteRouteArgs{...} }

type AppSpecStaticSiteRouteArrayOutput

type AppSpecStaticSiteRouteArrayOutput struct{ *pulumi.OutputState }

func (AppSpecStaticSiteRouteArrayOutput) ElementType

func (AppSpecStaticSiteRouteArrayOutput) Index

func (AppSpecStaticSiteRouteArrayOutput) ToAppSpecStaticSiteRouteArrayOutput

func (o AppSpecStaticSiteRouteArrayOutput) ToAppSpecStaticSiteRouteArrayOutput() AppSpecStaticSiteRouteArrayOutput

func (AppSpecStaticSiteRouteArrayOutput) ToAppSpecStaticSiteRouteArrayOutputWithContext

func (o AppSpecStaticSiteRouteArrayOutput) ToAppSpecStaticSiteRouteArrayOutputWithContext(ctx context.Context) AppSpecStaticSiteRouteArrayOutput

type AppSpecStaticSiteRouteInput

type AppSpecStaticSiteRouteInput interface {
	pulumi.Input

	ToAppSpecStaticSiteRouteOutput() AppSpecStaticSiteRouteOutput
	ToAppSpecStaticSiteRouteOutputWithContext(context.Context) AppSpecStaticSiteRouteOutput
}

AppSpecStaticSiteRouteInput is an input type that accepts AppSpecStaticSiteRouteArgs and AppSpecStaticSiteRouteOutput values. You can construct a concrete instance of `AppSpecStaticSiteRouteInput` via:

AppSpecStaticSiteRouteArgs{...}

type AppSpecStaticSiteRouteOutput

type AppSpecStaticSiteRouteOutput struct{ *pulumi.OutputState }

func (AppSpecStaticSiteRouteOutput) ElementType

func (AppSpecStaticSiteRouteOutput) Path

Paths must start with `/` and must be unique within the app.

func (AppSpecStaticSiteRouteOutput) PreservePathPrefix added in v4.11.0

func (o AppSpecStaticSiteRouteOutput) PreservePathPrefix() pulumi.BoolPtrOutput

An optional flag to preserve the path that is forwarded to the backend service.

func (AppSpecStaticSiteRouteOutput) ToAppSpecStaticSiteRouteOutput

func (o AppSpecStaticSiteRouteOutput) ToAppSpecStaticSiteRouteOutput() AppSpecStaticSiteRouteOutput

func (AppSpecStaticSiteRouteOutput) ToAppSpecStaticSiteRouteOutputWithContext

func (o AppSpecStaticSiteRouteOutput) ToAppSpecStaticSiteRouteOutputWithContext(ctx context.Context) AppSpecStaticSiteRouteOutput

type AppSpecWorker

type AppSpecWorker struct {
	// Describes an alert policy for the component.
	Alerts []AppSpecWorkerAlert `pulumi:"alerts"`
	// An optional build command to run while building this component from source.
	BuildCommand *string `pulumi:"buildCommand"`
	// The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
	DockerfilePath *string `pulumi:"dockerfilePath"`
	// An environment slug describing the type of this app.
	EnvironmentSlug *string `pulumi:"environmentSlug"`
	// Describes an environment variable made available to an app competent.
	Envs []AppSpecWorkerEnv `pulumi:"envs"`
	// A Git repo to use as the component's source. The repository must be able to be cloned without authentication.  Only one of `git`, `github` or `gitlab`  may be set.
	Git *AppSpecWorkerGit `pulumi:"git"`
	// A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Github *AppSpecWorkerGithub `pulumi:"github"`
	// A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Gitlab *AppSpecWorkerGitlab `pulumi:"gitlab"`
	// An image to use as the component's source. Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Image *AppSpecWorkerImage `pulumi:"image"`
	// The amount of instances that this component should be scaled to.
	InstanceCount *int `pulumi:"instanceCount"`
	// The instance size to use for this component. This determines the plan (basic or professional) and the available CPU and memory. The list of available instance sizes can be [found with the API](https://docs.digitalocean.com/reference/api/api-reference/#operation/list_instance_sizes) or using the [doctl CLI](https://docs.digitalocean.com/reference/doctl/) (`doctl apps tier instance-size list`). Default: `basic-xxs`
	InstanceSizeSlug *string `pulumi:"instanceSizeSlug"`
	// Describes a log forwarding destination.
	LogDestinations []AppSpecWorkerLogDestination `pulumi:"logDestinations"`
	// The name of the component.
	Name string `pulumi:"name"`
	// An optional run command to override the component's default.
	RunCommand *string `pulumi:"runCommand"`
	// An optional path to the working directory to use for the build.
	SourceDir *string `pulumi:"sourceDir"`
}

type AppSpecWorkerAlert added in v4.12.0

type AppSpecWorkerAlert struct {
	// Determines whether or not the alert is disabled (default: `false`).
	Disabled *bool `pulumi:"disabled"`
	// The operator to use. This is either of `GREATER_THAN` or `LESS_THAN`.
	Operator string `pulumi:"operator"`
	// The type of the alert to configure. Component app alert policies can be: `CPU_UTILIZATION`, `MEM_UTILIZATION`, or `RESTART_COUNT`.
	Rule string `pulumi:"rule"`
	// The threshold for the type of the warning.
	Value float64 `pulumi:"value"`
	// The time before alerts should be triggered. This is may be one of: `FIVE_MINUTES`, `TEN_MINUTES`, `THIRTY_MINUTES`, `ONE_HOUR`.
	Window string `pulumi:"window"`
}

type AppSpecWorkerAlertArgs added in v4.12.0

type AppSpecWorkerAlertArgs struct {
	// Determines whether or not the alert is disabled (default: `false`).
	Disabled pulumi.BoolPtrInput `pulumi:"disabled"`
	// The operator to use. This is either of `GREATER_THAN` or `LESS_THAN`.
	Operator pulumi.StringInput `pulumi:"operator"`
	// The type of the alert to configure. Component app alert policies can be: `CPU_UTILIZATION`, `MEM_UTILIZATION`, or `RESTART_COUNT`.
	Rule pulumi.StringInput `pulumi:"rule"`
	// The threshold for the type of the warning.
	Value pulumi.Float64Input `pulumi:"value"`
	// The time before alerts should be triggered. This is may be one of: `FIVE_MINUTES`, `TEN_MINUTES`, `THIRTY_MINUTES`, `ONE_HOUR`.
	Window pulumi.StringInput `pulumi:"window"`
}

func (AppSpecWorkerAlertArgs) ElementType added in v4.12.0

func (AppSpecWorkerAlertArgs) ElementType() reflect.Type

func (AppSpecWorkerAlertArgs) ToAppSpecWorkerAlertOutput added in v4.12.0

func (i AppSpecWorkerAlertArgs) ToAppSpecWorkerAlertOutput() AppSpecWorkerAlertOutput

func (AppSpecWorkerAlertArgs) ToAppSpecWorkerAlertOutputWithContext added in v4.12.0

func (i AppSpecWorkerAlertArgs) ToAppSpecWorkerAlertOutputWithContext(ctx context.Context) AppSpecWorkerAlertOutput

type AppSpecWorkerAlertArray added in v4.12.0

type AppSpecWorkerAlertArray []AppSpecWorkerAlertInput

func (AppSpecWorkerAlertArray) ElementType added in v4.12.0

func (AppSpecWorkerAlertArray) ElementType() reflect.Type

func (AppSpecWorkerAlertArray) ToAppSpecWorkerAlertArrayOutput added in v4.12.0

func (i AppSpecWorkerAlertArray) ToAppSpecWorkerAlertArrayOutput() AppSpecWorkerAlertArrayOutput

func (AppSpecWorkerAlertArray) ToAppSpecWorkerAlertArrayOutputWithContext added in v4.12.0

func (i AppSpecWorkerAlertArray) ToAppSpecWorkerAlertArrayOutputWithContext(ctx context.Context) AppSpecWorkerAlertArrayOutput

type AppSpecWorkerAlertArrayInput added in v4.12.0

type AppSpecWorkerAlertArrayInput interface {
	pulumi.Input

	ToAppSpecWorkerAlertArrayOutput() AppSpecWorkerAlertArrayOutput
	ToAppSpecWorkerAlertArrayOutputWithContext(context.Context) AppSpecWorkerAlertArrayOutput
}

AppSpecWorkerAlertArrayInput is an input type that accepts AppSpecWorkerAlertArray and AppSpecWorkerAlertArrayOutput values. You can construct a concrete instance of `AppSpecWorkerAlertArrayInput` via:

AppSpecWorkerAlertArray{ AppSpecWorkerAlertArgs{...} }

type AppSpecWorkerAlertArrayOutput added in v4.12.0

type AppSpecWorkerAlertArrayOutput struct{ *pulumi.OutputState }

func (AppSpecWorkerAlertArrayOutput) ElementType added in v4.12.0

func (AppSpecWorkerAlertArrayOutput) Index added in v4.12.0

func (AppSpecWorkerAlertArrayOutput) ToAppSpecWorkerAlertArrayOutput added in v4.12.0

func (o AppSpecWorkerAlertArrayOutput) ToAppSpecWorkerAlertArrayOutput() AppSpecWorkerAlertArrayOutput

func (AppSpecWorkerAlertArrayOutput) ToAppSpecWorkerAlertArrayOutputWithContext added in v4.12.0

func (o AppSpecWorkerAlertArrayOutput) ToAppSpecWorkerAlertArrayOutputWithContext(ctx context.Context) AppSpecWorkerAlertArrayOutput

type AppSpecWorkerAlertInput added in v4.12.0

type AppSpecWorkerAlertInput interface {
	pulumi.Input

	ToAppSpecWorkerAlertOutput() AppSpecWorkerAlertOutput
	ToAppSpecWorkerAlertOutputWithContext(context.Context) AppSpecWorkerAlertOutput
}

AppSpecWorkerAlertInput is an input type that accepts AppSpecWorkerAlertArgs and AppSpecWorkerAlertOutput values. You can construct a concrete instance of `AppSpecWorkerAlertInput` via:

AppSpecWorkerAlertArgs{...}

type AppSpecWorkerAlertOutput added in v4.12.0

type AppSpecWorkerAlertOutput struct{ *pulumi.OutputState }

func (AppSpecWorkerAlertOutput) Disabled added in v4.12.0

Determines whether or not the alert is disabled (default: `false`).

func (AppSpecWorkerAlertOutput) ElementType added in v4.12.0

func (AppSpecWorkerAlertOutput) ElementType() reflect.Type

func (AppSpecWorkerAlertOutput) Operator added in v4.12.0

The operator to use. This is either of `GREATER_THAN` or `LESS_THAN`.

func (AppSpecWorkerAlertOutput) Rule added in v4.12.0

The type of the alert to configure. Component app alert policies can be: `CPU_UTILIZATION`, `MEM_UTILIZATION`, or `RESTART_COUNT`.

func (AppSpecWorkerAlertOutput) ToAppSpecWorkerAlertOutput added in v4.12.0

func (o AppSpecWorkerAlertOutput) ToAppSpecWorkerAlertOutput() AppSpecWorkerAlertOutput

func (AppSpecWorkerAlertOutput) ToAppSpecWorkerAlertOutputWithContext added in v4.12.0

func (o AppSpecWorkerAlertOutput) ToAppSpecWorkerAlertOutputWithContext(ctx context.Context) AppSpecWorkerAlertOutput

func (AppSpecWorkerAlertOutput) Value added in v4.12.0

The threshold for the type of the warning.

func (AppSpecWorkerAlertOutput) Window added in v4.12.0

The time before alerts should be triggered. This is may be one of: `FIVE_MINUTES`, `TEN_MINUTES`, `THIRTY_MINUTES`, `ONE_HOUR`.

type AppSpecWorkerArgs

type AppSpecWorkerArgs struct {
	// Describes an alert policy for the component.
	Alerts AppSpecWorkerAlertArrayInput `pulumi:"alerts"`
	// An optional build command to run while building this component from source.
	BuildCommand pulumi.StringPtrInput `pulumi:"buildCommand"`
	// The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
	DockerfilePath pulumi.StringPtrInput `pulumi:"dockerfilePath"`
	// An environment slug describing the type of this app.
	EnvironmentSlug pulumi.StringPtrInput `pulumi:"environmentSlug"`
	// Describes an environment variable made available to an app competent.
	Envs AppSpecWorkerEnvArrayInput `pulumi:"envs"`
	// A Git repo to use as the component's source. The repository must be able to be cloned without authentication.  Only one of `git`, `github` or `gitlab`  may be set.
	Git AppSpecWorkerGitPtrInput `pulumi:"git"`
	// A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Github AppSpecWorkerGithubPtrInput `pulumi:"github"`
	// A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Gitlab AppSpecWorkerGitlabPtrInput `pulumi:"gitlab"`
	// An image to use as the component's source. Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Image AppSpecWorkerImagePtrInput `pulumi:"image"`
	// The amount of instances that this component should be scaled to.
	InstanceCount pulumi.IntPtrInput `pulumi:"instanceCount"`
	// The instance size to use for this component. This determines the plan (basic or professional) and the available CPU and memory. The list of available instance sizes can be [found with the API](https://docs.digitalocean.com/reference/api/api-reference/#operation/list_instance_sizes) or using the [doctl CLI](https://docs.digitalocean.com/reference/doctl/) (`doctl apps tier instance-size list`). Default: `basic-xxs`
	InstanceSizeSlug pulumi.StringPtrInput `pulumi:"instanceSizeSlug"`
	// Describes a log forwarding destination.
	LogDestinations AppSpecWorkerLogDestinationArrayInput `pulumi:"logDestinations"`
	// The name of the component.
	Name pulumi.StringInput `pulumi:"name"`
	// An optional run command to override the component's default.
	RunCommand pulumi.StringPtrInput `pulumi:"runCommand"`
	// An optional path to the working directory to use for the build.
	SourceDir pulumi.StringPtrInput `pulumi:"sourceDir"`
}

func (AppSpecWorkerArgs) ElementType

func (AppSpecWorkerArgs) ElementType() reflect.Type

func (AppSpecWorkerArgs) ToAppSpecWorkerOutput

func (i AppSpecWorkerArgs) ToAppSpecWorkerOutput() AppSpecWorkerOutput

func (AppSpecWorkerArgs) ToAppSpecWorkerOutputWithContext

func (i AppSpecWorkerArgs) ToAppSpecWorkerOutputWithContext(ctx context.Context) AppSpecWorkerOutput

type AppSpecWorkerArray

type AppSpecWorkerArray []AppSpecWorkerInput

func (AppSpecWorkerArray) ElementType

func (AppSpecWorkerArray) ElementType() reflect.Type

func (AppSpecWorkerArray) ToAppSpecWorkerArrayOutput

func (i AppSpecWorkerArray) ToAppSpecWorkerArrayOutput() AppSpecWorkerArrayOutput

func (AppSpecWorkerArray) ToAppSpecWorkerArrayOutputWithContext

func (i AppSpecWorkerArray) ToAppSpecWorkerArrayOutputWithContext(ctx context.Context) AppSpecWorkerArrayOutput

type AppSpecWorkerArrayInput

type AppSpecWorkerArrayInput interface {
	pulumi.Input

	ToAppSpecWorkerArrayOutput() AppSpecWorkerArrayOutput
	ToAppSpecWorkerArrayOutputWithContext(context.Context) AppSpecWorkerArrayOutput
}

AppSpecWorkerArrayInput is an input type that accepts AppSpecWorkerArray and AppSpecWorkerArrayOutput values. You can construct a concrete instance of `AppSpecWorkerArrayInput` via:

AppSpecWorkerArray{ AppSpecWorkerArgs{...} }

type AppSpecWorkerArrayOutput

type AppSpecWorkerArrayOutput struct{ *pulumi.OutputState }

func (AppSpecWorkerArrayOutput) ElementType

func (AppSpecWorkerArrayOutput) ElementType() reflect.Type

func (AppSpecWorkerArrayOutput) Index

func (AppSpecWorkerArrayOutput) ToAppSpecWorkerArrayOutput

func (o AppSpecWorkerArrayOutput) ToAppSpecWorkerArrayOutput() AppSpecWorkerArrayOutput

func (AppSpecWorkerArrayOutput) ToAppSpecWorkerArrayOutputWithContext

func (o AppSpecWorkerArrayOutput) ToAppSpecWorkerArrayOutputWithContext(ctx context.Context) AppSpecWorkerArrayOutput

type AppSpecWorkerEnv

type AppSpecWorkerEnv struct {
	// The name of the environment variable.
	Key *string `pulumi:"key"`
	// The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).
	Scope *string `pulumi:"scope"`
	// The type of the environment variable, `GENERAL` or `SECRET`.
	Type *string `pulumi:"type"`
	// The value of the environment variable.
	Value *string `pulumi:"value"`
}

type AppSpecWorkerEnvArgs

type AppSpecWorkerEnvArgs struct {
	// The name of the environment variable.
	Key pulumi.StringPtrInput `pulumi:"key"`
	// The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).
	Scope pulumi.StringPtrInput `pulumi:"scope"`
	// The type of the environment variable, `GENERAL` or `SECRET`.
	Type pulumi.StringPtrInput `pulumi:"type"`
	// The value of the environment variable.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (AppSpecWorkerEnvArgs) ElementType

func (AppSpecWorkerEnvArgs) ElementType() reflect.Type

func (AppSpecWorkerEnvArgs) ToAppSpecWorkerEnvOutput

func (i AppSpecWorkerEnvArgs) ToAppSpecWorkerEnvOutput() AppSpecWorkerEnvOutput

func (AppSpecWorkerEnvArgs) ToAppSpecWorkerEnvOutputWithContext

func (i AppSpecWorkerEnvArgs) ToAppSpecWorkerEnvOutputWithContext(ctx context.Context) AppSpecWorkerEnvOutput

type AppSpecWorkerEnvArray

type AppSpecWorkerEnvArray []AppSpecWorkerEnvInput

func (AppSpecWorkerEnvArray) ElementType

func (AppSpecWorkerEnvArray) ElementType() reflect.Type

func (AppSpecWorkerEnvArray) ToAppSpecWorkerEnvArrayOutput

func (i AppSpecWorkerEnvArray) ToAppSpecWorkerEnvArrayOutput() AppSpecWorkerEnvArrayOutput

func (AppSpecWorkerEnvArray) ToAppSpecWorkerEnvArrayOutputWithContext

func (i AppSpecWorkerEnvArray) ToAppSpecWorkerEnvArrayOutputWithContext(ctx context.Context) AppSpecWorkerEnvArrayOutput

type AppSpecWorkerEnvArrayInput

type AppSpecWorkerEnvArrayInput interface {
	pulumi.Input

	ToAppSpecWorkerEnvArrayOutput() AppSpecWorkerEnvArrayOutput
	ToAppSpecWorkerEnvArrayOutputWithContext(context.Context) AppSpecWorkerEnvArrayOutput
}

AppSpecWorkerEnvArrayInput is an input type that accepts AppSpecWorkerEnvArray and AppSpecWorkerEnvArrayOutput values. You can construct a concrete instance of `AppSpecWorkerEnvArrayInput` via:

AppSpecWorkerEnvArray{ AppSpecWorkerEnvArgs{...} }

type AppSpecWorkerEnvArrayOutput

type AppSpecWorkerEnvArrayOutput struct{ *pulumi.OutputState }

func (AppSpecWorkerEnvArrayOutput) ElementType

func (AppSpecWorkerEnvArrayOutput) Index

func (AppSpecWorkerEnvArrayOutput) ToAppSpecWorkerEnvArrayOutput

func (o AppSpecWorkerEnvArrayOutput) ToAppSpecWorkerEnvArrayOutput() AppSpecWorkerEnvArrayOutput

func (AppSpecWorkerEnvArrayOutput) ToAppSpecWorkerEnvArrayOutputWithContext

func (o AppSpecWorkerEnvArrayOutput) ToAppSpecWorkerEnvArrayOutputWithContext(ctx context.Context) AppSpecWorkerEnvArrayOutput

type AppSpecWorkerEnvInput

type AppSpecWorkerEnvInput interface {
	pulumi.Input

	ToAppSpecWorkerEnvOutput() AppSpecWorkerEnvOutput
	ToAppSpecWorkerEnvOutputWithContext(context.Context) AppSpecWorkerEnvOutput
}

AppSpecWorkerEnvInput is an input type that accepts AppSpecWorkerEnvArgs and AppSpecWorkerEnvOutput values. You can construct a concrete instance of `AppSpecWorkerEnvInput` via:

AppSpecWorkerEnvArgs{...}

type AppSpecWorkerEnvOutput

type AppSpecWorkerEnvOutput struct{ *pulumi.OutputState }

func (AppSpecWorkerEnvOutput) ElementType

func (AppSpecWorkerEnvOutput) ElementType() reflect.Type

func (AppSpecWorkerEnvOutput) Key

The name of the environment variable.

func (AppSpecWorkerEnvOutput) Scope

The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).

func (AppSpecWorkerEnvOutput) ToAppSpecWorkerEnvOutput

func (o AppSpecWorkerEnvOutput) ToAppSpecWorkerEnvOutput() AppSpecWorkerEnvOutput

func (AppSpecWorkerEnvOutput) ToAppSpecWorkerEnvOutputWithContext

func (o AppSpecWorkerEnvOutput) ToAppSpecWorkerEnvOutputWithContext(ctx context.Context) AppSpecWorkerEnvOutput

func (AppSpecWorkerEnvOutput) Type

The type of the environment variable, `GENERAL` or `SECRET`.

func (AppSpecWorkerEnvOutput) Value

The value of the environment variable.

type AppSpecWorkerGit

type AppSpecWorkerGit struct {
	// The name of the branch to use.
	Branch *string `pulumi:"branch"`
	// The clone URL of the repo.
	RepoCloneUrl *string `pulumi:"repoCloneUrl"`
}

type AppSpecWorkerGitArgs

type AppSpecWorkerGitArgs struct {
	// The name of the branch to use.
	Branch pulumi.StringPtrInput `pulumi:"branch"`
	// The clone URL of the repo.
	RepoCloneUrl pulumi.StringPtrInput `pulumi:"repoCloneUrl"`
}

func (AppSpecWorkerGitArgs) ElementType

func (AppSpecWorkerGitArgs) ElementType() reflect.Type

func (AppSpecWorkerGitArgs) ToAppSpecWorkerGitOutput

func (i AppSpecWorkerGitArgs) ToAppSpecWorkerGitOutput() AppSpecWorkerGitOutput

func (AppSpecWorkerGitArgs) ToAppSpecWorkerGitOutputWithContext

func (i AppSpecWorkerGitArgs) ToAppSpecWorkerGitOutputWithContext(ctx context.Context) AppSpecWorkerGitOutput

func (AppSpecWorkerGitArgs) ToAppSpecWorkerGitPtrOutput

func (i AppSpecWorkerGitArgs) ToAppSpecWorkerGitPtrOutput() AppSpecWorkerGitPtrOutput

func (AppSpecWorkerGitArgs) ToAppSpecWorkerGitPtrOutputWithContext

func (i AppSpecWorkerGitArgs) ToAppSpecWorkerGitPtrOutputWithContext(ctx context.Context) AppSpecWorkerGitPtrOutput

type AppSpecWorkerGitInput

type AppSpecWorkerGitInput interface {
	pulumi.Input

	ToAppSpecWorkerGitOutput() AppSpecWorkerGitOutput
	ToAppSpecWorkerGitOutputWithContext(context.Context) AppSpecWorkerGitOutput
}

AppSpecWorkerGitInput is an input type that accepts AppSpecWorkerGitArgs and AppSpecWorkerGitOutput values. You can construct a concrete instance of `AppSpecWorkerGitInput` via:

AppSpecWorkerGitArgs{...}

type AppSpecWorkerGitOutput

type AppSpecWorkerGitOutput struct{ *pulumi.OutputState }

func (AppSpecWorkerGitOutput) Branch

The name of the branch to use.

func (AppSpecWorkerGitOutput) ElementType

func (AppSpecWorkerGitOutput) ElementType() reflect.Type

func (AppSpecWorkerGitOutput) RepoCloneUrl

The clone URL of the repo.

func (AppSpecWorkerGitOutput) ToAppSpecWorkerGitOutput

func (o AppSpecWorkerGitOutput) ToAppSpecWorkerGitOutput() AppSpecWorkerGitOutput

func (AppSpecWorkerGitOutput) ToAppSpecWorkerGitOutputWithContext

func (o AppSpecWorkerGitOutput) ToAppSpecWorkerGitOutputWithContext(ctx context.Context) AppSpecWorkerGitOutput

func (AppSpecWorkerGitOutput) ToAppSpecWorkerGitPtrOutput

func (o AppSpecWorkerGitOutput) ToAppSpecWorkerGitPtrOutput() AppSpecWorkerGitPtrOutput

func (AppSpecWorkerGitOutput) ToAppSpecWorkerGitPtrOutputWithContext

func (o AppSpecWorkerGitOutput) ToAppSpecWorkerGitPtrOutputWithContext(ctx context.Context) AppSpecWorkerGitPtrOutput

type AppSpecWorkerGitPtrInput

type AppSpecWorkerGitPtrInput interface {
	pulumi.Input

	ToAppSpecWorkerGitPtrOutput() AppSpecWorkerGitPtrOutput
	ToAppSpecWorkerGitPtrOutputWithContext(context.Context) AppSpecWorkerGitPtrOutput
}

AppSpecWorkerGitPtrInput is an input type that accepts AppSpecWorkerGitArgs, AppSpecWorkerGitPtr and AppSpecWorkerGitPtrOutput values. You can construct a concrete instance of `AppSpecWorkerGitPtrInput` via:

        AppSpecWorkerGitArgs{...}

or:

        nil

type AppSpecWorkerGitPtrOutput

type AppSpecWorkerGitPtrOutput struct{ *pulumi.OutputState }

func (AppSpecWorkerGitPtrOutput) Branch

The name of the branch to use.

func (AppSpecWorkerGitPtrOutput) Elem

func (AppSpecWorkerGitPtrOutput) ElementType

func (AppSpecWorkerGitPtrOutput) ElementType() reflect.Type

func (AppSpecWorkerGitPtrOutput) RepoCloneUrl

The clone URL of the repo.

func (AppSpecWorkerGitPtrOutput) ToAppSpecWorkerGitPtrOutput

func (o AppSpecWorkerGitPtrOutput) ToAppSpecWorkerGitPtrOutput() AppSpecWorkerGitPtrOutput

func (AppSpecWorkerGitPtrOutput) ToAppSpecWorkerGitPtrOutputWithContext

func (o AppSpecWorkerGitPtrOutput) ToAppSpecWorkerGitPtrOutputWithContext(ctx context.Context) AppSpecWorkerGitPtrOutput

type AppSpecWorkerGithub

type AppSpecWorkerGithub struct {
	// The name of the branch to use.
	Branch *string `pulumi:"branch"`
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPush *bool `pulumi:"deployOnPush"`
	// The name of the repo in the format `owner/repo`.
	Repo *string `pulumi:"repo"`
}

type AppSpecWorkerGithubArgs

type AppSpecWorkerGithubArgs struct {
	// The name of the branch to use.
	Branch pulumi.StringPtrInput `pulumi:"branch"`
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPush pulumi.BoolPtrInput `pulumi:"deployOnPush"`
	// The name of the repo in the format `owner/repo`.
	Repo pulumi.StringPtrInput `pulumi:"repo"`
}

func (AppSpecWorkerGithubArgs) ElementType

func (AppSpecWorkerGithubArgs) ElementType() reflect.Type

func (AppSpecWorkerGithubArgs) ToAppSpecWorkerGithubOutput

func (i AppSpecWorkerGithubArgs) ToAppSpecWorkerGithubOutput() AppSpecWorkerGithubOutput

func (AppSpecWorkerGithubArgs) ToAppSpecWorkerGithubOutputWithContext

func (i AppSpecWorkerGithubArgs) ToAppSpecWorkerGithubOutputWithContext(ctx context.Context) AppSpecWorkerGithubOutput

func (AppSpecWorkerGithubArgs) ToAppSpecWorkerGithubPtrOutput

func (i AppSpecWorkerGithubArgs) ToAppSpecWorkerGithubPtrOutput() AppSpecWorkerGithubPtrOutput

func (AppSpecWorkerGithubArgs) ToAppSpecWorkerGithubPtrOutputWithContext

func (i AppSpecWorkerGithubArgs) ToAppSpecWorkerGithubPtrOutputWithContext(ctx context.Context) AppSpecWorkerGithubPtrOutput

type AppSpecWorkerGithubInput

type AppSpecWorkerGithubInput interface {
	pulumi.Input

	ToAppSpecWorkerGithubOutput() AppSpecWorkerGithubOutput
	ToAppSpecWorkerGithubOutputWithContext(context.Context) AppSpecWorkerGithubOutput
}

AppSpecWorkerGithubInput is an input type that accepts AppSpecWorkerGithubArgs and AppSpecWorkerGithubOutput values. You can construct a concrete instance of `AppSpecWorkerGithubInput` via:

AppSpecWorkerGithubArgs{...}

type AppSpecWorkerGithubOutput

type AppSpecWorkerGithubOutput struct{ *pulumi.OutputState }

func (AppSpecWorkerGithubOutput) Branch

The name of the branch to use.

func (AppSpecWorkerGithubOutput) DeployOnPush

Whether to automatically deploy new commits made to the repo.

func (AppSpecWorkerGithubOutput) ElementType

func (AppSpecWorkerGithubOutput) ElementType() reflect.Type

func (AppSpecWorkerGithubOutput) Repo

The name of the repo in the format `owner/repo`.

func (AppSpecWorkerGithubOutput) ToAppSpecWorkerGithubOutput

func (o AppSpecWorkerGithubOutput) ToAppSpecWorkerGithubOutput() AppSpecWorkerGithubOutput

func (AppSpecWorkerGithubOutput) ToAppSpecWorkerGithubOutputWithContext

func (o AppSpecWorkerGithubOutput) ToAppSpecWorkerGithubOutputWithContext(ctx context.Context) AppSpecWorkerGithubOutput

func (AppSpecWorkerGithubOutput) ToAppSpecWorkerGithubPtrOutput

func (o AppSpecWorkerGithubOutput) ToAppSpecWorkerGithubPtrOutput() AppSpecWorkerGithubPtrOutput

func (AppSpecWorkerGithubOutput) ToAppSpecWorkerGithubPtrOutputWithContext

func (o AppSpecWorkerGithubOutput) ToAppSpecWorkerGithubPtrOutputWithContext(ctx context.Context) AppSpecWorkerGithubPtrOutput

type AppSpecWorkerGithubPtrInput

type AppSpecWorkerGithubPtrInput interface {
	pulumi.Input

	ToAppSpecWorkerGithubPtrOutput() AppSpecWorkerGithubPtrOutput
	ToAppSpecWorkerGithubPtrOutputWithContext(context.Context) AppSpecWorkerGithubPtrOutput
}

AppSpecWorkerGithubPtrInput is an input type that accepts AppSpecWorkerGithubArgs, AppSpecWorkerGithubPtr and AppSpecWorkerGithubPtrOutput values. You can construct a concrete instance of `AppSpecWorkerGithubPtrInput` via:

        AppSpecWorkerGithubArgs{...}

or:

        nil

type AppSpecWorkerGithubPtrOutput

type AppSpecWorkerGithubPtrOutput struct{ *pulumi.OutputState }

func (AppSpecWorkerGithubPtrOutput) Branch

The name of the branch to use.

func (AppSpecWorkerGithubPtrOutput) DeployOnPush

Whether to automatically deploy new commits made to the repo.

func (AppSpecWorkerGithubPtrOutput) Elem

func (AppSpecWorkerGithubPtrOutput) ElementType

func (AppSpecWorkerGithubPtrOutput) Repo

The name of the repo in the format `owner/repo`.

func (AppSpecWorkerGithubPtrOutput) ToAppSpecWorkerGithubPtrOutput

func (o AppSpecWorkerGithubPtrOutput) ToAppSpecWorkerGithubPtrOutput() AppSpecWorkerGithubPtrOutput

func (AppSpecWorkerGithubPtrOutput) ToAppSpecWorkerGithubPtrOutputWithContext

func (o AppSpecWorkerGithubPtrOutput) ToAppSpecWorkerGithubPtrOutputWithContext(ctx context.Context) AppSpecWorkerGithubPtrOutput

type AppSpecWorkerGitlab

type AppSpecWorkerGitlab struct {
	// The name of the branch to use.
	Branch *string `pulumi:"branch"`
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPush *bool `pulumi:"deployOnPush"`
	// The name of the repo in the format `owner/repo`.
	Repo *string `pulumi:"repo"`
}

type AppSpecWorkerGitlabArgs

type AppSpecWorkerGitlabArgs struct {
	// The name of the branch to use.
	Branch pulumi.StringPtrInput `pulumi:"branch"`
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPush pulumi.BoolPtrInput `pulumi:"deployOnPush"`
	// The name of the repo in the format `owner/repo`.
	Repo pulumi.StringPtrInput `pulumi:"repo"`
}

func (AppSpecWorkerGitlabArgs) ElementType

func (AppSpecWorkerGitlabArgs) ElementType() reflect.Type

func (AppSpecWorkerGitlabArgs) ToAppSpecWorkerGitlabOutput

func (i AppSpecWorkerGitlabArgs) ToAppSpecWorkerGitlabOutput() AppSpecWorkerGitlabOutput

func (AppSpecWorkerGitlabArgs) ToAppSpecWorkerGitlabOutputWithContext

func (i AppSpecWorkerGitlabArgs) ToAppSpecWorkerGitlabOutputWithContext(ctx context.Context) AppSpecWorkerGitlabOutput

func (AppSpecWorkerGitlabArgs) ToAppSpecWorkerGitlabPtrOutput

func (i AppSpecWorkerGitlabArgs) ToAppSpecWorkerGitlabPtrOutput() AppSpecWorkerGitlabPtrOutput

func (AppSpecWorkerGitlabArgs) ToAppSpecWorkerGitlabPtrOutputWithContext

func (i AppSpecWorkerGitlabArgs) ToAppSpecWorkerGitlabPtrOutputWithContext(ctx context.Context) AppSpecWorkerGitlabPtrOutput

type AppSpecWorkerGitlabInput

type AppSpecWorkerGitlabInput interface {
	pulumi.Input

	ToAppSpecWorkerGitlabOutput() AppSpecWorkerGitlabOutput
	ToAppSpecWorkerGitlabOutputWithContext(context.Context) AppSpecWorkerGitlabOutput
}

AppSpecWorkerGitlabInput is an input type that accepts AppSpecWorkerGitlabArgs and AppSpecWorkerGitlabOutput values. You can construct a concrete instance of `AppSpecWorkerGitlabInput` via:

AppSpecWorkerGitlabArgs{...}

type AppSpecWorkerGitlabOutput

type AppSpecWorkerGitlabOutput struct{ *pulumi.OutputState }

func (AppSpecWorkerGitlabOutput) Branch

The name of the branch to use.

func (AppSpecWorkerGitlabOutput) DeployOnPush

Whether to automatically deploy new commits made to the repo.

func (AppSpecWorkerGitlabOutput) ElementType

func (AppSpecWorkerGitlabOutput) ElementType() reflect.Type

func (AppSpecWorkerGitlabOutput) Repo

The name of the repo in the format `owner/repo`.

func (AppSpecWorkerGitlabOutput) ToAppSpecWorkerGitlabOutput

func (o AppSpecWorkerGitlabOutput) ToAppSpecWorkerGitlabOutput() AppSpecWorkerGitlabOutput

func (AppSpecWorkerGitlabOutput) ToAppSpecWorkerGitlabOutputWithContext

func (o AppSpecWorkerGitlabOutput) ToAppSpecWorkerGitlabOutputWithContext(ctx context.Context) AppSpecWorkerGitlabOutput

func (AppSpecWorkerGitlabOutput) ToAppSpecWorkerGitlabPtrOutput

func (o AppSpecWorkerGitlabOutput) ToAppSpecWorkerGitlabPtrOutput() AppSpecWorkerGitlabPtrOutput

func (AppSpecWorkerGitlabOutput) ToAppSpecWorkerGitlabPtrOutputWithContext

func (o AppSpecWorkerGitlabOutput) ToAppSpecWorkerGitlabPtrOutputWithContext(ctx context.Context) AppSpecWorkerGitlabPtrOutput

type AppSpecWorkerGitlabPtrInput

type AppSpecWorkerGitlabPtrInput interface {
	pulumi.Input

	ToAppSpecWorkerGitlabPtrOutput() AppSpecWorkerGitlabPtrOutput
	ToAppSpecWorkerGitlabPtrOutputWithContext(context.Context) AppSpecWorkerGitlabPtrOutput
}

AppSpecWorkerGitlabPtrInput is an input type that accepts AppSpecWorkerGitlabArgs, AppSpecWorkerGitlabPtr and AppSpecWorkerGitlabPtrOutput values. You can construct a concrete instance of `AppSpecWorkerGitlabPtrInput` via:

        AppSpecWorkerGitlabArgs{...}

or:

        nil

type AppSpecWorkerGitlabPtrOutput

type AppSpecWorkerGitlabPtrOutput struct{ *pulumi.OutputState }

func (AppSpecWorkerGitlabPtrOutput) Branch

The name of the branch to use.

func (AppSpecWorkerGitlabPtrOutput) DeployOnPush

Whether to automatically deploy new commits made to the repo.

func (AppSpecWorkerGitlabPtrOutput) Elem

func (AppSpecWorkerGitlabPtrOutput) ElementType

func (AppSpecWorkerGitlabPtrOutput) Repo

The name of the repo in the format `owner/repo`.

func (AppSpecWorkerGitlabPtrOutput) ToAppSpecWorkerGitlabPtrOutput

func (o AppSpecWorkerGitlabPtrOutput) ToAppSpecWorkerGitlabPtrOutput() AppSpecWorkerGitlabPtrOutput

func (AppSpecWorkerGitlabPtrOutput) ToAppSpecWorkerGitlabPtrOutputWithContext

func (o AppSpecWorkerGitlabPtrOutput) ToAppSpecWorkerGitlabPtrOutputWithContext(ctx context.Context) AppSpecWorkerGitlabPtrOutput

type AppSpecWorkerImage

type AppSpecWorkerImage struct {
	// Configures automatically deploying images pushed to DOCR.
	DeployOnPushes []AppSpecWorkerImageDeployOnPush `pulumi:"deployOnPushes"`
	// The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.
	Registry *string `pulumi:"registry"`
	// Access credentials for third-party registries
	RegistryCredentials *string `pulumi:"registryCredentials"`
	// The registry type. One of `DOCR` (DigitalOcean container registry) or `DOCKER_HUB`.
	RegistryType string `pulumi:"registryType"`
	// The repository name.
	Repository string `pulumi:"repository"`
	// The repository tag. Defaults to `latest` if not provided.
	Tag *string `pulumi:"tag"`
}

type AppSpecWorkerImageArgs

type AppSpecWorkerImageArgs struct {
	// Configures automatically deploying images pushed to DOCR.
	DeployOnPushes AppSpecWorkerImageDeployOnPushArrayInput `pulumi:"deployOnPushes"`
	// The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.
	Registry pulumi.StringPtrInput `pulumi:"registry"`
	// Access credentials for third-party registries
	RegistryCredentials pulumi.StringPtrInput `pulumi:"registryCredentials"`
	// The registry type. One of `DOCR` (DigitalOcean container registry) or `DOCKER_HUB`.
	RegistryType pulumi.StringInput `pulumi:"registryType"`
	// The repository name.
	Repository pulumi.StringInput `pulumi:"repository"`
	// The repository tag. Defaults to `latest` if not provided.
	Tag pulumi.StringPtrInput `pulumi:"tag"`
}

func (AppSpecWorkerImageArgs) ElementType

func (AppSpecWorkerImageArgs) ElementType() reflect.Type

func (AppSpecWorkerImageArgs) ToAppSpecWorkerImageOutput

func (i AppSpecWorkerImageArgs) ToAppSpecWorkerImageOutput() AppSpecWorkerImageOutput

func (AppSpecWorkerImageArgs) ToAppSpecWorkerImageOutputWithContext

func (i AppSpecWorkerImageArgs) ToAppSpecWorkerImageOutputWithContext(ctx context.Context) AppSpecWorkerImageOutput

func (AppSpecWorkerImageArgs) ToAppSpecWorkerImagePtrOutput

func (i AppSpecWorkerImageArgs) ToAppSpecWorkerImagePtrOutput() AppSpecWorkerImagePtrOutput

func (AppSpecWorkerImageArgs) ToAppSpecWorkerImagePtrOutputWithContext

func (i AppSpecWorkerImageArgs) ToAppSpecWorkerImagePtrOutputWithContext(ctx context.Context) AppSpecWorkerImagePtrOutput

type AppSpecWorkerImageDeployOnPush added in v4.16.0

type AppSpecWorkerImageDeployOnPush struct {
	// Whether to automatically deploy images pushed to DOCR.
	Enabled *bool `pulumi:"enabled"`
}

type AppSpecWorkerImageDeployOnPushArgs added in v4.16.0

type AppSpecWorkerImageDeployOnPushArgs struct {
	// Whether to automatically deploy images pushed to DOCR.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
}

func (AppSpecWorkerImageDeployOnPushArgs) ElementType added in v4.16.0

func (AppSpecWorkerImageDeployOnPushArgs) ToAppSpecWorkerImageDeployOnPushOutput added in v4.16.0

func (i AppSpecWorkerImageDeployOnPushArgs) ToAppSpecWorkerImageDeployOnPushOutput() AppSpecWorkerImageDeployOnPushOutput

func (AppSpecWorkerImageDeployOnPushArgs) ToAppSpecWorkerImageDeployOnPushOutputWithContext added in v4.16.0

func (i AppSpecWorkerImageDeployOnPushArgs) ToAppSpecWorkerImageDeployOnPushOutputWithContext(ctx context.Context) AppSpecWorkerImageDeployOnPushOutput

type AppSpecWorkerImageDeployOnPushArray added in v4.16.0

type AppSpecWorkerImageDeployOnPushArray []AppSpecWorkerImageDeployOnPushInput

func (AppSpecWorkerImageDeployOnPushArray) ElementType added in v4.16.0

func (AppSpecWorkerImageDeployOnPushArray) ToAppSpecWorkerImageDeployOnPushArrayOutput added in v4.16.0

func (i AppSpecWorkerImageDeployOnPushArray) ToAppSpecWorkerImageDeployOnPushArrayOutput() AppSpecWorkerImageDeployOnPushArrayOutput

func (AppSpecWorkerImageDeployOnPushArray) ToAppSpecWorkerImageDeployOnPushArrayOutputWithContext added in v4.16.0

func (i AppSpecWorkerImageDeployOnPushArray) ToAppSpecWorkerImageDeployOnPushArrayOutputWithContext(ctx context.Context) AppSpecWorkerImageDeployOnPushArrayOutput

type AppSpecWorkerImageDeployOnPushArrayInput added in v4.16.0

type AppSpecWorkerImageDeployOnPushArrayInput interface {
	pulumi.Input

	ToAppSpecWorkerImageDeployOnPushArrayOutput() AppSpecWorkerImageDeployOnPushArrayOutput
	ToAppSpecWorkerImageDeployOnPushArrayOutputWithContext(context.Context) AppSpecWorkerImageDeployOnPushArrayOutput
}

AppSpecWorkerImageDeployOnPushArrayInput is an input type that accepts AppSpecWorkerImageDeployOnPushArray and AppSpecWorkerImageDeployOnPushArrayOutput values. You can construct a concrete instance of `AppSpecWorkerImageDeployOnPushArrayInput` via:

AppSpecWorkerImageDeployOnPushArray{ AppSpecWorkerImageDeployOnPushArgs{...} }

type AppSpecWorkerImageDeployOnPushArrayOutput added in v4.16.0

type AppSpecWorkerImageDeployOnPushArrayOutput struct{ *pulumi.OutputState }

func (AppSpecWorkerImageDeployOnPushArrayOutput) ElementType added in v4.16.0

func (AppSpecWorkerImageDeployOnPushArrayOutput) Index added in v4.16.0

func (AppSpecWorkerImageDeployOnPushArrayOutput) ToAppSpecWorkerImageDeployOnPushArrayOutput added in v4.16.0

func (o AppSpecWorkerImageDeployOnPushArrayOutput) ToAppSpecWorkerImageDeployOnPushArrayOutput() AppSpecWorkerImageDeployOnPushArrayOutput

func (AppSpecWorkerImageDeployOnPushArrayOutput) ToAppSpecWorkerImageDeployOnPushArrayOutputWithContext added in v4.16.0

func (o AppSpecWorkerImageDeployOnPushArrayOutput) ToAppSpecWorkerImageDeployOnPushArrayOutputWithContext(ctx context.Context) AppSpecWorkerImageDeployOnPushArrayOutput

type AppSpecWorkerImageDeployOnPushInput added in v4.16.0

type AppSpecWorkerImageDeployOnPushInput interface {
	pulumi.Input

	ToAppSpecWorkerImageDeployOnPushOutput() AppSpecWorkerImageDeployOnPushOutput
	ToAppSpecWorkerImageDeployOnPushOutputWithContext(context.Context) AppSpecWorkerImageDeployOnPushOutput
}

AppSpecWorkerImageDeployOnPushInput is an input type that accepts AppSpecWorkerImageDeployOnPushArgs and AppSpecWorkerImageDeployOnPushOutput values. You can construct a concrete instance of `AppSpecWorkerImageDeployOnPushInput` via:

AppSpecWorkerImageDeployOnPushArgs{...}

type AppSpecWorkerImageDeployOnPushOutput added in v4.16.0

type AppSpecWorkerImageDeployOnPushOutput struct{ *pulumi.OutputState }

func (AppSpecWorkerImageDeployOnPushOutput) ElementType added in v4.16.0

func (AppSpecWorkerImageDeployOnPushOutput) Enabled added in v4.16.0

Whether to automatically deploy images pushed to DOCR.

func (AppSpecWorkerImageDeployOnPushOutput) ToAppSpecWorkerImageDeployOnPushOutput added in v4.16.0

func (o AppSpecWorkerImageDeployOnPushOutput) ToAppSpecWorkerImageDeployOnPushOutput() AppSpecWorkerImageDeployOnPushOutput

func (AppSpecWorkerImageDeployOnPushOutput) ToAppSpecWorkerImageDeployOnPushOutputWithContext added in v4.16.0

func (o AppSpecWorkerImageDeployOnPushOutput) ToAppSpecWorkerImageDeployOnPushOutputWithContext(ctx context.Context) AppSpecWorkerImageDeployOnPushOutput

type AppSpecWorkerImageInput

type AppSpecWorkerImageInput interface {
	pulumi.Input

	ToAppSpecWorkerImageOutput() AppSpecWorkerImageOutput
	ToAppSpecWorkerImageOutputWithContext(context.Context) AppSpecWorkerImageOutput
}

AppSpecWorkerImageInput is an input type that accepts AppSpecWorkerImageArgs and AppSpecWorkerImageOutput values. You can construct a concrete instance of `AppSpecWorkerImageInput` via:

AppSpecWorkerImageArgs{...}

type AppSpecWorkerImageOutput

type AppSpecWorkerImageOutput struct{ *pulumi.OutputState }

func (AppSpecWorkerImageOutput) DeployOnPushes added in v4.16.0

Configures automatically deploying images pushed to DOCR.

func (AppSpecWorkerImageOutput) ElementType

func (AppSpecWorkerImageOutput) ElementType() reflect.Type

func (AppSpecWorkerImageOutput) Registry

The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.

func (AppSpecWorkerImageOutput) RegistryCredentials added in v4.28.0

func (o AppSpecWorkerImageOutput) RegistryCredentials() pulumi.StringPtrOutput

Access credentials for third-party registries

func (AppSpecWorkerImageOutput) RegistryType

func (o AppSpecWorkerImageOutput) RegistryType() pulumi.StringOutput

The registry type. One of `DOCR` (DigitalOcean container registry) or `DOCKER_HUB`.

func (AppSpecWorkerImageOutput) Repository

The repository name.

func (AppSpecWorkerImageOutput) Tag

The repository tag. Defaults to `latest` if not provided.

func (AppSpecWorkerImageOutput) ToAppSpecWorkerImageOutput

func (o AppSpecWorkerImageOutput) ToAppSpecWorkerImageOutput() AppSpecWorkerImageOutput

func (AppSpecWorkerImageOutput) ToAppSpecWorkerImageOutputWithContext

func (o AppSpecWorkerImageOutput) ToAppSpecWorkerImageOutputWithContext(ctx context.Context) AppSpecWorkerImageOutput

func (AppSpecWorkerImageOutput) ToAppSpecWorkerImagePtrOutput

func (o AppSpecWorkerImageOutput) ToAppSpecWorkerImagePtrOutput() AppSpecWorkerImagePtrOutput

func (AppSpecWorkerImageOutput) ToAppSpecWorkerImagePtrOutputWithContext

func (o AppSpecWorkerImageOutput) ToAppSpecWorkerImagePtrOutputWithContext(ctx context.Context) AppSpecWorkerImagePtrOutput

type AppSpecWorkerImagePtrInput

type AppSpecWorkerImagePtrInput interface {
	pulumi.Input

	ToAppSpecWorkerImagePtrOutput() AppSpecWorkerImagePtrOutput
	ToAppSpecWorkerImagePtrOutputWithContext(context.Context) AppSpecWorkerImagePtrOutput
}

AppSpecWorkerImagePtrInput is an input type that accepts AppSpecWorkerImageArgs, AppSpecWorkerImagePtr and AppSpecWorkerImagePtrOutput values. You can construct a concrete instance of `AppSpecWorkerImagePtrInput` via:

        AppSpecWorkerImageArgs{...}

or:

        nil

type AppSpecWorkerImagePtrOutput

type AppSpecWorkerImagePtrOutput struct{ *pulumi.OutputState }

func (AppSpecWorkerImagePtrOutput) DeployOnPushes added in v4.16.0

Configures automatically deploying images pushed to DOCR.

func (AppSpecWorkerImagePtrOutput) Elem

func (AppSpecWorkerImagePtrOutput) ElementType

func (AppSpecWorkerImagePtrOutput) Registry

The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.

func (AppSpecWorkerImagePtrOutput) RegistryCredentials added in v4.28.0

func (o AppSpecWorkerImagePtrOutput) RegistryCredentials() pulumi.StringPtrOutput

Access credentials for third-party registries

func (AppSpecWorkerImagePtrOutput) RegistryType

The registry type. One of `DOCR` (DigitalOcean container registry) or `DOCKER_HUB`.

func (AppSpecWorkerImagePtrOutput) Repository

The repository name.

func (AppSpecWorkerImagePtrOutput) Tag

The repository tag. Defaults to `latest` if not provided.

func (AppSpecWorkerImagePtrOutput) ToAppSpecWorkerImagePtrOutput

func (o AppSpecWorkerImagePtrOutput) ToAppSpecWorkerImagePtrOutput() AppSpecWorkerImagePtrOutput

func (AppSpecWorkerImagePtrOutput) ToAppSpecWorkerImagePtrOutputWithContext

func (o AppSpecWorkerImagePtrOutput) ToAppSpecWorkerImagePtrOutputWithContext(ctx context.Context) AppSpecWorkerImagePtrOutput

type AppSpecWorkerInput

type AppSpecWorkerInput interface {
	pulumi.Input

	ToAppSpecWorkerOutput() AppSpecWorkerOutput
	ToAppSpecWorkerOutputWithContext(context.Context) AppSpecWorkerOutput
}

AppSpecWorkerInput is an input type that accepts AppSpecWorkerArgs and AppSpecWorkerOutput values. You can construct a concrete instance of `AppSpecWorkerInput` via:

AppSpecWorkerArgs{...}

type AppSpecWorkerLogDestination added in v4.12.0

type AppSpecWorkerLogDestination struct {
	// Datadog configuration.
	Datadog *AppSpecWorkerLogDestinationDatadog `pulumi:"datadog"`
	// Logtail configuration.
	Logtail *AppSpecWorkerLogDestinationLogtail `pulumi:"logtail"`
	// Name of the log destination. Minimum length: 2. Maximum length: 42.
	Name string `pulumi:"name"`
	// Papertrail configuration.
	Papertrail *AppSpecWorkerLogDestinationPapertrail `pulumi:"papertrail"`
}

type AppSpecWorkerLogDestinationArgs added in v4.12.0

type AppSpecWorkerLogDestinationArgs struct {
	// Datadog configuration.
	Datadog AppSpecWorkerLogDestinationDatadogPtrInput `pulumi:"datadog"`
	// Logtail configuration.
	Logtail AppSpecWorkerLogDestinationLogtailPtrInput `pulumi:"logtail"`
	// Name of the log destination. Minimum length: 2. Maximum length: 42.
	Name pulumi.StringInput `pulumi:"name"`
	// Papertrail configuration.
	Papertrail AppSpecWorkerLogDestinationPapertrailPtrInput `pulumi:"papertrail"`
}

func (AppSpecWorkerLogDestinationArgs) ElementType added in v4.12.0

func (AppSpecWorkerLogDestinationArgs) ToAppSpecWorkerLogDestinationOutput added in v4.12.0

func (i AppSpecWorkerLogDestinationArgs) ToAppSpecWorkerLogDestinationOutput() AppSpecWorkerLogDestinationOutput

func (AppSpecWorkerLogDestinationArgs) ToAppSpecWorkerLogDestinationOutputWithContext added in v4.12.0

func (i AppSpecWorkerLogDestinationArgs) ToAppSpecWorkerLogDestinationOutputWithContext(ctx context.Context) AppSpecWorkerLogDestinationOutput

type AppSpecWorkerLogDestinationArray added in v4.12.0

type AppSpecWorkerLogDestinationArray []AppSpecWorkerLogDestinationInput

func (AppSpecWorkerLogDestinationArray) ElementType added in v4.12.0

func (AppSpecWorkerLogDestinationArray) ToAppSpecWorkerLogDestinationArrayOutput added in v4.12.0

func (i AppSpecWorkerLogDestinationArray) ToAppSpecWorkerLogDestinationArrayOutput() AppSpecWorkerLogDestinationArrayOutput

func (AppSpecWorkerLogDestinationArray) ToAppSpecWorkerLogDestinationArrayOutputWithContext added in v4.12.0

func (i AppSpecWorkerLogDestinationArray) ToAppSpecWorkerLogDestinationArrayOutputWithContext(ctx context.Context) AppSpecWorkerLogDestinationArrayOutput

type AppSpecWorkerLogDestinationArrayInput added in v4.12.0

type AppSpecWorkerLogDestinationArrayInput interface {
	pulumi.Input

	ToAppSpecWorkerLogDestinationArrayOutput() AppSpecWorkerLogDestinationArrayOutput
	ToAppSpecWorkerLogDestinationArrayOutputWithContext(context.Context) AppSpecWorkerLogDestinationArrayOutput
}

AppSpecWorkerLogDestinationArrayInput is an input type that accepts AppSpecWorkerLogDestinationArray and AppSpecWorkerLogDestinationArrayOutput values. You can construct a concrete instance of `AppSpecWorkerLogDestinationArrayInput` via:

AppSpecWorkerLogDestinationArray{ AppSpecWorkerLogDestinationArgs{...} }

type AppSpecWorkerLogDestinationArrayOutput added in v4.12.0

type AppSpecWorkerLogDestinationArrayOutput struct{ *pulumi.OutputState }

func (AppSpecWorkerLogDestinationArrayOutput) ElementType added in v4.12.0

func (AppSpecWorkerLogDestinationArrayOutput) Index added in v4.12.0

func (AppSpecWorkerLogDestinationArrayOutput) ToAppSpecWorkerLogDestinationArrayOutput added in v4.12.0

func (o AppSpecWorkerLogDestinationArrayOutput) ToAppSpecWorkerLogDestinationArrayOutput() AppSpecWorkerLogDestinationArrayOutput

func (AppSpecWorkerLogDestinationArrayOutput) ToAppSpecWorkerLogDestinationArrayOutputWithContext added in v4.12.0

func (o AppSpecWorkerLogDestinationArrayOutput) ToAppSpecWorkerLogDestinationArrayOutputWithContext(ctx context.Context) AppSpecWorkerLogDestinationArrayOutput

type AppSpecWorkerLogDestinationDatadog added in v4.12.0

type AppSpecWorkerLogDestinationDatadog struct {
	// Datadog API key.
	ApiKey string `pulumi:"apiKey"`
	// Datadog HTTP log intake endpoint.
	Endpoint *string `pulumi:"endpoint"`
}

type AppSpecWorkerLogDestinationDatadogArgs added in v4.12.0

type AppSpecWorkerLogDestinationDatadogArgs struct {
	// Datadog API key.
	ApiKey pulumi.StringInput `pulumi:"apiKey"`
	// Datadog HTTP log intake endpoint.
	Endpoint pulumi.StringPtrInput `pulumi:"endpoint"`
}

func (AppSpecWorkerLogDestinationDatadogArgs) ElementType added in v4.12.0

func (AppSpecWorkerLogDestinationDatadogArgs) ToAppSpecWorkerLogDestinationDatadogOutput added in v4.12.0

func (i AppSpecWorkerLogDestinationDatadogArgs) ToAppSpecWorkerLogDestinationDatadogOutput() AppSpecWorkerLogDestinationDatadogOutput

func (AppSpecWorkerLogDestinationDatadogArgs) ToAppSpecWorkerLogDestinationDatadogOutputWithContext added in v4.12.0

func (i AppSpecWorkerLogDestinationDatadogArgs) ToAppSpecWorkerLogDestinationDatadogOutputWithContext(ctx context.Context) AppSpecWorkerLogDestinationDatadogOutput

func (AppSpecWorkerLogDestinationDatadogArgs) ToAppSpecWorkerLogDestinationDatadogPtrOutput added in v4.12.0

func (i AppSpecWorkerLogDestinationDatadogArgs) ToAppSpecWorkerLogDestinationDatadogPtrOutput() AppSpecWorkerLogDestinationDatadogPtrOutput

func (AppSpecWorkerLogDestinationDatadogArgs) ToAppSpecWorkerLogDestinationDatadogPtrOutputWithContext added in v4.12.0

func (i AppSpecWorkerLogDestinationDatadogArgs) ToAppSpecWorkerLogDestinationDatadogPtrOutputWithContext(ctx context.Context) AppSpecWorkerLogDestinationDatadogPtrOutput

type AppSpecWorkerLogDestinationDatadogInput added in v4.12.0

type AppSpecWorkerLogDestinationDatadogInput interface {
	pulumi.Input

	ToAppSpecWorkerLogDestinationDatadogOutput() AppSpecWorkerLogDestinationDatadogOutput
	ToAppSpecWorkerLogDestinationDatadogOutputWithContext(context.Context) AppSpecWorkerLogDestinationDatadogOutput
}

AppSpecWorkerLogDestinationDatadogInput is an input type that accepts AppSpecWorkerLogDestinationDatadogArgs and AppSpecWorkerLogDestinationDatadogOutput values. You can construct a concrete instance of `AppSpecWorkerLogDestinationDatadogInput` via:

AppSpecWorkerLogDestinationDatadogArgs{...}

type AppSpecWorkerLogDestinationDatadogOutput added in v4.12.0

type AppSpecWorkerLogDestinationDatadogOutput struct{ *pulumi.OutputState }

func (AppSpecWorkerLogDestinationDatadogOutput) ApiKey added in v4.12.0

Datadog API key.

func (AppSpecWorkerLogDestinationDatadogOutput) ElementType added in v4.12.0

func (AppSpecWorkerLogDestinationDatadogOutput) Endpoint added in v4.12.0

Datadog HTTP log intake endpoint.

func (AppSpecWorkerLogDestinationDatadogOutput) ToAppSpecWorkerLogDestinationDatadogOutput added in v4.12.0

func (o AppSpecWorkerLogDestinationDatadogOutput) ToAppSpecWorkerLogDestinationDatadogOutput() AppSpecWorkerLogDestinationDatadogOutput

func (AppSpecWorkerLogDestinationDatadogOutput) ToAppSpecWorkerLogDestinationDatadogOutputWithContext added in v4.12.0

func (o AppSpecWorkerLogDestinationDatadogOutput) ToAppSpecWorkerLogDestinationDatadogOutputWithContext(ctx context.Context) AppSpecWorkerLogDestinationDatadogOutput

func (AppSpecWorkerLogDestinationDatadogOutput) ToAppSpecWorkerLogDestinationDatadogPtrOutput added in v4.12.0

func (o AppSpecWorkerLogDestinationDatadogOutput) ToAppSpecWorkerLogDestinationDatadogPtrOutput() AppSpecWorkerLogDestinationDatadogPtrOutput

func (AppSpecWorkerLogDestinationDatadogOutput) ToAppSpecWorkerLogDestinationDatadogPtrOutputWithContext added in v4.12.0

func (o AppSpecWorkerLogDestinationDatadogOutput) ToAppSpecWorkerLogDestinationDatadogPtrOutputWithContext(ctx context.Context) AppSpecWorkerLogDestinationDatadogPtrOutput

type AppSpecWorkerLogDestinationDatadogPtrInput added in v4.12.0

type AppSpecWorkerLogDestinationDatadogPtrInput interface {
	pulumi.Input

	ToAppSpecWorkerLogDestinationDatadogPtrOutput() AppSpecWorkerLogDestinationDatadogPtrOutput
	ToAppSpecWorkerLogDestinationDatadogPtrOutputWithContext(context.Context) AppSpecWorkerLogDestinationDatadogPtrOutput
}

AppSpecWorkerLogDestinationDatadogPtrInput is an input type that accepts AppSpecWorkerLogDestinationDatadogArgs, AppSpecWorkerLogDestinationDatadogPtr and AppSpecWorkerLogDestinationDatadogPtrOutput values. You can construct a concrete instance of `AppSpecWorkerLogDestinationDatadogPtrInput` via:

        AppSpecWorkerLogDestinationDatadogArgs{...}

or:

        nil

type AppSpecWorkerLogDestinationDatadogPtrOutput added in v4.12.0

type AppSpecWorkerLogDestinationDatadogPtrOutput struct{ *pulumi.OutputState }

func (AppSpecWorkerLogDestinationDatadogPtrOutput) ApiKey added in v4.12.0

Datadog API key.

func (AppSpecWorkerLogDestinationDatadogPtrOutput) Elem added in v4.12.0

func (AppSpecWorkerLogDestinationDatadogPtrOutput) ElementType added in v4.12.0

func (AppSpecWorkerLogDestinationDatadogPtrOutput) Endpoint added in v4.12.0

Datadog HTTP log intake endpoint.

func (AppSpecWorkerLogDestinationDatadogPtrOutput) ToAppSpecWorkerLogDestinationDatadogPtrOutput added in v4.12.0

func (o AppSpecWorkerLogDestinationDatadogPtrOutput) ToAppSpecWorkerLogDestinationDatadogPtrOutput() AppSpecWorkerLogDestinationDatadogPtrOutput

func (AppSpecWorkerLogDestinationDatadogPtrOutput) ToAppSpecWorkerLogDestinationDatadogPtrOutputWithContext added in v4.12.0

func (o AppSpecWorkerLogDestinationDatadogPtrOutput) ToAppSpecWorkerLogDestinationDatadogPtrOutputWithContext(ctx context.Context) AppSpecWorkerLogDestinationDatadogPtrOutput

type AppSpecWorkerLogDestinationInput added in v4.12.0

type AppSpecWorkerLogDestinationInput interface {
	pulumi.Input

	ToAppSpecWorkerLogDestinationOutput() AppSpecWorkerLogDestinationOutput
	ToAppSpecWorkerLogDestinationOutputWithContext(context.Context) AppSpecWorkerLogDestinationOutput
}

AppSpecWorkerLogDestinationInput is an input type that accepts AppSpecWorkerLogDestinationArgs and AppSpecWorkerLogDestinationOutput values. You can construct a concrete instance of `AppSpecWorkerLogDestinationInput` via:

AppSpecWorkerLogDestinationArgs{...}

type AppSpecWorkerLogDestinationLogtail added in v4.12.0

type AppSpecWorkerLogDestinationLogtail struct {
	// Logtail token.
	Token string `pulumi:"token"`
}

type AppSpecWorkerLogDestinationLogtailArgs added in v4.12.0

type AppSpecWorkerLogDestinationLogtailArgs struct {
	// Logtail token.
	Token pulumi.StringInput `pulumi:"token"`
}

func (AppSpecWorkerLogDestinationLogtailArgs) ElementType added in v4.12.0

func (AppSpecWorkerLogDestinationLogtailArgs) ToAppSpecWorkerLogDestinationLogtailOutput added in v4.12.0

func (i AppSpecWorkerLogDestinationLogtailArgs) ToAppSpecWorkerLogDestinationLogtailOutput() AppSpecWorkerLogDestinationLogtailOutput

func (AppSpecWorkerLogDestinationLogtailArgs) ToAppSpecWorkerLogDestinationLogtailOutputWithContext added in v4.12.0

func (i AppSpecWorkerLogDestinationLogtailArgs) ToAppSpecWorkerLogDestinationLogtailOutputWithContext(ctx context.Context) AppSpecWorkerLogDestinationLogtailOutput

func (AppSpecWorkerLogDestinationLogtailArgs) ToAppSpecWorkerLogDestinationLogtailPtrOutput added in v4.12.0

func (i AppSpecWorkerLogDestinationLogtailArgs) ToAppSpecWorkerLogDestinationLogtailPtrOutput() AppSpecWorkerLogDestinationLogtailPtrOutput

func (AppSpecWorkerLogDestinationLogtailArgs) ToAppSpecWorkerLogDestinationLogtailPtrOutputWithContext added in v4.12.0

func (i AppSpecWorkerLogDestinationLogtailArgs) ToAppSpecWorkerLogDestinationLogtailPtrOutputWithContext(ctx context.Context) AppSpecWorkerLogDestinationLogtailPtrOutput

type AppSpecWorkerLogDestinationLogtailInput added in v4.12.0

type AppSpecWorkerLogDestinationLogtailInput interface {
	pulumi.Input

	ToAppSpecWorkerLogDestinationLogtailOutput() AppSpecWorkerLogDestinationLogtailOutput
	ToAppSpecWorkerLogDestinationLogtailOutputWithContext(context.Context) AppSpecWorkerLogDestinationLogtailOutput
}

AppSpecWorkerLogDestinationLogtailInput is an input type that accepts AppSpecWorkerLogDestinationLogtailArgs and AppSpecWorkerLogDestinationLogtailOutput values. You can construct a concrete instance of `AppSpecWorkerLogDestinationLogtailInput` via:

AppSpecWorkerLogDestinationLogtailArgs{...}

type AppSpecWorkerLogDestinationLogtailOutput added in v4.12.0

type AppSpecWorkerLogDestinationLogtailOutput struct{ *pulumi.OutputState }

func (AppSpecWorkerLogDestinationLogtailOutput) ElementType added in v4.12.0

func (AppSpecWorkerLogDestinationLogtailOutput) ToAppSpecWorkerLogDestinationLogtailOutput added in v4.12.0

func (o AppSpecWorkerLogDestinationLogtailOutput) ToAppSpecWorkerLogDestinationLogtailOutput() AppSpecWorkerLogDestinationLogtailOutput

func (AppSpecWorkerLogDestinationLogtailOutput) ToAppSpecWorkerLogDestinationLogtailOutputWithContext added in v4.12.0

func (o AppSpecWorkerLogDestinationLogtailOutput) ToAppSpecWorkerLogDestinationLogtailOutputWithContext(ctx context.Context) AppSpecWorkerLogDestinationLogtailOutput

func (AppSpecWorkerLogDestinationLogtailOutput) ToAppSpecWorkerLogDestinationLogtailPtrOutput added in v4.12.0

func (o AppSpecWorkerLogDestinationLogtailOutput) ToAppSpecWorkerLogDestinationLogtailPtrOutput() AppSpecWorkerLogDestinationLogtailPtrOutput

func (AppSpecWorkerLogDestinationLogtailOutput) ToAppSpecWorkerLogDestinationLogtailPtrOutputWithContext added in v4.12.0

func (o AppSpecWorkerLogDestinationLogtailOutput) ToAppSpecWorkerLogDestinationLogtailPtrOutputWithContext(ctx context.Context) AppSpecWorkerLogDestinationLogtailPtrOutput

func (AppSpecWorkerLogDestinationLogtailOutput) Token added in v4.12.0

Logtail token.

type AppSpecWorkerLogDestinationLogtailPtrInput added in v4.12.0

type AppSpecWorkerLogDestinationLogtailPtrInput interface {
	pulumi.Input

	ToAppSpecWorkerLogDestinationLogtailPtrOutput() AppSpecWorkerLogDestinationLogtailPtrOutput
	ToAppSpecWorkerLogDestinationLogtailPtrOutputWithContext(context.Context) AppSpecWorkerLogDestinationLogtailPtrOutput
}

AppSpecWorkerLogDestinationLogtailPtrInput is an input type that accepts AppSpecWorkerLogDestinationLogtailArgs, AppSpecWorkerLogDestinationLogtailPtr and AppSpecWorkerLogDestinationLogtailPtrOutput values. You can construct a concrete instance of `AppSpecWorkerLogDestinationLogtailPtrInput` via:

        AppSpecWorkerLogDestinationLogtailArgs{...}

or:

        nil

type AppSpecWorkerLogDestinationLogtailPtrOutput added in v4.12.0

type AppSpecWorkerLogDestinationLogtailPtrOutput struct{ *pulumi.OutputState }

func (AppSpecWorkerLogDestinationLogtailPtrOutput) Elem added in v4.12.0

func (AppSpecWorkerLogDestinationLogtailPtrOutput) ElementType added in v4.12.0

func (AppSpecWorkerLogDestinationLogtailPtrOutput) ToAppSpecWorkerLogDestinationLogtailPtrOutput added in v4.12.0

func (o AppSpecWorkerLogDestinationLogtailPtrOutput) ToAppSpecWorkerLogDestinationLogtailPtrOutput() AppSpecWorkerLogDestinationLogtailPtrOutput

func (AppSpecWorkerLogDestinationLogtailPtrOutput) ToAppSpecWorkerLogDestinationLogtailPtrOutputWithContext added in v4.12.0

func (o AppSpecWorkerLogDestinationLogtailPtrOutput) ToAppSpecWorkerLogDestinationLogtailPtrOutputWithContext(ctx context.Context) AppSpecWorkerLogDestinationLogtailPtrOutput

func (AppSpecWorkerLogDestinationLogtailPtrOutput) Token added in v4.12.0

Logtail token.

type AppSpecWorkerLogDestinationOutput added in v4.12.0

type AppSpecWorkerLogDestinationOutput struct{ *pulumi.OutputState }

func (AppSpecWorkerLogDestinationOutput) Datadog added in v4.12.0

Datadog configuration.

func (AppSpecWorkerLogDestinationOutput) ElementType added in v4.12.0

func (AppSpecWorkerLogDestinationOutput) Logtail added in v4.12.0

Logtail configuration.

func (AppSpecWorkerLogDestinationOutput) Name added in v4.12.0

Name of the log destination. Minimum length: 2. Maximum length: 42.

func (AppSpecWorkerLogDestinationOutput) Papertrail added in v4.12.0

Papertrail configuration.

func (AppSpecWorkerLogDestinationOutput) ToAppSpecWorkerLogDestinationOutput added in v4.12.0

func (o AppSpecWorkerLogDestinationOutput) ToAppSpecWorkerLogDestinationOutput() AppSpecWorkerLogDestinationOutput

func (AppSpecWorkerLogDestinationOutput) ToAppSpecWorkerLogDestinationOutputWithContext added in v4.12.0

func (o AppSpecWorkerLogDestinationOutput) ToAppSpecWorkerLogDestinationOutputWithContext(ctx context.Context) AppSpecWorkerLogDestinationOutput

type AppSpecWorkerLogDestinationPapertrail added in v4.12.0

type AppSpecWorkerLogDestinationPapertrail struct {
	// Papertrail syslog endpoint.
	Endpoint string `pulumi:"endpoint"`
}

type AppSpecWorkerLogDestinationPapertrailArgs added in v4.12.0

type AppSpecWorkerLogDestinationPapertrailArgs struct {
	// Papertrail syslog endpoint.
	Endpoint pulumi.StringInput `pulumi:"endpoint"`
}

func (AppSpecWorkerLogDestinationPapertrailArgs) ElementType added in v4.12.0

func (AppSpecWorkerLogDestinationPapertrailArgs) ToAppSpecWorkerLogDestinationPapertrailOutput added in v4.12.0

func (i AppSpecWorkerLogDestinationPapertrailArgs) ToAppSpecWorkerLogDestinationPapertrailOutput() AppSpecWorkerLogDestinationPapertrailOutput

func (AppSpecWorkerLogDestinationPapertrailArgs) ToAppSpecWorkerLogDestinationPapertrailOutputWithContext added in v4.12.0

func (i AppSpecWorkerLogDestinationPapertrailArgs) ToAppSpecWorkerLogDestinationPapertrailOutputWithContext(ctx context.Context) AppSpecWorkerLogDestinationPapertrailOutput

func (AppSpecWorkerLogDestinationPapertrailArgs) ToAppSpecWorkerLogDestinationPapertrailPtrOutput added in v4.12.0

func (i AppSpecWorkerLogDestinationPapertrailArgs) ToAppSpecWorkerLogDestinationPapertrailPtrOutput() AppSpecWorkerLogDestinationPapertrailPtrOutput

func (AppSpecWorkerLogDestinationPapertrailArgs) ToAppSpecWorkerLogDestinationPapertrailPtrOutputWithContext added in v4.12.0

func (i AppSpecWorkerLogDestinationPapertrailArgs) ToAppSpecWorkerLogDestinationPapertrailPtrOutputWithContext(ctx context.Context) AppSpecWorkerLogDestinationPapertrailPtrOutput

type AppSpecWorkerLogDestinationPapertrailInput added in v4.12.0

type AppSpecWorkerLogDestinationPapertrailInput interface {
	pulumi.Input

	ToAppSpecWorkerLogDestinationPapertrailOutput() AppSpecWorkerLogDestinationPapertrailOutput
	ToAppSpecWorkerLogDestinationPapertrailOutputWithContext(context.Context) AppSpecWorkerLogDestinationPapertrailOutput
}

AppSpecWorkerLogDestinationPapertrailInput is an input type that accepts AppSpecWorkerLogDestinationPapertrailArgs and AppSpecWorkerLogDestinationPapertrailOutput values. You can construct a concrete instance of `AppSpecWorkerLogDestinationPapertrailInput` via:

AppSpecWorkerLogDestinationPapertrailArgs{...}

type AppSpecWorkerLogDestinationPapertrailOutput added in v4.12.0

type AppSpecWorkerLogDestinationPapertrailOutput struct{ *pulumi.OutputState }

func (AppSpecWorkerLogDestinationPapertrailOutput) ElementType added in v4.12.0

func (AppSpecWorkerLogDestinationPapertrailOutput) Endpoint added in v4.12.0

Papertrail syslog endpoint.

func (AppSpecWorkerLogDestinationPapertrailOutput) ToAppSpecWorkerLogDestinationPapertrailOutput added in v4.12.0

func (o AppSpecWorkerLogDestinationPapertrailOutput) ToAppSpecWorkerLogDestinationPapertrailOutput() AppSpecWorkerLogDestinationPapertrailOutput

func (AppSpecWorkerLogDestinationPapertrailOutput) ToAppSpecWorkerLogDestinationPapertrailOutputWithContext added in v4.12.0

func (o AppSpecWorkerLogDestinationPapertrailOutput) ToAppSpecWorkerLogDestinationPapertrailOutputWithContext(ctx context.Context) AppSpecWorkerLogDestinationPapertrailOutput

func (AppSpecWorkerLogDestinationPapertrailOutput) ToAppSpecWorkerLogDestinationPapertrailPtrOutput added in v4.12.0

func (o AppSpecWorkerLogDestinationPapertrailOutput) ToAppSpecWorkerLogDestinationPapertrailPtrOutput() AppSpecWorkerLogDestinationPapertrailPtrOutput

func (AppSpecWorkerLogDestinationPapertrailOutput) ToAppSpecWorkerLogDestinationPapertrailPtrOutputWithContext added in v4.12.0

func (o AppSpecWorkerLogDestinationPapertrailOutput) ToAppSpecWorkerLogDestinationPapertrailPtrOutputWithContext(ctx context.Context) AppSpecWorkerLogDestinationPapertrailPtrOutput

type AppSpecWorkerLogDestinationPapertrailPtrInput added in v4.12.0

type AppSpecWorkerLogDestinationPapertrailPtrInput interface {
	pulumi.Input

	ToAppSpecWorkerLogDestinationPapertrailPtrOutput() AppSpecWorkerLogDestinationPapertrailPtrOutput
	ToAppSpecWorkerLogDestinationPapertrailPtrOutputWithContext(context.Context) AppSpecWorkerLogDestinationPapertrailPtrOutput
}

AppSpecWorkerLogDestinationPapertrailPtrInput is an input type that accepts AppSpecWorkerLogDestinationPapertrailArgs, AppSpecWorkerLogDestinationPapertrailPtr and AppSpecWorkerLogDestinationPapertrailPtrOutput values. You can construct a concrete instance of `AppSpecWorkerLogDestinationPapertrailPtrInput` via:

        AppSpecWorkerLogDestinationPapertrailArgs{...}

or:

        nil

type AppSpecWorkerLogDestinationPapertrailPtrOutput added in v4.12.0

type AppSpecWorkerLogDestinationPapertrailPtrOutput struct{ *pulumi.OutputState }

func (AppSpecWorkerLogDestinationPapertrailPtrOutput) Elem added in v4.12.0

func (AppSpecWorkerLogDestinationPapertrailPtrOutput) ElementType added in v4.12.0

func (AppSpecWorkerLogDestinationPapertrailPtrOutput) Endpoint added in v4.12.0

Papertrail syslog endpoint.

func (AppSpecWorkerLogDestinationPapertrailPtrOutput) ToAppSpecWorkerLogDestinationPapertrailPtrOutput added in v4.12.0

func (o AppSpecWorkerLogDestinationPapertrailPtrOutput) ToAppSpecWorkerLogDestinationPapertrailPtrOutput() AppSpecWorkerLogDestinationPapertrailPtrOutput

func (AppSpecWorkerLogDestinationPapertrailPtrOutput) ToAppSpecWorkerLogDestinationPapertrailPtrOutputWithContext added in v4.12.0

func (o AppSpecWorkerLogDestinationPapertrailPtrOutput) ToAppSpecWorkerLogDestinationPapertrailPtrOutputWithContext(ctx context.Context) AppSpecWorkerLogDestinationPapertrailPtrOutput

type AppSpecWorkerOutput

type AppSpecWorkerOutput struct{ *pulumi.OutputState }

func (AppSpecWorkerOutput) Alerts added in v4.12.0

Describes an alert policy for the component.

func (AppSpecWorkerOutput) BuildCommand

func (o AppSpecWorkerOutput) BuildCommand() pulumi.StringPtrOutput

An optional build command to run while building this component from source.

func (AppSpecWorkerOutput) DockerfilePath

func (o AppSpecWorkerOutput) DockerfilePath() pulumi.StringPtrOutput

The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.

func (AppSpecWorkerOutput) ElementType

func (AppSpecWorkerOutput) ElementType() reflect.Type

func (AppSpecWorkerOutput) EnvironmentSlug

func (o AppSpecWorkerOutput) EnvironmentSlug() pulumi.StringPtrOutput

An environment slug describing the type of this app.

func (AppSpecWorkerOutput) Envs

Describes an environment variable made available to an app competent.

func (AppSpecWorkerOutput) Git

A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of `git`, `github` or `gitlab` may be set.

func (AppSpecWorkerOutput) Github

A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.

func (AppSpecWorkerOutput) Gitlab

A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.

func (AppSpecWorkerOutput) Image

An image to use as the component's source. Only one of `git`, `github`, `gitlab`, or `image` may be set.

func (AppSpecWorkerOutput) InstanceCount

func (o AppSpecWorkerOutput) InstanceCount() pulumi.IntPtrOutput

The amount of instances that this component should be scaled to.

func (AppSpecWorkerOutput) InstanceSizeSlug

func (o AppSpecWorkerOutput) InstanceSizeSlug() pulumi.StringPtrOutput

The instance size to use for this component. This determines the plan (basic or professional) and the available CPU and memory. The list of available instance sizes can be [found with the API](https://docs.digitalocean.com/reference/api/api-reference/#operation/list_instance_sizes) or using the [doctl CLI](https://docs.digitalocean.com/reference/doctl/) (`doctl apps tier instance-size list`). Default: `basic-xxs`

func (AppSpecWorkerOutput) LogDestinations added in v4.12.0

Describes a log forwarding destination.

func (AppSpecWorkerOutput) Name

The name of the component.

func (AppSpecWorkerOutput) RunCommand

An optional run command to override the component's default.

func (AppSpecWorkerOutput) SourceDir

An optional path to the working directory to use for the build.

func (AppSpecWorkerOutput) ToAppSpecWorkerOutput

func (o AppSpecWorkerOutput) ToAppSpecWorkerOutput() AppSpecWorkerOutput

func (AppSpecWorkerOutput) ToAppSpecWorkerOutputWithContext

func (o AppSpecWorkerOutput) ToAppSpecWorkerOutputWithContext(ctx context.Context) AppSpecWorkerOutput

type AppState

type AppState struct {
	// The ID the app's currently active deployment.
	ActiveDeploymentId pulumi.StringPtrInput
	// The uniform resource identifier for the app.
	AppUrn pulumi.StringPtrInput
	// The date and time of when the app was created.
	CreatedAt pulumi.StringPtrInput
	// The default URL to access the app.
	DefaultIngress pulumi.StringPtrInput
	// The live URL of the app.
	LiveUrl pulumi.StringPtrInput
	// The ID of the project that the app is assigned to.
	//
	// A spec can contain multiple components.
	//
	// A `service` can contain:
	ProjectId pulumi.StringPtrInput
	// A DigitalOcean App spec describing the app.
	Spec AppSpecPtrInput
	// The date and time of when the app was last updated.
	UpdatedAt pulumi.StringPtrInput
}

func (AppState) ElementType

func (AppState) ElementType() reflect.Type

type Cdn

type Cdn struct {
	pulumi.CustomResourceState

	// **Deprecated** The ID of a DigitalOcean managed TLS certificate used for SSL when a custom subdomain is provided.
	//
	// Deprecated: Certificate IDs may change, for example when a Let's Encrypt certificate is auto-renewed. Please specify 'certificate_name' instead.
	CertificateId pulumi.StringOutput `pulumi:"certificateId"`
	// The unique name of a DigitalOcean managed TLS certificate used for SSL when a custom subdomain is provided.
	CertificateName pulumi.StringOutput `pulumi:"certificateName"`
	// The date and time when the CDN Endpoint was created.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The fully qualified domain name (FQDN) of the custom subdomain used with the CDN Endpoint.
	CustomDomain pulumi.StringPtrOutput `pulumi:"customDomain"`
	// The fully qualified domain name (FQDN) from which the CDN-backed content is served.
	Endpoint pulumi.StringOutput `pulumi:"endpoint"`
	// The fully qualified domain name, (FQDN) for a Space.
	Origin pulumi.StringOutput `pulumi:"origin"`
	// The time to live for the CDN Endpoint, in seconds. Default is 3600 seconds.
	Ttl pulumi.IntOutput `pulumi:"ttl"`
}

Provides a DigitalOcean CDN Endpoint resource for use with Spaces.

## Example Usage

### Basic Example

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Create a new Spaces Bucket
		mybucket, err := digitalocean.NewSpacesBucket(ctx, "mybucket", &digitalocean.SpacesBucketArgs{
			Region: pulumi.String(digitalocean.RegionSFO2),
			Acl:    pulumi.String("public-read"),
		})
		if err != nil {
			return err
		}
		// Add a CDN endpoint to the Spaces Bucket
		mycdn, err := digitalocean.NewCdn(ctx, "mycdn", &digitalocean.CdnArgs{
			Origin: mybucket.BucketDomainName,
		})
		if err != nil {
			return err
		}
		ctx.Export("fqdn", mycdn.Endpoint)
		return nil
	})
}

```

### Custom Sub-Domain Example

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Create a new Spaces Bucket
		mybucket, err := digitalocean.NewSpacesBucket(ctx, "mybucket", &digitalocean.SpacesBucketArgs{
			Region: pulumi.String(digitalocean.RegionSFO2),
			Acl:    pulumi.String("public-read"),
		})
		if err != nil {
			return err
		}
		// Create a DigitalOcean managed Let's Encrypt Certificate
		cert, err := digitalocean.NewCertificate(ctx, "cert", &digitalocean.CertificateArgs{
			Type: pulumi.String(digitalocean.CertificateTypeLetsEncrypt),
			Domains: pulumi.StringArray{
				pulumi.String("static.example.com"),
			},
		})
		if err != nil {
			return err
		}
		// Add a CDN endpoint with a custom sub-domain to the Spaces Bucket
		_, err = digitalocean.NewCdn(ctx, "mycdn", &digitalocean.CdnArgs{
			Origin:          mybucket.BucketDomainName,
			CustomDomain:    pulumi.String("static.example.com"),
			CertificateName: cert.Name,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

CDN Endpoints can be imported using the CDN `id`, e.g.

```sh $ pulumi import digitalocean:index/cdn:Cdn mycdn fb06ad00-351f-45c8-b5eb-13523c438661 ```

func GetCdn

func GetCdn(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CdnState, opts ...pulumi.ResourceOption) (*Cdn, error)

GetCdn gets an existing Cdn 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 NewCdn

func NewCdn(ctx *pulumi.Context,
	name string, args *CdnArgs, opts ...pulumi.ResourceOption) (*Cdn, error)

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

func (*Cdn) ElementType

func (*Cdn) ElementType() reflect.Type

func (*Cdn) ToCdnOutput

func (i *Cdn) ToCdnOutput() CdnOutput

func (*Cdn) ToCdnOutputWithContext

func (i *Cdn) ToCdnOutputWithContext(ctx context.Context) CdnOutput

type CdnArgs

type CdnArgs struct {
	// **Deprecated** The ID of a DigitalOcean managed TLS certificate used for SSL when a custom subdomain is provided.
	//
	// Deprecated: Certificate IDs may change, for example when a Let's Encrypt certificate is auto-renewed. Please specify 'certificate_name' instead.
	CertificateId pulumi.StringPtrInput
	// The unique name of a DigitalOcean managed TLS certificate used for SSL when a custom subdomain is provided.
	CertificateName pulumi.StringPtrInput
	// The fully qualified domain name (FQDN) of the custom subdomain used with the CDN Endpoint.
	CustomDomain pulumi.StringPtrInput
	// The fully qualified domain name, (FQDN) for a Space.
	Origin pulumi.StringInput
	// The time to live for the CDN Endpoint, in seconds. Default is 3600 seconds.
	Ttl pulumi.IntPtrInput
}

The set of arguments for constructing a Cdn resource.

func (CdnArgs) ElementType

func (CdnArgs) ElementType() reflect.Type

type CdnArray

type CdnArray []CdnInput

func (CdnArray) ElementType

func (CdnArray) ElementType() reflect.Type

func (CdnArray) ToCdnArrayOutput

func (i CdnArray) ToCdnArrayOutput() CdnArrayOutput

func (CdnArray) ToCdnArrayOutputWithContext

func (i CdnArray) ToCdnArrayOutputWithContext(ctx context.Context) CdnArrayOutput

type CdnArrayInput

type CdnArrayInput interface {
	pulumi.Input

	ToCdnArrayOutput() CdnArrayOutput
	ToCdnArrayOutputWithContext(context.Context) CdnArrayOutput
}

CdnArrayInput is an input type that accepts CdnArray and CdnArrayOutput values. You can construct a concrete instance of `CdnArrayInput` via:

CdnArray{ CdnArgs{...} }

type CdnArrayOutput

type CdnArrayOutput struct{ *pulumi.OutputState }

func (CdnArrayOutput) ElementType

func (CdnArrayOutput) ElementType() reflect.Type

func (CdnArrayOutput) Index

func (CdnArrayOutput) ToCdnArrayOutput

func (o CdnArrayOutput) ToCdnArrayOutput() CdnArrayOutput

func (CdnArrayOutput) ToCdnArrayOutputWithContext

func (o CdnArrayOutput) ToCdnArrayOutputWithContext(ctx context.Context) CdnArrayOutput

type CdnInput

type CdnInput interface {
	pulumi.Input

	ToCdnOutput() CdnOutput
	ToCdnOutputWithContext(ctx context.Context) CdnOutput
}

type CdnMap

type CdnMap map[string]CdnInput

func (CdnMap) ElementType

func (CdnMap) ElementType() reflect.Type

func (CdnMap) ToCdnMapOutput

func (i CdnMap) ToCdnMapOutput() CdnMapOutput

func (CdnMap) ToCdnMapOutputWithContext

func (i CdnMap) ToCdnMapOutputWithContext(ctx context.Context) CdnMapOutput

type CdnMapInput

type CdnMapInput interface {
	pulumi.Input

	ToCdnMapOutput() CdnMapOutput
	ToCdnMapOutputWithContext(context.Context) CdnMapOutput
}

CdnMapInput is an input type that accepts CdnMap and CdnMapOutput values. You can construct a concrete instance of `CdnMapInput` via:

CdnMap{ "key": CdnArgs{...} }

type CdnMapOutput

type CdnMapOutput struct{ *pulumi.OutputState }

func (CdnMapOutput) ElementType

func (CdnMapOutput) ElementType() reflect.Type

func (CdnMapOutput) MapIndex

func (o CdnMapOutput) MapIndex(k pulumi.StringInput) CdnOutput

func (CdnMapOutput) ToCdnMapOutput

func (o CdnMapOutput) ToCdnMapOutput() CdnMapOutput

func (CdnMapOutput) ToCdnMapOutputWithContext

func (o CdnMapOutput) ToCdnMapOutputWithContext(ctx context.Context) CdnMapOutput

type CdnOutput

type CdnOutput struct{ *pulumi.OutputState }

func (CdnOutput) CertificateId deprecated added in v4.13.0

func (o CdnOutput) CertificateId() pulumi.StringOutput

**Deprecated** The ID of a DigitalOcean managed TLS certificate used for SSL when a custom subdomain is provided.

Deprecated: Certificate IDs may change, for example when a Let's Encrypt certificate is auto-renewed. Please specify 'certificate_name' instead.

func (CdnOutput) CertificateName added in v4.13.0

func (o CdnOutput) CertificateName() pulumi.StringOutput

The unique name of a DigitalOcean managed TLS certificate used for SSL when a custom subdomain is provided.

func (CdnOutput) CreatedAt added in v4.13.0

func (o CdnOutput) CreatedAt() pulumi.StringOutput

The date and time when the CDN Endpoint was created.

func (CdnOutput) CustomDomain added in v4.13.0

func (o CdnOutput) CustomDomain() pulumi.StringPtrOutput

The fully qualified domain name (FQDN) of the custom subdomain used with the CDN Endpoint.

func (CdnOutput) ElementType

func (CdnOutput) ElementType() reflect.Type

func (CdnOutput) Endpoint added in v4.13.0

func (o CdnOutput) Endpoint() pulumi.StringOutput

The fully qualified domain name (FQDN) from which the CDN-backed content is served.

func (CdnOutput) Origin added in v4.13.0

func (o CdnOutput) Origin() pulumi.StringOutput

The fully qualified domain name, (FQDN) for a Space.

func (CdnOutput) ToCdnOutput

func (o CdnOutput) ToCdnOutput() CdnOutput

func (CdnOutput) ToCdnOutputWithContext

func (o CdnOutput) ToCdnOutputWithContext(ctx context.Context) CdnOutput

func (CdnOutput) Ttl added in v4.13.0

func (o CdnOutput) Ttl() pulumi.IntOutput

The time to live for the CDN Endpoint, in seconds. Default is 3600 seconds.

type CdnState

type CdnState struct {
	// **Deprecated** The ID of a DigitalOcean managed TLS certificate used for SSL when a custom subdomain is provided.
	//
	// Deprecated: Certificate IDs may change, for example when a Let's Encrypt certificate is auto-renewed. Please specify 'certificate_name' instead.
	CertificateId pulumi.StringPtrInput
	// The unique name of a DigitalOcean managed TLS certificate used for SSL when a custom subdomain is provided.
	CertificateName pulumi.StringPtrInput
	// The date and time when the CDN Endpoint was created.
	CreatedAt pulumi.StringPtrInput
	// The fully qualified domain name (FQDN) of the custom subdomain used with the CDN Endpoint.
	CustomDomain pulumi.StringPtrInput
	// The fully qualified domain name (FQDN) from which the CDN-backed content is served.
	Endpoint pulumi.StringPtrInput
	// The fully qualified domain name, (FQDN) for a Space.
	Origin pulumi.StringPtrInput
	// The time to live for the CDN Endpoint, in seconds. Default is 3600 seconds.
	Ttl pulumi.IntPtrInput
}

func (CdnState) ElementType

func (CdnState) ElementType() reflect.Type

type Certificate

type Certificate struct {
	pulumi.CustomResourceState

	// The full PEM-formatted trust chain
	// between the certificate authority's certificate and your domain's TLS
	// certificate. Only valid when type is `custom`.
	CertificateChain pulumi.StringPtrOutput `pulumi:"certificateChain"`
	// List of fully qualified domain names (FQDNs) for
	// which the certificate will be issued. The domains must be managed using
	// DigitalOcean's DNS. Only valid when type is `letsEncrypt`.
	Domains pulumi.StringArrayOutput `pulumi:"domains"`
	// The contents of a PEM-formatted public
	// TLS certificate. Only valid when type is `custom`.
	LeafCertificate pulumi.StringPtrOutput `pulumi:"leafCertificate"`
	// The name of the certificate for identification.
	Name pulumi.StringOutput `pulumi:"name"`
	// The expiration date of the certificate
	NotAfter pulumi.StringOutput `pulumi:"notAfter"`
	// The contents of a PEM-formatted private-key
	// corresponding to the SSL certificate. Only valid when type is `custom`.
	PrivateKey pulumi.StringPtrOutput `pulumi:"privateKey"`
	// The SHA-1 fingerprint of the certificate
	Sha1Fingerprint pulumi.StringOutput `pulumi:"sha1Fingerprint"`
	State           pulumi.StringOutput `pulumi:"state"`
	// The type of certificate to provision. Can be either
	// `custom` or `letsEncrypt`. Defaults to `custom`.
	Type pulumi.StringPtrOutput `pulumi:"type"`
	// The UUID of the certificate
	Uuid pulumi.StringOutput `pulumi:"uuid"`
}

Provides a DigitalOcean Certificate resource that allows you to manage certificates for configuring TLS termination in Load Balancers. Certificates created with this resource can be referenced in your Load Balancer configuration via their ID. The certificate can either be a custom one provided by you or automatically generated one with Let's Encrypt.

## Example Usage

### Custom Certificate

```go package main

import (

"os"

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func readFileOrPanic(path string) pulumi.StringPtrInput {
	data, err := os.ReadFile(path)
	if err != nil {
		panic(err.Error())
	}
	return pulumi.String(string(data))
}

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.NewCertificate(ctx, "cert", &digitalocean.CertificateArgs{
			Type:             pulumi.String(digitalocean.CertificateTypeCustom),
			PrivateKey:       readFileOrPanic("/Users/myuser/certs/privkey.pem"),
			LeafCertificate:  readFileOrPanic("/Users/myuser/certs/cert.pem"),
			CertificateChain: readFileOrPanic("/Users/myuser/certs/fullchain.pem"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Let's Encrypt Certificate

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.NewCertificate(ctx, "cert", &digitalocean.CertificateArgs{
			Domains: pulumi.StringArray{
				pulumi.String("example.com"),
			},
			Type: pulumi.String(digitalocean.CertificateTypeLetsEncrypt),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Use with Other Resources

Both custom and Let's Encrypt certificates can be used with other resources including the `LoadBalancer` and `Cdn` resources.

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cert, err := digitalocean.NewCertificate(ctx, "cert", &digitalocean.CertificateArgs{
			Type: pulumi.String(digitalocean.CertificateTypeLetsEncrypt),
			Domains: pulumi.StringArray{
				pulumi.String("example.com"),
			},
		})
		if err != nil {
			return err
		}
		// Create a new Load Balancer with TLS termination
		_, err = digitalocean.NewLoadBalancer(ctx, "public", &digitalocean.LoadBalancerArgs{
			Region:     pulumi.String(digitalocean.RegionNYC3),
			DropletTag: pulumi.String("backend"),
			ForwardingRules: digitalocean.LoadBalancerForwardingRuleArray{
				&digitalocean.LoadBalancerForwardingRuleArgs{
					EntryPort:       pulumi.Int(443),
					EntryProtocol:   pulumi.String("https"),
					TargetPort:      pulumi.Int(80),
					TargetProtocol:  pulumi.String("http"),
					CertificateName: cert.Name,
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Certificates can be imported using the certificate `name`, e.g.

```sh $ pulumi import digitalocean:index/certificate:Certificate mycertificate cert-01 ```

func GetCertificate

func GetCertificate(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CertificateState, opts ...pulumi.ResourceOption) (*Certificate, error)

GetCertificate gets an existing Certificate 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 NewCertificate

func NewCertificate(ctx *pulumi.Context,
	name string, args *CertificateArgs, opts ...pulumi.ResourceOption) (*Certificate, error)

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

func (*Certificate) ElementType

func (*Certificate) ElementType() reflect.Type

func (*Certificate) ToCertificateOutput

func (i *Certificate) ToCertificateOutput() CertificateOutput

func (*Certificate) ToCertificateOutputWithContext

func (i *Certificate) ToCertificateOutputWithContext(ctx context.Context) CertificateOutput

type CertificateArgs

type CertificateArgs struct {
	// The full PEM-formatted trust chain
	// between the certificate authority's certificate and your domain's TLS
	// certificate. Only valid when type is `custom`.
	CertificateChain pulumi.StringPtrInput
	// List of fully qualified domain names (FQDNs) for
	// which the certificate will be issued. The domains must be managed using
	// DigitalOcean's DNS. Only valid when type is `letsEncrypt`.
	Domains pulumi.StringArrayInput
	// The contents of a PEM-formatted public
	// TLS certificate. Only valid when type is `custom`.
	LeafCertificate pulumi.StringPtrInput
	// The name of the certificate for identification.
	Name pulumi.StringPtrInput
	// The contents of a PEM-formatted private-key
	// corresponding to the SSL certificate. Only valid when type is `custom`.
	PrivateKey pulumi.StringPtrInput
	// The type of certificate to provision. Can be either
	// `custom` or `letsEncrypt`. Defaults to `custom`.
	Type pulumi.StringPtrInput
}

The set of arguments for constructing a Certificate resource.

func (CertificateArgs) ElementType

func (CertificateArgs) ElementType() reflect.Type

type CertificateArray

type CertificateArray []CertificateInput

func (CertificateArray) ElementType

func (CertificateArray) ElementType() reflect.Type

func (CertificateArray) ToCertificateArrayOutput

func (i CertificateArray) ToCertificateArrayOutput() CertificateArrayOutput

func (CertificateArray) ToCertificateArrayOutputWithContext

func (i CertificateArray) ToCertificateArrayOutputWithContext(ctx context.Context) CertificateArrayOutput

type CertificateArrayInput

type CertificateArrayInput interface {
	pulumi.Input

	ToCertificateArrayOutput() CertificateArrayOutput
	ToCertificateArrayOutputWithContext(context.Context) CertificateArrayOutput
}

CertificateArrayInput is an input type that accepts CertificateArray and CertificateArrayOutput values. You can construct a concrete instance of `CertificateArrayInput` via:

CertificateArray{ CertificateArgs{...} }

type CertificateArrayOutput

type CertificateArrayOutput struct{ *pulumi.OutputState }

func (CertificateArrayOutput) ElementType

func (CertificateArrayOutput) ElementType() reflect.Type

func (CertificateArrayOutput) Index

func (CertificateArrayOutput) ToCertificateArrayOutput

func (o CertificateArrayOutput) ToCertificateArrayOutput() CertificateArrayOutput

func (CertificateArrayOutput) ToCertificateArrayOutputWithContext

func (o CertificateArrayOutput) ToCertificateArrayOutputWithContext(ctx context.Context) CertificateArrayOutput

type CertificateInput

type CertificateInput interface {
	pulumi.Input

	ToCertificateOutput() CertificateOutput
	ToCertificateOutputWithContext(ctx context.Context) CertificateOutput
}

type CertificateMap

type CertificateMap map[string]CertificateInput

func (CertificateMap) ElementType

func (CertificateMap) ElementType() reflect.Type

func (CertificateMap) ToCertificateMapOutput

func (i CertificateMap) ToCertificateMapOutput() CertificateMapOutput

func (CertificateMap) ToCertificateMapOutputWithContext

func (i CertificateMap) ToCertificateMapOutputWithContext(ctx context.Context) CertificateMapOutput

type CertificateMapInput

type CertificateMapInput interface {
	pulumi.Input

	ToCertificateMapOutput() CertificateMapOutput
	ToCertificateMapOutputWithContext(context.Context) CertificateMapOutput
}

CertificateMapInput is an input type that accepts CertificateMap and CertificateMapOutput values. You can construct a concrete instance of `CertificateMapInput` via:

CertificateMap{ "key": CertificateArgs{...} }

type CertificateMapOutput

type CertificateMapOutput struct{ *pulumi.OutputState }

func (CertificateMapOutput) ElementType

func (CertificateMapOutput) ElementType() reflect.Type

func (CertificateMapOutput) MapIndex

func (CertificateMapOutput) ToCertificateMapOutput

func (o CertificateMapOutput) ToCertificateMapOutput() CertificateMapOutput

func (CertificateMapOutput) ToCertificateMapOutputWithContext

func (o CertificateMapOutput) ToCertificateMapOutputWithContext(ctx context.Context) CertificateMapOutput

type CertificateOutput

type CertificateOutput struct{ *pulumi.OutputState }

func (CertificateOutput) CertificateChain added in v4.13.0

func (o CertificateOutput) CertificateChain() pulumi.StringPtrOutput

The full PEM-formatted trust chain between the certificate authority's certificate and your domain's TLS certificate. Only valid when type is `custom`.

func (CertificateOutput) Domains added in v4.13.0

List of fully qualified domain names (FQDNs) for which the certificate will be issued. The domains must be managed using DigitalOcean's DNS. Only valid when type is `letsEncrypt`.

func (CertificateOutput) ElementType

func (CertificateOutput) ElementType() reflect.Type

func (CertificateOutput) LeafCertificate added in v4.13.0

func (o CertificateOutput) LeafCertificate() pulumi.StringPtrOutput

The contents of a PEM-formatted public TLS certificate. Only valid when type is `custom`.

func (CertificateOutput) Name added in v4.13.0

The name of the certificate for identification.

func (CertificateOutput) NotAfter added in v4.13.0

func (o CertificateOutput) NotAfter() pulumi.StringOutput

The expiration date of the certificate

func (CertificateOutput) PrivateKey added in v4.13.0

func (o CertificateOutput) PrivateKey() pulumi.StringPtrOutput

The contents of a PEM-formatted private-key corresponding to the SSL certificate. Only valid when type is `custom`.

func (CertificateOutput) Sha1Fingerprint added in v4.13.0

func (o CertificateOutput) Sha1Fingerprint() pulumi.StringOutput

The SHA-1 fingerprint of the certificate

func (CertificateOutput) State added in v4.13.0

func (CertificateOutput) ToCertificateOutput

func (o CertificateOutput) ToCertificateOutput() CertificateOutput

func (CertificateOutput) ToCertificateOutputWithContext

func (o CertificateOutput) ToCertificateOutputWithContext(ctx context.Context) CertificateOutput

func (CertificateOutput) Type added in v4.13.0

The type of certificate to provision. Can be either `custom` or `letsEncrypt`. Defaults to `custom`.

func (CertificateOutput) Uuid added in v4.13.0

The UUID of the certificate

type CertificateState

type CertificateState struct {
	// The full PEM-formatted trust chain
	// between the certificate authority's certificate and your domain's TLS
	// certificate. Only valid when type is `custom`.
	CertificateChain pulumi.StringPtrInput
	// List of fully qualified domain names (FQDNs) for
	// which the certificate will be issued. The domains must be managed using
	// DigitalOcean's DNS. Only valid when type is `letsEncrypt`.
	Domains pulumi.StringArrayInput
	// The contents of a PEM-formatted public
	// TLS certificate. Only valid when type is `custom`.
	LeafCertificate pulumi.StringPtrInput
	// The name of the certificate for identification.
	Name pulumi.StringPtrInput
	// The expiration date of the certificate
	NotAfter pulumi.StringPtrInput
	// The contents of a PEM-formatted private-key
	// corresponding to the SSL certificate. Only valid when type is `custom`.
	PrivateKey pulumi.StringPtrInput
	// The SHA-1 fingerprint of the certificate
	Sha1Fingerprint pulumi.StringPtrInput
	State           pulumi.StringPtrInput
	// The type of certificate to provision. Can be either
	// `custom` or `letsEncrypt`. Defaults to `custom`.
	Type pulumi.StringPtrInput
	// The UUID of the certificate
	Uuid pulumi.StringPtrInput
}

func (CertificateState) ElementType

func (CertificateState) ElementType() reflect.Type

type CertificateType

type CertificateType string

func (CertificateType) ElementType

func (CertificateType) ElementType() reflect.Type

func (CertificateType) ToCertificateTypeOutput added in v4.9.0

func (e CertificateType) ToCertificateTypeOutput() CertificateTypeOutput

func (CertificateType) ToCertificateTypeOutputWithContext added in v4.9.0

func (e CertificateType) ToCertificateTypeOutputWithContext(ctx context.Context) CertificateTypeOutput

func (CertificateType) ToCertificateTypePtrOutput added in v4.9.0

func (e CertificateType) ToCertificateTypePtrOutput() CertificateTypePtrOutput

func (CertificateType) ToCertificateTypePtrOutputWithContext added in v4.9.0

func (e CertificateType) ToCertificateTypePtrOutputWithContext(ctx context.Context) CertificateTypePtrOutput

func (CertificateType) ToStringOutput

func (e CertificateType) ToStringOutput() pulumi.StringOutput

func (CertificateType) ToStringOutputWithContext

func (e CertificateType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (CertificateType) ToStringPtrOutput

func (e CertificateType) ToStringPtrOutput() pulumi.StringPtrOutput

func (CertificateType) ToStringPtrOutputWithContext

func (e CertificateType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type CertificateTypeInput added in v4.9.0

type CertificateTypeInput interface {
	pulumi.Input

	ToCertificateTypeOutput() CertificateTypeOutput
	ToCertificateTypeOutputWithContext(context.Context) CertificateTypeOutput
}

CertificateTypeInput is an input type that accepts values of the CertificateType enum A concrete instance of `CertificateTypeInput` can be one of the following:

CertificateTypeLetsEncrypt
CertificateTypeCustom

type CertificateTypeOutput added in v4.9.0

type CertificateTypeOutput struct{ *pulumi.OutputState }

func (CertificateTypeOutput) ElementType added in v4.9.0

func (CertificateTypeOutput) ElementType() reflect.Type

func (CertificateTypeOutput) ToCertificateTypeOutput added in v4.9.0

func (o CertificateTypeOutput) ToCertificateTypeOutput() CertificateTypeOutput

func (CertificateTypeOutput) ToCertificateTypeOutputWithContext added in v4.9.0

func (o CertificateTypeOutput) ToCertificateTypeOutputWithContext(ctx context.Context) CertificateTypeOutput

func (CertificateTypeOutput) ToCertificateTypePtrOutput added in v4.9.0

func (o CertificateTypeOutput) ToCertificateTypePtrOutput() CertificateTypePtrOutput

func (CertificateTypeOutput) ToCertificateTypePtrOutputWithContext added in v4.9.0

func (o CertificateTypeOutput) ToCertificateTypePtrOutputWithContext(ctx context.Context) CertificateTypePtrOutput

func (CertificateTypeOutput) ToStringOutput added in v4.9.0

func (o CertificateTypeOutput) ToStringOutput() pulumi.StringOutput

func (CertificateTypeOutput) ToStringOutputWithContext added in v4.9.0

func (o CertificateTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (CertificateTypeOutput) ToStringPtrOutput added in v4.9.0

func (o CertificateTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (CertificateTypeOutput) ToStringPtrOutputWithContext added in v4.9.0

func (o CertificateTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type CertificateTypePtrInput added in v4.9.0

type CertificateTypePtrInput interface {
	pulumi.Input

	ToCertificateTypePtrOutput() CertificateTypePtrOutput
	ToCertificateTypePtrOutputWithContext(context.Context) CertificateTypePtrOutput
}

func CertificateTypePtr added in v4.9.0

func CertificateTypePtr(v string) CertificateTypePtrInput

type CertificateTypePtrOutput added in v4.9.0

type CertificateTypePtrOutput struct{ *pulumi.OutputState }

func (CertificateTypePtrOutput) Elem added in v4.9.0

func (CertificateTypePtrOutput) ElementType added in v4.9.0

func (CertificateTypePtrOutput) ElementType() reflect.Type

func (CertificateTypePtrOutput) ToCertificateTypePtrOutput added in v4.9.0

func (o CertificateTypePtrOutput) ToCertificateTypePtrOutput() CertificateTypePtrOutput

func (CertificateTypePtrOutput) ToCertificateTypePtrOutputWithContext added in v4.9.0

func (o CertificateTypePtrOutput) ToCertificateTypePtrOutputWithContext(ctx context.Context) CertificateTypePtrOutput

func (CertificateTypePtrOutput) ToStringPtrOutput added in v4.9.0

func (o CertificateTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (CertificateTypePtrOutput) ToStringPtrOutputWithContext added in v4.9.0

func (o CertificateTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ContainerRegistry

type ContainerRegistry struct {
	pulumi.CustomResourceState

	// The date and time when the registry was created
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The URL endpoint of the container registry. Ex: `registry.digitalocean.com/my_registry`
	Endpoint pulumi.StringOutput `pulumi:"endpoint"`
	// The name of the container_registry
	Name pulumi.StringOutput `pulumi:"name"`
	// The slug identifier of for region where registry data will be stored. When not provided, a region will be selected automatically.
	Region pulumi.StringOutput `pulumi:"region"`
	// The domain of the container registry. Ex: `registry.digitalocean.com`
	ServerUrl pulumi.StringOutput `pulumi:"serverUrl"`
	// The amount of storage used in the registry in bytes.
	StorageUsageBytes pulumi.IntOutput `pulumi:"storageUsageBytes"`
	// The slug identifier for the subscription tier to use (`starter`, `basic`, or `professional`)
	SubscriptionTierSlug pulumi.StringOutput `pulumi:"subscriptionTierSlug"`
}

Provides a DigitalOcean Container Registry resource. A Container Registry is a secure, private location to store your containers for rapid deployment.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Create a new container registry
		_, err := digitalocean.NewContainerRegistry(ctx, "foobar", &digitalocean.ContainerRegistryArgs{
			SubscriptionTierSlug: pulumi.String("starter"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Container Registries can be imported using the `name`, e.g.

```sh $ pulumi import digitalocean:index/containerRegistry:ContainerRegistry myregistry registryname ```

func GetContainerRegistry

func GetContainerRegistry(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ContainerRegistryState, opts ...pulumi.ResourceOption) (*ContainerRegistry, error)

GetContainerRegistry gets an existing ContainerRegistry 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 NewContainerRegistry

func NewContainerRegistry(ctx *pulumi.Context,
	name string, args *ContainerRegistryArgs, opts ...pulumi.ResourceOption) (*ContainerRegistry, error)

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

func (*ContainerRegistry) ElementType

func (*ContainerRegistry) ElementType() reflect.Type

func (*ContainerRegistry) ToContainerRegistryOutput

func (i *ContainerRegistry) ToContainerRegistryOutput() ContainerRegistryOutput

func (*ContainerRegistry) ToContainerRegistryOutputWithContext

func (i *ContainerRegistry) ToContainerRegistryOutputWithContext(ctx context.Context) ContainerRegistryOutput

type ContainerRegistryArgs

type ContainerRegistryArgs struct {
	// The name of the container_registry
	Name pulumi.StringPtrInput
	// The slug identifier of for region where registry data will be stored. When not provided, a region will be selected automatically.
	Region pulumi.StringPtrInput
	// The slug identifier for the subscription tier to use (`starter`, `basic`, or `professional`)
	SubscriptionTierSlug pulumi.StringInput
}

The set of arguments for constructing a ContainerRegistry resource.

func (ContainerRegistryArgs) ElementType

func (ContainerRegistryArgs) ElementType() reflect.Type

type ContainerRegistryArray

type ContainerRegistryArray []ContainerRegistryInput

func (ContainerRegistryArray) ElementType

func (ContainerRegistryArray) ElementType() reflect.Type

func (ContainerRegistryArray) ToContainerRegistryArrayOutput

func (i ContainerRegistryArray) ToContainerRegistryArrayOutput() ContainerRegistryArrayOutput

func (ContainerRegistryArray) ToContainerRegistryArrayOutputWithContext

func (i ContainerRegistryArray) ToContainerRegistryArrayOutputWithContext(ctx context.Context) ContainerRegistryArrayOutput

type ContainerRegistryArrayInput

type ContainerRegistryArrayInput interface {
	pulumi.Input

	ToContainerRegistryArrayOutput() ContainerRegistryArrayOutput
	ToContainerRegistryArrayOutputWithContext(context.Context) ContainerRegistryArrayOutput
}

ContainerRegistryArrayInput is an input type that accepts ContainerRegistryArray and ContainerRegistryArrayOutput values. You can construct a concrete instance of `ContainerRegistryArrayInput` via:

ContainerRegistryArray{ ContainerRegistryArgs{...} }

type ContainerRegistryArrayOutput

type ContainerRegistryArrayOutput struct{ *pulumi.OutputState }

func (ContainerRegistryArrayOutput) ElementType

func (ContainerRegistryArrayOutput) Index

func (ContainerRegistryArrayOutput) ToContainerRegistryArrayOutput

func (o ContainerRegistryArrayOutput) ToContainerRegistryArrayOutput() ContainerRegistryArrayOutput

func (ContainerRegistryArrayOutput) ToContainerRegistryArrayOutputWithContext

func (o ContainerRegistryArrayOutput) ToContainerRegistryArrayOutputWithContext(ctx context.Context) ContainerRegistryArrayOutput

type ContainerRegistryDockerCredentials

type ContainerRegistryDockerCredentials struct {
	pulumi.CustomResourceState

	// The date and time the registry access token will expire.
	CredentialExpirationTime pulumi.StringOutput `pulumi:"credentialExpirationTime"`
	// Credentials for the container registry.
	DockerCredentials pulumi.StringOutput `pulumi:"dockerCredentials"`
	// The amount of time to pass before the Docker credentials expire in seconds. Defaults to 1576800000, or roughly 50 years. Must be greater than 0 and less than 1576800000.
	ExpirySeconds pulumi.IntPtrOutput `pulumi:"expirySeconds"`
	// The name of the container registry.
	RegistryName pulumi.StringOutput `pulumi:"registryName"`
	// Allow for write access to the container registry. Defaults to false.
	Write pulumi.BoolPtrOutput `pulumi:"write"`
}

Get Docker credentials for your DigitalOcean container registry.

An error is triggered if the provided container registry name does not exist.

## Example Usage

### Basic Example

Get the container registry:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.NewContainerRegistryDockerCredentials(ctx, "example", &digitalocean.ContainerRegistryDockerCredentialsArgs{
			RegistryName: pulumi.String("example"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Docker Provider Example

Use the `endpoint` and `dockerCredentials` with the Docker provider:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.LookupContainerRegistry(ctx, &digitalocean.LookupContainerRegistryArgs{
			Name: "example",
		}, nil)
		if err != nil {
			return err
		}
		_, err = digitalocean.NewContainerRegistryDockerCredentials(ctx, "exampleContainerRegistryDockerCredentials", &digitalocean.ContainerRegistryDockerCredentialsArgs{
			RegistryName: pulumi.String("example"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetContainerRegistryDockerCredentials

func GetContainerRegistryDockerCredentials(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ContainerRegistryDockerCredentialsState, opts ...pulumi.ResourceOption) (*ContainerRegistryDockerCredentials, error)

GetContainerRegistryDockerCredentials gets an existing ContainerRegistryDockerCredentials 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 NewContainerRegistryDockerCredentials

func NewContainerRegistryDockerCredentials(ctx *pulumi.Context,
	name string, args *ContainerRegistryDockerCredentialsArgs, opts ...pulumi.ResourceOption) (*ContainerRegistryDockerCredentials, error)

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

func (*ContainerRegistryDockerCredentials) ElementType

func (*ContainerRegistryDockerCredentials) ToContainerRegistryDockerCredentialsOutput

func (i *ContainerRegistryDockerCredentials) ToContainerRegistryDockerCredentialsOutput() ContainerRegistryDockerCredentialsOutput

func (*ContainerRegistryDockerCredentials) ToContainerRegistryDockerCredentialsOutputWithContext

func (i *ContainerRegistryDockerCredentials) ToContainerRegistryDockerCredentialsOutputWithContext(ctx context.Context) ContainerRegistryDockerCredentialsOutput

type ContainerRegistryDockerCredentialsArgs

type ContainerRegistryDockerCredentialsArgs struct {
	// The amount of time to pass before the Docker credentials expire in seconds. Defaults to 1576800000, or roughly 50 years. Must be greater than 0 and less than 1576800000.
	ExpirySeconds pulumi.IntPtrInput
	// The name of the container registry.
	RegistryName pulumi.StringInput
	// Allow for write access to the container registry. Defaults to false.
	Write pulumi.BoolPtrInput
}

The set of arguments for constructing a ContainerRegistryDockerCredentials resource.

func (ContainerRegistryDockerCredentialsArgs) ElementType

type ContainerRegistryDockerCredentialsArray

type ContainerRegistryDockerCredentialsArray []ContainerRegistryDockerCredentialsInput

func (ContainerRegistryDockerCredentialsArray) ElementType

func (ContainerRegistryDockerCredentialsArray) ToContainerRegistryDockerCredentialsArrayOutput

func (i ContainerRegistryDockerCredentialsArray) ToContainerRegistryDockerCredentialsArrayOutput() ContainerRegistryDockerCredentialsArrayOutput

func (ContainerRegistryDockerCredentialsArray) ToContainerRegistryDockerCredentialsArrayOutputWithContext

func (i ContainerRegistryDockerCredentialsArray) ToContainerRegistryDockerCredentialsArrayOutputWithContext(ctx context.Context) ContainerRegistryDockerCredentialsArrayOutput

type ContainerRegistryDockerCredentialsArrayInput

type ContainerRegistryDockerCredentialsArrayInput interface {
	pulumi.Input

	ToContainerRegistryDockerCredentialsArrayOutput() ContainerRegistryDockerCredentialsArrayOutput
	ToContainerRegistryDockerCredentialsArrayOutputWithContext(context.Context) ContainerRegistryDockerCredentialsArrayOutput
}

ContainerRegistryDockerCredentialsArrayInput is an input type that accepts ContainerRegistryDockerCredentialsArray and ContainerRegistryDockerCredentialsArrayOutput values. You can construct a concrete instance of `ContainerRegistryDockerCredentialsArrayInput` via:

ContainerRegistryDockerCredentialsArray{ ContainerRegistryDockerCredentialsArgs{...} }

type ContainerRegistryDockerCredentialsArrayOutput

type ContainerRegistryDockerCredentialsArrayOutput struct{ *pulumi.OutputState }

func (ContainerRegistryDockerCredentialsArrayOutput) ElementType

func (ContainerRegistryDockerCredentialsArrayOutput) Index

func (ContainerRegistryDockerCredentialsArrayOutput) ToContainerRegistryDockerCredentialsArrayOutput

func (o ContainerRegistryDockerCredentialsArrayOutput) ToContainerRegistryDockerCredentialsArrayOutput() ContainerRegistryDockerCredentialsArrayOutput

func (ContainerRegistryDockerCredentialsArrayOutput) ToContainerRegistryDockerCredentialsArrayOutputWithContext

func (o ContainerRegistryDockerCredentialsArrayOutput) ToContainerRegistryDockerCredentialsArrayOutputWithContext(ctx context.Context) ContainerRegistryDockerCredentialsArrayOutput

type ContainerRegistryDockerCredentialsInput

type ContainerRegistryDockerCredentialsInput interface {
	pulumi.Input

	ToContainerRegistryDockerCredentialsOutput() ContainerRegistryDockerCredentialsOutput
	ToContainerRegistryDockerCredentialsOutputWithContext(ctx context.Context) ContainerRegistryDockerCredentialsOutput
}

type ContainerRegistryDockerCredentialsMap

type ContainerRegistryDockerCredentialsMap map[string]ContainerRegistryDockerCredentialsInput

func (ContainerRegistryDockerCredentialsMap) ElementType

func (ContainerRegistryDockerCredentialsMap) ToContainerRegistryDockerCredentialsMapOutput

func (i ContainerRegistryDockerCredentialsMap) ToContainerRegistryDockerCredentialsMapOutput() ContainerRegistryDockerCredentialsMapOutput

func (ContainerRegistryDockerCredentialsMap) ToContainerRegistryDockerCredentialsMapOutputWithContext

func (i ContainerRegistryDockerCredentialsMap) ToContainerRegistryDockerCredentialsMapOutputWithContext(ctx context.Context) ContainerRegistryDockerCredentialsMapOutput

type ContainerRegistryDockerCredentialsMapInput

type ContainerRegistryDockerCredentialsMapInput interface {
	pulumi.Input

	ToContainerRegistryDockerCredentialsMapOutput() ContainerRegistryDockerCredentialsMapOutput
	ToContainerRegistryDockerCredentialsMapOutputWithContext(context.Context) ContainerRegistryDockerCredentialsMapOutput
}

ContainerRegistryDockerCredentialsMapInput is an input type that accepts ContainerRegistryDockerCredentialsMap and ContainerRegistryDockerCredentialsMapOutput values. You can construct a concrete instance of `ContainerRegistryDockerCredentialsMapInput` via:

ContainerRegistryDockerCredentialsMap{ "key": ContainerRegistryDockerCredentialsArgs{...} }

type ContainerRegistryDockerCredentialsMapOutput

type ContainerRegistryDockerCredentialsMapOutput struct{ *pulumi.OutputState }

func (ContainerRegistryDockerCredentialsMapOutput) ElementType

func (ContainerRegistryDockerCredentialsMapOutput) MapIndex

func (ContainerRegistryDockerCredentialsMapOutput) ToContainerRegistryDockerCredentialsMapOutput

func (o ContainerRegistryDockerCredentialsMapOutput) ToContainerRegistryDockerCredentialsMapOutput() ContainerRegistryDockerCredentialsMapOutput

func (ContainerRegistryDockerCredentialsMapOutput) ToContainerRegistryDockerCredentialsMapOutputWithContext

func (o ContainerRegistryDockerCredentialsMapOutput) ToContainerRegistryDockerCredentialsMapOutputWithContext(ctx context.Context) ContainerRegistryDockerCredentialsMapOutput

type ContainerRegistryDockerCredentialsOutput

type ContainerRegistryDockerCredentialsOutput struct{ *pulumi.OutputState }

func (ContainerRegistryDockerCredentialsOutput) CredentialExpirationTime added in v4.13.0

func (o ContainerRegistryDockerCredentialsOutput) CredentialExpirationTime() pulumi.StringOutput

The date and time the registry access token will expire.

func (ContainerRegistryDockerCredentialsOutput) DockerCredentials added in v4.13.0

Credentials for the container registry.

func (ContainerRegistryDockerCredentialsOutput) ElementType

func (ContainerRegistryDockerCredentialsOutput) ExpirySeconds added in v4.13.0

The amount of time to pass before the Docker credentials expire in seconds. Defaults to 1576800000, or roughly 50 years. Must be greater than 0 and less than 1576800000.

func (ContainerRegistryDockerCredentialsOutput) RegistryName added in v4.13.0

The name of the container registry.

func (ContainerRegistryDockerCredentialsOutput) ToContainerRegistryDockerCredentialsOutput

func (o ContainerRegistryDockerCredentialsOutput) ToContainerRegistryDockerCredentialsOutput() ContainerRegistryDockerCredentialsOutput

func (ContainerRegistryDockerCredentialsOutput) ToContainerRegistryDockerCredentialsOutputWithContext

func (o ContainerRegistryDockerCredentialsOutput) ToContainerRegistryDockerCredentialsOutputWithContext(ctx context.Context) ContainerRegistryDockerCredentialsOutput

func (ContainerRegistryDockerCredentialsOutput) Write added in v4.13.0

Allow for write access to the container registry. Defaults to false.

type ContainerRegistryDockerCredentialsState

type ContainerRegistryDockerCredentialsState struct {
	// The date and time the registry access token will expire.
	CredentialExpirationTime pulumi.StringPtrInput
	// Credentials for the container registry.
	DockerCredentials pulumi.StringPtrInput
	// The amount of time to pass before the Docker credentials expire in seconds. Defaults to 1576800000, or roughly 50 years. Must be greater than 0 and less than 1576800000.
	ExpirySeconds pulumi.IntPtrInput
	// The name of the container registry.
	RegistryName pulumi.StringPtrInput
	// Allow for write access to the container registry. Defaults to false.
	Write pulumi.BoolPtrInput
}

func (ContainerRegistryDockerCredentialsState) ElementType

type ContainerRegistryInput

type ContainerRegistryInput interface {
	pulumi.Input

	ToContainerRegistryOutput() ContainerRegistryOutput
	ToContainerRegistryOutputWithContext(ctx context.Context) ContainerRegistryOutput
}

type ContainerRegistryMap

type ContainerRegistryMap map[string]ContainerRegistryInput

func (ContainerRegistryMap) ElementType

func (ContainerRegistryMap) ElementType() reflect.Type

func (ContainerRegistryMap) ToContainerRegistryMapOutput

func (i ContainerRegistryMap) ToContainerRegistryMapOutput() ContainerRegistryMapOutput

func (ContainerRegistryMap) ToContainerRegistryMapOutputWithContext

func (i ContainerRegistryMap) ToContainerRegistryMapOutputWithContext(ctx context.Context) ContainerRegistryMapOutput

type ContainerRegistryMapInput

type ContainerRegistryMapInput interface {
	pulumi.Input

	ToContainerRegistryMapOutput() ContainerRegistryMapOutput
	ToContainerRegistryMapOutputWithContext(context.Context) ContainerRegistryMapOutput
}

ContainerRegistryMapInput is an input type that accepts ContainerRegistryMap and ContainerRegistryMapOutput values. You can construct a concrete instance of `ContainerRegistryMapInput` via:

ContainerRegistryMap{ "key": ContainerRegistryArgs{...} }

type ContainerRegistryMapOutput

type ContainerRegistryMapOutput struct{ *pulumi.OutputState }

func (ContainerRegistryMapOutput) ElementType

func (ContainerRegistryMapOutput) ElementType() reflect.Type

func (ContainerRegistryMapOutput) MapIndex

func (ContainerRegistryMapOutput) ToContainerRegistryMapOutput

func (o ContainerRegistryMapOutput) ToContainerRegistryMapOutput() ContainerRegistryMapOutput

func (ContainerRegistryMapOutput) ToContainerRegistryMapOutputWithContext

func (o ContainerRegistryMapOutput) ToContainerRegistryMapOutputWithContext(ctx context.Context) ContainerRegistryMapOutput

type ContainerRegistryOutput

type ContainerRegistryOutput struct{ *pulumi.OutputState }

func (ContainerRegistryOutput) CreatedAt added in v4.13.0

The date and time when the registry was created

func (ContainerRegistryOutput) ElementType

func (ContainerRegistryOutput) ElementType() reflect.Type

func (ContainerRegistryOutput) Endpoint added in v4.13.0

The URL endpoint of the container registry. Ex: `registry.digitalocean.com/my_registry`

func (ContainerRegistryOutput) Name added in v4.13.0

The name of the container_registry

func (ContainerRegistryOutput) Region added in v4.13.0

The slug identifier of for region where registry data will be stored. When not provided, a region will be selected automatically.

func (ContainerRegistryOutput) ServerUrl added in v4.13.0

The domain of the container registry. Ex: `registry.digitalocean.com`

func (ContainerRegistryOutput) StorageUsageBytes added in v4.13.0

func (o ContainerRegistryOutput) StorageUsageBytes() pulumi.IntOutput

The amount of storage used in the registry in bytes.

func (ContainerRegistryOutput) SubscriptionTierSlug added in v4.13.0

func (o ContainerRegistryOutput) SubscriptionTierSlug() pulumi.StringOutput

The slug identifier for the subscription tier to use (`starter`, `basic`, or `professional`)

func (ContainerRegistryOutput) ToContainerRegistryOutput

func (o ContainerRegistryOutput) ToContainerRegistryOutput() ContainerRegistryOutput

func (ContainerRegistryOutput) ToContainerRegistryOutputWithContext

func (o ContainerRegistryOutput) ToContainerRegistryOutputWithContext(ctx context.Context) ContainerRegistryOutput

type ContainerRegistryState

type ContainerRegistryState struct {
	// The date and time when the registry was created
	CreatedAt pulumi.StringPtrInput
	// The URL endpoint of the container registry. Ex: `registry.digitalocean.com/my_registry`
	Endpoint pulumi.StringPtrInput
	// The name of the container_registry
	Name pulumi.StringPtrInput
	// The slug identifier of for region where registry data will be stored. When not provided, a region will be selected automatically.
	Region pulumi.StringPtrInput
	// The domain of the container registry. Ex: `registry.digitalocean.com`
	ServerUrl pulumi.StringPtrInput
	// The amount of storage used in the registry in bytes.
	StorageUsageBytes pulumi.IntPtrInput
	// The slug identifier for the subscription tier to use (`starter`, `basic`, or `professional`)
	SubscriptionTierSlug pulumi.StringPtrInput
}

func (ContainerRegistryState) ElementType

func (ContainerRegistryState) ElementType() reflect.Type

type CustomImage

type CustomImage struct {
	pulumi.CustomResourceState

	// A time value given in ISO8601 combined date and time format that represents when the image was created.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// An optional description for the image.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// An optional distribution name for the image. Valid values are documented [here](https://docs.digitalocean.com/reference/api/api-reference/#operation/create_custom_image)
	Distribution pulumi.StringPtrOutput `pulumi:"distribution"`
	// A unique number that can be used to identify and reference a specific image.
	ImageId pulumi.IntOutput `pulumi:"imageId"`
	// The minimum disk size in GB required for a Droplet to use this image.
	MinDiskSize pulumi.IntOutput `pulumi:"minDiskSize"`
	// A name for the Custom Image.
	Name pulumi.StringOutput `pulumi:"name"`
	// Indicates whether the image in question is public or not.
	Public pulumi.BoolOutput `pulumi:"public"`
	// A list of regions. (Currently only one is supported).
	Regions pulumi.StringArrayOutput `pulumi:"regions"`
	// The size of the image in gigabytes.
	SizeGigabytes pulumi.Float64Output `pulumi:"sizeGigabytes"`
	// A uniquely identifying string for each image.
	Slug pulumi.StringOutput `pulumi:"slug"`
	// A status string indicating the state of a custom image.
	Status pulumi.StringOutput `pulumi:"status"`
	// A list of optional tags for the image.
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
	// Describes the kind of image.
	Type pulumi.StringOutput `pulumi:"type"`
	// A URL from which the custom Linux virtual machine image may be retrieved.
	Url pulumi.StringOutput `pulumi:"url"`
}

Provides a resource which can be used to create a [custom image](https://www.digitalocean.com/docs/images/custom-images/) from a URL. The URL must point to an image in one of the following file formats:

- Raw (.img) with an MBR or GPT partition table - qcow2 - VHDX - VDI - VMDK

The image may be compressed using gzip or bzip2. See the DigitalOcean Custom Image documentation for [additional requirements](https://www.digitalocean.com/docs/images/custom-images/#image-requirements).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		flatcar, err := digitalocean.NewCustomImage(ctx, "flatcar", &digitalocean.CustomImageArgs{
			Url: pulumi.String("https://stable.release.flatcar-linux.net/amd64-usr/2605.7.0/flatcar_production_digitalocean_image.bin.bz2"),
			Regions: pulumi.StringArray{
				pulumi.String("nyc3"),
			},
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewDroplet(ctx, "example", &digitalocean.DropletArgs{
			Image:  flatcar.ID(),
			Region: pulumi.String(digitalocean.RegionNYC3),
			Size:   pulumi.String(digitalocean.DropletSlugDropletS1VCPU1GB),
			SshKeys: pulumi.StringArray{
				pulumi.String("12345"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetCustomImage

func GetCustomImage(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CustomImageState, opts ...pulumi.ResourceOption) (*CustomImage, error)

GetCustomImage gets an existing CustomImage 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 NewCustomImage

func NewCustomImage(ctx *pulumi.Context,
	name string, args *CustomImageArgs, opts ...pulumi.ResourceOption) (*CustomImage, error)

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

func (*CustomImage) ElementType

func (*CustomImage) ElementType() reflect.Type

func (*CustomImage) ToCustomImageOutput

func (i *CustomImage) ToCustomImageOutput() CustomImageOutput

func (*CustomImage) ToCustomImageOutputWithContext

func (i *CustomImage) ToCustomImageOutputWithContext(ctx context.Context) CustomImageOutput

type CustomImageArgs

type CustomImageArgs struct {
	// An optional description for the image.
	Description pulumi.StringPtrInput
	// An optional distribution name for the image. Valid values are documented [here](https://docs.digitalocean.com/reference/api/api-reference/#operation/create_custom_image)
	Distribution pulumi.StringPtrInput
	// A name for the Custom Image.
	Name pulumi.StringPtrInput
	// A list of regions. (Currently only one is supported).
	Regions pulumi.StringArrayInput
	// A list of optional tags for the image.
	Tags pulumi.StringArrayInput
	// A URL from which the custom Linux virtual machine image may be retrieved.
	Url pulumi.StringInput
}

The set of arguments for constructing a CustomImage resource.

func (CustomImageArgs) ElementType

func (CustomImageArgs) ElementType() reflect.Type

type CustomImageArray

type CustomImageArray []CustomImageInput

func (CustomImageArray) ElementType

func (CustomImageArray) ElementType() reflect.Type

func (CustomImageArray) ToCustomImageArrayOutput

func (i CustomImageArray) ToCustomImageArrayOutput() CustomImageArrayOutput

func (CustomImageArray) ToCustomImageArrayOutputWithContext

func (i CustomImageArray) ToCustomImageArrayOutputWithContext(ctx context.Context) CustomImageArrayOutput

type CustomImageArrayInput

type CustomImageArrayInput interface {
	pulumi.Input

	ToCustomImageArrayOutput() CustomImageArrayOutput
	ToCustomImageArrayOutputWithContext(context.Context) CustomImageArrayOutput
}

CustomImageArrayInput is an input type that accepts CustomImageArray and CustomImageArrayOutput values. You can construct a concrete instance of `CustomImageArrayInput` via:

CustomImageArray{ CustomImageArgs{...} }

type CustomImageArrayOutput

type CustomImageArrayOutput struct{ *pulumi.OutputState }

func (CustomImageArrayOutput) ElementType

func (CustomImageArrayOutput) ElementType() reflect.Type

func (CustomImageArrayOutput) Index

func (CustomImageArrayOutput) ToCustomImageArrayOutput

func (o CustomImageArrayOutput) ToCustomImageArrayOutput() CustomImageArrayOutput

func (CustomImageArrayOutput) ToCustomImageArrayOutputWithContext

func (o CustomImageArrayOutput) ToCustomImageArrayOutputWithContext(ctx context.Context) CustomImageArrayOutput

type CustomImageInput

type CustomImageInput interface {
	pulumi.Input

	ToCustomImageOutput() CustomImageOutput
	ToCustomImageOutputWithContext(ctx context.Context) CustomImageOutput
}

type CustomImageMap

type CustomImageMap map[string]CustomImageInput

func (CustomImageMap) ElementType

func (CustomImageMap) ElementType() reflect.Type

func (CustomImageMap) ToCustomImageMapOutput

func (i CustomImageMap) ToCustomImageMapOutput() CustomImageMapOutput

func (CustomImageMap) ToCustomImageMapOutputWithContext

func (i CustomImageMap) ToCustomImageMapOutputWithContext(ctx context.Context) CustomImageMapOutput

type CustomImageMapInput

type CustomImageMapInput interface {
	pulumi.Input

	ToCustomImageMapOutput() CustomImageMapOutput
	ToCustomImageMapOutputWithContext(context.Context) CustomImageMapOutput
}

CustomImageMapInput is an input type that accepts CustomImageMap and CustomImageMapOutput values. You can construct a concrete instance of `CustomImageMapInput` via:

CustomImageMap{ "key": CustomImageArgs{...} }

type CustomImageMapOutput

type CustomImageMapOutput struct{ *pulumi.OutputState }

func (CustomImageMapOutput) ElementType

func (CustomImageMapOutput) ElementType() reflect.Type

func (CustomImageMapOutput) MapIndex

func (CustomImageMapOutput) ToCustomImageMapOutput

func (o CustomImageMapOutput) ToCustomImageMapOutput() CustomImageMapOutput

func (CustomImageMapOutput) ToCustomImageMapOutputWithContext

func (o CustomImageMapOutput) ToCustomImageMapOutputWithContext(ctx context.Context) CustomImageMapOutput

type CustomImageOutput

type CustomImageOutput struct{ *pulumi.OutputState }

func (CustomImageOutput) CreatedAt added in v4.13.0

func (o CustomImageOutput) CreatedAt() pulumi.StringOutput

A time value given in ISO8601 combined date and time format that represents when the image was created.

func (CustomImageOutput) Description added in v4.13.0

func (o CustomImageOutput) Description() pulumi.StringPtrOutput

An optional description for the image.

func (CustomImageOutput) Distribution added in v4.13.0

func (o CustomImageOutput) Distribution() pulumi.StringPtrOutput

An optional distribution name for the image. Valid values are documented [here](https://docs.digitalocean.com/reference/api/api-reference/#operation/create_custom_image)

func (CustomImageOutput) ElementType

func (CustomImageOutput) ElementType() reflect.Type

func (CustomImageOutput) ImageId added in v4.13.0

func (o CustomImageOutput) ImageId() pulumi.IntOutput

A unique number that can be used to identify and reference a specific image.

func (CustomImageOutput) MinDiskSize added in v4.13.0

func (o CustomImageOutput) MinDiskSize() pulumi.IntOutput

The minimum disk size in GB required for a Droplet to use this image.

func (CustomImageOutput) Name added in v4.13.0

A name for the Custom Image.

func (CustomImageOutput) Public added in v4.13.0

func (o CustomImageOutput) Public() pulumi.BoolOutput

Indicates whether the image in question is public or not.

func (CustomImageOutput) Regions added in v4.13.0

A list of regions. (Currently only one is supported).

func (CustomImageOutput) SizeGigabytes added in v4.13.0

func (o CustomImageOutput) SizeGigabytes() pulumi.Float64Output

The size of the image in gigabytes.

func (CustomImageOutput) Slug added in v4.13.0

A uniquely identifying string for each image.

func (CustomImageOutput) Status added in v4.13.0

A status string indicating the state of a custom image.

func (CustomImageOutput) Tags added in v4.13.0

A list of optional tags for the image.

func (CustomImageOutput) ToCustomImageOutput

func (o CustomImageOutput) ToCustomImageOutput() CustomImageOutput

func (CustomImageOutput) ToCustomImageOutputWithContext

func (o CustomImageOutput) ToCustomImageOutputWithContext(ctx context.Context) CustomImageOutput

func (CustomImageOutput) Type added in v4.13.0

Describes the kind of image.

func (CustomImageOutput) Url added in v4.13.0

A URL from which the custom Linux virtual machine image may be retrieved.

type CustomImageState

type CustomImageState struct {
	// A time value given in ISO8601 combined date and time format that represents when the image was created.
	CreatedAt pulumi.StringPtrInput
	// An optional description for the image.
	Description pulumi.StringPtrInput
	// An optional distribution name for the image. Valid values are documented [here](https://docs.digitalocean.com/reference/api/api-reference/#operation/create_custom_image)
	Distribution pulumi.StringPtrInput
	// A unique number that can be used to identify and reference a specific image.
	ImageId pulumi.IntPtrInput
	// The minimum disk size in GB required for a Droplet to use this image.
	MinDiskSize pulumi.IntPtrInput
	// A name for the Custom Image.
	Name pulumi.StringPtrInput
	// Indicates whether the image in question is public or not.
	Public pulumi.BoolPtrInput
	// A list of regions. (Currently only one is supported).
	Regions pulumi.StringArrayInput
	// The size of the image in gigabytes.
	SizeGigabytes pulumi.Float64PtrInput
	// A uniquely identifying string for each image.
	Slug pulumi.StringPtrInput
	// A status string indicating the state of a custom image.
	Status pulumi.StringPtrInput
	// A list of optional tags for the image.
	Tags pulumi.StringArrayInput
	// Describes the kind of image.
	Type pulumi.StringPtrInput
	// A URL from which the custom Linux virtual machine image may be retrieved.
	Url pulumi.StringPtrInput
}

func (CustomImageState) ElementType

func (CustomImageState) ElementType() reflect.Type

type DatabaseCluster

type DatabaseCluster struct {
	pulumi.CustomResourceState

	BackupRestore DatabaseClusterBackupRestorePtrOutput `pulumi:"backupRestore"`
	// The uniform resource name of the database cluster.
	ClusterUrn pulumi.StringOutput `pulumi:"clusterUrn"`
	// Name of the cluster's default database.
	Database pulumi.StringOutput `pulumi:"database"`
	// Database engine used by the cluster (ex. `pg` for PostreSQL, `mysql` for MySQL, `redis` for Redis, `mongodb` for MongoDB, or `kafka` for Kafka).
	Engine pulumi.StringOutput `pulumi:"engine"`
	// A string specifying the eviction policy for a Redis cluster. Valid values are: `noeviction`, `allkeysLru`, `allkeysRandom`, `volatileLru`, `volatileRandom`, or `volatileTtl`.
	EvictionPolicy pulumi.StringPtrOutput `pulumi:"evictionPolicy"`
	// Database cluster's hostname.
	Host pulumi.StringOutput `pulumi:"host"`
	// Defines when the automatic maintenance should be performed for the database cluster.
	MaintenanceWindows DatabaseClusterMaintenanceWindowArrayOutput `pulumi:"maintenanceWindows"`
	// The name of the database cluster.
	Name pulumi.StringOutput `pulumi:"name"`
	// Number of nodes that will be included in the cluster. For `kafka` clusters, this must be 3.
	NodeCount pulumi.IntOutput `pulumi:"nodeCount"`
	// Password for the cluster's default user.
	Password pulumi.StringOutput `pulumi:"password"`
	// Network port that the database cluster is listening on.
	Port pulumi.IntOutput `pulumi:"port"`
	// Same as `host`, but only accessible from resources within the account and in the same region.
	PrivateHost pulumi.StringOutput `pulumi:"privateHost"`
	// The ID of the VPC where the database cluster will be located.
	PrivateNetworkUuid pulumi.StringOutput `pulumi:"privateNetworkUuid"`
	// Same as `uri`, but only accessible from resources within the account and in the same region.
	PrivateUri pulumi.StringOutput `pulumi:"privateUri"`
	// The ID of the project that the database cluster is assigned to. If excluded when creating a new database cluster, it will be assigned to your default project.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// DigitalOcean region where the cluster will reside.
	Region pulumi.StringOutput `pulumi:"region"`
	// Database Droplet size associated with the cluster (ex. `db-s-1vcpu-1gb`). See here for a [list of valid size slugs](https://docs.digitalocean.com/reference/api/api-reference/#tag/Databases).
	Size pulumi.StringOutput `pulumi:"size"`
	// A comma separated string specifying the  SQL modes for a MySQL cluster.
	SqlMode pulumi.StringPtrOutput `pulumi:"sqlMode"`
	// Defines the disk size, in MiB, allocated to the cluster. This can be adjusted on MySQL and PostreSQL clusters based on predefined ranges for each slug/droplet size.
	StorageSizeMib pulumi.StringOutput `pulumi:"storageSizeMib"`
	// A list of tag names to be applied to the database cluster.
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
	// The full URI for connecting to the database cluster.
	Uri pulumi.StringOutput `pulumi:"uri"`
	// Username for the cluster's default user.
	User pulumi.StringOutput `pulumi:"user"`
	// Engine version used by the cluster (ex. `14` for PostgreSQL 14).
	// When this value is changed, a call to the [Upgrade major Version for a Database](https://docs.digitalocean.com/reference/api/api-reference/#operation/databases_update_major_version) API operation is made with the new version.
	Version pulumi.StringPtrOutput `pulumi:"version"`
}

Provides a DigitalOcean database cluster resource.

## Example Usage

### Create a new PostgreSQL database cluster ```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.NewDatabaseCluster(ctx, "postgres-example", &digitalocean.DatabaseClusterArgs{
			Engine:    pulumi.String("pg"),
			NodeCount: pulumi.Int(1),
			Region:    pulumi.String(digitalocean.RegionNYC1),
			Size:      pulumi.String(digitalocean.DatabaseSlug_DB_1VPCU1GB),
			Version:   pulumi.String("15"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Create a new MySQL database cluster ```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.NewDatabaseCluster(ctx, "mysql-example", &digitalocean.DatabaseClusterArgs{
			Engine:    pulumi.String("mysql"),
			NodeCount: pulumi.Int(1),
			Region:    pulumi.String(digitalocean.RegionNYC1),
			Size:      pulumi.String(digitalocean.DatabaseSlug_DB_1VPCU1GB),
			Version:   pulumi.String("8"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Create a new Redis database cluster ```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.NewDatabaseCluster(ctx, "redis-example", &digitalocean.DatabaseClusterArgs{
			Engine:    pulumi.String("redis"),
			NodeCount: pulumi.Int(1),
			Region:    pulumi.String(digitalocean.RegionNYC1),
			Size:      pulumi.String(digitalocean.DatabaseSlug_DB_1VPCU1GB),
			Version:   pulumi.String("7"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Create a new Kafka database cluster ```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.NewDatabaseCluster(ctx, "kafka-example", &digitalocean.DatabaseClusterArgs{
			Engine:    pulumi.String("kafka"),
			NodeCount: pulumi.Int(3),
			Region:    pulumi.String(digitalocean.RegionNYC1),
			Size:      pulumi.String("db-s-2vcpu-2gb"),
			Version:   pulumi.String("3.5"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Create a new MongoDB database cluster ```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.NewDatabaseCluster(ctx, "mongodb-example", &digitalocean.DatabaseClusterArgs{
			Engine:    pulumi.String("mongodb"),
			NodeCount: pulumi.Int(1),
			Region:    pulumi.String(digitalocean.RegionNYC3),
			Size:      pulumi.String(digitalocean.DatabaseSlug_DB_1VPCU1GB),
			Version:   pulumi.String("6"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Create a new database cluster based on a backup of an existing cluster.

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		doby, err := digitalocean.NewDatabaseCluster(ctx, "doby", &digitalocean.DatabaseClusterArgs{
			Engine:    pulumi.String("pg"),
			Version:   pulumi.String("15"),
			Size:      pulumi.String(digitalocean.DatabaseSlug_DB_1VPCU2GB),
			Region:    pulumi.String(digitalocean.RegionNYC1),
			NodeCount: pulumi.Int(1),
			Tags: pulumi.StringArray{
				pulumi.String("production"),
			},
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewDatabaseCluster(ctx, "dobyBackup", &digitalocean.DatabaseClusterArgs{
			Engine:    pulumi.String("pg"),
			Version:   pulumi.String("15"),
			Size:      pulumi.String(digitalocean.DatabaseSlug_DB_1VPCU2GB),
			Region:    pulumi.String(digitalocean.RegionNYC1),
			NodeCount: pulumi.Int(1),
			Tags: pulumi.StringArray{
				pulumi.String("production"),
			},
			BackupRestore: &digitalocean.DatabaseClusterBackupRestoreArgs{
				DatabaseName: pulumi.String("dobydb"),
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			doby,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Database clusters can be imported using the `id` returned from DigitalOcean, e.g.

```sh $ pulumi import digitalocean:index/databaseCluster:DatabaseCluster mycluster 245bcfd0-7f31-4ce6-a2bc-475a116cca97 ```

func GetDatabaseCluster

func GetDatabaseCluster(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatabaseClusterState, opts ...pulumi.ResourceOption) (*DatabaseCluster, error)

GetDatabaseCluster gets an existing DatabaseCluster 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 NewDatabaseCluster

func NewDatabaseCluster(ctx *pulumi.Context,
	name string, args *DatabaseClusterArgs, opts ...pulumi.ResourceOption) (*DatabaseCluster, error)

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

func (*DatabaseCluster) ElementType

func (*DatabaseCluster) ElementType() reflect.Type

func (*DatabaseCluster) ToDatabaseClusterOutput

func (i *DatabaseCluster) ToDatabaseClusterOutput() DatabaseClusterOutput

func (*DatabaseCluster) ToDatabaseClusterOutputWithContext

func (i *DatabaseCluster) ToDatabaseClusterOutputWithContext(ctx context.Context) DatabaseClusterOutput

type DatabaseClusterArgs

type DatabaseClusterArgs struct {
	BackupRestore DatabaseClusterBackupRestorePtrInput
	// Database engine used by the cluster (ex. `pg` for PostreSQL, `mysql` for MySQL, `redis` for Redis, `mongodb` for MongoDB, or `kafka` for Kafka).
	Engine pulumi.StringInput
	// A string specifying the eviction policy for a Redis cluster. Valid values are: `noeviction`, `allkeysLru`, `allkeysRandom`, `volatileLru`, `volatileRandom`, or `volatileTtl`.
	EvictionPolicy pulumi.StringPtrInput
	// Defines when the automatic maintenance should be performed for the database cluster.
	MaintenanceWindows DatabaseClusterMaintenanceWindowArrayInput
	// The name of the database cluster.
	Name pulumi.StringPtrInput
	// Number of nodes that will be included in the cluster. For `kafka` clusters, this must be 3.
	NodeCount pulumi.IntInput
	// The ID of the VPC where the database cluster will be located.
	PrivateNetworkUuid pulumi.StringPtrInput
	// The ID of the project that the database cluster is assigned to. If excluded when creating a new database cluster, it will be assigned to your default project.
	ProjectId pulumi.StringPtrInput
	// DigitalOcean region where the cluster will reside.
	Region pulumi.StringInput
	// Database Droplet size associated with the cluster (ex. `db-s-1vcpu-1gb`). See here for a [list of valid size slugs](https://docs.digitalocean.com/reference/api/api-reference/#tag/Databases).
	Size pulumi.StringInput
	// A comma separated string specifying the  SQL modes for a MySQL cluster.
	SqlMode pulumi.StringPtrInput
	// Defines the disk size, in MiB, allocated to the cluster. This can be adjusted on MySQL and PostreSQL clusters based on predefined ranges for each slug/droplet size.
	StorageSizeMib pulumi.StringPtrInput
	// A list of tag names to be applied to the database cluster.
	Tags pulumi.StringArrayInput
	// Engine version used by the cluster (ex. `14` for PostgreSQL 14).
	// When this value is changed, a call to the [Upgrade major Version for a Database](https://docs.digitalocean.com/reference/api/api-reference/#operation/databases_update_major_version) API operation is made with the new version.
	Version pulumi.StringPtrInput
}

The set of arguments for constructing a DatabaseCluster resource.

func (DatabaseClusterArgs) ElementType

func (DatabaseClusterArgs) ElementType() reflect.Type

type DatabaseClusterArray

type DatabaseClusterArray []DatabaseClusterInput

func (DatabaseClusterArray) ElementType

func (DatabaseClusterArray) ElementType() reflect.Type

func (DatabaseClusterArray) ToDatabaseClusterArrayOutput

func (i DatabaseClusterArray) ToDatabaseClusterArrayOutput() DatabaseClusterArrayOutput

func (DatabaseClusterArray) ToDatabaseClusterArrayOutputWithContext

func (i DatabaseClusterArray) ToDatabaseClusterArrayOutputWithContext(ctx context.Context) DatabaseClusterArrayOutput

type DatabaseClusterArrayInput

type DatabaseClusterArrayInput interface {
	pulumi.Input

	ToDatabaseClusterArrayOutput() DatabaseClusterArrayOutput
	ToDatabaseClusterArrayOutputWithContext(context.Context) DatabaseClusterArrayOutput
}

DatabaseClusterArrayInput is an input type that accepts DatabaseClusterArray and DatabaseClusterArrayOutput values. You can construct a concrete instance of `DatabaseClusterArrayInput` via:

DatabaseClusterArray{ DatabaseClusterArgs{...} }

type DatabaseClusterArrayOutput

type DatabaseClusterArrayOutput struct{ *pulumi.OutputState }

func (DatabaseClusterArrayOutput) ElementType

func (DatabaseClusterArrayOutput) ElementType() reflect.Type

func (DatabaseClusterArrayOutput) Index

func (DatabaseClusterArrayOutput) ToDatabaseClusterArrayOutput

func (o DatabaseClusterArrayOutput) ToDatabaseClusterArrayOutput() DatabaseClusterArrayOutput

func (DatabaseClusterArrayOutput) ToDatabaseClusterArrayOutputWithContext

func (o DatabaseClusterArrayOutput) ToDatabaseClusterArrayOutputWithContext(ctx context.Context) DatabaseClusterArrayOutput

type DatabaseClusterBackupRestore added in v4.19.3

type DatabaseClusterBackupRestore struct {
	// The timestamp of an existing database cluster backup in ISO8601 combined date and time format. The most recent backup will be used if excluded.
	//
	// This resource supports customized create timeouts. The default timeout is 30 minutes.
	BackupCreatedAt *string `pulumi:"backupCreatedAt"`
	// The name of an existing database cluster from which the backup will be restored.
	DatabaseName string `pulumi:"databaseName"`
}

type DatabaseClusterBackupRestoreArgs added in v4.19.3

type DatabaseClusterBackupRestoreArgs struct {
	// The timestamp of an existing database cluster backup in ISO8601 combined date and time format. The most recent backup will be used if excluded.
	//
	// This resource supports customized create timeouts. The default timeout is 30 minutes.
	BackupCreatedAt pulumi.StringPtrInput `pulumi:"backupCreatedAt"`
	// The name of an existing database cluster from which the backup will be restored.
	DatabaseName pulumi.StringInput `pulumi:"databaseName"`
}

func (DatabaseClusterBackupRestoreArgs) ElementType added in v4.19.3

func (DatabaseClusterBackupRestoreArgs) ToDatabaseClusterBackupRestoreOutput added in v4.19.3

func (i DatabaseClusterBackupRestoreArgs) ToDatabaseClusterBackupRestoreOutput() DatabaseClusterBackupRestoreOutput

func (DatabaseClusterBackupRestoreArgs) ToDatabaseClusterBackupRestoreOutputWithContext added in v4.19.3

func (i DatabaseClusterBackupRestoreArgs) ToDatabaseClusterBackupRestoreOutputWithContext(ctx context.Context) DatabaseClusterBackupRestoreOutput

func (DatabaseClusterBackupRestoreArgs) ToDatabaseClusterBackupRestorePtrOutput added in v4.19.3

func (i DatabaseClusterBackupRestoreArgs) ToDatabaseClusterBackupRestorePtrOutput() DatabaseClusterBackupRestorePtrOutput

func (DatabaseClusterBackupRestoreArgs) ToDatabaseClusterBackupRestorePtrOutputWithContext added in v4.19.3

func (i DatabaseClusterBackupRestoreArgs) ToDatabaseClusterBackupRestorePtrOutputWithContext(ctx context.Context) DatabaseClusterBackupRestorePtrOutput

type DatabaseClusterBackupRestoreInput added in v4.19.3

type DatabaseClusterBackupRestoreInput interface {
	pulumi.Input

	ToDatabaseClusterBackupRestoreOutput() DatabaseClusterBackupRestoreOutput
	ToDatabaseClusterBackupRestoreOutputWithContext(context.Context) DatabaseClusterBackupRestoreOutput
}

DatabaseClusterBackupRestoreInput is an input type that accepts DatabaseClusterBackupRestoreArgs and DatabaseClusterBackupRestoreOutput values. You can construct a concrete instance of `DatabaseClusterBackupRestoreInput` via:

DatabaseClusterBackupRestoreArgs{...}

type DatabaseClusterBackupRestoreOutput added in v4.19.3

type DatabaseClusterBackupRestoreOutput struct{ *pulumi.OutputState }

func (DatabaseClusterBackupRestoreOutput) BackupCreatedAt added in v4.19.3

The timestamp of an existing database cluster backup in ISO8601 combined date and time format. The most recent backup will be used if excluded.

This resource supports customized create timeouts. The default timeout is 30 minutes.

func (DatabaseClusterBackupRestoreOutput) DatabaseName added in v4.19.3

The name of an existing database cluster from which the backup will be restored.

func (DatabaseClusterBackupRestoreOutput) ElementType added in v4.19.3

func (DatabaseClusterBackupRestoreOutput) ToDatabaseClusterBackupRestoreOutput added in v4.19.3

func (o DatabaseClusterBackupRestoreOutput) ToDatabaseClusterBackupRestoreOutput() DatabaseClusterBackupRestoreOutput

func (DatabaseClusterBackupRestoreOutput) ToDatabaseClusterBackupRestoreOutputWithContext added in v4.19.3

func (o DatabaseClusterBackupRestoreOutput) ToDatabaseClusterBackupRestoreOutputWithContext(ctx context.Context) DatabaseClusterBackupRestoreOutput

func (DatabaseClusterBackupRestoreOutput) ToDatabaseClusterBackupRestorePtrOutput added in v4.19.3

func (o DatabaseClusterBackupRestoreOutput) ToDatabaseClusterBackupRestorePtrOutput() DatabaseClusterBackupRestorePtrOutput

func (DatabaseClusterBackupRestoreOutput) ToDatabaseClusterBackupRestorePtrOutputWithContext added in v4.19.3

func (o DatabaseClusterBackupRestoreOutput) ToDatabaseClusterBackupRestorePtrOutputWithContext(ctx context.Context) DatabaseClusterBackupRestorePtrOutput

type DatabaseClusterBackupRestorePtrInput added in v4.19.3

type DatabaseClusterBackupRestorePtrInput interface {
	pulumi.Input

	ToDatabaseClusterBackupRestorePtrOutput() DatabaseClusterBackupRestorePtrOutput
	ToDatabaseClusterBackupRestorePtrOutputWithContext(context.Context) DatabaseClusterBackupRestorePtrOutput
}

DatabaseClusterBackupRestorePtrInput is an input type that accepts DatabaseClusterBackupRestoreArgs, DatabaseClusterBackupRestorePtr and DatabaseClusterBackupRestorePtrOutput values. You can construct a concrete instance of `DatabaseClusterBackupRestorePtrInput` via:

        DatabaseClusterBackupRestoreArgs{...}

or:

        nil

func DatabaseClusterBackupRestorePtr added in v4.19.3

type DatabaseClusterBackupRestorePtrOutput added in v4.19.3

type DatabaseClusterBackupRestorePtrOutput struct{ *pulumi.OutputState }

func (DatabaseClusterBackupRestorePtrOutput) BackupCreatedAt added in v4.19.3

The timestamp of an existing database cluster backup in ISO8601 combined date and time format. The most recent backup will be used if excluded.

This resource supports customized create timeouts. The default timeout is 30 minutes.

func (DatabaseClusterBackupRestorePtrOutput) DatabaseName added in v4.19.3

The name of an existing database cluster from which the backup will be restored.

func (DatabaseClusterBackupRestorePtrOutput) Elem added in v4.19.3

func (DatabaseClusterBackupRestorePtrOutput) ElementType added in v4.19.3

func (DatabaseClusterBackupRestorePtrOutput) ToDatabaseClusterBackupRestorePtrOutput added in v4.19.3

func (o DatabaseClusterBackupRestorePtrOutput) ToDatabaseClusterBackupRestorePtrOutput() DatabaseClusterBackupRestorePtrOutput

func (DatabaseClusterBackupRestorePtrOutput) ToDatabaseClusterBackupRestorePtrOutputWithContext added in v4.19.3

func (o DatabaseClusterBackupRestorePtrOutput) ToDatabaseClusterBackupRestorePtrOutputWithContext(ctx context.Context) DatabaseClusterBackupRestorePtrOutput

type DatabaseClusterInput

type DatabaseClusterInput interface {
	pulumi.Input

	ToDatabaseClusterOutput() DatabaseClusterOutput
	ToDatabaseClusterOutputWithContext(ctx context.Context) DatabaseClusterOutput
}

type DatabaseClusterMaintenanceWindow

type DatabaseClusterMaintenanceWindow struct {
	// The day of the week on which to apply maintenance updates.
	Day string `pulumi:"day"`
	// The hour in UTC at which maintenance updates will be applied in 24 hour format.
	Hour string `pulumi:"hour"`
}

type DatabaseClusterMaintenanceWindowArgs

type DatabaseClusterMaintenanceWindowArgs struct {
	// The day of the week on which to apply maintenance updates.
	Day pulumi.StringInput `pulumi:"day"`
	// The hour in UTC at which maintenance updates will be applied in 24 hour format.
	Hour pulumi.StringInput `pulumi:"hour"`
}

func (DatabaseClusterMaintenanceWindowArgs) ElementType

func (DatabaseClusterMaintenanceWindowArgs) ToDatabaseClusterMaintenanceWindowOutput

func (i DatabaseClusterMaintenanceWindowArgs) ToDatabaseClusterMaintenanceWindowOutput() DatabaseClusterMaintenanceWindowOutput

func (DatabaseClusterMaintenanceWindowArgs) ToDatabaseClusterMaintenanceWindowOutputWithContext

func (i DatabaseClusterMaintenanceWindowArgs) ToDatabaseClusterMaintenanceWindowOutputWithContext(ctx context.Context) DatabaseClusterMaintenanceWindowOutput

type DatabaseClusterMaintenanceWindowArray

type DatabaseClusterMaintenanceWindowArray []DatabaseClusterMaintenanceWindowInput

func (DatabaseClusterMaintenanceWindowArray) ElementType

func (DatabaseClusterMaintenanceWindowArray) ToDatabaseClusterMaintenanceWindowArrayOutput

func (i DatabaseClusterMaintenanceWindowArray) ToDatabaseClusterMaintenanceWindowArrayOutput() DatabaseClusterMaintenanceWindowArrayOutput

func (DatabaseClusterMaintenanceWindowArray) ToDatabaseClusterMaintenanceWindowArrayOutputWithContext

func (i DatabaseClusterMaintenanceWindowArray) ToDatabaseClusterMaintenanceWindowArrayOutputWithContext(ctx context.Context) DatabaseClusterMaintenanceWindowArrayOutput

type DatabaseClusterMaintenanceWindowArrayInput

type DatabaseClusterMaintenanceWindowArrayInput interface {
	pulumi.Input

	ToDatabaseClusterMaintenanceWindowArrayOutput() DatabaseClusterMaintenanceWindowArrayOutput
	ToDatabaseClusterMaintenanceWindowArrayOutputWithContext(context.Context) DatabaseClusterMaintenanceWindowArrayOutput
}

DatabaseClusterMaintenanceWindowArrayInput is an input type that accepts DatabaseClusterMaintenanceWindowArray and DatabaseClusterMaintenanceWindowArrayOutput values. You can construct a concrete instance of `DatabaseClusterMaintenanceWindowArrayInput` via:

DatabaseClusterMaintenanceWindowArray{ DatabaseClusterMaintenanceWindowArgs{...} }

type DatabaseClusterMaintenanceWindowArrayOutput

type DatabaseClusterMaintenanceWindowArrayOutput struct{ *pulumi.OutputState }

func (DatabaseClusterMaintenanceWindowArrayOutput) ElementType

func (DatabaseClusterMaintenanceWindowArrayOutput) Index

func (DatabaseClusterMaintenanceWindowArrayOutput) ToDatabaseClusterMaintenanceWindowArrayOutput

func (o DatabaseClusterMaintenanceWindowArrayOutput) ToDatabaseClusterMaintenanceWindowArrayOutput() DatabaseClusterMaintenanceWindowArrayOutput

func (DatabaseClusterMaintenanceWindowArrayOutput) ToDatabaseClusterMaintenanceWindowArrayOutputWithContext

func (o DatabaseClusterMaintenanceWindowArrayOutput) ToDatabaseClusterMaintenanceWindowArrayOutputWithContext(ctx context.Context) DatabaseClusterMaintenanceWindowArrayOutput

type DatabaseClusterMaintenanceWindowInput

type DatabaseClusterMaintenanceWindowInput interface {
	pulumi.Input

	ToDatabaseClusterMaintenanceWindowOutput() DatabaseClusterMaintenanceWindowOutput
	ToDatabaseClusterMaintenanceWindowOutputWithContext(context.Context) DatabaseClusterMaintenanceWindowOutput
}

DatabaseClusterMaintenanceWindowInput is an input type that accepts DatabaseClusterMaintenanceWindowArgs and DatabaseClusterMaintenanceWindowOutput values. You can construct a concrete instance of `DatabaseClusterMaintenanceWindowInput` via:

DatabaseClusterMaintenanceWindowArgs{...}

type DatabaseClusterMaintenanceWindowOutput

type DatabaseClusterMaintenanceWindowOutput struct{ *pulumi.OutputState }

func (DatabaseClusterMaintenanceWindowOutput) Day

The day of the week on which to apply maintenance updates.

func (DatabaseClusterMaintenanceWindowOutput) ElementType

func (DatabaseClusterMaintenanceWindowOutput) Hour

The hour in UTC at which maintenance updates will be applied in 24 hour format.

func (DatabaseClusterMaintenanceWindowOutput) ToDatabaseClusterMaintenanceWindowOutput

func (o DatabaseClusterMaintenanceWindowOutput) ToDatabaseClusterMaintenanceWindowOutput() DatabaseClusterMaintenanceWindowOutput

func (DatabaseClusterMaintenanceWindowOutput) ToDatabaseClusterMaintenanceWindowOutputWithContext

func (o DatabaseClusterMaintenanceWindowOutput) ToDatabaseClusterMaintenanceWindowOutputWithContext(ctx context.Context) DatabaseClusterMaintenanceWindowOutput

type DatabaseClusterMap

type DatabaseClusterMap map[string]DatabaseClusterInput

func (DatabaseClusterMap) ElementType

func (DatabaseClusterMap) ElementType() reflect.Type

func (DatabaseClusterMap) ToDatabaseClusterMapOutput

func (i DatabaseClusterMap) ToDatabaseClusterMapOutput() DatabaseClusterMapOutput

func (DatabaseClusterMap) ToDatabaseClusterMapOutputWithContext

func (i DatabaseClusterMap) ToDatabaseClusterMapOutputWithContext(ctx context.Context) DatabaseClusterMapOutput

type DatabaseClusterMapInput

type DatabaseClusterMapInput interface {
	pulumi.Input

	ToDatabaseClusterMapOutput() DatabaseClusterMapOutput
	ToDatabaseClusterMapOutputWithContext(context.Context) DatabaseClusterMapOutput
}

DatabaseClusterMapInput is an input type that accepts DatabaseClusterMap and DatabaseClusterMapOutput values. You can construct a concrete instance of `DatabaseClusterMapInput` via:

DatabaseClusterMap{ "key": DatabaseClusterArgs{...} }

type DatabaseClusterMapOutput

type DatabaseClusterMapOutput struct{ *pulumi.OutputState }

func (DatabaseClusterMapOutput) ElementType

func (DatabaseClusterMapOutput) ElementType() reflect.Type

func (DatabaseClusterMapOutput) MapIndex

func (DatabaseClusterMapOutput) ToDatabaseClusterMapOutput

func (o DatabaseClusterMapOutput) ToDatabaseClusterMapOutput() DatabaseClusterMapOutput

func (DatabaseClusterMapOutput) ToDatabaseClusterMapOutputWithContext

func (o DatabaseClusterMapOutput) ToDatabaseClusterMapOutputWithContext(ctx context.Context) DatabaseClusterMapOutput

type DatabaseClusterOutput

type DatabaseClusterOutput struct{ *pulumi.OutputState }

func (DatabaseClusterOutput) BackupRestore added in v4.19.3

func (DatabaseClusterOutput) ClusterUrn added in v4.13.0

func (o DatabaseClusterOutput) ClusterUrn() pulumi.StringOutput

The uniform resource name of the database cluster.

func (DatabaseClusterOutput) Database added in v4.13.0

Name of the cluster's default database.

func (DatabaseClusterOutput) ElementType

func (DatabaseClusterOutput) ElementType() reflect.Type

func (DatabaseClusterOutput) Engine added in v4.13.0

Database engine used by the cluster (ex. `pg` for PostreSQL, `mysql` for MySQL, `redis` for Redis, `mongodb` for MongoDB, or `kafka` for Kafka).

func (DatabaseClusterOutput) EvictionPolicy added in v4.13.0

func (o DatabaseClusterOutput) EvictionPolicy() pulumi.StringPtrOutput

A string specifying the eviction policy for a Redis cluster. Valid values are: `noeviction`, `allkeysLru`, `allkeysRandom`, `volatileLru`, `volatileRandom`, or `volatileTtl`.

func (DatabaseClusterOutput) Host added in v4.13.0

Database cluster's hostname.

func (DatabaseClusterOutput) MaintenanceWindows added in v4.13.0

Defines when the automatic maintenance should be performed for the database cluster.

func (DatabaseClusterOutput) Name added in v4.13.0

The name of the database cluster.

func (DatabaseClusterOutput) NodeCount added in v4.13.0

func (o DatabaseClusterOutput) NodeCount() pulumi.IntOutput

Number of nodes that will be included in the cluster. For `kafka` clusters, this must be 3.

func (DatabaseClusterOutput) Password added in v4.13.0

Password for the cluster's default user.

func (DatabaseClusterOutput) Port added in v4.13.0

Network port that the database cluster is listening on.

func (DatabaseClusterOutput) PrivateHost added in v4.13.0

func (o DatabaseClusterOutput) PrivateHost() pulumi.StringOutput

Same as `host`, but only accessible from resources within the account and in the same region.

func (DatabaseClusterOutput) PrivateNetworkUuid added in v4.13.0

func (o DatabaseClusterOutput) PrivateNetworkUuid() pulumi.StringOutput

The ID of the VPC where the database cluster will be located.

func (DatabaseClusterOutput) PrivateUri added in v4.13.0

func (o DatabaseClusterOutput) PrivateUri() pulumi.StringOutput

Same as `uri`, but only accessible from resources within the account and in the same region.

func (DatabaseClusterOutput) ProjectId added in v4.19.0

The ID of the project that the database cluster is assigned to. If excluded when creating a new database cluster, it will be assigned to your default project.

func (DatabaseClusterOutput) Region added in v4.13.0

DigitalOcean region where the cluster will reside.

func (DatabaseClusterOutput) Size added in v4.13.0

Database Droplet size associated with the cluster (ex. `db-s-1vcpu-1gb`). See here for a [list of valid size slugs](https://docs.digitalocean.com/reference/api/api-reference/#tag/Databases).

func (DatabaseClusterOutput) SqlMode added in v4.13.0

A comma separated string specifying the SQL modes for a MySQL cluster.

func (DatabaseClusterOutput) StorageSizeMib added in v4.23.0

func (o DatabaseClusterOutput) StorageSizeMib() pulumi.StringOutput

Defines the disk size, in MiB, allocated to the cluster. This can be adjusted on MySQL and PostreSQL clusters based on predefined ranges for each slug/droplet size.

func (DatabaseClusterOutput) Tags added in v4.13.0

A list of tag names to be applied to the database cluster.

func (DatabaseClusterOutput) ToDatabaseClusterOutput

func (o DatabaseClusterOutput) ToDatabaseClusterOutput() DatabaseClusterOutput

func (DatabaseClusterOutput) ToDatabaseClusterOutputWithContext

func (o DatabaseClusterOutput) ToDatabaseClusterOutputWithContext(ctx context.Context) DatabaseClusterOutput

func (DatabaseClusterOutput) Uri added in v4.13.0

The full URI for connecting to the database cluster.

func (DatabaseClusterOutput) User added in v4.13.0

Username for the cluster's default user.

func (DatabaseClusterOutput) Version added in v4.13.0

Engine version used by the cluster (ex. `14` for PostgreSQL 14). When this value is changed, a call to the [Upgrade major Version for a Database](https://docs.digitalocean.com/reference/api/api-reference/#operation/databases_update_major_version) API operation is made with the new version.

type DatabaseClusterState

type DatabaseClusterState struct {
	BackupRestore DatabaseClusterBackupRestorePtrInput
	// The uniform resource name of the database cluster.
	ClusterUrn pulumi.StringPtrInput
	// Name of the cluster's default database.
	Database pulumi.StringPtrInput
	// Database engine used by the cluster (ex. `pg` for PostreSQL, `mysql` for MySQL, `redis` for Redis, `mongodb` for MongoDB, or `kafka` for Kafka).
	Engine pulumi.StringPtrInput
	// A string specifying the eviction policy for a Redis cluster. Valid values are: `noeviction`, `allkeysLru`, `allkeysRandom`, `volatileLru`, `volatileRandom`, or `volatileTtl`.
	EvictionPolicy pulumi.StringPtrInput
	// Database cluster's hostname.
	Host pulumi.StringPtrInput
	// Defines when the automatic maintenance should be performed for the database cluster.
	MaintenanceWindows DatabaseClusterMaintenanceWindowArrayInput
	// The name of the database cluster.
	Name pulumi.StringPtrInput
	// Number of nodes that will be included in the cluster. For `kafka` clusters, this must be 3.
	NodeCount pulumi.IntPtrInput
	// Password for the cluster's default user.
	Password pulumi.StringPtrInput
	// Network port that the database cluster is listening on.
	Port pulumi.IntPtrInput
	// Same as `host`, but only accessible from resources within the account and in the same region.
	PrivateHost pulumi.StringPtrInput
	// The ID of the VPC where the database cluster will be located.
	PrivateNetworkUuid pulumi.StringPtrInput
	// Same as `uri`, but only accessible from resources within the account and in the same region.
	PrivateUri pulumi.StringPtrInput
	// The ID of the project that the database cluster is assigned to. If excluded when creating a new database cluster, it will be assigned to your default project.
	ProjectId pulumi.StringPtrInput
	// DigitalOcean region where the cluster will reside.
	Region pulumi.StringPtrInput
	// Database Droplet size associated with the cluster (ex. `db-s-1vcpu-1gb`). See here for a [list of valid size slugs](https://docs.digitalocean.com/reference/api/api-reference/#tag/Databases).
	Size pulumi.StringPtrInput
	// A comma separated string specifying the  SQL modes for a MySQL cluster.
	SqlMode pulumi.StringPtrInput
	// Defines the disk size, in MiB, allocated to the cluster. This can be adjusted on MySQL and PostreSQL clusters based on predefined ranges for each slug/droplet size.
	StorageSizeMib pulumi.StringPtrInput
	// A list of tag names to be applied to the database cluster.
	Tags pulumi.StringArrayInput
	// The full URI for connecting to the database cluster.
	Uri pulumi.StringPtrInput
	// Username for the cluster's default user.
	User pulumi.StringPtrInput
	// Engine version used by the cluster (ex. `14` for PostgreSQL 14).
	// When this value is changed, a call to the [Upgrade major Version for a Database](https://docs.digitalocean.com/reference/api/api-reference/#operation/databases_update_major_version) API operation is made with the new version.
	Version pulumi.StringPtrInput
}

func (DatabaseClusterState) ElementType

func (DatabaseClusterState) ElementType() reflect.Type

type DatabaseConnectionPool

type DatabaseConnectionPool struct {
	pulumi.CustomResourceState

	// The ID of the source database cluster. Note: This must be a PostgreSQL cluster.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// The database for use with the connection pool.
	DbName pulumi.StringOutput `pulumi:"dbName"`
	// The hostname used to connect to the database connection pool.
	Host pulumi.StringOutput `pulumi:"host"`
	// The PGBouncer transaction mode for the connection pool. The allowed values are session, transaction, and statement.
	Mode pulumi.StringOutput `pulumi:"mode"`
	// The name for the database connection pool.
	Name pulumi.StringOutput `pulumi:"name"`
	// Password for the connection pool's user.
	Password pulumi.StringOutput `pulumi:"password"`
	// Network port that the database connection pool is listening on.
	Port pulumi.IntOutput `pulumi:"port"`
	// Same as `host`, but only accessible from resources within the account and in the same region.
	PrivateHost pulumi.StringOutput `pulumi:"privateHost"`
	// Same as `uri`, but only accessible from resources within the account and in the same region.
	PrivateUri pulumi.StringOutput `pulumi:"privateUri"`
	// The desired size of the PGBouncer connection pool.
	Size pulumi.IntOutput `pulumi:"size"`
	// The full URI for connecting to the database connection pool.
	Uri pulumi.StringOutput `pulumi:"uri"`
	// The name of the database user for use with the connection pool. When excluded, all sessions connect to the database as the inbound user.
	User pulumi.StringPtrOutput `pulumi:"user"`
}

Provides a DigitalOcean database connection pool resource.

## Example Usage

### Create a new PostgreSQL database connection pool ```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.NewDatabaseCluster(ctx, "postgres-example", &digitalocean.DatabaseClusterArgs{
			Engine:    pulumi.String("pg"),
			Version:   pulumi.String("15"),
			Size:      pulumi.String(digitalocean.DatabaseSlug_DB_1VPCU1GB),
			Region:    pulumi.String(digitalocean.RegionNYC1),
			NodeCount: pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewDatabaseConnectionPool(ctx, "pool-01", &digitalocean.DatabaseConnectionPoolArgs{
			ClusterId: postgres_example.ID(),
			Mode:      pulumi.String("transaction"),
			Size:      pulumi.Int(20),
			DbName:    pulumi.String("defaultdb"),
			User:      pulumi.String("doadmin"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Database connection pools can be imported using the `id` of the source database cluster

and the `name` of the connection pool joined with a comma. For example:

```sh $ pulumi import digitalocean:index/databaseConnectionPool:DatabaseConnectionPool pool-01 245bcfd0-7f31-4ce6-a2bc-475a116cca97,pool-01 ```

func GetDatabaseConnectionPool

func GetDatabaseConnectionPool(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatabaseConnectionPoolState, opts ...pulumi.ResourceOption) (*DatabaseConnectionPool, error)

GetDatabaseConnectionPool gets an existing DatabaseConnectionPool 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 NewDatabaseConnectionPool

func NewDatabaseConnectionPool(ctx *pulumi.Context,
	name string, args *DatabaseConnectionPoolArgs, opts ...pulumi.ResourceOption) (*DatabaseConnectionPool, error)

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

func (*DatabaseConnectionPool) ElementType

func (*DatabaseConnectionPool) ElementType() reflect.Type

func (*DatabaseConnectionPool) ToDatabaseConnectionPoolOutput

func (i *DatabaseConnectionPool) ToDatabaseConnectionPoolOutput() DatabaseConnectionPoolOutput

func (*DatabaseConnectionPool) ToDatabaseConnectionPoolOutputWithContext

func (i *DatabaseConnectionPool) ToDatabaseConnectionPoolOutputWithContext(ctx context.Context) DatabaseConnectionPoolOutput

type DatabaseConnectionPoolArgs

type DatabaseConnectionPoolArgs struct {
	// The ID of the source database cluster. Note: This must be a PostgreSQL cluster.
	ClusterId pulumi.StringInput
	// The database for use with the connection pool.
	DbName pulumi.StringInput
	// The PGBouncer transaction mode for the connection pool. The allowed values are session, transaction, and statement.
	Mode pulumi.StringInput
	// The name for the database connection pool.
	Name pulumi.StringPtrInput
	// The desired size of the PGBouncer connection pool.
	Size pulumi.IntInput
	// The name of the database user for use with the connection pool. When excluded, all sessions connect to the database as the inbound user.
	User pulumi.StringPtrInput
}

The set of arguments for constructing a DatabaseConnectionPool resource.

func (DatabaseConnectionPoolArgs) ElementType

func (DatabaseConnectionPoolArgs) ElementType() reflect.Type

type DatabaseConnectionPoolArray

type DatabaseConnectionPoolArray []DatabaseConnectionPoolInput

func (DatabaseConnectionPoolArray) ElementType

func (DatabaseConnectionPoolArray) ToDatabaseConnectionPoolArrayOutput

func (i DatabaseConnectionPoolArray) ToDatabaseConnectionPoolArrayOutput() DatabaseConnectionPoolArrayOutput

func (DatabaseConnectionPoolArray) ToDatabaseConnectionPoolArrayOutputWithContext

func (i DatabaseConnectionPoolArray) ToDatabaseConnectionPoolArrayOutputWithContext(ctx context.Context) DatabaseConnectionPoolArrayOutput

type DatabaseConnectionPoolArrayInput

type DatabaseConnectionPoolArrayInput interface {
	pulumi.Input

	ToDatabaseConnectionPoolArrayOutput() DatabaseConnectionPoolArrayOutput
	ToDatabaseConnectionPoolArrayOutputWithContext(context.Context) DatabaseConnectionPoolArrayOutput
}

DatabaseConnectionPoolArrayInput is an input type that accepts DatabaseConnectionPoolArray and DatabaseConnectionPoolArrayOutput values. You can construct a concrete instance of `DatabaseConnectionPoolArrayInput` via:

DatabaseConnectionPoolArray{ DatabaseConnectionPoolArgs{...} }

type DatabaseConnectionPoolArrayOutput

type DatabaseConnectionPoolArrayOutput struct{ *pulumi.OutputState }

func (DatabaseConnectionPoolArrayOutput) ElementType

func (DatabaseConnectionPoolArrayOutput) Index

func (DatabaseConnectionPoolArrayOutput) ToDatabaseConnectionPoolArrayOutput

func (o DatabaseConnectionPoolArrayOutput) ToDatabaseConnectionPoolArrayOutput() DatabaseConnectionPoolArrayOutput

func (DatabaseConnectionPoolArrayOutput) ToDatabaseConnectionPoolArrayOutputWithContext

func (o DatabaseConnectionPoolArrayOutput) ToDatabaseConnectionPoolArrayOutputWithContext(ctx context.Context) DatabaseConnectionPoolArrayOutput

type DatabaseConnectionPoolInput

type DatabaseConnectionPoolInput interface {
	pulumi.Input

	ToDatabaseConnectionPoolOutput() DatabaseConnectionPoolOutput
	ToDatabaseConnectionPoolOutputWithContext(ctx context.Context) DatabaseConnectionPoolOutput
}

type DatabaseConnectionPoolMap

type DatabaseConnectionPoolMap map[string]DatabaseConnectionPoolInput

func (DatabaseConnectionPoolMap) ElementType

func (DatabaseConnectionPoolMap) ElementType() reflect.Type

func (DatabaseConnectionPoolMap) ToDatabaseConnectionPoolMapOutput

func (i DatabaseConnectionPoolMap) ToDatabaseConnectionPoolMapOutput() DatabaseConnectionPoolMapOutput

func (DatabaseConnectionPoolMap) ToDatabaseConnectionPoolMapOutputWithContext

func (i DatabaseConnectionPoolMap) ToDatabaseConnectionPoolMapOutputWithContext(ctx context.Context) DatabaseConnectionPoolMapOutput

type DatabaseConnectionPoolMapInput

type DatabaseConnectionPoolMapInput interface {
	pulumi.Input

	ToDatabaseConnectionPoolMapOutput() DatabaseConnectionPoolMapOutput
	ToDatabaseConnectionPoolMapOutputWithContext(context.Context) DatabaseConnectionPoolMapOutput
}

DatabaseConnectionPoolMapInput is an input type that accepts DatabaseConnectionPoolMap and DatabaseConnectionPoolMapOutput values. You can construct a concrete instance of `DatabaseConnectionPoolMapInput` via:

DatabaseConnectionPoolMap{ "key": DatabaseConnectionPoolArgs{...} }

type DatabaseConnectionPoolMapOutput

type DatabaseConnectionPoolMapOutput struct{ *pulumi.OutputState }

func (DatabaseConnectionPoolMapOutput) ElementType

func (DatabaseConnectionPoolMapOutput) MapIndex

func (DatabaseConnectionPoolMapOutput) ToDatabaseConnectionPoolMapOutput

func (o DatabaseConnectionPoolMapOutput) ToDatabaseConnectionPoolMapOutput() DatabaseConnectionPoolMapOutput

func (DatabaseConnectionPoolMapOutput) ToDatabaseConnectionPoolMapOutputWithContext

func (o DatabaseConnectionPoolMapOutput) ToDatabaseConnectionPoolMapOutputWithContext(ctx context.Context) DatabaseConnectionPoolMapOutput

type DatabaseConnectionPoolOutput

type DatabaseConnectionPoolOutput struct{ *pulumi.OutputState }

func (DatabaseConnectionPoolOutput) ClusterId added in v4.13.0

The ID of the source database cluster. Note: This must be a PostgreSQL cluster.

func (DatabaseConnectionPoolOutput) DbName added in v4.13.0

The database for use with the connection pool.

func (DatabaseConnectionPoolOutput) ElementType

func (DatabaseConnectionPoolOutput) Host added in v4.13.0

The hostname used to connect to the database connection pool.

func (DatabaseConnectionPoolOutput) Mode added in v4.13.0

The PGBouncer transaction mode for the connection pool. The allowed values are session, transaction, and statement.

func (DatabaseConnectionPoolOutput) Name added in v4.13.0

The name for the database connection pool.

func (DatabaseConnectionPoolOutput) Password added in v4.13.0

Password for the connection pool's user.

func (DatabaseConnectionPoolOutput) Port added in v4.13.0

Network port that the database connection pool is listening on.

func (DatabaseConnectionPoolOutput) PrivateHost added in v4.13.0

Same as `host`, but only accessible from resources within the account and in the same region.

func (DatabaseConnectionPoolOutput) PrivateUri added in v4.13.0

Same as `uri`, but only accessible from resources within the account and in the same region.

func (DatabaseConnectionPoolOutput) Size added in v4.13.0

The desired size of the PGBouncer connection pool.

func (DatabaseConnectionPoolOutput) ToDatabaseConnectionPoolOutput

func (o DatabaseConnectionPoolOutput) ToDatabaseConnectionPoolOutput() DatabaseConnectionPoolOutput

func (DatabaseConnectionPoolOutput) ToDatabaseConnectionPoolOutputWithContext

func (o DatabaseConnectionPoolOutput) ToDatabaseConnectionPoolOutputWithContext(ctx context.Context) DatabaseConnectionPoolOutput

func (DatabaseConnectionPoolOutput) Uri added in v4.13.0

The full URI for connecting to the database connection pool.

func (DatabaseConnectionPoolOutput) User added in v4.13.0

The name of the database user for use with the connection pool. When excluded, all sessions connect to the database as the inbound user.

type DatabaseConnectionPoolState

type DatabaseConnectionPoolState struct {
	// The ID of the source database cluster. Note: This must be a PostgreSQL cluster.
	ClusterId pulumi.StringPtrInput
	// The database for use with the connection pool.
	DbName pulumi.StringPtrInput
	// The hostname used to connect to the database connection pool.
	Host pulumi.StringPtrInput
	// The PGBouncer transaction mode for the connection pool. The allowed values are session, transaction, and statement.
	Mode pulumi.StringPtrInput
	// The name for the database connection pool.
	Name pulumi.StringPtrInput
	// Password for the connection pool's user.
	Password pulumi.StringPtrInput
	// Network port that the database connection pool is listening on.
	Port pulumi.IntPtrInput
	// Same as `host`, but only accessible from resources within the account and in the same region.
	PrivateHost pulumi.StringPtrInput
	// Same as `uri`, but only accessible from resources within the account and in the same region.
	PrivateUri pulumi.StringPtrInput
	// The desired size of the PGBouncer connection pool.
	Size pulumi.IntPtrInput
	// The full URI for connecting to the database connection pool.
	Uri pulumi.StringPtrInput
	// The name of the database user for use with the connection pool. When excluded, all sessions connect to the database as the inbound user.
	User pulumi.StringPtrInput
}

func (DatabaseConnectionPoolState) ElementType

type DatabaseDb

type DatabaseDb struct {
	pulumi.CustomResourceState

	// The ID of the original source database cluster.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// The name for the database.
	Name pulumi.StringOutput `pulumi:"name"`
}

Provides a DigitalOcean database resource. When creating a new database cluster, a default database with name `defaultdb` will be created. Then, this resource can be used to provide additional database inside the cluster.

## Example Usage

### Create a new PostgreSQL database ```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.NewDatabaseCluster(ctx, "postgres-example", &digitalocean.DatabaseClusterArgs{
			Engine:    pulumi.String("pg"),
			Version:   pulumi.String("15"),
			Size:      pulumi.String(digitalocean.DatabaseSlug_DB_1VPCU1GB),
			Region:    pulumi.String(digitalocean.RegionNYC1),
			NodeCount: pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewDatabaseDb(ctx, "database-example", &digitalocean.DatabaseDbArgs{
			ClusterId: postgres_example.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Database can be imported using the `id` of the source database cluster

and the `name` of the database joined with a comma. For example:

```sh $ pulumi import digitalocean:index/databaseDb:DatabaseDb database-example 245bcfd0-7f31-4ce6-a2bc-475a116cca97,foobar ```

func GetDatabaseDb

func GetDatabaseDb(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatabaseDbState, opts ...pulumi.ResourceOption) (*DatabaseDb, error)

GetDatabaseDb gets an existing DatabaseDb 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 NewDatabaseDb

func NewDatabaseDb(ctx *pulumi.Context,
	name string, args *DatabaseDbArgs, opts ...pulumi.ResourceOption) (*DatabaseDb, error)

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

func (*DatabaseDb) ElementType

func (*DatabaseDb) ElementType() reflect.Type

func (*DatabaseDb) ToDatabaseDbOutput

func (i *DatabaseDb) ToDatabaseDbOutput() DatabaseDbOutput

func (*DatabaseDb) ToDatabaseDbOutputWithContext

func (i *DatabaseDb) ToDatabaseDbOutputWithContext(ctx context.Context) DatabaseDbOutput

type DatabaseDbArgs

type DatabaseDbArgs struct {
	// The ID of the original source database cluster.
	ClusterId pulumi.StringInput
	// The name for the database.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a DatabaseDb resource.

func (DatabaseDbArgs) ElementType

func (DatabaseDbArgs) ElementType() reflect.Type

type DatabaseDbArray

type DatabaseDbArray []DatabaseDbInput

func (DatabaseDbArray) ElementType

func (DatabaseDbArray) ElementType() reflect.Type

func (DatabaseDbArray) ToDatabaseDbArrayOutput

func (i DatabaseDbArray) ToDatabaseDbArrayOutput() DatabaseDbArrayOutput

func (DatabaseDbArray) ToDatabaseDbArrayOutputWithContext

func (i DatabaseDbArray) ToDatabaseDbArrayOutputWithContext(ctx context.Context) DatabaseDbArrayOutput

type DatabaseDbArrayInput

type DatabaseDbArrayInput interface {
	pulumi.Input

	ToDatabaseDbArrayOutput() DatabaseDbArrayOutput
	ToDatabaseDbArrayOutputWithContext(context.Context) DatabaseDbArrayOutput
}

DatabaseDbArrayInput is an input type that accepts DatabaseDbArray and DatabaseDbArrayOutput values. You can construct a concrete instance of `DatabaseDbArrayInput` via:

DatabaseDbArray{ DatabaseDbArgs{...} }

type DatabaseDbArrayOutput

type DatabaseDbArrayOutput struct{ *pulumi.OutputState }

func (DatabaseDbArrayOutput) ElementType

func (DatabaseDbArrayOutput) ElementType() reflect.Type

func (DatabaseDbArrayOutput) Index

func (DatabaseDbArrayOutput) ToDatabaseDbArrayOutput

func (o DatabaseDbArrayOutput) ToDatabaseDbArrayOutput() DatabaseDbArrayOutput

func (DatabaseDbArrayOutput) ToDatabaseDbArrayOutputWithContext

func (o DatabaseDbArrayOutput) ToDatabaseDbArrayOutputWithContext(ctx context.Context) DatabaseDbArrayOutput

type DatabaseDbInput

type DatabaseDbInput interface {
	pulumi.Input

	ToDatabaseDbOutput() DatabaseDbOutput
	ToDatabaseDbOutputWithContext(ctx context.Context) DatabaseDbOutput
}

type DatabaseDbMap

type DatabaseDbMap map[string]DatabaseDbInput

func (DatabaseDbMap) ElementType

func (DatabaseDbMap) ElementType() reflect.Type

func (DatabaseDbMap) ToDatabaseDbMapOutput

func (i DatabaseDbMap) ToDatabaseDbMapOutput() DatabaseDbMapOutput

func (DatabaseDbMap) ToDatabaseDbMapOutputWithContext

func (i DatabaseDbMap) ToDatabaseDbMapOutputWithContext(ctx context.Context) DatabaseDbMapOutput

type DatabaseDbMapInput

type DatabaseDbMapInput interface {
	pulumi.Input

	ToDatabaseDbMapOutput() DatabaseDbMapOutput
	ToDatabaseDbMapOutputWithContext(context.Context) DatabaseDbMapOutput
}

DatabaseDbMapInput is an input type that accepts DatabaseDbMap and DatabaseDbMapOutput values. You can construct a concrete instance of `DatabaseDbMapInput` via:

DatabaseDbMap{ "key": DatabaseDbArgs{...} }

type DatabaseDbMapOutput

type DatabaseDbMapOutput struct{ *pulumi.OutputState }

func (DatabaseDbMapOutput) ElementType

func (DatabaseDbMapOutput) ElementType() reflect.Type

func (DatabaseDbMapOutput) MapIndex

func (DatabaseDbMapOutput) ToDatabaseDbMapOutput

func (o DatabaseDbMapOutput) ToDatabaseDbMapOutput() DatabaseDbMapOutput

func (DatabaseDbMapOutput) ToDatabaseDbMapOutputWithContext

func (o DatabaseDbMapOutput) ToDatabaseDbMapOutputWithContext(ctx context.Context) DatabaseDbMapOutput

type DatabaseDbOutput

type DatabaseDbOutput struct{ *pulumi.OutputState }

func (DatabaseDbOutput) ClusterId added in v4.13.0

func (o DatabaseDbOutput) ClusterId() pulumi.StringOutput

The ID of the original source database cluster.

func (DatabaseDbOutput) ElementType

func (DatabaseDbOutput) ElementType() reflect.Type

func (DatabaseDbOutput) Name added in v4.13.0

The name for the database.

func (DatabaseDbOutput) ToDatabaseDbOutput

func (o DatabaseDbOutput) ToDatabaseDbOutput() DatabaseDbOutput

func (DatabaseDbOutput) ToDatabaseDbOutputWithContext

func (o DatabaseDbOutput) ToDatabaseDbOutputWithContext(ctx context.Context) DatabaseDbOutput

type DatabaseDbState

type DatabaseDbState struct {
	// The ID of the original source database cluster.
	ClusterId pulumi.StringPtrInput
	// The name for the database.
	Name pulumi.StringPtrInput
}

func (DatabaseDbState) ElementType

func (DatabaseDbState) ElementType() reflect.Type

type DatabaseFirewall

type DatabaseFirewall struct {
	pulumi.CustomResourceState

	// The ID of the target database cluster.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// A rule specifying a resource allowed to access the database cluster. The following arguments must be specified:
	Rules DatabaseFirewallRuleArrayOutput `pulumi:"rules"`
}

Provides a DigitalOcean database firewall resource allowing you to restrict connections to your database to trusted sources. You may limit connections to specific Droplets, Kubernetes clusters, or IP addresses.

## Example Usage

### Create a new database firewall allowing multiple IP addresses

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.NewDatabaseCluster(ctx, "postgres-example", &digitalocean.DatabaseClusterArgs{
			Engine:    pulumi.String("pg"),
			Version:   pulumi.String("15"),
			Size:      pulumi.String(digitalocean.DatabaseSlug_DB_1VPCU1GB),
			Region:    pulumi.String(digitalocean.RegionNYC1),
			NodeCount: pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewDatabaseFirewall(ctx, "example-fw", &digitalocean.DatabaseFirewallArgs{
			ClusterId: postgres_example.ID(),
			Rules: digitalocean.DatabaseFirewallRuleArray{
				&digitalocean.DatabaseFirewallRuleArgs{
					Type:  pulumi.String("ip_addr"),
					Value: pulumi.String("192.168.1.1"),
				},
				&digitalocean.DatabaseFirewallRuleArgs{
					Type:  pulumi.String("ip_addr"),
					Value: pulumi.String("192.0.2.0"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Create a new database firewall allowing a Droplet

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		web, err := digitalocean.NewDroplet(ctx, "web", &digitalocean.DropletArgs{
			Size:   pulumi.String(digitalocean.DropletSlugDropletS1VCPU1GB),
			Image:  pulumi.String("ubuntu-22-04-x64"),
			Region: pulumi.String(digitalocean.RegionNYC3),
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewDatabaseCluster(ctx, "postgres-example", &digitalocean.DatabaseClusterArgs{
			Engine:    pulumi.String("pg"),
			Version:   pulumi.String("15"),
			Size:      pulumi.String(digitalocean.DatabaseSlug_DB_1VPCU1GB),
			Region:    pulumi.String(digitalocean.RegionNYC1),
			NodeCount: pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewDatabaseFirewall(ctx, "example-fw", &digitalocean.DatabaseFirewallArgs{
			ClusterId: postgres_example.ID(),
			Rules: digitalocean.DatabaseFirewallRuleArray{
				&digitalocean.DatabaseFirewallRuleArgs{
					Type:  pulumi.String("droplet"),
					Value: web.ID(),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Create a new database firewall for a database replica

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.NewDatabaseCluster(ctx, "postgres-example", &digitalocean.DatabaseClusterArgs{
			Engine:    pulumi.String("pg"),
			Version:   pulumi.String("15"),
			Size:      pulumi.String(digitalocean.DatabaseSlug_DB_1VPCU1GB),
			Region:    pulumi.String(digitalocean.RegionNYC1),
			NodeCount: pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewDatabaseReplica(ctx, "replica-example", &digitalocean.DatabaseReplicaArgs{
			ClusterId: postgres_example.ID(),
			Size:      pulumi.String(digitalocean.DatabaseSlug_DB_1VPCU1GB),
			Region:    pulumi.String(digitalocean.RegionNYC1),
		})
		if err != nil {
			return err
		}
		// Create firewall rule for database replica
		_, err = digitalocean.NewDatabaseFirewall(ctx, "example-fw", &digitalocean.DatabaseFirewallArgs{
			ClusterId: replica_example.Uuid,
			Rules: digitalocean.DatabaseFirewallRuleArray{
				&digitalocean.DatabaseFirewallRuleArgs{
					Type:  pulumi.String("ip_addr"),
					Value: pulumi.String("192.168.1.1"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Database firewalls can be imported using the `id` of the target database cluster

For example:

```sh $ pulumi import digitalocean:index/databaseFirewall:DatabaseFirewall example-fw 5f55c6cd-863b-4907-99b8-7e09b0275d54 ```

func GetDatabaseFirewall

func GetDatabaseFirewall(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatabaseFirewallState, opts ...pulumi.ResourceOption) (*DatabaseFirewall, error)

GetDatabaseFirewall gets an existing DatabaseFirewall 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 NewDatabaseFirewall

func NewDatabaseFirewall(ctx *pulumi.Context,
	name string, args *DatabaseFirewallArgs, opts ...pulumi.ResourceOption) (*DatabaseFirewall, error)

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

func (*DatabaseFirewall) ElementType

func (*DatabaseFirewall) ElementType() reflect.Type

func (*DatabaseFirewall) ToDatabaseFirewallOutput

func (i *DatabaseFirewall) ToDatabaseFirewallOutput() DatabaseFirewallOutput

func (*DatabaseFirewall) ToDatabaseFirewallOutputWithContext

func (i *DatabaseFirewall) ToDatabaseFirewallOutputWithContext(ctx context.Context) DatabaseFirewallOutput

type DatabaseFirewallArgs

type DatabaseFirewallArgs struct {
	// The ID of the target database cluster.
	ClusterId pulumi.StringInput
	// A rule specifying a resource allowed to access the database cluster. The following arguments must be specified:
	Rules DatabaseFirewallRuleArrayInput
}

The set of arguments for constructing a DatabaseFirewall resource.

func (DatabaseFirewallArgs) ElementType

func (DatabaseFirewallArgs) ElementType() reflect.Type

type DatabaseFirewallArray

type DatabaseFirewallArray []DatabaseFirewallInput

func (DatabaseFirewallArray) ElementType

func (DatabaseFirewallArray) ElementType() reflect.Type

func (DatabaseFirewallArray) ToDatabaseFirewallArrayOutput

func (i DatabaseFirewallArray) ToDatabaseFirewallArrayOutput() DatabaseFirewallArrayOutput

func (DatabaseFirewallArray) ToDatabaseFirewallArrayOutputWithContext

func (i DatabaseFirewallArray) ToDatabaseFirewallArrayOutputWithContext(ctx context.Context) DatabaseFirewallArrayOutput

type DatabaseFirewallArrayInput

type DatabaseFirewallArrayInput interface {
	pulumi.Input

	ToDatabaseFirewallArrayOutput() DatabaseFirewallArrayOutput
	ToDatabaseFirewallArrayOutputWithContext(context.Context) DatabaseFirewallArrayOutput
}

DatabaseFirewallArrayInput is an input type that accepts DatabaseFirewallArray and DatabaseFirewallArrayOutput values. You can construct a concrete instance of `DatabaseFirewallArrayInput` via:

DatabaseFirewallArray{ DatabaseFirewallArgs{...} }

type DatabaseFirewallArrayOutput

type DatabaseFirewallArrayOutput struct{ *pulumi.OutputState }

func (DatabaseFirewallArrayOutput) ElementType

func (DatabaseFirewallArrayOutput) Index

func (DatabaseFirewallArrayOutput) ToDatabaseFirewallArrayOutput

func (o DatabaseFirewallArrayOutput) ToDatabaseFirewallArrayOutput() DatabaseFirewallArrayOutput

func (DatabaseFirewallArrayOutput) ToDatabaseFirewallArrayOutputWithContext

func (o DatabaseFirewallArrayOutput) ToDatabaseFirewallArrayOutputWithContext(ctx context.Context) DatabaseFirewallArrayOutput

type DatabaseFirewallInput

type DatabaseFirewallInput interface {
	pulumi.Input

	ToDatabaseFirewallOutput() DatabaseFirewallOutput
	ToDatabaseFirewallOutputWithContext(ctx context.Context) DatabaseFirewallOutput
}

type DatabaseFirewallMap

type DatabaseFirewallMap map[string]DatabaseFirewallInput

func (DatabaseFirewallMap) ElementType

func (DatabaseFirewallMap) ElementType() reflect.Type

func (DatabaseFirewallMap) ToDatabaseFirewallMapOutput

func (i DatabaseFirewallMap) ToDatabaseFirewallMapOutput() DatabaseFirewallMapOutput

func (DatabaseFirewallMap) ToDatabaseFirewallMapOutputWithContext

func (i DatabaseFirewallMap) ToDatabaseFirewallMapOutputWithContext(ctx context.Context) DatabaseFirewallMapOutput

type DatabaseFirewallMapInput

type DatabaseFirewallMapInput interface {
	pulumi.Input

	ToDatabaseFirewallMapOutput() DatabaseFirewallMapOutput
	ToDatabaseFirewallMapOutputWithContext(context.Context) DatabaseFirewallMapOutput
}

DatabaseFirewallMapInput is an input type that accepts DatabaseFirewallMap and DatabaseFirewallMapOutput values. You can construct a concrete instance of `DatabaseFirewallMapInput` via:

DatabaseFirewallMap{ "key": DatabaseFirewallArgs{...} }

type DatabaseFirewallMapOutput

type DatabaseFirewallMapOutput struct{ *pulumi.OutputState }

func (DatabaseFirewallMapOutput) ElementType

func (DatabaseFirewallMapOutput) ElementType() reflect.Type

func (DatabaseFirewallMapOutput) MapIndex

func (DatabaseFirewallMapOutput) ToDatabaseFirewallMapOutput

func (o DatabaseFirewallMapOutput) ToDatabaseFirewallMapOutput() DatabaseFirewallMapOutput

func (DatabaseFirewallMapOutput) ToDatabaseFirewallMapOutputWithContext

func (o DatabaseFirewallMapOutput) ToDatabaseFirewallMapOutputWithContext(ctx context.Context) DatabaseFirewallMapOutput

type DatabaseFirewallOutput

type DatabaseFirewallOutput struct{ *pulumi.OutputState }

func (DatabaseFirewallOutput) ClusterId added in v4.13.0

The ID of the target database cluster.

func (DatabaseFirewallOutput) ElementType

func (DatabaseFirewallOutput) ElementType() reflect.Type

func (DatabaseFirewallOutput) Rules added in v4.13.0

A rule specifying a resource allowed to access the database cluster. The following arguments must be specified:

func (DatabaseFirewallOutput) ToDatabaseFirewallOutput

func (o DatabaseFirewallOutput) ToDatabaseFirewallOutput() DatabaseFirewallOutput

func (DatabaseFirewallOutput) ToDatabaseFirewallOutputWithContext

func (o DatabaseFirewallOutput) ToDatabaseFirewallOutputWithContext(ctx context.Context) DatabaseFirewallOutput

type DatabaseFirewallRule

type DatabaseFirewallRule struct {
	// The date and time when the firewall rule was created.
	CreatedAt *string `pulumi:"createdAt"`
	// The type of resource that the firewall rule allows to access the database cluster. The possible values are: `droplet`, `k8s`, `ipAddr`, `tag`, or `app`.
	Type string `pulumi:"type"`
	// A unique identifier for the firewall rule.
	Uuid *string `pulumi:"uuid"`
	// The ID of the specific resource, the name of a tag applied to a group of resources, or the IP address that the firewall rule allows to access the database cluster.
	Value string `pulumi:"value"`
}

type DatabaseFirewallRuleArgs

type DatabaseFirewallRuleArgs struct {
	// The date and time when the firewall rule was created.
	CreatedAt pulumi.StringPtrInput `pulumi:"createdAt"`
	// The type of resource that the firewall rule allows to access the database cluster. The possible values are: `droplet`, `k8s`, `ipAddr`, `tag`, or `app`.
	Type pulumi.StringInput `pulumi:"type"`
	// A unique identifier for the firewall rule.
	Uuid pulumi.StringPtrInput `pulumi:"uuid"`
	// The ID of the specific resource, the name of a tag applied to a group of resources, or the IP address that the firewall rule allows to access the database cluster.
	Value pulumi.StringInput `pulumi:"value"`
}

func (DatabaseFirewallRuleArgs) ElementType

func (DatabaseFirewallRuleArgs) ElementType() reflect.Type

func (DatabaseFirewallRuleArgs) ToDatabaseFirewallRuleOutput

func (i DatabaseFirewallRuleArgs) ToDatabaseFirewallRuleOutput() DatabaseFirewallRuleOutput

func (DatabaseFirewallRuleArgs) ToDatabaseFirewallRuleOutputWithContext

func (i DatabaseFirewallRuleArgs) ToDatabaseFirewallRuleOutputWithContext(ctx context.Context) DatabaseFirewallRuleOutput

type DatabaseFirewallRuleArray

type DatabaseFirewallRuleArray []DatabaseFirewallRuleInput

func (DatabaseFirewallRuleArray) ElementType

func (DatabaseFirewallRuleArray) ElementType() reflect.Type

func (DatabaseFirewallRuleArray) ToDatabaseFirewallRuleArrayOutput

func (i DatabaseFirewallRuleArray) ToDatabaseFirewallRuleArrayOutput() DatabaseFirewallRuleArrayOutput

func (DatabaseFirewallRuleArray) ToDatabaseFirewallRuleArrayOutputWithContext

func (i DatabaseFirewallRuleArray) ToDatabaseFirewallRuleArrayOutputWithContext(ctx context.Context) DatabaseFirewallRuleArrayOutput

type DatabaseFirewallRuleArrayInput

type DatabaseFirewallRuleArrayInput interface {
	pulumi.Input

	ToDatabaseFirewallRuleArrayOutput() DatabaseFirewallRuleArrayOutput
	ToDatabaseFirewallRuleArrayOutputWithContext(context.Context) DatabaseFirewallRuleArrayOutput
}

DatabaseFirewallRuleArrayInput is an input type that accepts DatabaseFirewallRuleArray and DatabaseFirewallRuleArrayOutput values. You can construct a concrete instance of `DatabaseFirewallRuleArrayInput` via:

DatabaseFirewallRuleArray{ DatabaseFirewallRuleArgs{...} }

type DatabaseFirewallRuleArrayOutput

type DatabaseFirewallRuleArrayOutput struct{ *pulumi.OutputState }

func (DatabaseFirewallRuleArrayOutput) ElementType

func (DatabaseFirewallRuleArrayOutput) Index

func (DatabaseFirewallRuleArrayOutput) ToDatabaseFirewallRuleArrayOutput

func (o DatabaseFirewallRuleArrayOutput) ToDatabaseFirewallRuleArrayOutput() DatabaseFirewallRuleArrayOutput

func (DatabaseFirewallRuleArrayOutput) ToDatabaseFirewallRuleArrayOutputWithContext

func (o DatabaseFirewallRuleArrayOutput) ToDatabaseFirewallRuleArrayOutputWithContext(ctx context.Context) DatabaseFirewallRuleArrayOutput

type DatabaseFirewallRuleInput

type DatabaseFirewallRuleInput interface {
	pulumi.Input

	ToDatabaseFirewallRuleOutput() DatabaseFirewallRuleOutput
	ToDatabaseFirewallRuleOutputWithContext(context.Context) DatabaseFirewallRuleOutput
}

DatabaseFirewallRuleInput is an input type that accepts DatabaseFirewallRuleArgs and DatabaseFirewallRuleOutput values. You can construct a concrete instance of `DatabaseFirewallRuleInput` via:

DatabaseFirewallRuleArgs{...}

type DatabaseFirewallRuleOutput

type DatabaseFirewallRuleOutput struct{ *pulumi.OutputState }

func (DatabaseFirewallRuleOutput) CreatedAt

The date and time when the firewall rule was created.

func (DatabaseFirewallRuleOutput) ElementType

func (DatabaseFirewallRuleOutput) ElementType() reflect.Type

func (DatabaseFirewallRuleOutput) ToDatabaseFirewallRuleOutput

func (o DatabaseFirewallRuleOutput) ToDatabaseFirewallRuleOutput() DatabaseFirewallRuleOutput

func (DatabaseFirewallRuleOutput) ToDatabaseFirewallRuleOutputWithContext

func (o DatabaseFirewallRuleOutput) ToDatabaseFirewallRuleOutputWithContext(ctx context.Context) DatabaseFirewallRuleOutput

func (DatabaseFirewallRuleOutput) Type

The type of resource that the firewall rule allows to access the database cluster. The possible values are: `droplet`, `k8s`, `ipAddr`, `tag`, or `app`.

func (DatabaseFirewallRuleOutput) Uuid

A unique identifier for the firewall rule.

func (DatabaseFirewallRuleOutput) Value

The ID of the specific resource, the name of a tag applied to a group of resources, or the IP address that the firewall rule allows to access the database cluster.

type DatabaseFirewallState

type DatabaseFirewallState struct {
	// The ID of the target database cluster.
	ClusterId pulumi.StringPtrInput
	// A rule specifying a resource allowed to access the database cluster. The following arguments must be specified:
	Rules DatabaseFirewallRuleArrayInput
}

func (DatabaseFirewallState) ElementType

func (DatabaseFirewallState) ElementType() reflect.Type

type DatabaseKafkaTopic added in v4.23.0

type DatabaseKafkaTopic struct {
	pulumi.CustomResourceState

	// The ID of the source database cluster. Note: This must be a Kafka cluster.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// A set of advanced configuration parameters. Defaults will be set for any of the parameters that are not included.
	// The `config` block is documented below.
	Configs DatabaseKafkaTopicConfigArrayOutput `pulumi:"configs"`
	// The name for the topic.
	Name pulumi.StringOutput `pulumi:"name"`
	// The number of partitions for the topic. Default and minimum set at 3, maximum is 2048.
	PartitionCount pulumi.IntPtrOutput `pulumi:"partitionCount"`
	// The number of nodes that topics are replicated across. Default and minimum set at 2, maximum is the number of nodes in the cluster.
	ReplicationFactor pulumi.IntPtrOutput `pulumi:"replicationFactor"`
	// The current status of the topic. Possible values are 'active', 'configuring', and 'deleting'.
	State pulumi.StringOutput `pulumi:"state"`
}

Provides a DigitalOcean Kafka topic for Kafka clusters.

## Example Usage

### Create a new Kafka topic ```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.NewDatabaseCluster(ctx, "kafka-example", &digitalocean.DatabaseClusterArgs{
			Engine:    pulumi.String("kafka"),
			Version:   pulumi.String("3.5"),
			Size:      pulumi.String("db-s-2vcpu-2gb"),
			Region:    pulumi.String(digitalocean.RegionNYC1),
			NodeCount: pulumi.Int(3),
			Tags: pulumi.StringArray{
				pulumi.String("production"),
			},
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewDatabaseKafkaTopic(ctx, "topic-01", &digitalocean.DatabaseKafkaTopicArgs{
			ClusterId:         kafka_example.ID(),
			PartitionCount:    pulumi.Int(3),
			ReplicationFactor: pulumi.Int(2),
			Configs: digitalocean.DatabaseKafkaTopicConfigArray{
				&digitalocean.DatabaseKafkaTopicConfigArgs{
					CleanupPolicy:                   pulumi.String("compact"),
					CompressionType:                 pulumi.String("uncompressed"),
					DeleteRetentionMs:               pulumi.String("14000"),
					FileDeleteDelayMs:               pulumi.String("170000"),
					FlushMessages:                   pulumi.String("92233"),
					FlushMs:                         pulumi.String("92233720368"),
					IndexIntervalBytes:              pulumi.String("40962"),
					MaxCompactionLagMs:              pulumi.String("9223372036854775807"),
					MaxMessageBytes:                 pulumi.String("1048588"),
					MessageDownConversionEnable:     pulumi.Bool(true),
					MessageFormatVersion:            pulumi.String("3.0-IV1"),
					MessageTimestampDifferenceMaxMs: pulumi.String("9223372036854775807"),
					MessageTimestampType:            pulumi.String("log_append_time"),
					MinCleanableDirtyRatio:          pulumi.Float64(0.5),
					MinCompactionLagMs:              pulumi.String("20000"),
					MinInsyncReplicas:               pulumi.Int(2),
					Preallocate:                     pulumi.Bool(false),
					RetentionBytes:                  pulumi.String("-1"),
					RetentionMs:                     pulumi.String("-1"),
					SegmentBytes:                    pulumi.String("209715200"),
					SegmentIndexBytes:               pulumi.String("10485760"),
					SegmentJitterMs:                 pulumi.String("0"),
					SegmentMs:                       pulumi.String("604800000"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Topics can be imported using the `id` of the source cluster and the `name` of the topic joined with a comma. For example:

```sh $ pulumi import digitalocean:index/databaseKafkaTopic:DatabaseKafkaTopic topic-01 245bcfd0-7f31-4ce6-a2bc-475a116cca97,topic-01 ```

func GetDatabaseKafkaTopic added in v4.23.0

func GetDatabaseKafkaTopic(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatabaseKafkaTopicState, opts ...pulumi.ResourceOption) (*DatabaseKafkaTopic, error)

GetDatabaseKafkaTopic gets an existing DatabaseKafkaTopic 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 NewDatabaseKafkaTopic added in v4.23.0

func NewDatabaseKafkaTopic(ctx *pulumi.Context,
	name string, args *DatabaseKafkaTopicArgs, opts ...pulumi.ResourceOption) (*DatabaseKafkaTopic, error)

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

func (*DatabaseKafkaTopic) ElementType added in v4.23.0

func (*DatabaseKafkaTopic) ElementType() reflect.Type

func (*DatabaseKafkaTopic) ToDatabaseKafkaTopicOutput added in v4.23.0

func (i *DatabaseKafkaTopic) ToDatabaseKafkaTopicOutput() DatabaseKafkaTopicOutput

func (*DatabaseKafkaTopic) ToDatabaseKafkaTopicOutputWithContext added in v4.23.0

func (i *DatabaseKafkaTopic) ToDatabaseKafkaTopicOutputWithContext(ctx context.Context) DatabaseKafkaTopicOutput

type DatabaseKafkaTopicArgs added in v4.23.0

type DatabaseKafkaTopicArgs struct {
	// The ID of the source database cluster. Note: This must be a Kafka cluster.
	ClusterId pulumi.StringInput
	// A set of advanced configuration parameters. Defaults will be set for any of the parameters that are not included.
	// The `config` block is documented below.
	Configs DatabaseKafkaTopicConfigArrayInput
	// The name for the topic.
	Name pulumi.StringPtrInput
	// The number of partitions for the topic. Default and minimum set at 3, maximum is 2048.
	PartitionCount pulumi.IntPtrInput
	// The number of nodes that topics are replicated across. Default and minimum set at 2, maximum is the number of nodes in the cluster.
	ReplicationFactor pulumi.IntPtrInput
}

The set of arguments for constructing a DatabaseKafkaTopic resource.

func (DatabaseKafkaTopicArgs) ElementType added in v4.23.0

func (DatabaseKafkaTopicArgs) ElementType() reflect.Type

type DatabaseKafkaTopicArray added in v4.23.0

type DatabaseKafkaTopicArray []DatabaseKafkaTopicInput

func (DatabaseKafkaTopicArray) ElementType added in v4.23.0

func (DatabaseKafkaTopicArray) ElementType() reflect.Type

func (DatabaseKafkaTopicArray) ToDatabaseKafkaTopicArrayOutput added in v4.23.0

func (i DatabaseKafkaTopicArray) ToDatabaseKafkaTopicArrayOutput() DatabaseKafkaTopicArrayOutput

func (DatabaseKafkaTopicArray) ToDatabaseKafkaTopicArrayOutputWithContext added in v4.23.0

func (i DatabaseKafkaTopicArray) ToDatabaseKafkaTopicArrayOutputWithContext(ctx context.Context) DatabaseKafkaTopicArrayOutput

type DatabaseKafkaTopicArrayInput added in v4.23.0

type DatabaseKafkaTopicArrayInput interface {
	pulumi.Input

	ToDatabaseKafkaTopicArrayOutput() DatabaseKafkaTopicArrayOutput
	ToDatabaseKafkaTopicArrayOutputWithContext(context.Context) DatabaseKafkaTopicArrayOutput
}

DatabaseKafkaTopicArrayInput is an input type that accepts DatabaseKafkaTopicArray and DatabaseKafkaTopicArrayOutput values. You can construct a concrete instance of `DatabaseKafkaTopicArrayInput` via:

DatabaseKafkaTopicArray{ DatabaseKafkaTopicArgs{...} }

type DatabaseKafkaTopicArrayOutput added in v4.23.0

type DatabaseKafkaTopicArrayOutput struct{ *pulumi.OutputState }

func (DatabaseKafkaTopicArrayOutput) ElementType added in v4.23.0

func (DatabaseKafkaTopicArrayOutput) Index added in v4.23.0

func (DatabaseKafkaTopicArrayOutput) ToDatabaseKafkaTopicArrayOutput added in v4.23.0

func (o DatabaseKafkaTopicArrayOutput) ToDatabaseKafkaTopicArrayOutput() DatabaseKafkaTopicArrayOutput

func (DatabaseKafkaTopicArrayOutput) ToDatabaseKafkaTopicArrayOutputWithContext added in v4.23.0

func (o DatabaseKafkaTopicArrayOutput) ToDatabaseKafkaTopicArrayOutputWithContext(ctx context.Context) DatabaseKafkaTopicArrayOutput

type DatabaseKafkaTopicConfig added in v4.23.0

type DatabaseKafkaTopicConfig struct {
	// The topic cleanup policy that decribes whether messages should be deleted, compacted, or both when retention policies are violated.
	// This may be one of "delete", "compact", or "compactDelete".
	CleanupPolicy *string `pulumi:"cleanupPolicy"`
	// The topic compression codecs used for a given topic.
	// This may be one of "uncompressed", "gzip", "snappy", "lz4", "producer", "zstd". "uncompressed" indicates that there is no compression and "producer" retains the original compression codec set by the producer.
	CompressionType *string `pulumi:"compressionType"`
	// The amount of time, in ms, that deleted records are retained.
	DeleteRetentionMs *string `pulumi:"deleteRetentionMs"`
	// The amount of time, in ms, to wait before deleting a topic log segment from the filesystem.
	FileDeleteDelayMs *string `pulumi:"fileDeleteDelayMs"`
	// The number of messages accumulated on a topic partition before they are flushed to disk.
	FlushMessages *string `pulumi:"flushMessages"`
	// The maximum time, in ms, that a topic is kept in memory before being flushed to disk.
	FlushMs *string `pulumi:"flushMs"`
	// The interval, in bytes, in which entries are added to the offset index.
	IndexIntervalBytes *string `pulumi:"indexIntervalBytes"`
	// The maximum time, in ms, that a particular message will remain uncompacted. This will not apply if the `compressionType` is set to "uncompressed" or it is set to `producer` and the producer is not using compression.
	MaxCompactionLagMs *string `pulumi:"maxCompactionLagMs"`
	// The maximum size, in bytes, of a message.
	MaxMessageBytes *string `pulumi:"maxMessageBytes"`
	// Determines whether down-conversion of message formats for consumers is enabled.
	MessageDownConversionEnable *bool `pulumi:"messageDownConversionEnable"`
	// The version of the inter-broker protocol that will be used. This may be one of "0.8.0", "0.8.1", "0.8.2", "0.9.0", "0.10.0", "0.10.0-IV0", "0.10.0-IV1", "0.10.1", "0.10.1-IV0", "0.10.1-IV1", "0.10.1-IV2", "0.10.2", "0.10.2-IV0", "0.11.0", "0.11.0-IV0", "0.11.0-IV1", "0.11.0-IV2", "1.0", "1.0-IV0", "1.1", "1.1-IV0", "2.0", "2.0-IV0", "2.0-IV1", "2.1", "2.1-IV0", "2.1-IV1", "2.1-IV2", "2.2", "2.2-IV0", "2.2-IV1", "2.3", "2.3-IV0", "2.3-IV1", "2.4", "2.4-IV0", "2.4-IV1", "2.5", "2.5-IV0", "2.6", "2.6-IV0", "2.7", "2.7-IV0", "2.7-IV1", "2.7-IV2", "2.8", "2.8-IV0", "2.8-IV1", "3.0", "3.0-IV0", "3.0-IV1", "3.1", "3.1-IV0", "3.2", "3.2-IV0", "3.3", "3.3-IV0", "3.3-IV1", "3.3-IV2", "3.3-IV3", "3.4", "3.4-IV0", "3.5", "3.5-IV0", "3.5-IV1", "3.5-IV2", "3.6", "3.6-IV0", "3.6-IV1", "3.6-IV2".
	MessageFormatVersion *string `pulumi:"messageFormatVersion"`
	// The maximum difference, in ms, between the timestamp specific in a message and when the broker receives the message.
	MessageTimestampDifferenceMaxMs *string `pulumi:"messageTimestampDifferenceMaxMs"`
	// Specifies which timestamp to use for the message. This may be one of "createTime" or "logAppendTime".
	MessageTimestampType *string `pulumi:"messageTimestampType"`
	// A scale between 0.0 and 1.0 which controls the frequency of the compactor. Larger values mean more frequent compactions. This is often paired with `maxCompactionLagMs` to control the compactor frequency.
	MinCleanableDirtyRatio *float64 `pulumi:"minCleanableDirtyRatio"`
	MinCompactionLagMs     *string  `pulumi:"minCompactionLagMs"`
	// The number of replicas that must acknowledge a write before it is considered successful. -1 is a special setting to indicate that all nodes must ack a message before a write is considered successful. Default is 1, indicating at least 1 replica must acknowledge a write to be considered successful.
	MinInsyncReplicas *int `pulumi:"minInsyncReplicas"`
	// Determines whether to preallocate a file on disk when creating a new log segment within a topic.
	Preallocate *bool `pulumi:"preallocate"`
	// The maximum size, in bytes, of a topic before messages are deleted. -1 is a special setting indicating that this setting has no limit.
	RetentionBytes *string `pulumi:"retentionBytes"`
	// The maximum time, in ms, that a topic log file is retained before deleting it. -1 is a special setting indicating that this setting has no limit.
	RetentionMs *string `pulumi:"retentionMs"`
	// The maximum size, in bytes, of a single topic log file.
	SegmentBytes *string `pulumi:"segmentBytes"`
	// The maximum size, in bytes, of the offset index.
	SegmentIndexBytes *string `pulumi:"segmentIndexBytes"`
	// The maximum time, in ms, subtracted from the scheduled segment disk flush time to avoid the thundering herd problem for segment flushing.
	SegmentJitterMs *string `pulumi:"segmentJitterMs"`
	// The maximum time, in ms, before the topic log will flush to disk.
	SegmentMs *string `pulumi:"segmentMs"`
}

type DatabaseKafkaTopicConfigArgs added in v4.23.0

type DatabaseKafkaTopicConfigArgs struct {
	// The topic cleanup policy that decribes whether messages should be deleted, compacted, or both when retention policies are violated.
	// This may be one of "delete", "compact", or "compactDelete".
	CleanupPolicy pulumi.StringPtrInput `pulumi:"cleanupPolicy"`
	// The topic compression codecs used for a given topic.
	// This may be one of "uncompressed", "gzip", "snappy", "lz4", "producer", "zstd". "uncompressed" indicates that there is no compression and "producer" retains the original compression codec set by the producer.
	CompressionType pulumi.StringPtrInput `pulumi:"compressionType"`
	// The amount of time, in ms, that deleted records are retained.
	DeleteRetentionMs pulumi.StringPtrInput `pulumi:"deleteRetentionMs"`
	// The amount of time, in ms, to wait before deleting a topic log segment from the filesystem.
	FileDeleteDelayMs pulumi.StringPtrInput `pulumi:"fileDeleteDelayMs"`
	// The number of messages accumulated on a topic partition before they are flushed to disk.
	FlushMessages pulumi.StringPtrInput `pulumi:"flushMessages"`
	// The maximum time, in ms, that a topic is kept in memory before being flushed to disk.
	FlushMs pulumi.StringPtrInput `pulumi:"flushMs"`
	// The interval, in bytes, in which entries are added to the offset index.
	IndexIntervalBytes pulumi.StringPtrInput `pulumi:"indexIntervalBytes"`
	// The maximum time, in ms, that a particular message will remain uncompacted. This will not apply if the `compressionType` is set to "uncompressed" or it is set to `producer` and the producer is not using compression.
	MaxCompactionLagMs pulumi.StringPtrInput `pulumi:"maxCompactionLagMs"`
	// The maximum size, in bytes, of a message.
	MaxMessageBytes pulumi.StringPtrInput `pulumi:"maxMessageBytes"`
	// Determines whether down-conversion of message formats for consumers is enabled.
	MessageDownConversionEnable pulumi.BoolPtrInput `pulumi:"messageDownConversionEnable"`
	// The version of the inter-broker protocol that will be used. This may be one of "0.8.0", "0.8.1", "0.8.2", "0.9.0", "0.10.0", "0.10.0-IV0", "0.10.0-IV1", "0.10.1", "0.10.1-IV0", "0.10.1-IV1", "0.10.1-IV2", "0.10.2", "0.10.2-IV0", "0.11.0", "0.11.0-IV0", "0.11.0-IV1", "0.11.0-IV2", "1.0", "1.0-IV0", "1.1", "1.1-IV0", "2.0", "2.0-IV0", "2.0-IV1", "2.1", "2.1-IV0", "2.1-IV1", "2.1-IV2", "2.2", "2.2-IV0", "2.2-IV1", "2.3", "2.3-IV0", "2.3-IV1", "2.4", "2.4-IV0", "2.4-IV1", "2.5", "2.5-IV0", "2.6", "2.6-IV0", "2.7", "2.7-IV0", "2.7-IV1", "2.7-IV2", "2.8", "2.8-IV0", "2.8-IV1", "3.0", "3.0-IV0", "3.0-IV1", "3.1", "3.1-IV0", "3.2", "3.2-IV0", "3.3", "3.3-IV0", "3.3-IV1", "3.3-IV2", "3.3-IV3", "3.4", "3.4-IV0", "3.5", "3.5-IV0", "3.5-IV1", "3.5-IV2", "3.6", "3.6-IV0", "3.6-IV1", "3.6-IV2".
	MessageFormatVersion pulumi.StringPtrInput `pulumi:"messageFormatVersion"`
	// The maximum difference, in ms, between the timestamp specific in a message and when the broker receives the message.
	MessageTimestampDifferenceMaxMs pulumi.StringPtrInput `pulumi:"messageTimestampDifferenceMaxMs"`
	// Specifies which timestamp to use for the message. This may be one of "createTime" or "logAppendTime".
	MessageTimestampType pulumi.StringPtrInput `pulumi:"messageTimestampType"`
	// A scale between 0.0 and 1.0 which controls the frequency of the compactor. Larger values mean more frequent compactions. This is often paired with `maxCompactionLagMs` to control the compactor frequency.
	MinCleanableDirtyRatio pulumi.Float64PtrInput `pulumi:"minCleanableDirtyRatio"`
	MinCompactionLagMs     pulumi.StringPtrInput  `pulumi:"minCompactionLagMs"`
	// The number of replicas that must acknowledge a write before it is considered successful. -1 is a special setting to indicate that all nodes must ack a message before a write is considered successful. Default is 1, indicating at least 1 replica must acknowledge a write to be considered successful.
	MinInsyncReplicas pulumi.IntPtrInput `pulumi:"minInsyncReplicas"`
	// Determines whether to preallocate a file on disk when creating a new log segment within a topic.
	Preallocate pulumi.BoolPtrInput `pulumi:"preallocate"`
	// The maximum size, in bytes, of a topic before messages are deleted. -1 is a special setting indicating that this setting has no limit.
	RetentionBytes pulumi.StringPtrInput `pulumi:"retentionBytes"`
	// The maximum time, in ms, that a topic log file is retained before deleting it. -1 is a special setting indicating that this setting has no limit.
	RetentionMs pulumi.StringPtrInput `pulumi:"retentionMs"`
	// The maximum size, in bytes, of a single topic log file.
	SegmentBytes pulumi.StringPtrInput `pulumi:"segmentBytes"`
	// The maximum size, in bytes, of the offset index.
	SegmentIndexBytes pulumi.StringPtrInput `pulumi:"segmentIndexBytes"`
	// The maximum time, in ms, subtracted from the scheduled segment disk flush time to avoid the thundering herd problem for segment flushing.
	SegmentJitterMs pulumi.StringPtrInput `pulumi:"segmentJitterMs"`
	// The maximum time, in ms, before the topic log will flush to disk.
	SegmentMs pulumi.StringPtrInput `pulumi:"segmentMs"`
}

func (DatabaseKafkaTopicConfigArgs) ElementType added in v4.23.0

func (DatabaseKafkaTopicConfigArgs) ToDatabaseKafkaTopicConfigOutput added in v4.23.0

func (i DatabaseKafkaTopicConfigArgs) ToDatabaseKafkaTopicConfigOutput() DatabaseKafkaTopicConfigOutput

func (DatabaseKafkaTopicConfigArgs) ToDatabaseKafkaTopicConfigOutputWithContext added in v4.23.0

func (i DatabaseKafkaTopicConfigArgs) ToDatabaseKafkaTopicConfigOutputWithContext(ctx context.Context) DatabaseKafkaTopicConfigOutput

type DatabaseKafkaTopicConfigArray added in v4.23.0

type DatabaseKafkaTopicConfigArray []DatabaseKafkaTopicConfigInput

func (DatabaseKafkaTopicConfigArray) ElementType added in v4.23.0

func (DatabaseKafkaTopicConfigArray) ToDatabaseKafkaTopicConfigArrayOutput added in v4.23.0

func (i DatabaseKafkaTopicConfigArray) ToDatabaseKafkaTopicConfigArrayOutput() DatabaseKafkaTopicConfigArrayOutput

func (DatabaseKafkaTopicConfigArray) ToDatabaseKafkaTopicConfigArrayOutputWithContext added in v4.23.0

func (i DatabaseKafkaTopicConfigArray) ToDatabaseKafkaTopicConfigArrayOutputWithContext(ctx context.Context) DatabaseKafkaTopicConfigArrayOutput

type DatabaseKafkaTopicConfigArrayInput added in v4.23.0

type DatabaseKafkaTopicConfigArrayInput interface {
	pulumi.Input

	ToDatabaseKafkaTopicConfigArrayOutput() DatabaseKafkaTopicConfigArrayOutput
	ToDatabaseKafkaTopicConfigArrayOutputWithContext(context.Context) DatabaseKafkaTopicConfigArrayOutput
}

DatabaseKafkaTopicConfigArrayInput is an input type that accepts DatabaseKafkaTopicConfigArray and DatabaseKafkaTopicConfigArrayOutput values. You can construct a concrete instance of `DatabaseKafkaTopicConfigArrayInput` via:

DatabaseKafkaTopicConfigArray{ DatabaseKafkaTopicConfigArgs{...} }

type DatabaseKafkaTopicConfigArrayOutput added in v4.23.0

type DatabaseKafkaTopicConfigArrayOutput struct{ *pulumi.OutputState }

func (DatabaseKafkaTopicConfigArrayOutput) ElementType added in v4.23.0

func (DatabaseKafkaTopicConfigArrayOutput) Index added in v4.23.0

func (DatabaseKafkaTopicConfigArrayOutput) ToDatabaseKafkaTopicConfigArrayOutput added in v4.23.0

func (o DatabaseKafkaTopicConfigArrayOutput) ToDatabaseKafkaTopicConfigArrayOutput() DatabaseKafkaTopicConfigArrayOutput

func (DatabaseKafkaTopicConfigArrayOutput) ToDatabaseKafkaTopicConfigArrayOutputWithContext added in v4.23.0

func (o DatabaseKafkaTopicConfigArrayOutput) ToDatabaseKafkaTopicConfigArrayOutputWithContext(ctx context.Context) DatabaseKafkaTopicConfigArrayOutput

type DatabaseKafkaTopicConfigInput added in v4.23.0

type DatabaseKafkaTopicConfigInput interface {
	pulumi.Input

	ToDatabaseKafkaTopicConfigOutput() DatabaseKafkaTopicConfigOutput
	ToDatabaseKafkaTopicConfigOutputWithContext(context.Context) DatabaseKafkaTopicConfigOutput
}

DatabaseKafkaTopicConfigInput is an input type that accepts DatabaseKafkaTopicConfigArgs and DatabaseKafkaTopicConfigOutput values. You can construct a concrete instance of `DatabaseKafkaTopicConfigInput` via:

DatabaseKafkaTopicConfigArgs{...}

type DatabaseKafkaTopicConfigOutput added in v4.23.0

type DatabaseKafkaTopicConfigOutput struct{ *pulumi.OutputState }

func (DatabaseKafkaTopicConfigOutput) CleanupPolicy added in v4.23.0

The topic cleanup policy that decribes whether messages should be deleted, compacted, or both when retention policies are violated. This may be one of "delete", "compact", or "compactDelete".

func (DatabaseKafkaTopicConfigOutput) CompressionType added in v4.23.0

The topic compression codecs used for a given topic. This may be one of "uncompressed", "gzip", "snappy", "lz4", "producer", "zstd". "uncompressed" indicates that there is no compression and "producer" retains the original compression codec set by the producer.

func (DatabaseKafkaTopicConfigOutput) DeleteRetentionMs added in v4.23.0

The amount of time, in ms, that deleted records are retained.

func (DatabaseKafkaTopicConfigOutput) ElementType added in v4.23.0

func (DatabaseKafkaTopicConfigOutput) FileDeleteDelayMs added in v4.23.0

The amount of time, in ms, to wait before deleting a topic log segment from the filesystem.

func (DatabaseKafkaTopicConfigOutput) FlushMessages added in v4.23.0

The number of messages accumulated on a topic partition before they are flushed to disk.

func (DatabaseKafkaTopicConfigOutput) FlushMs added in v4.23.0

The maximum time, in ms, that a topic is kept in memory before being flushed to disk.

func (DatabaseKafkaTopicConfigOutput) IndexIntervalBytes added in v4.23.0

func (o DatabaseKafkaTopicConfigOutput) IndexIntervalBytes() pulumi.StringPtrOutput

The interval, in bytes, in which entries are added to the offset index.

func (DatabaseKafkaTopicConfigOutput) MaxCompactionLagMs added in v4.23.0

func (o DatabaseKafkaTopicConfigOutput) MaxCompactionLagMs() pulumi.StringPtrOutput

The maximum time, in ms, that a particular message will remain uncompacted. This will not apply if the `compressionType` is set to "uncompressed" or it is set to `producer` and the producer is not using compression.

func (DatabaseKafkaTopicConfigOutput) MaxMessageBytes added in v4.23.0

The maximum size, in bytes, of a message.

func (DatabaseKafkaTopicConfigOutput) MessageDownConversionEnable added in v4.23.0

func (o DatabaseKafkaTopicConfigOutput) MessageDownConversionEnable() pulumi.BoolPtrOutput

Determines whether down-conversion of message formats for consumers is enabled.

func (DatabaseKafkaTopicConfigOutput) MessageFormatVersion added in v4.23.0

func (o DatabaseKafkaTopicConfigOutput) MessageFormatVersion() pulumi.StringPtrOutput

The version of the inter-broker protocol that will be used. This may be one of "0.8.0", "0.8.1", "0.8.2", "0.9.0", "0.10.0", "0.10.0-IV0", "0.10.0-IV1", "0.10.1", "0.10.1-IV0", "0.10.1-IV1", "0.10.1-IV2", "0.10.2", "0.10.2-IV0", "0.11.0", "0.11.0-IV0", "0.11.0-IV1", "0.11.0-IV2", "1.0", "1.0-IV0", "1.1", "1.1-IV0", "2.0", "2.0-IV0", "2.0-IV1", "2.1", "2.1-IV0", "2.1-IV1", "2.1-IV2", "2.2", "2.2-IV0", "2.2-IV1", "2.3", "2.3-IV0", "2.3-IV1", "2.4", "2.4-IV0", "2.4-IV1", "2.5", "2.5-IV0", "2.6", "2.6-IV0", "2.7", "2.7-IV0", "2.7-IV1", "2.7-IV2", "2.8", "2.8-IV0", "2.8-IV1", "3.0", "3.0-IV0", "3.0-IV1", "3.1", "3.1-IV0", "3.2", "3.2-IV0", "3.3", "3.3-IV0", "3.3-IV1", "3.3-IV2", "3.3-IV3", "3.4", "3.4-IV0", "3.5", "3.5-IV0", "3.5-IV1", "3.5-IV2", "3.6", "3.6-IV0", "3.6-IV1", "3.6-IV2".

func (DatabaseKafkaTopicConfigOutput) MessageTimestampDifferenceMaxMs added in v4.23.0

func (o DatabaseKafkaTopicConfigOutput) MessageTimestampDifferenceMaxMs() pulumi.StringPtrOutput

The maximum difference, in ms, between the timestamp specific in a message and when the broker receives the message.

func (DatabaseKafkaTopicConfigOutput) MessageTimestampType added in v4.23.0

func (o DatabaseKafkaTopicConfigOutput) MessageTimestampType() pulumi.StringPtrOutput

Specifies which timestamp to use for the message. This may be one of "createTime" or "logAppendTime".

func (DatabaseKafkaTopicConfigOutput) MinCleanableDirtyRatio added in v4.23.0

func (o DatabaseKafkaTopicConfigOutput) MinCleanableDirtyRatio() pulumi.Float64PtrOutput

A scale between 0.0 and 1.0 which controls the frequency of the compactor. Larger values mean more frequent compactions. This is often paired with `maxCompactionLagMs` to control the compactor frequency.

func (DatabaseKafkaTopicConfigOutput) MinCompactionLagMs added in v4.23.0

func (o DatabaseKafkaTopicConfigOutput) MinCompactionLagMs() pulumi.StringPtrOutput

func (DatabaseKafkaTopicConfigOutput) MinInsyncReplicas added in v4.23.0

func (o DatabaseKafkaTopicConfigOutput) MinInsyncReplicas() pulumi.IntPtrOutput

The number of replicas that must acknowledge a write before it is considered successful. -1 is a special setting to indicate that all nodes must ack a message before a write is considered successful. Default is 1, indicating at least 1 replica must acknowledge a write to be considered successful.

func (DatabaseKafkaTopicConfigOutput) Preallocate added in v4.23.0

Determines whether to preallocate a file on disk when creating a new log segment within a topic.

func (DatabaseKafkaTopicConfigOutput) RetentionBytes added in v4.23.0

The maximum size, in bytes, of a topic before messages are deleted. -1 is a special setting indicating that this setting has no limit.

func (DatabaseKafkaTopicConfigOutput) RetentionMs added in v4.23.0

The maximum time, in ms, that a topic log file is retained before deleting it. -1 is a special setting indicating that this setting has no limit.

func (DatabaseKafkaTopicConfigOutput) SegmentBytes added in v4.23.0

The maximum size, in bytes, of a single topic log file.

func (DatabaseKafkaTopicConfigOutput) SegmentIndexBytes added in v4.23.0

The maximum size, in bytes, of the offset index.

func (DatabaseKafkaTopicConfigOutput) SegmentJitterMs added in v4.23.0

The maximum time, in ms, subtracted from the scheduled segment disk flush time to avoid the thundering herd problem for segment flushing.

func (DatabaseKafkaTopicConfigOutput) SegmentMs added in v4.23.0

The maximum time, in ms, before the topic log will flush to disk.

func (DatabaseKafkaTopicConfigOutput) ToDatabaseKafkaTopicConfigOutput added in v4.23.0

func (o DatabaseKafkaTopicConfigOutput) ToDatabaseKafkaTopicConfigOutput() DatabaseKafkaTopicConfigOutput

func (DatabaseKafkaTopicConfigOutput) ToDatabaseKafkaTopicConfigOutputWithContext added in v4.23.0

func (o DatabaseKafkaTopicConfigOutput) ToDatabaseKafkaTopicConfigOutputWithContext(ctx context.Context) DatabaseKafkaTopicConfigOutput

type DatabaseKafkaTopicInput added in v4.23.0

type DatabaseKafkaTopicInput interface {
	pulumi.Input

	ToDatabaseKafkaTopicOutput() DatabaseKafkaTopicOutput
	ToDatabaseKafkaTopicOutputWithContext(ctx context.Context) DatabaseKafkaTopicOutput
}

type DatabaseKafkaTopicMap added in v4.23.0

type DatabaseKafkaTopicMap map[string]DatabaseKafkaTopicInput

func (DatabaseKafkaTopicMap) ElementType added in v4.23.0

func (DatabaseKafkaTopicMap) ElementType() reflect.Type

func (DatabaseKafkaTopicMap) ToDatabaseKafkaTopicMapOutput added in v4.23.0

func (i DatabaseKafkaTopicMap) ToDatabaseKafkaTopicMapOutput() DatabaseKafkaTopicMapOutput

func (DatabaseKafkaTopicMap) ToDatabaseKafkaTopicMapOutputWithContext added in v4.23.0

func (i DatabaseKafkaTopicMap) ToDatabaseKafkaTopicMapOutputWithContext(ctx context.Context) DatabaseKafkaTopicMapOutput

type DatabaseKafkaTopicMapInput added in v4.23.0

type DatabaseKafkaTopicMapInput interface {
	pulumi.Input

	ToDatabaseKafkaTopicMapOutput() DatabaseKafkaTopicMapOutput
	ToDatabaseKafkaTopicMapOutputWithContext(context.Context) DatabaseKafkaTopicMapOutput
}

DatabaseKafkaTopicMapInput is an input type that accepts DatabaseKafkaTopicMap and DatabaseKafkaTopicMapOutput values. You can construct a concrete instance of `DatabaseKafkaTopicMapInput` via:

DatabaseKafkaTopicMap{ "key": DatabaseKafkaTopicArgs{...} }

type DatabaseKafkaTopicMapOutput added in v4.23.0

type DatabaseKafkaTopicMapOutput struct{ *pulumi.OutputState }

func (DatabaseKafkaTopicMapOutput) ElementType added in v4.23.0

func (DatabaseKafkaTopicMapOutput) MapIndex added in v4.23.0

func (DatabaseKafkaTopicMapOutput) ToDatabaseKafkaTopicMapOutput added in v4.23.0

func (o DatabaseKafkaTopicMapOutput) ToDatabaseKafkaTopicMapOutput() DatabaseKafkaTopicMapOutput

func (DatabaseKafkaTopicMapOutput) ToDatabaseKafkaTopicMapOutputWithContext added in v4.23.0

func (o DatabaseKafkaTopicMapOutput) ToDatabaseKafkaTopicMapOutputWithContext(ctx context.Context) DatabaseKafkaTopicMapOutput

type DatabaseKafkaTopicOutput added in v4.23.0

type DatabaseKafkaTopicOutput struct{ *pulumi.OutputState }

func (DatabaseKafkaTopicOutput) ClusterId added in v4.23.0

The ID of the source database cluster. Note: This must be a Kafka cluster.

func (DatabaseKafkaTopicOutput) Configs added in v4.23.0

A set of advanced configuration parameters. Defaults will be set for any of the parameters that are not included. The `config` block is documented below.

func (DatabaseKafkaTopicOutput) ElementType added in v4.23.0

func (DatabaseKafkaTopicOutput) ElementType() reflect.Type

func (DatabaseKafkaTopicOutput) Name added in v4.23.0

The name for the topic.

func (DatabaseKafkaTopicOutput) PartitionCount added in v4.23.0

func (o DatabaseKafkaTopicOutput) PartitionCount() pulumi.IntPtrOutput

The number of partitions for the topic. Default and minimum set at 3, maximum is 2048.

func (DatabaseKafkaTopicOutput) ReplicationFactor added in v4.23.0

func (o DatabaseKafkaTopicOutput) ReplicationFactor() pulumi.IntPtrOutput

The number of nodes that topics are replicated across. Default and minimum set at 2, maximum is the number of nodes in the cluster.

func (DatabaseKafkaTopicOutput) State added in v4.23.0

The current status of the topic. Possible values are 'active', 'configuring', and 'deleting'.

func (DatabaseKafkaTopicOutput) ToDatabaseKafkaTopicOutput added in v4.23.0

func (o DatabaseKafkaTopicOutput) ToDatabaseKafkaTopicOutput() DatabaseKafkaTopicOutput

func (DatabaseKafkaTopicOutput) ToDatabaseKafkaTopicOutputWithContext added in v4.23.0

func (o DatabaseKafkaTopicOutput) ToDatabaseKafkaTopicOutputWithContext(ctx context.Context) DatabaseKafkaTopicOutput

type DatabaseKafkaTopicState added in v4.23.0

type DatabaseKafkaTopicState struct {
	// The ID of the source database cluster. Note: This must be a Kafka cluster.
	ClusterId pulumi.StringPtrInput
	// A set of advanced configuration parameters. Defaults will be set for any of the parameters that are not included.
	// The `config` block is documented below.
	Configs DatabaseKafkaTopicConfigArrayInput
	// The name for the topic.
	Name pulumi.StringPtrInput
	// The number of partitions for the topic. Default and minimum set at 3, maximum is 2048.
	PartitionCount pulumi.IntPtrInput
	// The number of nodes that topics are replicated across. Default and minimum set at 2, maximum is the number of nodes in the cluster.
	ReplicationFactor pulumi.IntPtrInput
	// The current status of the topic. Possible values are 'active', 'configuring', and 'deleting'.
	State pulumi.StringPtrInput
}

func (DatabaseKafkaTopicState) ElementType added in v4.23.0

func (DatabaseKafkaTopicState) ElementType() reflect.Type

type DatabaseMysqlConfig added in v4.23.0

type DatabaseMysqlConfig struct {
	pulumi.CustomResourceState

	// The hour of day (in UTC) when backup for the service starts. New backup only starts if previous backup has already completed.
	BackupHour pulumi.IntOutput `pulumi:"backupHour"`
	// The minute of the backup hour when backup for the service starts. New backup only starts if previous backup has already completed.
	BackupMinute pulumi.IntOutput `pulumi:"backupMinute"`
	// The minimum amount of time, in seconds, to keep binlog entries before deletion. This may be extended for services that require binlog entries for longer than the default, for example if using the MySQL Debezium Kafka connector.
	BinlogRetentionPeriod pulumi.IntOutput `pulumi:"binlogRetentionPeriod"`
	// The ID of the target MySQL cluster.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// The number of seconds that the mysqld server waits for a connect packet before responding with bad handshake.
	ConnectTimeout pulumi.IntOutput `pulumi:"connectTimeout"`
	// Default server time zone, in the form of an offset from UTC (from -12:00 to +12:00), a time zone name (EST), or `SYSTEM` to use the MySQL server default.
	DefaultTimeZone pulumi.StringOutput `pulumi:"defaultTimeZone"`
	// The maximum permitted result length, in bytes, for the `GROUP_CONCAT()` function.
	GroupConcatMaxLen pulumi.IntOutput `pulumi:"groupConcatMaxLen"`
	// The time, in seconds, before cached statistics expire.
	InformationSchemaStatsExpiry pulumi.IntOutput `pulumi:"informationSchemaStatsExpiry"`
	// The minimum length of words that an InnoDB FULLTEXT index stores.
	InnodbFtMinTokenSize pulumi.IntOutput `pulumi:"innodbFtMinTokenSize"`
	// The InnoDB FULLTEXT index stopword list for all InnoDB tables.
	InnodbFtServerStopwordTable pulumi.StringOutput `pulumi:"innodbFtServerStopwordTable"`
	// The time, in seconds, that an InnoDB transaction waits for a row lock. before giving up.
	InnodbLockWaitTimeout pulumi.IntOutput `pulumi:"innodbLockWaitTimeout"`
	// The size of the buffer, in bytes, that InnoDB uses to write to the log files. on disk.
	InnodbLogBufferSize pulumi.IntOutput `pulumi:"innodbLogBufferSize"`
	// The upper limit, in bytes, of the size of the temporary log files used during online DDL operations for InnoDB tables.
	InnodbOnlineAlterLogMaxSize pulumi.IntOutput `pulumi:"innodbOnlineAlterLogMaxSize"`
	// When enabled, records information about all deadlocks in InnoDB user transactions in the error log. Disabled by default.
	InnodbPrintAllDeadlocks pulumi.BoolOutput `pulumi:"innodbPrintAllDeadlocks"`
	// When enabled, transaction timeouts cause InnoDB to abort and roll back the entire transaction.
	InnodbRollbackOnTimeout pulumi.BoolOutput `pulumi:"innodbRollbackOnTimeout"`
	// The time, in seconds, the server waits for activity on an interactive. connection before closing it.
	InteractiveTimeout pulumi.IntOutput `pulumi:"interactiveTimeout"`
	// The storage engine for in-memory internal temporary tables. Supported values are: `TempTable`, `MEMORY`.
	InternalTmpMemStorageEngine pulumi.StringOutput `pulumi:"internalTmpMemStorageEngine"`
	// The time, in seconds, for a query to take to execute before being captured by `slowQueryLogs`. Default is `10` seconds.
	LongQueryTime pulumi.Float64Output `pulumi:"longQueryTime"`
	// The size of the largest message, in bytes, that can be received by the server. Default is `67108864` (64M).
	MaxAllowedPacket pulumi.IntOutput `pulumi:"maxAllowedPacket"`
	// The maximum size, in bytes, of internal in-memory tables. Also set `tmpTableSize`. Default is `16777216` (16M)
	MaxHeapTableSize pulumi.IntOutput `pulumi:"maxHeapTableSize"`
	// The time, in seconds, to wait for more data from an existing connection. aborting the read.
	NetReadTimeout pulumi.IntOutput `pulumi:"netReadTimeout"`
	// The number of seconds to wait for a block to be written to a connection before aborting the write.
	NetWriteTimeout pulumi.IntOutput `pulumi:"netWriteTimeout"`
	// When enabled, captures slow queries. When disabled, also truncates the mysql.slow_log table. Default is false.
	SlowQueryLog pulumi.BoolOutput `pulumi:"slowQueryLog"`
	// The sort buffer size, in bytes, for `ORDER BY` optimization. Default is `262144`. (256K).
	SortBufferSize pulumi.IntOutput `pulumi:"sortBufferSize"`
	// Global SQL mode. If empty, uses MySQL server defaults. Must only include uppercase alphabetic characters, underscores, and commas.
	SqlMode pulumi.StringOutput `pulumi:"sqlMode"`
	// Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them.
	SqlRequirePrimaryKey pulumi.BoolOutput `pulumi:"sqlRequirePrimaryKey"`
	// The maximum size, in bytes, of internal in-memory tables. Also set `maxHeapTableSize`. Default is `16777216` (16M).
	TmpTableSize pulumi.IntOutput `pulumi:"tmpTableSize"`
	// The number of seconds the server waits for activity on a noninteractive connection before closing it.
	WaitTimeout pulumi.IntOutput `pulumi:"waitTimeout"`
}

Provides a virtual resource that can be used to change advanced configuration options for a DigitalOcean managed MySQL database cluster.

> **Note** MySQL configurations are only removed from state when destroyed. The remote configuration is not unset.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleDatabaseCluster, err := digitalocean.NewDatabaseCluster(ctx, "exampleDatabaseCluster", &digitalocean.DatabaseClusterArgs{
			Engine:    pulumi.String("mysql"),
			Version:   pulumi.String("8"),
			Size:      pulumi.String(digitalocean.DatabaseSlug_DB_1VPCU1GB),
			Region:    pulumi.String(digitalocean.RegionNYC1),
			NodeCount: pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewDatabaseMysqlConfig(ctx, "exampleDatabaseMysqlConfig", &digitalocean.DatabaseMysqlConfigArgs{
			ClusterId:       exampleDatabaseCluster.ID(),
			ConnectTimeout:  pulumi.Int(10),
			DefaultTimeZone: pulumi.String("UTC"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

A MySQL database cluster's configuration can be imported using the `id` the parent cluster, e.g.

```sh $ pulumi import digitalocean:index/databaseMysqlConfig:DatabaseMysqlConfig example 4b62829a-9c42-465b-aaa3-84051048e712 ```

func GetDatabaseMysqlConfig added in v4.23.0

func GetDatabaseMysqlConfig(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatabaseMysqlConfigState, opts ...pulumi.ResourceOption) (*DatabaseMysqlConfig, error)

GetDatabaseMysqlConfig gets an existing DatabaseMysqlConfig 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 NewDatabaseMysqlConfig added in v4.23.0

func NewDatabaseMysqlConfig(ctx *pulumi.Context,
	name string, args *DatabaseMysqlConfigArgs, opts ...pulumi.ResourceOption) (*DatabaseMysqlConfig, error)

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

func (*DatabaseMysqlConfig) ElementType added in v4.23.0

func (*DatabaseMysqlConfig) ElementType() reflect.Type

func (*DatabaseMysqlConfig) ToDatabaseMysqlConfigOutput added in v4.23.0

func (i *DatabaseMysqlConfig) ToDatabaseMysqlConfigOutput() DatabaseMysqlConfigOutput

func (*DatabaseMysqlConfig) ToDatabaseMysqlConfigOutputWithContext added in v4.23.0

func (i *DatabaseMysqlConfig) ToDatabaseMysqlConfigOutputWithContext(ctx context.Context) DatabaseMysqlConfigOutput

type DatabaseMysqlConfigArgs added in v4.23.0

type DatabaseMysqlConfigArgs struct {
	// The hour of day (in UTC) when backup for the service starts. New backup only starts if previous backup has already completed.
	BackupHour pulumi.IntPtrInput
	// The minute of the backup hour when backup for the service starts. New backup only starts if previous backup has already completed.
	BackupMinute pulumi.IntPtrInput
	// The minimum amount of time, in seconds, to keep binlog entries before deletion. This may be extended for services that require binlog entries for longer than the default, for example if using the MySQL Debezium Kafka connector.
	BinlogRetentionPeriod pulumi.IntPtrInput
	// The ID of the target MySQL cluster.
	ClusterId pulumi.StringInput
	// The number of seconds that the mysqld server waits for a connect packet before responding with bad handshake.
	ConnectTimeout pulumi.IntPtrInput
	// Default server time zone, in the form of an offset from UTC (from -12:00 to +12:00), a time zone name (EST), or `SYSTEM` to use the MySQL server default.
	DefaultTimeZone pulumi.StringPtrInput
	// The maximum permitted result length, in bytes, for the `GROUP_CONCAT()` function.
	GroupConcatMaxLen pulumi.IntPtrInput
	// The time, in seconds, before cached statistics expire.
	InformationSchemaStatsExpiry pulumi.IntPtrInput
	// The minimum length of words that an InnoDB FULLTEXT index stores.
	InnodbFtMinTokenSize pulumi.IntPtrInput
	// The InnoDB FULLTEXT index stopword list for all InnoDB tables.
	InnodbFtServerStopwordTable pulumi.StringPtrInput
	// The time, in seconds, that an InnoDB transaction waits for a row lock. before giving up.
	InnodbLockWaitTimeout pulumi.IntPtrInput
	// The size of the buffer, in bytes, that InnoDB uses to write to the log files. on disk.
	InnodbLogBufferSize pulumi.IntPtrInput
	// The upper limit, in bytes, of the size of the temporary log files used during online DDL operations for InnoDB tables.
	InnodbOnlineAlterLogMaxSize pulumi.IntPtrInput
	// When enabled, records information about all deadlocks in InnoDB user transactions in the error log. Disabled by default.
	InnodbPrintAllDeadlocks pulumi.BoolPtrInput
	// When enabled, transaction timeouts cause InnoDB to abort and roll back the entire transaction.
	InnodbRollbackOnTimeout pulumi.BoolPtrInput
	// The time, in seconds, the server waits for activity on an interactive. connection before closing it.
	InteractiveTimeout pulumi.IntPtrInput
	// The storage engine for in-memory internal temporary tables. Supported values are: `TempTable`, `MEMORY`.
	InternalTmpMemStorageEngine pulumi.StringPtrInput
	// The time, in seconds, for a query to take to execute before being captured by `slowQueryLogs`. Default is `10` seconds.
	LongQueryTime pulumi.Float64PtrInput
	// The size of the largest message, in bytes, that can be received by the server. Default is `67108864` (64M).
	MaxAllowedPacket pulumi.IntPtrInput
	// The maximum size, in bytes, of internal in-memory tables. Also set `tmpTableSize`. Default is `16777216` (16M)
	MaxHeapTableSize pulumi.IntPtrInput
	// The time, in seconds, to wait for more data from an existing connection. aborting the read.
	NetReadTimeout pulumi.IntPtrInput
	// The number of seconds to wait for a block to be written to a connection before aborting the write.
	NetWriteTimeout pulumi.IntPtrInput
	// When enabled, captures slow queries. When disabled, also truncates the mysql.slow_log table. Default is false.
	SlowQueryLog pulumi.BoolPtrInput
	// The sort buffer size, in bytes, for `ORDER BY` optimization. Default is `262144`. (256K).
	SortBufferSize pulumi.IntPtrInput
	// Global SQL mode. If empty, uses MySQL server defaults. Must only include uppercase alphabetic characters, underscores, and commas.
	SqlMode pulumi.StringPtrInput
	// Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them.
	SqlRequirePrimaryKey pulumi.BoolPtrInput
	// The maximum size, in bytes, of internal in-memory tables. Also set `maxHeapTableSize`. Default is `16777216` (16M).
	TmpTableSize pulumi.IntPtrInput
	// The number of seconds the server waits for activity on a noninteractive connection before closing it.
	WaitTimeout pulumi.IntPtrInput
}

The set of arguments for constructing a DatabaseMysqlConfig resource.

func (DatabaseMysqlConfigArgs) ElementType added in v4.23.0

func (DatabaseMysqlConfigArgs) ElementType() reflect.Type

type DatabaseMysqlConfigArray added in v4.23.0

type DatabaseMysqlConfigArray []DatabaseMysqlConfigInput

func (DatabaseMysqlConfigArray) ElementType added in v4.23.0

func (DatabaseMysqlConfigArray) ElementType() reflect.Type

func (DatabaseMysqlConfigArray) ToDatabaseMysqlConfigArrayOutput added in v4.23.0

func (i DatabaseMysqlConfigArray) ToDatabaseMysqlConfigArrayOutput() DatabaseMysqlConfigArrayOutput

func (DatabaseMysqlConfigArray) ToDatabaseMysqlConfigArrayOutputWithContext added in v4.23.0

func (i DatabaseMysqlConfigArray) ToDatabaseMysqlConfigArrayOutputWithContext(ctx context.Context) DatabaseMysqlConfigArrayOutput

type DatabaseMysqlConfigArrayInput added in v4.23.0

type DatabaseMysqlConfigArrayInput interface {
	pulumi.Input

	ToDatabaseMysqlConfigArrayOutput() DatabaseMysqlConfigArrayOutput
	ToDatabaseMysqlConfigArrayOutputWithContext(context.Context) DatabaseMysqlConfigArrayOutput
}

DatabaseMysqlConfigArrayInput is an input type that accepts DatabaseMysqlConfigArray and DatabaseMysqlConfigArrayOutput values. You can construct a concrete instance of `DatabaseMysqlConfigArrayInput` via:

DatabaseMysqlConfigArray{ DatabaseMysqlConfigArgs{...} }

type DatabaseMysqlConfigArrayOutput added in v4.23.0

type DatabaseMysqlConfigArrayOutput struct{ *pulumi.OutputState }

func (DatabaseMysqlConfigArrayOutput) ElementType added in v4.23.0

func (DatabaseMysqlConfigArrayOutput) Index added in v4.23.0

func (DatabaseMysqlConfigArrayOutput) ToDatabaseMysqlConfigArrayOutput added in v4.23.0

func (o DatabaseMysqlConfigArrayOutput) ToDatabaseMysqlConfigArrayOutput() DatabaseMysqlConfigArrayOutput

func (DatabaseMysqlConfigArrayOutput) ToDatabaseMysqlConfigArrayOutputWithContext added in v4.23.0

func (o DatabaseMysqlConfigArrayOutput) ToDatabaseMysqlConfigArrayOutputWithContext(ctx context.Context) DatabaseMysqlConfigArrayOutput

type DatabaseMysqlConfigInput added in v4.23.0

type DatabaseMysqlConfigInput interface {
	pulumi.Input

	ToDatabaseMysqlConfigOutput() DatabaseMysqlConfigOutput
	ToDatabaseMysqlConfigOutputWithContext(ctx context.Context) DatabaseMysqlConfigOutput
}

type DatabaseMysqlConfigMap added in v4.23.0

type DatabaseMysqlConfigMap map[string]DatabaseMysqlConfigInput

func (DatabaseMysqlConfigMap) ElementType added in v4.23.0

func (DatabaseMysqlConfigMap) ElementType() reflect.Type

func (DatabaseMysqlConfigMap) ToDatabaseMysqlConfigMapOutput added in v4.23.0

func (i DatabaseMysqlConfigMap) ToDatabaseMysqlConfigMapOutput() DatabaseMysqlConfigMapOutput

func (DatabaseMysqlConfigMap) ToDatabaseMysqlConfigMapOutputWithContext added in v4.23.0

func (i DatabaseMysqlConfigMap) ToDatabaseMysqlConfigMapOutputWithContext(ctx context.Context) DatabaseMysqlConfigMapOutput

type DatabaseMysqlConfigMapInput added in v4.23.0

type DatabaseMysqlConfigMapInput interface {
	pulumi.Input

	ToDatabaseMysqlConfigMapOutput() DatabaseMysqlConfigMapOutput
	ToDatabaseMysqlConfigMapOutputWithContext(context.Context) DatabaseMysqlConfigMapOutput
}

DatabaseMysqlConfigMapInput is an input type that accepts DatabaseMysqlConfigMap and DatabaseMysqlConfigMapOutput values. You can construct a concrete instance of `DatabaseMysqlConfigMapInput` via:

DatabaseMysqlConfigMap{ "key": DatabaseMysqlConfigArgs{...} }

type DatabaseMysqlConfigMapOutput added in v4.23.0

type DatabaseMysqlConfigMapOutput struct{ *pulumi.OutputState }

func (DatabaseMysqlConfigMapOutput) ElementType added in v4.23.0

func (DatabaseMysqlConfigMapOutput) MapIndex added in v4.23.0

func (DatabaseMysqlConfigMapOutput) ToDatabaseMysqlConfigMapOutput added in v4.23.0

func (o DatabaseMysqlConfigMapOutput) ToDatabaseMysqlConfigMapOutput() DatabaseMysqlConfigMapOutput

func (DatabaseMysqlConfigMapOutput) ToDatabaseMysqlConfigMapOutputWithContext added in v4.23.0

func (o DatabaseMysqlConfigMapOutput) ToDatabaseMysqlConfigMapOutputWithContext(ctx context.Context) DatabaseMysqlConfigMapOutput

type DatabaseMysqlConfigOutput added in v4.23.0

type DatabaseMysqlConfigOutput struct{ *pulumi.OutputState }

func (DatabaseMysqlConfigOutput) BackupHour added in v4.23.0

The hour of day (in UTC) when backup for the service starts. New backup only starts if previous backup has already completed.

func (DatabaseMysqlConfigOutput) BackupMinute added in v4.23.0

func (o DatabaseMysqlConfigOutput) BackupMinute() pulumi.IntOutput

The minute of the backup hour when backup for the service starts. New backup only starts if previous backup has already completed.

func (DatabaseMysqlConfigOutput) BinlogRetentionPeriod added in v4.23.0

func (o DatabaseMysqlConfigOutput) BinlogRetentionPeriod() pulumi.IntOutput

The minimum amount of time, in seconds, to keep binlog entries before deletion. This may be extended for services that require binlog entries for longer than the default, for example if using the MySQL Debezium Kafka connector.

func (DatabaseMysqlConfigOutput) ClusterId added in v4.23.0

The ID of the target MySQL cluster.

func (DatabaseMysqlConfigOutput) ConnectTimeout added in v4.23.0

func (o DatabaseMysqlConfigOutput) ConnectTimeout() pulumi.IntOutput

The number of seconds that the mysqld server waits for a connect packet before responding with bad handshake.

func (DatabaseMysqlConfigOutput) DefaultTimeZone added in v4.23.0

func (o DatabaseMysqlConfigOutput) DefaultTimeZone() pulumi.StringOutput

Default server time zone, in the form of an offset from UTC (from -12:00 to +12:00), a time zone name (EST), or `SYSTEM` to use the MySQL server default.

func (DatabaseMysqlConfigOutput) ElementType added in v4.23.0

func (DatabaseMysqlConfigOutput) ElementType() reflect.Type

func (DatabaseMysqlConfigOutput) GroupConcatMaxLen added in v4.23.0

func (o DatabaseMysqlConfigOutput) GroupConcatMaxLen() pulumi.IntOutput

The maximum permitted result length, in bytes, for the `GROUP_CONCAT()` function.

func (DatabaseMysqlConfigOutput) InformationSchemaStatsExpiry added in v4.23.0

func (o DatabaseMysqlConfigOutput) InformationSchemaStatsExpiry() pulumi.IntOutput

The time, in seconds, before cached statistics expire.

func (DatabaseMysqlConfigOutput) InnodbFtMinTokenSize added in v4.23.0

func (o DatabaseMysqlConfigOutput) InnodbFtMinTokenSize() pulumi.IntOutput

The minimum length of words that an InnoDB FULLTEXT index stores.

func (DatabaseMysqlConfigOutput) InnodbFtServerStopwordTable added in v4.23.0

func (o DatabaseMysqlConfigOutput) InnodbFtServerStopwordTable() pulumi.StringOutput

The InnoDB FULLTEXT index stopword list for all InnoDB tables.

func (DatabaseMysqlConfigOutput) InnodbLockWaitTimeout added in v4.23.0

func (o DatabaseMysqlConfigOutput) InnodbLockWaitTimeout() pulumi.IntOutput

The time, in seconds, that an InnoDB transaction waits for a row lock. before giving up.

func (DatabaseMysqlConfigOutput) InnodbLogBufferSize added in v4.23.0

func (o DatabaseMysqlConfigOutput) InnodbLogBufferSize() pulumi.IntOutput

The size of the buffer, in bytes, that InnoDB uses to write to the log files. on disk.

func (DatabaseMysqlConfigOutput) InnodbOnlineAlterLogMaxSize added in v4.23.0

func (o DatabaseMysqlConfigOutput) InnodbOnlineAlterLogMaxSize() pulumi.IntOutput

The upper limit, in bytes, of the size of the temporary log files used during online DDL operations for InnoDB tables.

func (DatabaseMysqlConfigOutput) InnodbPrintAllDeadlocks added in v4.23.0

func (o DatabaseMysqlConfigOutput) InnodbPrintAllDeadlocks() pulumi.BoolOutput

When enabled, records information about all deadlocks in InnoDB user transactions in the error log. Disabled by default.

func (DatabaseMysqlConfigOutput) InnodbRollbackOnTimeout added in v4.23.0

func (o DatabaseMysqlConfigOutput) InnodbRollbackOnTimeout() pulumi.BoolOutput

When enabled, transaction timeouts cause InnoDB to abort and roll back the entire transaction.

func (DatabaseMysqlConfigOutput) InteractiveTimeout added in v4.23.0

func (o DatabaseMysqlConfigOutput) InteractiveTimeout() pulumi.IntOutput

The time, in seconds, the server waits for activity on an interactive. connection before closing it.

func (DatabaseMysqlConfigOutput) InternalTmpMemStorageEngine added in v4.23.0

func (o DatabaseMysqlConfigOutput) InternalTmpMemStorageEngine() pulumi.StringOutput

The storage engine for in-memory internal temporary tables. Supported values are: `TempTable`, `MEMORY`.

func (DatabaseMysqlConfigOutput) LongQueryTime added in v4.23.0

The time, in seconds, for a query to take to execute before being captured by `slowQueryLogs`. Default is `10` seconds.

func (DatabaseMysqlConfigOutput) MaxAllowedPacket added in v4.23.0

func (o DatabaseMysqlConfigOutput) MaxAllowedPacket() pulumi.IntOutput

The size of the largest message, in bytes, that can be received by the server. Default is `67108864` (64M).

func (DatabaseMysqlConfigOutput) MaxHeapTableSize added in v4.23.0

func (o DatabaseMysqlConfigOutput) MaxHeapTableSize() pulumi.IntOutput

The maximum size, in bytes, of internal in-memory tables. Also set `tmpTableSize`. Default is `16777216` (16M)

func (DatabaseMysqlConfigOutput) NetReadTimeout added in v4.23.0

func (o DatabaseMysqlConfigOutput) NetReadTimeout() pulumi.IntOutput

The time, in seconds, to wait for more data from an existing connection. aborting the read.

func (DatabaseMysqlConfigOutput) NetWriteTimeout added in v4.23.0

func (o DatabaseMysqlConfigOutput) NetWriteTimeout() pulumi.IntOutput

The number of seconds to wait for a block to be written to a connection before aborting the write.

func (DatabaseMysqlConfigOutput) SlowQueryLog added in v4.23.0

func (o DatabaseMysqlConfigOutput) SlowQueryLog() pulumi.BoolOutput

When enabled, captures slow queries. When disabled, also truncates the mysql.slow_log table. Default is false.

func (DatabaseMysqlConfigOutput) SortBufferSize added in v4.23.0

func (o DatabaseMysqlConfigOutput) SortBufferSize() pulumi.IntOutput

The sort buffer size, in bytes, for `ORDER BY` optimization. Default is `262144`. (256K).

func (DatabaseMysqlConfigOutput) SqlMode added in v4.23.0

Global SQL mode. If empty, uses MySQL server defaults. Must only include uppercase alphabetic characters, underscores, and commas.

func (DatabaseMysqlConfigOutput) SqlRequirePrimaryKey added in v4.23.0

func (o DatabaseMysqlConfigOutput) SqlRequirePrimaryKey() pulumi.BoolOutput

Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them.

func (DatabaseMysqlConfigOutput) TmpTableSize added in v4.23.0

func (o DatabaseMysqlConfigOutput) TmpTableSize() pulumi.IntOutput

The maximum size, in bytes, of internal in-memory tables. Also set `maxHeapTableSize`. Default is `16777216` (16M).

func (DatabaseMysqlConfigOutput) ToDatabaseMysqlConfigOutput added in v4.23.0

func (o DatabaseMysqlConfigOutput) ToDatabaseMysqlConfigOutput() DatabaseMysqlConfigOutput

func (DatabaseMysqlConfigOutput) ToDatabaseMysqlConfigOutputWithContext added in v4.23.0

func (o DatabaseMysqlConfigOutput) ToDatabaseMysqlConfigOutputWithContext(ctx context.Context) DatabaseMysqlConfigOutput

func (DatabaseMysqlConfigOutput) WaitTimeout added in v4.23.0

func (o DatabaseMysqlConfigOutput) WaitTimeout() pulumi.IntOutput

The number of seconds the server waits for activity on a noninteractive connection before closing it.

type DatabaseMysqlConfigState added in v4.23.0

type DatabaseMysqlConfigState struct {
	// The hour of day (in UTC) when backup for the service starts. New backup only starts if previous backup has already completed.
	BackupHour pulumi.IntPtrInput
	// The minute of the backup hour when backup for the service starts. New backup only starts if previous backup has already completed.
	BackupMinute pulumi.IntPtrInput
	// The minimum amount of time, in seconds, to keep binlog entries before deletion. This may be extended for services that require binlog entries for longer than the default, for example if using the MySQL Debezium Kafka connector.
	BinlogRetentionPeriod pulumi.IntPtrInput
	// The ID of the target MySQL cluster.
	ClusterId pulumi.StringPtrInput
	// The number of seconds that the mysqld server waits for a connect packet before responding with bad handshake.
	ConnectTimeout pulumi.IntPtrInput
	// Default server time zone, in the form of an offset from UTC (from -12:00 to +12:00), a time zone name (EST), or `SYSTEM` to use the MySQL server default.
	DefaultTimeZone pulumi.StringPtrInput
	// The maximum permitted result length, in bytes, for the `GROUP_CONCAT()` function.
	GroupConcatMaxLen pulumi.IntPtrInput
	// The time, in seconds, before cached statistics expire.
	InformationSchemaStatsExpiry pulumi.IntPtrInput
	// The minimum length of words that an InnoDB FULLTEXT index stores.
	InnodbFtMinTokenSize pulumi.IntPtrInput
	// The InnoDB FULLTEXT index stopword list for all InnoDB tables.
	InnodbFtServerStopwordTable pulumi.StringPtrInput
	// The time, in seconds, that an InnoDB transaction waits for a row lock. before giving up.
	InnodbLockWaitTimeout pulumi.IntPtrInput
	// The size of the buffer, in bytes, that InnoDB uses to write to the log files. on disk.
	InnodbLogBufferSize pulumi.IntPtrInput
	// The upper limit, in bytes, of the size of the temporary log files used during online DDL operations for InnoDB tables.
	InnodbOnlineAlterLogMaxSize pulumi.IntPtrInput
	// When enabled, records information about all deadlocks in InnoDB user transactions in the error log. Disabled by default.
	InnodbPrintAllDeadlocks pulumi.BoolPtrInput
	// When enabled, transaction timeouts cause InnoDB to abort and roll back the entire transaction.
	InnodbRollbackOnTimeout pulumi.BoolPtrInput
	// The time, in seconds, the server waits for activity on an interactive. connection before closing it.
	InteractiveTimeout pulumi.IntPtrInput
	// The storage engine for in-memory internal temporary tables. Supported values are: `TempTable`, `MEMORY`.
	InternalTmpMemStorageEngine pulumi.StringPtrInput
	// The time, in seconds, for a query to take to execute before being captured by `slowQueryLogs`. Default is `10` seconds.
	LongQueryTime pulumi.Float64PtrInput
	// The size of the largest message, in bytes, that can be received by the server. Default is `67108864` (64M).
	MaxAllowedPacket pulumi.IntPtrInput
	// The maximum size, in bytes, of internal in-memory tables. Also set `tmpTableSize`. Default is `16777216` (16M)
	MaxHeapTableSize pulumi.IntPtrInput
	// The time, in seconds, to wait for more data from an existing connection. aborting the read.
	NetReadTimeout pulumi.IntPtrInput
	// The number of seconds to wait for a block to be written to a connection before aborting the write.
	NetWriteTimeout pulumi.IntPtrInput
	// When enabled, captures slow queries. When disabled, also truncates the mysql.slow_log table. Default is false.
	SlowQueryLog pulumi.BoolPtrInput
	// The sort buffer size, in bytes, for `ORDER BY` optimization. Default is `262144`. (256K).
	SortBufferSize pulumi.IntPtrInput
	// Global SQL mode. If empty, uses MySQL server defaults. Must only include uppercase alphabetic characters, underscores, and commas.
	SqlMode pulumi.StringPtrInput
	// Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them.
	SqlRequirePrimaryKey pulumi.BoolPtrInput
	// The maximum size, in bytes, of internal in-memory tables. Also set `maxHeapTableSize`. Default is `16777216` (16M).
	TmpTableSize pulumi.IntPtrInput
	// The number of seconds the server waits for activity on a noninteractive connection before closing it.
	WaitTimeout pulumi.IntPtrInput
}

func (DatabaseMysqlConfigState) ElementType added in v4.23.0

func (DatabaseMysqlConfigState) ElementType() reflect.Type

type DatabasePostgresqlConfig added in v4.28.0

type DatabasePostgresqlConfig struct {
	pulumi.CustomResourceState

	// Specifies a fraction, in a decimal value, of the table size to add to autovacuumAnalyzeThreshold when deciding whether to trigger an ANALYZE. The default is 0.2 (20% of table size).
	AutovacuumAnalyzeScaleFactor pulumi.Float64Output `pulumi:"autovacuumAnalyzeScaleFactor"`
	// Specifies the minimum number of inserted, updated, or deleted tuples needed to trigger an ANALYZE in any one table. The default is 50 tuples.
	AutovacuumAnalyzeThreshold pulumi.IntOutput `pulumi:"autovacuumAnalyzeThreshold"`
	// Specifies the maximum age (in transactions) that a table's pg_class.relfrozenxid field can attain before a VACUUM operation is forced to prevent transaction ID wraparound within the table. Note that the system will launch autovacuum processes to prevent wraparound even when autovacuum is otherwise disabled. This parameter will cause the server to be restarted.
	AutovacuumFreezeMaxAge pulumi.IntOutput `pulumi:"autovacuumFreezeMaxAge"`
	// Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time. The default is three. This parameter can only be set at server start.
	AutovacuumMaxWorkers pulumi.IntOutput `pulumi:"autovacuumMaxWorkers"`
	// Specifies the minimum delay, in seconds, between autovacuum runs on any given database. The default is one minute.
	AutovacuumNaptime pulumi.IntOutput `pulumi:"autovacuumNaptime"`
	// Specifies the cost delay value, in milliseconds, that will be used in automatic VACUUM operations. If -1, uses the regular vacuumCostDelay value, which is 20 milliseconds.
	AutovacuumVacuumCostDelay pulumi.IntOutput `pulumi:"autovacuumVacuumCostDelay"`
	// Specifies the cost limit value that will be used in automatic VACUUM operations. If -1 is specified (which is the default), the regular vacuumCostLimit value will be used.
	AutovacuumVacuumCostLimit pulumi.IntOutput `pulumi:"autovacuumVacuumCostLimit"`
	// Specifies a fraction, in a decimal value, of the table size to add to autovacuumVacuumThreshold when deciding whether to trigger a VACUUM. The default is 0.2 (20% of table size).
	AutovacuumVacuumScaleFactor pulumi.Float64Output `pulumi:"autovacuumVacuumScaleFactor"`
	// Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is 50 tuples.
	AutovacuumVacuumThreshold pulumi.IntOutput `pulumi:"autovacuumVacuumThreshold"`
	// The hour of day (in UTC) when backup for the service starts. New backup only starts if previous backup has already completed.
	BackupHour pulumi.IntOutput `pulumi:"backupHour"`
	// The minute of the backup hour when backup for the service starts. New backup is only started if previous backup has already completed.
	BackupMinute pulumi.IntOutput `pulumi:"backupMinute"`
	// Specifies the delay, in milliseconds, between activity rounds for the background writer. Default is 200 ms.
	BgwriterDelay pulumi.IntOutput `pulumi:"bgwriterDelay"`
	// The amount of kilobytes that need to be written by the background writer before attempting to force the OS to issue these writes to underlying storage. Specified in kilobytes, default is 512. Setting of 0 disables forced writeback.
	BgwriterFlushAfter pulumi.IntOutput `pulumi:"bgwriterFlushAfter"`
	// The maximum number of buffers that the background writer can write. Setting this to zero disables background writing. Default is 100.
	BgwriterLruMaxpages pulumi.IntOutput `pulumi:"bgwriterLruMaxpages"`
	// The average recent need for new buffers is multiplied by bgwriterLruMultiplier to arrive at an estimate of the number that will be needed during the next round, (up to bgwriter_lru_maxpages). 1.0 represents a “just in time” policy of writing exactly the number of buffers predicted to be needed. Larger values provide some cushion against spikes in demand, while smaller values intentionally leave writes to be done by server processes. The default is 2.0.
	BgwriterLruMultiplier pulumi.Float64Output `pulumi:"bgwriterLruMultiplier"`
	// The ID of the target PostgreSQL cluster.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// The amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition.
	DeadlockTimeout pulumi.IntOutput `pulumi:"deadlockTimeout"`
	// Specifies the default TOAST compression method for values of compressible columns (the default is lz4). Supported values are: `lz4`, `pglz`.
	DefaultToastCompression pulumi.StringOutput `pulumi:"defaultToastCompression"`
	// Time out sessions with open transactions after this number of milliseconds
	IdleInTransactionSessionTimeout pulumi.IntOutput `pulumi:"idleInTransactionSessionTimeout"`
	// Activates, in a boolean, the system-wide use of Just-in-Time Compilation (JIT).
	Jit pulumi.BoolOutput `pulumi:"jit"`
	// Causes each action executed by autovacuum to be logged if it ran for at least the specified number of milliseconds. Setting this to zero logs all autovacuum actions. Minus-one (the default) disables logging autovacuum actions.
	LogAutovacuumMinDuration pulumi.IntOutput `pulumi:"logAutovacuumMinDuration"`
	// Controls the amount of detail written in the server log for each message that is logged. Supported values are: `TERSE`, `DEFAULT`, `VERBOSE`.
	LogErrorVerbosity pulumi.StringOutput `pulumi:"logErrorVerbosity"`
	// Selects one of the available log-formats. These can support popular log analyzers like pgbadger, pganalyze, etc. Supported values are: `pid=%p,user=%u,db=%d,app=%a,client=%h`, `%m [%p] %q[user=%u,db=%d,app=%a]`, `%t [%p]: [%l-1] user=%u,db=%d,app=%a,client=%h`.
	LogLinePrefix pulumi.StringOutput `pulumi:"logLinePrefix"`
	// Log statements that take more than this number of milliseconds to run. If -1, disables.
	LogMinDurationStatement pulumi.IntOutput `pulumi:"logMinDurationStatement"`
	// PostgreSQL maximum number of files that can be open per process.
	MaxFilesPerProcess pulumi.IntOutput `pulumi:"maxFilesPerProcess"`
	// PostgreSQL maximum locks per transaction. Once increased, this parameter cannot be lowered from its set value.
	MaxLocksPerTransaction pulumi.IntOutput `pulumi:"maxLocksPerTransaction"`
	// PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
	MaxLogicalReplicationWorkers pulumi.IntOutput `pulumi:"maxLogicalReplicationWorkers"`
	// Sets the maximum number of workers that the system can support for parallel queries.
	MaxParallelWorkers pulumi.IntOutput `pulumi:"maxParallelWorkers"`
	// Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
	MaxParallelWorkersPerGather pulumi.IntOutput `pulumi:"maxParallelWorkersPerGather"`
	// PostgreSQL maximum predicate locks per transaction.
	MaxPredLocksPerTransaction pulumi.IntOutput `pulumi:"maxPredLocksPerTransaction"`
	// PostgreSQL maximum prepared transactions. Once increased, this parameter cannot be lowered from its set value.
	MaxPreparedTransactions pulumi.IntOutput `pulumi:"maxPreparedTransactions"`
	// PostgreSQL maximum replication slots.
	MaxReplicationSlots pulumi.IntOutput `pulumi:"maxReplicationSlots"`
	// Maximum depth of the stack in bytes.
	MaxStackDepth pulumi.IntOutput `pulumi:"maxStackDepth"`
	// Max standby archive delay in milliseconds.
	MaxStandbyArchiveDelay pulumi.IntOutput `pulumi:"maxStandbyArchiveDelay"`
	// Max standby streaming delay in milliseconds.
	MaxStandbyStreamingDelay pulumi.IntOutput `pulumi:"maxStandbyStreamingDelay"`
	// PostgreSQL maximum WAL senders. Once increased, this parameter cannot be lowered from its set value.
	MaxWalSenders pulumi.IntOutput `pulumi:"maxWalSenders"`
	// Sets the maximum number of background processes that the system can support. Once increased, this parameter cannot be lowered from its set value.
	MaxWorkerProcesses pulumi.IntOutput `pulumi:"maxWorkerProcesses"`
	// Sets the time interval to run pg_partman's scheduled tasks.
	PgPartmanBgwInterval pulumi.IntOutput `pulumi:"pgPartmanBgwInterval"`
	// Controls which role to use for pg_partman's scheduled background tasks. Must consist of alpha-numeric characters, dots, underscores, or dashes. May not start with dash or dot. Maximum of 64 characters.
	PgPartmanBgwRole pulumi.StringOutput `pulumi:"pgPartmanBgwRole"`
	// Controls which statements are counted. Specify 'top' to track top-level statements (those issued directly by clients), 'all' to also track nested statements (such as statements invoked within functions), or 'none' to disable statement statistics collection. The default value is top. Supported values are: `all`, `top`, `none`.
	PgStatStatementsTrack pulumi.StringOutput `pulumi:"pgStatStatementsTrack"`
	// PGBouncer connection pooling settings
	Pgbouncers DatabasePostgresqlConfigPgbouncerArrayOutput `pulumi:"pgbouncers"`
	// Percentage of total RAM that the database server uses for shared memory buffers. Valid range is 20-60 (float), which corresponds to 20% - 60%. This setting adjusts the sharedBuffers configuration value.
	SharedBuffersPercentage pulumi.Float64Output `pulumi:"sharedBuffersPercentage"`
	// PostgreSQL temporary file limit in KiB. If -1, sets to unlimited.
	TempFileLimit pulumi.IntOutput `pulumi:"tempFileLimit"`
	// TimescaleDB extension configuration values
	Timescaledbs DatabasePostgresqlConfigTimescaledbArrayOutput `pulumi:"timescaledbs"`
	// PostgreSQL service timezone
	Timezone pulumi.StringOutput `pulumi:"timezone"`
	// Specifies the number of bytes reserved to track the currently executing command for each active session.
	TrackActivityQuerySize pulumi.IntOutput `pulumi:"trackActivityQuerySize"`
	// Record commit time of transactions. The default value is top. Supported values are: `off`, `on`.
	TrackCommitTimestamp pulumi.StringOutput `pulumi:"trackCommitTimestamp"`
	// Enables tracking of function call counts and time used. The default value is top. Supported values are: `all`, `pl`, `none`.
	TrackFunctions pulumi.StringOutput `pulumi:"trackFunctions"`
	// Enables timing of database I/O calls. This parameter is off by default, because it will repeatedly query the operating system for the current time, which may cause significant overhead on some platforms. The default value is top. Supported values are: `off`, `on`.
	TrackIoTiming pulumi.StringOutput `pulumi:"trackIoTiming"`
	// Terminate replication connections that are inactive for longer than this amount of time, in milliseconds. Setting this value to zero disables the timeout. Must be either 0 or between 5000 and 10800000.
	WalSenderTimeout pulumi.IntOutput `pulumi:"walSenderTimeout"`
	// WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance
	WalWriterDelay pulumi.IntOutput `pulumi:"walWriterDelay"`
	// The maximum amount of memory, in MB, used by a query operation (such as a sort or hash table) before writing to temporary disk files. Default is 1MB + 0.075% of total RAM (up to 32MB).
	WorkMem pulumi.IntOutput `pulumi:"workMem"`
}

Provides a virtual resource that can be used to change advanced configuration options for a DigitalOcean managed PostgreSQL database cluster.

> **Note** PostgreSQL configurations are only removed from state when destroyed. The remote configuration is not unset.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleDatabaseCluster, err := digitalocean.NewDatabaseCluster(ctx, "exampleDatabaseCluster", &digitalocean.DatabaseClusterArgs{
			Engine:    pulumi.String("pg"),
			Version:   pulumi.String("15"),
			Size:      pulumi.String(digitalocean.DatabaseSlug_DB_1VPCU1GB),
			Region:    pulumi.String(digitalocean.RegionNYC1),
			NodeCount: pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewDatabasePostgresqlConfig(ctx, "exampleDatabasePostgresqlConfig", &digitalocean.DatabasePostgresqlConfigArgs{
			ClusterId: exampleDatabaseCluster.ID(),
			Timezone:  pulumi.String("UTC"),
			WorkMem:   pulumi.Int(16),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

A PostgreSQL database cluster's configuration can be imported using the `id` the parent cluster, e.g.

bash

```sh $ pulumi import digitalocean:index/databasePostgresqlConfig:DatabasePostgresqlConfig example 52556c07-788e-4d41-b8a7-c796432197d1 ```

func GetDatabasePostgresqlConfig added in v4.28.0

func GetDatabasePostgresqlConfig(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatabasePostgresqlConfigState, opts ...pulumi.ResourceOption) (*DatabasePostgresqlConfig, error)

GetDatabasePostgresqlConfig gets an existing DatabasePostgresqlConfig 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 NewDatabasePostgresqlConfig added in v4.28.0

func NewDatabasePostgresqlConfig(ctx *pulumi.Context,
	name string, args *DatabasePostgresqlConfigArgs, opts ...pulumi.ResourceOption) (*DatabasePostgresqlConfig, error)

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

func (*DatabasePostgresqlConfig) ElementType added in v4.28.0

func (*DatabasePostgresqlConfig) ElementType() reflect.Type

func (*DatabasePostgresqlConfig) ToDatabasePostgresqlConfigOutput added in v4.28.0

func (i *DatabasePostgresqlConfig) ToDatabasePostgresqlConfigOutput() DatabasePostgresqlConfigOutput

func (*DatabasePostgresqlConfig) ToDatabasePostgresqlConfigOutputWithContext added in v4.28.0

func (i *DatabasePostgresqlConfig) ToDatabasePostgresqlConfigOutputWithContext(ctx context.Context) DatabasePostgresqlConfigOutput

type DatabasePostgresqlConfigArgs added in v4.28.0

type DatabasePostgresqlConfigArgs struct {
	// Specifies a fraction, in a decimal value, of the table size to add to autovacuumAnalyzeThreshold when deciding whether to trigger an ANALYZE. The default is 0.2 (20% of table size).
	AutovacuumAnalyzeScaleFactor pulumi.Float64PtrInput
	// Specifies the minimum number of inserted, updated, or deleted tuples needed to trigger an ANALYZE in any one table. The default is 50 tuples.
	AutovacuumAnalyzeThreshold pulumi.IntPtrInput
	// Specifies the maximum age (in transactions) that a table's pg_class.relfrozenxid field can attain before a VACUUM operation is forced to prevent transaction ID wraparound within the table. Note that the system will launch autovacuum processes to prevent wraparound even when autovacuum is otherwise disabled. This parameter will cause the server to be restarted.
	AutovacuumFreezeMaxAge pulumi.IntPtrInput
	// Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time. The default is three. This parameter can only be set at server start.
	AutovacuumMaxWorkers pulumi.IntPtrInput
	// Specifies the minimum delay, in seconds, between autovacuum runs on any given database. The default is one minute.
	AutovacuumNaptime pulumi.IntPtrInput
	// Specifies the cost delay value, in milliseconds, that will be used in automatic VACUUM operations. If -1, uses the regular vacuumCostDelay value, which is 20 milliseconds.
	AutovacuumVacuumCostDelay pulumi.IntPtrInput
	// Specifies the cost limit value that will be used in automatic VACUUM operations. If -1 is specified (which is the default), the regular vacuumCostLimit value will be used.
	AutovacuumVacuumCostLimit pulumi.IntPtrInput
	// Specifies a fraction, in a decimal value, of the table size to add to autovacuumVacuumThreshold when deciding whether to trigger a VACUUM. The default is 0.2 (20% of table size).
	AutovacuumVacuumScaleFactor pulumi.Float64PtrInput
	// Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is 50 tuples.
	AutovacuumVacuumThreshold pulumi.IntPtrInput
	// The hour of day (in UTC) when backup for the service starts. New backup only starts if previous backup has already completed.
	BackupHour pulumi.IntPtrInput
	// The minute of the backup hour when backup for the service starts. New backup is only started if previous backup has already completed.
	BackupMinute pulumi.IntPtrInput
	// Specifies the delay, in milliseconds, between activity rounds for the background writer. Default is 200 ms.
	BgwriterDelay pulumi.IntPtrInput
	// The amount of kilobytes that need to be written by the background writer before attempting to force the OS to issue these writes to underlying storage. Specified in kilobytes, default is 512. Setting of 0 disables forced writeback.
	BgwriterFlushAfter pulumi.IntPtrInput
	// The maximum number of buffers that the background writer can write. Setting this to zero disables background writing. Default is 100.
	BgwriterLruMaxpages pulumi.IntPtrInput
	// The average recent need for new buffers is multiplied by bgwriterLruMultiplier to arrive at an estimate of the number that will be needed during the next round, (up to bgwriter_lru_maxpages). 1.0 represents a “just in time” policy of writing exactly the number of buffers predicted to be needed. Larger values provide some cushion against spikes in demand, while smaller values intentionally leave writes to be done by server processes. The default is 2.0.
	BgwriterLruMultiplier pulumi.Float64PtrInput
	// The ID of the target PostgreSQL cluster.
	ClusterId pulumi.StringInput
	// The amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition.
	DeadlockTimeout pulumi.IntPtrInput
	// Specifies the default TOAST compression method for values of compressible columns (the default is lz4). Supported values are: `lz4`, `pglz`.
	DefaultToastCompression pulumi.StringPtrInput
	// Time out sessions with open transactions after this number of milliseconds
	IdleInTransactionSessionTimeout pulumi.IntPtrInput
	// Activates, in a boolean, the system-wide use of Just-in-Time Compilation (JIT).
	Jit pulumi.BoolPtrInput
	// Causes each action executed by autovacuum to be logged if it ran for at least the specified number of milliseconds. Setting this to zero logs all autovacuum actions. Minus-one (the default) disables logging autovacuum actions.
	LogAutovacuumMinDuration pulumi.IntPtrInput
	// Controls the amount of detail written in the server log for each message that is logged. Supported values are: `TERSE`, `DEFAULT`, `VERBOSE`.
	LogErrorVerbosity pulumi.StringPtrInput
	// Selects one of the available log-formats. These can support popular log analyzers like pgbadger, pganalyze, etc. Supported values are: `pid=%p,user=%u,db=%d,app=%a,client=%h`, `%m [%p] %q[user=%u,db=%d,app=%a]`, `%t [%p]: [%l-1] user=%u,db=%d,app=%a,client=%h`.
	LogLinePrefix pulumi.StringPtrInput
	// Log statements that take more than this number of milliseconds to run. If -1, disables.
	LogMinDurationStatement pulumi.IntPtrInput
	// PostgreSQL maximum number of files that can be open per process.
	MaxFilesPerProcess pulumi.IntPtrInput
	// PostgreSQL maximum locks per transaction. Once increased, this parameter cannot be lowered from its set value.
	MaxLocksPerTransaction pulumi.IntPtrInput
	// PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
	MaxLogicalReplicationWorkers pulumi.IntPtrInput
	// Sets the maximum number of workers that the system can support for parallel queries.
	MaxParallelWorkers pulumi.IntPtrInput
	// Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
	MaxParallelWorkersPerGather pulumi.IntPtrInput
	// PostgreSQL maximum predicate locks per transaction.
	MaxPredLocksPerTransaction pulumi.IntPtrInput
	// PostgreSQL maximum prepared transactions. Once increased, this parameter cannot be lowered from its set value.
	MaxPreparedTransactions pulumi.IntPtrInput
	// PostgreSQL maximum replication slots.
	MaxReplicationSlots pulumi.IntPtrInput
	// Maximum depth of the stack in bytes.
	MaxStackDepth pulumi.IntPtrInput
	// Max standby archive delay in milliseconds.
	MaxStandbyArchiveDelay pulumi.IntPtrInput
	// Max standby streaming delay in milliseconds.
	MaxStandbyStreamingDelay pulumi.IntPtrInput
	// PostgreSQL maximum WAL senders. Once increased, this parameter cannot be lowered from its set value.
	MaxWalSenders pulumi.IntPtrInput
	// Sets the maximum number of background processes that the system can support. Once increased, this parameter cannot be lowered from its set value.
	MaxWorkerProcesses pulumi.IntPtrInput
	// Sets the time interval to run pg_partman's scheduled tasks.
	PgPartmanBgwInterval pulumi.IntPtrInput
	// Controls which role to use for pg_partman's scheduled background tasks. Must consist of alpha-numeric characters, dots, underscores, or dashes. May not start with dash or dot. Maximum of 64 characters.
	PgPartmanBgwRole pulumi.StringPtrInput
	// Controls which statements are counted. Specify 'top' to track top-level statements (those issued directly by clients), 'all' to also track nested statements (such as statements invoked within functions), or 'none' to disable statement statistics collection. The default value is top. Supported values are: `all`, `top`, `none`.
	PgStatStatementsTrack pulumi.StringPtrInput
	// PGBouncer connection pooling settings
	Pgbouncers DatabasePostgresqlConfigPgbouncerArrayInput
	// Percentage of total RAM that the database server uses for shared memory buffers. Valid range is 20-60 (float), which corresponds to 20% - 60%. This setting adjusts the sharedBuffers configuration value.
	SharedBuffersPercentage pulumi.Float64PtrInput
	// PostgreSQL temporary file limit in KiB. If -1, sets to unlimited.
	TempFileLimit pulumi.IntPtrInput
	// TimescaleDB extension configuration values
	Timescaledbs DatabasePostgresqlConfigTimescaledbArrayInput
	// PostgreSQL service timezone
	Timezone pulumi.StringPtrInput
	// Specifies the number of bytes reserved to track the currently executing command for each active session.
	TrackActivityQuerySize pulumi.IntPtrInput
	// Record commit time of transactions. The default value is top. Supported values are: `off`, `on`.
	TrackCommitTimestamp pulumi.StringPtrInput
	// Enables tracking of function call counts and time used. The default value is top. Supported values are: `all`, `pl`, `none`.
	TrackFunctions pulumi.StringPtrInput
	// Enables timing of database I/O calls. This parameter is off by default, because it will repeatedly query the operating system for the current time, which may cause significant overhead on some platforms. The default value is top. Supported values are: `off`, `on`.
	TrackIoTiming pulumi.StringPtrInput
	// Terminate replication connections that are inactive for longer than this amount of time, in milliseconds. Setting this value to zero disables the timeout. Must be either 0 or between 5000 and 10800000.
	WalSenderTimeout pulumi.IntPtrInput
	// WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance
	WalWriterDelay pulumi.IntPtrInput
	// The maximum amount of memory, in MB, used by a query operation (such as a sort or hash table) before writing to temporary disk files. Default is 1MB + 0.075% of total RAM (up to 32MB).
	WorkMem pulumi.IntPtrInput
}

The set of arguments for constructing a DatabasePostgresqlConfig resource.

func (DatabasePostgresqlConfigArgs) ElementType added in v4.28.0

type DatabasePostgresqlConfigArray added in v4.28.0

type DatabasePostgresqlConfigArray []DatabasePostgresqlConfigInput

func (DatabasePostgresqlConfigArray) ElementType added in v4.28.0

func (DatabasePostgresqlConfigArray) ToDatabasePostgresqlConfigArrayOutput added in v4.28.0

func (i DatabasePostgresqlConfigArray) ToDatabasePostgresqlConfigArrayOutput() DatabasePostgresqlConfigArrayOutput

func (DatabasePostgresqlConfigArray) ToDatabasePostgresqlConfigArrayOutputWithContext added in v4.28.0

func (i DatabasePostgresqlConfigArray) ToDatabasePostgresqlConfigArrayOutputWithContext(ctx context.Context) DatabasePostgresqlConfigArrayOutput

type DatabasePostgresqlConfigArrayInput added in v4.28.0

type DatabasePostgresqlConfigArrayInput interface {
	pulumi.Input

	ToDatabasePostgresqlConfigArrayOutput() DatabasePostgresqlConfigArrayOutput
	ToDatabasePostgresqlConfigArrayOutputWithContext(context.Context) DatabasePostgresqlConfigArrayOutput
}

DatabasePostgresqlConfigArrayInput is an input type that accepts DatabasePostgresqlConfigArray and DatabasePostgresqlConfigArrayOutput values. You can construct a concrete instance of `DatabasePostgresqlConfigArrayInput` via:

DatabasePostgresqlConfigArray{ DatabasePostgresqlConfigArgs{...} }

type DatabasePostgresqlConfigArrayOutput added in v4.28.0

type DatabasePostgresqlConfigArrayOutput struct{ *pulumi.OutputState }

func (DatabasePostgresqlConfigArrayOutput) ElementType added in v4.28.0

func (DatabasePostgresqlConfigArrayOutput) Index added in v4.28.0

func (DatabasePostgresqlConfigArrayOutput) ToDatabasePostgresqlConfigArrayOutput added in v4.28.0

func (o DatabasePostgresqlConfigArrayOutput) ToDatabasePostgresqlConfigArrayOutput() DatabasePostgresqlConfigArrayOutput

func (DatabasePostgresqlConfigArrayOutput) ToDatabasePostgresqlConfigArrayOutputWithContext added in v4.28.0

func (o DatabasePostgresqlConfigArrayOutput) ToDatabasePostgresqlConfigArrayOutputWithContext(ctx context.Context) DatabasePostgresqlConfigArrayOutput

type DatabasePostgresqlConfigInput added in v4.28.0

type DatabasePostgresqlConfigInput interface {
	pulumi.Input

	ToDatabasePostgresqlConfigOutput() DatabasePostgresqlConfigOutput
	ToDatabasePostgresqlConfigOutputWithContext(ctx context.Context) DatabasePostgresqlConfigOutput
}

type DatabasePostgresqlConfigMap added in v4.28.0

type DatabasePostgresqlConfigMap map[string]DatabasePostgresqlConfigInput

func (DatabasePostgresqlConfigMap) ElementType added in v4.28.0

func (DatabasePostgresqlConfigMap) ToDatabasePostgresqlConfigMapOutput added in v4.28.0

func (i DatabasePostgresqlConfigMap) ToDatabasePostgresqlConfigMapOutput() DatabasePostgresqlConfigMapOutput

func (DatabasePostgresqlConfigMap) ToDatabasePostgresqlConfigMapOutputWithContext added in v4.28.0

func (i DatabasePostgresqlConfigMap) ToDatabasePostgresqlConfigMapOutputWithContext(ctx context.Context) DatabasePostgresqlConfigMapOutput

type DatabasePostgresqlConfigMapInput added in v4.28.0

type DatabasePostgresqlConfigMapInput interface {
	pulumi.Input

	ToDatabasePostgresqlConfigMapOutput() DatabasePostgresqlConfigMapOutput
	ToDatabasePostgresqlConfigMapOutputWithContext(context.Context) DatabasePostgresqlConfigMapOutput
}

DatabasePostgresqlConfigMapInput is an input type that accepts DatabasePostgresqlConfigMap and DatabasePostgresqlConfigMapOutput values. You can construct a concrete instance of `DatabasePostgresqlConfigMapInput` via:

DatabasePostgresqlConfigMap{ "key": DatabasePostgresqlConfigArgs{...} }

type DatabasePostgresqlConfigMapOutput added in v4.28.0

type DatabasePostgresqlConfigMapOutput struct{ *pulumi.OutputState }

func (DatabasePostgresqlConfigMapOutput) ElementType added in v4.28.0

func (DatabasePostgresqlConfigMapOutput) MapIndex added in v4.28.0

func (DatabasePostgresqlConfigMapOutput) ToDatabasePostgresqlConfigMapOutput added in v4.28.0

func (o DatabasePostgresqlConfigMapOutput) ToDatabasePostgresqlConfigMapOutput() DatabasePostgresqlConfigMapOutput

func (DatabasePostgresqlConfigMapOutput) ToDatabasePostgresqlConfigMapOutputWithContext added in v4.28.0

func (o DatabasePostgresqlConfigMapOutput) ToDatabasePostgresqlConfigMapOutputWithContext(ctx context.Context) DatabasePostgresqlConfigMapOutput

type DatabasePostgresqlConfigOutput added in v4.28.0

type DatabasePostgresqlConfigOutput struct{ *pulumi.OutputState }

func (DatabasePostgresqlConfigOutput) AutovacuumAnalyzeScaleFactor added in v4.28.0

func (o DatabasePostgresqlConfigOutput) AutovacuumAnalyzeScaleFactor() pulumi.Float64Output

Specifies a fraction, in a decimal value, of the table size to add to autovacuumAnalyzeThreshold when deciding whether to trigger an ANALYZE. The default is 0.2 (20% of table size).

func (DatabasePostgresqlConfigOutput) AutovacuumAnalyzeThreshold added in v4.28.0

func (o DatabasePostgresqlConfigOutput) AutovacuumAnalyzeThreshold() pulumi.IntOutput

Specifies the minimum number of inserted, updated, or deleted tuples needed to trigger an ANALYZE in any one table. The default is 50 tuples.

func (DatabasePostgresqlConfigOutput) AutovacuumFreezeMaxAge added in v4.28.0

func (o DatabasePostgresqlConfigOutput) AutovacuumFreezeMaxAge() pulumi.IntOutput

Specifies the maximum age (in transactions) that a table's pg_class.relfrozenxid field can attain before a VACUUM operation is forced to prevent transaction ID wraparound within the table. Note that the system will launch autovacuum processes to prevent wraparound even when autovacuum is otherwise disabled. This parameter will cause the server to be restarted.

func (DatabasePostgresqlConfigOutput) AutovacuumMaxWorkers added in v4.28.0

func (o DatabasePostgresqlConfigOutput) AutovacuumMaxWorkers() pulumi.IntOutput

Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time. The default is three. This parameter can only be set at server start.

func (DatabasePostgresqlConfigOutput) AutovacuumNaptime added in v4.28.0

func (o DatabasePostgresqlConfigOutput) AutovacuumNaptime() pulumi.IntOutput

Specifies the minimum delay, in seconds, between autovacuum runs on any given database. The default is one minute.

func (DatabasePostgresqlConfigOutput) AutovacuumVacuumCostDelay added in v4.28.0

func (o DatabasePostgresqlConfigOutput) AutovacuumVacuumCostDelay() pulumi.IntOutput

Specifies the cost delay value, in milliseconds, that will be used in automatic VACUUM operations. If -1, uses the regular vacuumCostDelay value, which is 20 milliseconds.

func (DatabasePostgresqlConfigOutput) AutovacuumVacuumCostLimit added in v4.28.0

func (o DatabasePostgresqlConfigOutput) AutovacuumVacuumCostLimit() pulumi.IntOutput

Specifies the cost limit value that will be used in automatic VACUUM operations. If -1 is specified (which is the default), the regular vacuumCostLimit value will be used.

func (DatabasePostgresqlConfigOutput) AutovacuumVacuumScaleFactor added in v4.28.0

func (o DatabasePostgresqlConfigOutput) AutovacuumVacuumScaleFactor() pulumi.Float64Output

Specifies a fraction, in a decimal value, of the table size to add to autovacuumVacuumThreshold when deciding whether to trigger a VACUUM. The default is 0.2 (20% of table size).

func (DatabasePostgresqlConfigOutput) AutovacuumVacuumThreshold added in v4.28.0

func (o DatabasePostgresqlConfigOutput) AutovacuumVacuumThreshold() pulumi.IntOutput

Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is 50 tuples.

func (DatabasePostgresqlConfigOutput) BackupHour added in v4.28.0

The hour of day (in UTC) when backup for the service starts. New backup only starts if previous backup has already completed.

func (DatabasePostgresqlConfigOutput) BackupMinute added in v4.28.0

The minute of the backup hour when backup for the service starts. New backup is only started if previous backup has already completed.

func (DatabasePostgresqlConfigOutput) BgwriterDelay added in v4.28.0

Specifies the delay, in milliseconds, between activity rounds for the background writer. Default is 200 ms.

func (DatabasePostgresqlConfigOutput) BgwriterFlushAfter added in v4.28.0

func (o DatabasePostgresqlConfigOutput) BgwriterFlushAfter() pulumi.IntOutput

The amount of kilobytes that need to be written by the background writer before attempting to force the OS to issue these writes to underlying storage. Specified in kilobytes, default is 512. Setting of 0 disables forced writeback.

func (DatabasePostgresqlConfigOutput) BgwriterLruMaxpages added in v4.28.0

func (o DatabasePostgresqlConfigOutput) BgwriterLruMaxpages() pulumi.IntOutput

The maximum number of buffers that the background writer can write. Setting this to zero disables background writing. Default is 100.

func (DatabasePostgresqlConfigOutput) BgwriterLruMultiplier added in v4.28.0

func (o DatabasePostgresqlConfigOutput) BgwriterLruMultiplier() pulumi.Float64Output

The average recent need for new buffers is multiplied by bgwriterLruMultiplier to arrive at an estimate of the number that will be needed during the next round, (up to bgwriter_lru_maxpages). 1.0 represents a “just in time” policy of writing exactly the number of buffers predicted to be needed. Larger values provide some cushion against spikes in demand, while smaller values intentionally leave writes to be done by server processes. The default is 2.0.

func (DatabasePostgresqlConfigOutput) ClusterId added in v4.28.0

The ID of the target PostgreSQL cluster.

func (DatabasePostgresqlConfigOutput) DeadlockTimeout added in v4.28.0

func (o DatabasePostgresqlConfigOutput) DeadlockTimeout() pulumi.IntOutput

The amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition.

func (DatabasePostgresqlConfigOutput) DefaultToastCompression added in v4.28.0

func (o DatabasePostgresqlConfigOutput) DefaultToastCompression() pulumi.StringOutput

Specifies the default TOAST compression method for values of compressible columns (the default is lz4). Supported values are: `lz4`, `pglz`.

func (DatabasePostgresqlConfigOutput) ElementType added in v4.28.0

func (DatabasePostgresqlConfigOutput) IdleInTransactionSessionTimeout added in v4.28.0

func (o DatabasePostgresqlConfigOutput) IdleInTransactionSessionTimeout() pulumi.IntOutput

Time out sessions with open transactions after this number of milliseconds

func (DatabasePostgresqlConfigOutput) Jit added in v4.28.0

Activates, in a boolean, the system-wide use of Just-in-Time Compilation (JIT).

func (DatabasePostgresqlConfigOutput) LogAutovacuumMinDuration added in v4.28.0

func (o DatabasePostgresqlConfigOutput) LogAutovacuumMinDuration() pulumi.IntOutput

Causes each action executed by autovacuum to be logged if it ran for at least the specified number of milliseconds. Setting this to zero logs all autovacuum actions. Minus-one (the default) disables logging autovacuum actions.

func (DatabasePostgresqlConfigOutput) LogErrorVerbosity added in v4.28.0

func (o DatabasePostgresqlConfigOutput) LogErrorVerbosity() pulumi.StringOutput

Controls the amount of detail written in the server log for each message that is logged. Supported values are: `TERSE`, `DEFAULT`, `VERBOSE`.

func (DatabasePostgresqlConfigOutput) LogLinePrefix added in v4.28.0

Selects one of the available log-formats. These can support popular log analyzers like pgbadger, pganalyze, etc. Supported values are: `pid=%p,user=%u,db=%d,app=%a,client=%h`, `%m [%p] %q[user=%u,db=%d,app=%a]`, `%t [%p]: [%l-1] user=%u,db=%d,app=%a,client=%h`.

func (DatabasePostgresqlConfigOutput) LogMinDurationStatement added in v4.28.0

func (o DatabasePostgresqlConfigOutput) LogMinDurationStatement() pulumi.IntOutput

Log statements that take more than this number of milliseconds to run. If -1, disables.

func (DatabasePostgresqlConfigOutput) MaxFilesPerProcess added in v4.28.0

func (o DatabasePostgresqlConfigOutput) MaxFilesPerProcess() pulumi.IntOutput

PostgreSQL maximum number of files that can be open per process.

func (DatabasePostgresqlConfigOutput) MaxLocksPerTransaction added in v4.28.0

func (o DatabasePostgresqlConfigOutput) MaxLocksPerTransaction() pulumi.IntOutput

PostgreSQL maximum locks per transaction. Once increased, this parameter cannot be lowered from its set value.

func (DatabasePostgresqlConfigOutput) MaxLogicalReplicationWorkers added in v4.28.0

func (o DatabasePostgresqlConfigOutput) MaxLogicalReplicationWorkers() pulumi.IntOutput

PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).

func (DatabasePostgresqlConfigOutput) MaxParallelWorkers added in v4.28.0

func (o DatabasePostgresqlConfigOutput) MaxParallelWorkers() pulumi.IntOutput

Sets the maximum number of workers that the system can support for parallel queries.

func (DatabasePostgresqlConfigOutput) MaxParallelWorkersPerGather added in v4.28.0

func (o DatabasePostgresqlConfigOutput) MaxParallelWorkersPerGather() pulumi.IntOutput

Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.

func (DatabasePostgresqlConfigOutput) MaxPredLocksPerTransaction added in v4.28.0

func (o DatabasePostgresqlConfigOutput) MaxPredLocksPerTransaction() pulumi.IntOutput

PostgreSQL maximum predicate locks per transaction.

func (DatabasePostgresqlConfigOutput) MaxPreparedTransactions added in v4.28.0

func (o DatabasePostgresqlConfigOutput) MaxPreparedTransactions() pulumi.IntOutput

PostgreSQL maximum prepared transactions. Once increased, this parameter cannot be lowered from its set value.

func (DatabasePostgresqlConfigOutput) MaxReplicationSlots added in v4.28.0

func (o DatabasePostgresqlConfigOutput) MaxReplicationSlots() pulumi.IntOutput

PostgreSQL maximum replication slots.

func (DatabasePostgresqlConfigOutput) MaxStackDepth added in v4.28.0

Maximum depth of the stack in bytes.

func (DatabasePostgresqlConfigOutput) MaxStandbyArchiveDelay added in v4.28.0

func (o DatabasePostgresqlConfigOutput) MaxStandbyArchiveDelay() pulumi.IntOutput

Max standby archive delay in milliseconds.

func (DatabasePostgresqlConfigOutput) MaxStandbyStreamingDelay added in v4.28.0

func (o DatabasePostgresqlConfigOutput) MaxStandbyStreamingDelay() pulumi.IntOutput

Max standby streaming delay in milliseconds.

func (DatabasePostgresqlConfigOutput) MaxWalSenders added in v4.28.0

PostgreSQL maximum WAL senders. Once increased, this parameter cannot be lowered from its set value.

func (DatabasePostgresqlConfigOutput) MaxWorkerProcesses added in v4.28.0

func (o DatabasePostgresqlConfigOutput) MaxWorkerProcesses() pulumi.IntOutput

Sets the maximum number of background processes that the system can support. Once increased, this parameter cannot be lowered from its set value.

func (DatabasePostgresqlConfigOutput) PgPartmanBgwInterval added in v4.28.0

func (o DatabasePostgresqlConfigOutput) PgPartmanBgwInterval() pulumi.IntOutput

Sets the time interval to run pg_partman's scheduled tasks.

func (DatabasePostgresqlConfigOutput) PgPartmanBgwRole added in v4.28.0

func (o DatabasePostgresqlConfigOutput) PgPartmanBgwRole() pulumi.StringOutput

Controls which role to use for pg_partman's scheduled background tasks. Must consist of alpha-numeric characters, dots, underscores, or dashes. May not start with dash or dot. Maximum of 64 characters.

func (DatabasePostgresqlConfigOutput) PgStatStatementsTrack added in v4.28.0

func (o DatabasePostgresqlConfigOutput) PgStatStatementsTrack() pulumi.StringOutput

Controls which statements are counted. Specify 'top' to track top-level statements (those issued directly by clients), 'all' to also track nested statements (such as statements invoked within functions), or 'none' to disable statement statistics collection. The default value is top. Supported values are: `all`, `top`, `none`.

func (DatabasePostgresqlConfigOutput) Pgbouncers added in v4.28.0

PGBouncer connection pooling settings

func (DatabasePostgresqlConfigOutput) SharedBuffersPercentage added in v4.28.0

func (o DatabasePostgresqlConfigOutput) SharedBuffersPercentage() pulumi.Float64Output

Percentage of total RAM that the database server uses for shared memory buffers. Valid range is 20-60 (float), which corresponds to 20% - 60%. This setting adjusts the sharedBuffers configuration value.

func (DatabasePostgresqlConfigOutput) TempFileLimit added in v4.28.0

PostgreSQL temporary file limit in KiB. If -1, sets to unlimited.

func (DatabasePostgresqlConfigOutput) Timescaledbs added in v4.28.0

TimescaleDB extension configuration values

func (DatabasePostgresqlConfigOutput) Timezone added in v4.28.0

PostgreSQL service timezone

func (DatabasePostgresqlConfigOutput) ToDatabasePostgresqlConfigOutput added in v4.28.0

func (o DatabasePostgresqlConfigOutput) ToDatabasePostgresqlConfigOutput() DatabasePostgresqlConfigOutput

func (DatabasePostgresqlConfigOutput) ToDatabasePostgresqlConfigOutputWithContext added in v4.28.0

func (o DatabasePostgresqlConfigOutput) ToDatabasePostgresqlConfigOutputWithContext(ctx context.Context) DatabasePostgresqlConfigOutput

func (DatabasePostgresqlConfigOutput) TrackActivityQuerySize added in v4.28.0

func (o DatabasePostgresqlConfigOutput) TrackActivityQuerySize() pulumi.IntOutput

Specifies the number of bytes reserved to track the currently executing command for each active session.

func (DatabasePostgresqlConfigOutput) TrackCommitTimestamp added in v4.28.0

func (o DatabasePostgresqlConfigOutput) TrackCommitTimestamp() pulumi.StringOutput

Record commit time of transactions. The default value is top. Supported values are: `off`, `on`.

func (DatabasePostgresqlConfigOutput) TrackFunctions added in v4.28.0

Enables tracking of function call counts and time used. The default value is top. Supported values are: `all`, `pl`, `none`.

func (DatabasePostgresqlConfigOutput) TrackIoTiming added in v4.28.0

Enables timing of database I/O calls. This parameter is off by default, because it will repeatedly query the operating system for the current time, which may cause significant overhead on some platforms. The default value is top. Supported values are: `off`, `on`.

func (DatabasePostgresqlConfigOutput) WalSenderTimeout added in v4.28.0

func (o DatabasePostgresqlConfigOutput) WalSenderTimeout() pulumi.IntOutput

Terminate replication connections that are inactive for longer than this amount of time, in milliseconds. Setting this value to zero disables the timeout. Must be either 0 or between 5000 and 10800000.

func (DatabasePostgresqlConfigOutput) WalWriterDelay added in v4.28.0

func (o DatabasePostgresqlConfigOutput) WalWriterDelay() pulumi.IntOutput

WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance

func (DatabasePostgresqlConfigOutput) WorkMem added in v4.28.0

The maximum amount of memory, in MB, used by a query operation (such as a sort or hash table) before writing to temporary disk files. Default is 1MB + 0.075% of total RAM (up to 32MB).

type DatabasePostgresqlConfigPgbouncer added in v4.28.0

type DatabasePostgresqlConfigPgbouncer struct {
	AutodbIdleTimeout       *int     `pulumi:"autodbIdleTimeout"`
	AutodbMaxDbConnections  *int     `pulumi:"autodbMaxDbConnections"`
	AutodbPoolMode          *string  `pulumi:"autodbPoolMode"`
	AutodbPoolSize          *int     `pulumi:"autodbPoolSize"`
	IgnoreStartupParameters []string `pulumi:"ignoreStartupParameters"`
	MinPoolSize             *int     `pulumi:"minPoolSize"`
	ServerIdleTimeout       *int     `pulumi:"serverIdleTimeout"`
	ServerLifetime          *int     `pulumi:"serverLifetime"`
	ServerResetQueryAlways  *bool    `pulumi:"serverResetQueryAlways"`
}

type DatabasePostgresqlConfigPgbouncerArgs added in v4.28.0

type DatabasePostgresqlConfigPgbouncerArgs struct {
	AutodbIdleTimeout       pulumi.IntPtrInput      `pulumi:"autodbIdleTimeout"`
	AutodbMaxDbConnections  pulumi.IntPtrInput      `pulumi:"autodbMaxDbConnections"`
	AutodbPoolMode          pulumi.StringPtrInput   `pulumi:"autodbPoolMode"`
	AutodbPoolSize          pulumi.IntPtrInput      `pulumi:"autodbPoolSize"`
	IgnoreStartupParameters pulumi.StringArrayInput `pulumi:"ignoreStartupParameters"`
	MinPoolSize             pulumi.IntPtrInput      `pulumi:"minPoolSize"`
	ServerIdleTimeout       pulumi.IntPtrInput      `pulumi:"serverIdleTimeout"`
	ServerLifetime          pulumi.IntPtrInput      `pulumi:"serverLifetime"`
	ServerResetQueryAlways  pulumi.BoolPtrInput     `pulumi:"serverResetQueryAlways"`
}

func (DatabasePostgresqlConfigPgbouncerArgs) ElementType added in v4.28.0

func (DatabasePostgresqlConfigPgbouncerArgs) ToDatabasePostgresqlConfigPgbouncerOutput added in v4.28.0

func (i DatabasePostgresqlConfigPgbouncerArgs) ToDatabasePostgresqlConfigPgbouncerOutput() DatabasePostgresqlConfigPgbouncerOutput

func (DatabasePostgresqlConfigPgbouncerArgs) ToDatabasePostgresqlConfigPgbouncerOutputWithContext added in v4.28.0

func (i DatabasePostgresqlConfigPgbouncerArgs) ToDatabasePostgresqlConfigPgbouncerOutputWithContext(ctx context.Context) DatabasePostgresqlConfigPgbouncerOutput

type DatabasePostgresqlConfigPgbouncerArray added in v4.28.0

type DatabasePostgresqlConfigPgbouncerArray []DatabasePostgresqlConfigPgbouncerInput

func (DatabasePostgresqlConfigPgbouncerArray) ElementType added in v4.28.0

func (DatabasePostgresqlConfigPgbouncerArray) ToDatabasePostgresqlConfigPgbouncerArrayOutput added in v4.28.0

func (i DatabasePostgresqlConfigPgbouncerArray) ToDatabasePostgresqlConfigPgbouncerArrayOutput() DatabasePostgresqlConfigPgbouncerArrayOutput

func (DatabasePostgresqlConfigPgbouncerArray) ToDatabasePostgresqlConfigPgbouncerArrayOutputWithContext added in v4.28.0

func (i DatabasePostgresqlConfigPgbouncerArray) ToDatabasePostgresqlConfigPgbouncerArrayOutputWithContext(ctx context.Context) DatabasePostgresqlConfigPgbouncerArrayOutput

type DatabasePostgresqlConfigPgbouncerArrayInput added in v4.28.0

type DatabasePostgresqlConfigPgbouncerArrayInput interface {
	pulumi.Input

	ToDatabasePostgresqlConfigPgbouncerArrayOutput() DatabasePostgresqlConfigPgbouncerArrayOutput
	ToDatabasePostgresqlConfigPgbouncerArrayOutputWithContext(context.Context) DatabasePostgresqlConfigPgbouncerArrayOutput
}

DatabasePostgresqlConfigPgbouncerArrayInput is an input type that accepts DatabasePostgresqlConfigPgbouncerArray and DatabasePostgresqlConfigPgbouncerArrayOutput values. You can construct a concrete instance of `DatabasePostgresqlConfigPgbouncerArrayInput` via:

DatabasePostgresqlConfigPgbouncerArray{ DatabasePostgresqlConfigPgbouncerArgs{...} }

type DatabasePostgresqlConfigPgbouncerArrayOutput added in v4.28.0

type DatabasePostgresqlConfigPgbouncerArrayOutput struct{ *pulumi.OutputState }

func (DatabasePostgresqlConfigPgbouncerArrayOutput) ElementType added in v4.28.0

func (DatabasePostgresqlConfigPgbouncerArrayOutput) Index added in v4.28.0

func (DatabasePostgresqlConfigPgbouncerArrayOutput) ToDatabasePostgresqlConfigPgbouncerArrayOutput added in v4.28.0

func (o DatabasePostgresqlConfigPgbouncerArrayOutput) ToDatabasePostgresqlConfigPgbouncerArrayOutput() DatabasePostgresqlConfigPgbouncerArrayOutput

func (DatabasePostgresqlConfigPgbouncerArrayOutput) ToDatabasePostgresqlConfigPgbouncerArrayOutputWithContext added in v4.28.0

func (o DatabasePostgresqlConfigPgbouncerArrayOutput) ToDatabasePostgresqlConfigPgbouncerArrayOutputWithContext(ctx context.Context) DatabasePostgresqlConfigPgbouncerArrayOutput

type DatabasePostgresqlConfigPgbouncerInput added in v4.28.0

type DatabasePostgresqlConfigPgbouncerInput interface {
	pulumi.Input

	ToDatabasePostgresqlConfigPgbouncerOutput() DatabasePostgresqlConfigPgbouncerOutput
	ToDatabasePostgresqlConfigPgbouncerOutputWithContext(context.Context) DatabasePostgresqlConfigPgbouncerOutput
}

DatabasePostgresqlConfigPgbouncerInput is an input type that accepts DatabasePostgresqlConfigPgbouncerArgs and DatabasePostgresqlConfigPgbouncerOutput values. You can construct a concrete instance of `DatabasePostgresqlConfigPgbouncerInput` via:

DatabasePostgresqlConfigPgbouncerArgs{...}

type DatabasePostgresqlConfigPgbouncerOutput added in v4.28.0

type DatabasePostgresqlConfigPgbouncerOutput struct{ *pulumi.OutputState }

func (DatabasePostgresqlConfigPgbouncerOutput) AutodbIdleTimeout added in v4.28.0

func (DatabasePostgresqlConfigPgbouncerOutput) AutodbMaxDbConnections added in v4.28.0

func (o DatabasePostgresqlConfigPgbouncerOutput) AutodbMaxDbConnections() pulumi.IntPtrOutput

func (DatabasePostgresqlConfigPgbouncerOutput) AutodbPoolMode added in v4.28.0

func (DatabasePostgresqlConfigPgbouncerOutput) AutodbPoolSize added in v4.28.0

func (DatabasePostgresqlConfigPgbouncerOutput) ElementType added in v4.28.0

func (DatabasePostgresqlConfigPgbouncerOutput) IgnoreStartupParameters added in v4.28.0

func (DatabasePostgresqlConfigPgbouncerOutput) MinPoolSize added in v4.28.0

func (DatabasePostgresqlConfigPgbouncerOutput) ServerIdleTimeout added in v4.28.0

func (DatabasePostgresqlConfigPgbouncerOutput) ServerLifetime added in v4.28.0

func (DatabasePostgresqlConfigPgbouncerOutput) ServerResetQueryAlways added in v4.28.0

func (DatabasePostgresqlConfigPgbouncerOutput) ToDatabasePostgresqlConfigPgbouncerOutput added in v4.28.0

func (o DatabasePostgresqlConfigPgbouncerOutput) ToDatabasePostgresqlConfigPgbouncerOutput() DatabasePostgresqlConfigPgbouncerOutput

func (DatabasePostgresqlConfigPgbouncerOutput) ToDatabasePostgresqlConfigPgbouncerOutputWithContext added in v4.28.0

func (o DatabasePostgresqlConfigPgbouncerOutput) ToDatabasePostgresqlConfigPgbouncerOutputWithContext(ctx context.Context) DatabasePostgresqlConfigPgbouncerOutput

type DatabasePostgresqlConfigState added in v4.28.0

type DatabasePostgresqlConfigState struct {
	// Specifies a fraction, in a decimal value, of the table size to add to autovacuumAnalyzeThreshold when deciding whether to trigger an ANALYZE. The default is 0.2 (20% of table size).
	AutovacuumAnalyzeScaleFactor pulumi.Float64PtrInput
	// Specifies the minimum number of inserted, updated, or deleted tuples needed to trigger an ANALYZE in any one table. The default is 50 tuples.
	AutovacuumAnalyzeThreshold pulumi.IntPtrInput
	// Specifies the maximum age (in transactions) that a table's pg_class.relfrozenxid field can attain before a VACUUM operation is forced to prevent transaction ID wraparound within the table. Note that the system will launch autovacuum processes to prevent wraparound even when autovacuum is otherwise disabled. This parameter will cause the server to be restarted.
	AutovacuumFreezeMaxAge pulumi.IntPtrInput
	// Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time. The default is three. This parameter can only be set at server start.
	AutovacuumMaxWorkers pulumi.IntPtrInput
	// Specifies the minimum delay, in seconds, between autovacuum runs on any given database. The default is one minute.
	AutovacuumNaptime pulumi.IntPtrInput
	// Specifies the cost delay value, in milliseconds, that will be used in automatic VACUUM operations. If -1, uses the regular vacuumCostDelay value, which is 20 milliseconds.
	AutovacuumVacuumCostDelay pulumi.IntPtrInput
	// Specifies the cost limit value that will be used in automatic VACUUM operations. If -1 is specified (which is the default), the regular vacuumCostLimit value will be used.
	AutovacuumVacuumCostLimit pulumi.IntPtrInput
	// Specifies a fraction, in a decimal value, of the table size to add to autovacuumVacuumThreshold when deciding whether to trigger a VACUUM. The default is 0.2 (20% of table size).
	AutovacuumVacuumScaleFactor pulumi.Float64PtrInput
	// Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is 50 tuples.
	AutovacuumVacuumThreshold pulumi.IntPtrInput
	// The hour of day (in UTC) when backup for the service starts. New backup only starts if previous backup has already completed.
	BackupHour pulumi.IntPtrInput
	// The minute of the backup hour when backup for the service starts. New backup is only started if previous backup has already completed.
	BackupMinute pulumi.IntPtrInput
	// Specifies the delay, in milliseconds, between activity rounds for the background writer. Default is 200 ms.
	BgwriterDelay pulumi.IntPtrInput
	// The amount of kilobytes that need to be written by the background writer before attempting to force the OS to issue these writes to underlying storage. Specified in kilobytes, default is 512. Setting of 0 disables forced writeback.
	BgwriterFlushAfter pulumi.IntPtrInput
	// The maximum number of buffers that the background writer can write. Setting this to zero disables background writing. Default is 100.
	BgwriterLruMaxpages pulumi.IntPtrInput
	// The average recent need for new buffers is multiplied by bgwriterLruMultiplier to arrive at an estimate of the number that will be needed during the next round, (up to bgwriter_lru_maxpages). 1.0 represents a “just in time” policy of writing exactly the number of buffers predicted to be needed. Larger values provide some cushion against spikes in demand, while smaller values intentionally leave writes to be done by server processes. The default is 2.0.
	BgwriterLruMultiplier pulumi.Float64PtrInput
	// The ID of the target PostgreSQL cluster.
	ClusterId pulumi.StringPtrInput
	// The amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition.
	DeadlockTimeout pulumi.IntPtrInput
	// Specifies the default TOAST compression method for values of compressible columns (the default is lz4). Supported values are: `lz4`, `pglz`.
	DefaultToastCompression pulumi.StringPtrInput
	// Time out sessions with open transactions after this number of milliseconds
	IdleInTransactionSessionTimeout pulumi.IntPtrInput
	// Activates, in a boolean, the system-wide use of Just-in-Time Compilation (JIT).
	Jit pulumi.BoolPtrInput
	// Causes each action executed by autovacuum to be logged if it ran for at least the specified number of milliseconds. Setting this to zero logs all autovacuum actions. Minus-one (the default) disables logging autovacuum actions.
	LogAutovacuumMinDuration pulumi.IntPtrInput
	// Controls the amount of detail written in the server log for each message that is logged. Supported values are: `TERSE`, `DEFAULT`, `VERBOSE`.
	LogErrorVerbosity pulumi.StringPtrInput
	// Selects one of the available log-formats. These can support popular log analyzers like pgbadger, pganalyze, etc. Supported values are: `pid=%p,user=%u,db=%d,app=%a,client=%h`, `%m [%p] %q[user=%u,db=%d,app=%a]`, `%t [%p]: [%l-1] user=%u,db=%d,app=%a,client=%h`.
	LogLinePrefix pulumi.StringPtrInput
	// Log statements that take more than this number of milliseconds to run. If -1, disables.
	LogMinDurationStatement pulumi.IntPtrInput
	// PostgreSQL maximum number of files that can be open per process.
	MaxFilesPerProcess pulumi.IntPtrInput
	// PostgreSQL maximum locks per transaction. Once increased, this parameter cannot be lowered from its set value.
	MaxLocksPerTransaction pulumi.IntPtrInput
	// PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
	MaxLogicalReplicationWorkers pulumi.IntPtrInput
	// Sets the maximum number of workers that the system can support for parallel queries.
	MaxParallelWorkers pulumi.IntPtrInput
	// Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
	MaxParallelWorkersPerGather pulumi.IntPtrInput
	// PostgreSQL maximum predicate locks per transaction.
	MaxPredLocksPerTransaction pulumi.IntPtrInput
	// PostgreSQL maximum prepared transactions. Once increased, this parameter cannot be lowered from its set value.
	MaxPreparedTransactions pulumi.IntPtrInput
	// PostgreSQL maximum replication slots.
	MaxReplicationSlots pulumi.IntPtrInput
	// Maximum depth of the stack in bytes.
	MaxStackDepth pulumi.IntPtrInput
	// Max standby archive delay in milliseconds.
	MaxStandbyArchiveDelay pulumi.IntPtrInput
	// Max standby streaming delay in milliseconds.
	MaxStandbyStreamingDelay pulumi.IntPtrInput
	// PostgreSQL maximum WAL senders. Once increased, this parameter cannot be lowered from its set value.
	MaxWalSenders pulumi.IntPtrInput
	// Sets the maximum number of background processes that the system can support. Once increased, this parameter cannot be lowered from its set value.
	MaxWorkerProcesses pulumi.IntPtrInput
	// Sets the time interval to run pg_partman's scheduled tasks.
	PgPartmanBgwInterval pulumi.IntPtrInput
	// Controls which role to use for pg_partman's scheduled background tasks. Must consist of alpha-numeric characters, dots, underscores, or dashes. May not start with dash or dot. Maximum of 64 characters.
	PgPartmanBgwRole pulumi.StringPtrInput
	// Controls which statements are counted. Specify 'top' to track top-level statements (those issued directly by clients), 'all' to also track nested statements (such as statements invoked within functions), or 'none' to disable statement statistics collection. The default value is top. Supported values are: `all`, `top`, `none`.
	PgStatStatementsTrack pulumi.StringPtrInput
	// PGBouncer connection pooling settings
	Pgbouncers DatabasePostgresqlConfigPgbouncerArrayInput
	// Percentage of total RAM that the database server uses for shared memory buffers. Valid range is 20-60 (float), which corresponds to 20% - 60%. This setting adjusts the sharedBuffers configuration value.
	SharedBuffersPercentage pulumi.Float64PtrInput
	// PostgreSQL temporary file limit in KiB. If -1, sets to unlimited.
	TempFileLimit pulumi.IntPtrInput
	// TimescaleDB extension configuration values
	Timescaledbs DatabasePostgresqlConfigTimescaledbArrayInput
	// PostgreSQL service timezone
	Timezone pulumi.StringPtrInput
	// Specifies the number of bytes reserved to track the currently executing command for each active session.
	TrackActivityQuerySize pulumi.IntPtrInput
	// Record commit time of transactions. The default value is top. Supported values are: `off`, `on`.
	TrackCommitTimestamp pulumi.StringPtrInput
	// Enables tracking of function call counts and time used. The default value is top. Supported values are: `all`, `pl`, `none`.
	TrackFunctions pulumi.StringPtrInput
	// Enables timing of database I/O calls. This parameter is off by default, because it will repeatedly query the operating system for the current time, which may cause significant overhead on some platforms. The default value is top. Supported values are: `off`, `on`.
	TrackIoTiming pulumi.StringPtrInput
	// Terminate replication connections that are inactive for longer than this amount of time, in milliseconds. Setting this value to zero disables the timeout. Must be either 0 or between 5000 and 10800000.
	WalSenderTimeout pulumi.IntPtrInput
	// WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance
	WalWriterDelay pulumi.IntPtrInput
	// The maximum amount of memory, in MB, used by a query operation (such as a sort or hash table) before writing to temporary disk files. Default is 1MB + 0.075% of total RAM (up to 32MB).
	WorkMem pulumi.IntPtrInput
}

func (DatabasePostgresqlConfigState) ElementType added in v4.28.0

type DatabasePostgresqlConfigTimescaledb added in v4.28.0

type DatabasePostgresqlConfigTimescaledb struct {
	// TimescaleDB extension configuration values
	Timescaledb *int `pulumi:"timescaledb"`
}

type DatabasePostgresqlConfigTimescaledbArgs added in v4.28.0

type DatabasePostgresqlConfigTimescaledbArgs struct {
	// TimescaleDB extension configuration values
	Timescaledb pulumi.IntPtrInput `pulumi:"timescaledb"`
}

func (DatabasePostgresqlConfigTimescaledbArgs) ElementType added in v4.28.0

func (DatabasePostgresqlConfigTimescaledbArgs) ToDatabasePostgresqlConfigTimescaledbOutput added in v4.28.0

func (i DatabasePostgresqlConfigTimescaledbArgs) ToDatabasePostgresqlConfigTimescaledbOutput() DatabasePostgresqlConfigTimescaledbOutput

func (DatabasePostgresqlConfigTimescaledbArgs) ToDatabasePostgresqlConfigTimescaledbOutputWithContext added in v4.28.0

func (i DatabasePostgresqlConfigTimescaledbArgs) ToDatabasePostgresqlConfigTimescaledbOutputWithContext(ctx context.Context) DatabasePostgresqlConfigTimescaledbOutput

type DatabasePostgresqlConfigTimescaledbArray added in v4.28.0

type DatabasePostgresqlConfigTimescaledbArray []DatabasePostgresqlConfigTimescaledbInput

func (DatabasePostgresqlConfigTimescaledbArray) ElementType added in v4.28.0

func (DatabasePostgresqlConfigTimescaledbArray) ToDatabasePostgresqlConfigTimescaledbArrayOutput added in v4.28.0

func (i DatabasePostgresqlConfigTimescaledbArray) ToDatabasePostgresqlConfigTimescaledbArrayOutput() DatabasePostgresqlConfigTimescaledbArrayOutput

func (DatabasePostgresqlConfigTimescaledbArray) ToDatabasePostgresqlConfigTimescaledbArrayOutputWithContext added in v4.28.0

func (i DatabasePostgresqlConfigTimescaledbArray) ToDatabasePostgresqlConfigTimescaledbArrayOutputWithContext(ctx context.Context) DatabasePostgresqlConfigTimescaledbArrayOutput

type DatabasePostgresqlConfigTimescaledbArrayInput added in v4.28.0

type DatabasePostgresqlConfigTimescaledbArrayInput interface {
	pulumi.Input

	ToDatabasePostgresqlConfigTimescaledbArrayOutput() DatabasePostgresqlConfigTimescaledbArrayOutput
	ToDatabasePostgresqlConfigTimescaledbArrayOutputWithContext(context.Context) DatabasePostgresqlConfigTimescaledbArrayOutput
}

DatabasePostgresqlConfigTimescaledbArrayInput is an input type that accepts DatabasePostgresqlConfigTimescaledbArray and DatabasePostgresqlConfigTimescaledbArrayOutput values. You can construct a concrete instance of `DatabasePostgresqlConfigTimescaledbArrayInput` via:

DatabasePostgresqlConfigTimescaledbArray{ DatabasePostgresqlConfigTimescaledbArgs{...} }

type DatabasePostgresqlConfigTimescaledbArrayOutput added in v4.28.0

type DatabasePostgresqlConfigTimescaledbArrayOutput struct{ *pulumi.OutputState }

func (DatabasePostgresqlConfigTimescaledbArrayOutput) ElementType added in v4.28.0

func (DatabasePostgresqlConfigTimescaledbArrayOutput) Index added in v4.28.0

func (DatabasePostgresqlConfigTimescaledbArrayOutput) ToDatabasePostgresqlConfigTimescaledbArrayOutput added in v4.28.0

func (o DatabasePostgresqlConfigTimescaledbArrayOutput) ToDatabasePostgresqlConfigTimescaledbArrayOutput() DatabasePostgresqlConfigTimescaledbArrayOutput

func (DatabasePostgresqlConfigTimescaledbArrayOutput) ToDatabasePostgresqlConfigTimescaledbArrayOutputWithContext added in v4.28.0

func (o DatabasePostgresqlConfigTimescaledbArrayOutput) ToDatabasePostgresqlConfigTimescaledbArrayOutputWithContext(ctx context.Context) DatabasePostgresqlConfigTimescaledbArrayOutput

type DatabasePostgresqlConfigTimescaledbInput added in v4.28.0

type DatabasePostgresqlConfigTimescaledbInput interface {
	pulumi.Input

	ToDatabasePostgresqlConfigTimescaledbOutput() DatabasePostgresqlConfigTimescaledbOutput
	ToDatabasePostgresqlConfigTimescaledbOutputWithContext(context.Context) DatabasePostgresqlConfigTimescaledbOutput
}

DatabasePostgresqlConfigTimescaledbInput is an input type that accepts DatabasePostgresqlConfigTimescaledbArgs and DatabasePostgresqlConfigTimescaledbOutput values. You can construct a concrete instance of `DatabasePostgresqlConfigTimescaledbInput` via:

DatabasePostgresqlConfigTimescaledbArgs{...}

type DatabasePostgresqlConfigTimescaledbOutput added in v4.28.0

type DatabasePostgresqlConfigTimescaledbOutput struct{ *pulumi.OutputState }

func (DatabasePostgresqlConfigTimescaledbOutput) ElementType added in v4.28.0

func (DatabasePostgresqlConfigTimescaledbOutput) Timescaledb added in v4.28.0

TimescaleDB extension configuration values

func (DatabasePostgresqlConfigTimescaledbOutput) ToDatabasePostgresqlConfigTimescaledbOutput added in v4.28.0

func (o DatabasePostgresqlConfigTimescaledbOutput) ToDatabasePostgresqlConfigTimescaledbOutput() DatabasePostgresqlConfigTimescaledbOutput

func (DatabasePostgresqlConfigTimescaledbOutput) ToDatabasePostgresqlConfigTimescaledbOutputWithContext added in v4.28.0

func (o DatabasePostgresqlConfigTimescaledbOutput) ToDatabasePostgresqlConfigTimescaledbOutputWithContext(ctx context.Context) DatabasePostgresqlConfigTimescaledbOutput

type DatabaseRedisConfig added in v4.23.0

type DatabaseRedisConfig struct {
	pulumi.CustomResourceState

	// Determines default pub/sub channels' ACL for new users if an ACL is not supplied. When this option is not defined, `allchannels` is assumed to keep backward compatibility. This option doesn't affect Redis' `acl-pubsub-default` configuration. Supported values are: `allchannels` and `resetchannels`
	AclChannelsDefault pulumi.StringOutput `pulumi:"aclChannelsDefault"`
	// The ID of the target Redis cluster.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// The Redis IO thread count.
	IoThreads pulumi.IntOutput `pulumi:"ioThreads"`
	// The LFU maxmemory policy counter decay time in minutes.
	LfuDecayTime pulumi.IntOutput `pulumi:"lfuDecayTime"`
	// The counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory policies.
	LfuLogFactor pulumi.IntOutput `pulumi:"lfuLogFactor"`
	// A string specifying the desired eviction policy for the Redis cluster.Supported values are: `noeviction`, `allkeys-lru`, `allkeys-random`, `volatile-lru`, `volatile-random`, `volatile-ttl`
	MaxmemoryPolicy pulumi.StringOutput `pulumi:"maxmemoryPolicy"`
	// The `notify-keyspace-events` option. Requires at least `K` or `E`.
	NotifyKeyspaceEvents pulumi.StringOutput `pulumi:"notifyKeyspaceEvents"`
	// The number of Redis databases. Changing this will cause a restart of Redis service.
	NumberOfDatabases pulumi.IntOutput `pulumi:"numberOfDatabases"`
	// When persistence is `rdb`, Redis does RDB dumps each 10 minutes if any key is changed. Also RDB dumps are done according to backup schedule for backup purposes. When persistence is `off`, no RDB dumps and backups are done, so data can be lost at any moment if service is restarted for any reason, or if service is powered off. Also service can't be forked.
	Persistence pulumi.StringOutput `pulumi:"persistence"`
	// The output buffer limit for pub/sub clients in MB. The value is the hard limit, the soft limit is 1/4 of the hard limit. When setting the limit, be mindful of the available memory in the selected service plan.
	PubsubClientOutputBufferLimit pulumi.IntOutput `pulumi:"pubsubClientOutputBufferLimit"`
	// A boolean indicating whether to require SSL to access Redis.
	Ssl pulumi.BoolOutput `pulumi:"ssl"`
	// The Redis idle connection timeout in seconds.
	Timeout pulumi.IntOutput `pulumi:"timeout"`
}

Provides a virtual resource that can be used to change advanced configuration options for a DigitalOcean managed Redis database cluster.

> **Note** Redis configurations are only removed from state when destroyed. The remote configuration is not unset.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleDatabaseCluster, err := digitalocean.NewDatabaseCluster(ctx, "exampleDatabaseCluster", &digitalocean.DatabaseClusterArgs{
			Engine:    pulumi.String("redis"),
			Version:   pulumi.String("7"),
			Size:      pulumi.String(digitalocean.DatabaseSlug_DB_1VPCU1GB),
			Region:    pulumi.String(digitalocean.RegionNYC1),
			NodeCount: pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewDatabaseRedisConfig(ctx, "exampleDatabaseRedisConfig", &digitalocean.DatabaseRedisConfigArgs{
			ClusterId:            exampleDatabaseCluster.ID(),
			MaxmemoryPolicy:      pulumi.String("allkeys-lru"),
			NotifyKeyspaceEvents: pulumi.String("KEA"),
			Timeout:              pulumi.Int(90),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

A Redis database cluster's configuration can be imported using the `id` the parent cluster, e.g.

```sh $ pulumi import digitalocean:index/databaseRedisConfig:DatabaseRedisConfig example 245bcfd0-7f31-4ce6-a2bc-475a116cca97 ```

func GetDatabaseRedisConfig added in v4.23.0

func GetDatabaseRedisConfig(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatabaseRedisConfigState, opts ...pulumi.ResourceOption) (*DatabaseRedisConfig, error)

GetDatabaseRedisConfig gets an existing DatabaseRedisConfig 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 NewDatabaseRedisConfig added in v4.23.0

func NewDatabaseRedisConfig(ctx *pulumi.Context,
	name string, args *DatabaseRedisConfigArgs, opts ...pulumi.ResourceOption) (*DatabaseRedisConfig, error)

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

func (*DatabaseRedisConfig) ElementType added in v4.23.0

func (*DatabaseRedisConfig) ElementType() reflect.Type

func (*DatabaseRedisConfig) ToDatabaseRedisConfigOutput added in v4.23.0

func (i *DatabaseRedisConfig) ToDatabaseRedisConfigOutput() DatabaseRedisConfigOutput

func (*DatabaseRedisConfig) ToDatabaseRedisConfigOutputWithContext added in v4.23.0

func (i *DatabaseRedisConfig) ToDatabaseRedisConfigOutputWithContext(ctx context.Context) DatabaseRedisConfigOutput

type DatabaseRedisConfigArgs added in v4.23.0

type DatabaseRedisConfigArgs struct {
	// Determines default pub/sub channels' ACL for new users if an ACL is not supplied. When this option is not defined, `allchannels` is assumed to keep backward compatibility. This option doesn't affect Redis' `acl-pubsub-default` configuration. Supported values are: `allchannels` and `resetchannels`
	AclChannelsDefault pulumi.StringPtrInput
	// The ID of the target Redis cluster.
	ClusterId pulumi.StringInput
	// The Redis IO thread count.
	IoThreads pulumi.IntPtrInput
	// The LFU maxmemory policy counter decay time in minutes.
	LfuDecayTime pulumi.IntPtrInput
	// The counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory policies.
	LfuLogFactor pulumi.IntPtrInput
	// A string specifying the desired eviction policy for the Redis cluster.Supported values are: `noeviction`, `allkeys-lru`, `allkeys-random`, `volatile-lru`, `volatile-random`, `volatile-ttl`
	MaxmemoryPolicy pulumi.StringPtrInput
	// The `notify-keyspace-events` option. Requires at least `K` or `E`.
	NotifyKeyspaceEvents pulumi.StringPtrInput
	// The number of Redis databases. Changing this will cause a restart of Redis service.
	NumberOfDatabases pulumi.IntPtrInput
	// When persistence is `rdb`, Redis does RDB dumps each 10 minutes if any key is changed. Also RDB dumps are done according to backup schedule for backup purposes. When persistence is `off`, no RDB dumps and backups are done, so data can be lost at any moment if service is restarted for any reason, or if service is powered off. Also service can't be forked.
	Persistence pulumi.StringPtrInput
	// The output buffer limit for pub/sub clients in MB. The value is the hard limit, the soft limit is 1/4 of the hard limit. When setting the limit, be mindful of the available memory in the selected service plan.
	PubsubClientOutputBufferLimit pulumi.IntPtrInput
	// A boolean indicating whether to require SSL to access Redis.
	Ssl pulumi.BoolPtrInput
	// The Redis idle connection timeout in seconds.
	Timeout pulumi.IntPtrInput
}

The set of arguments for constructing a DatabaseRedisConfig resource.

func (DatabaseRedisConfigArgs) ElementType added in v4.23.0

func (DatabaseRedisConfigArgs) ElementType() reflect.Type

type DatabaseRedisConfigArray added in v4.23.0

type DatabaseRedisConfigArray []DatabaseRedisConfigInput

func (DatabaseRedisConfigArray) ElementType added in v4.23.0

func (DatabaseRedisConfigArray) ElementType() reflect.Type

func (DatabaseRedisConfigArray) ToDatabaseRedisConfigArrayOutput added in v4.23.0

func (i DatabaseRedisConfigArray) ToDatabaseRedisConfigArrayOutput() DatabaseRedisConfigArrayOutput

func (DatabaseRedisConfigArray) ToDatabaseRedisConfigArrayOutputWithContext added in v4.23.0

func (i DatabaseRedisConfigArray) ToDatabaseRedisConfigArrayOutputWithContext(ctx context.Context) DatabaseRedisConfigArrayOutput

type DatabaseRedisConfigArrayInput added in v4.23.0

type DatabaseRedisConfigArrayInput interface {
	pulumi.Input

	ToDatabaseRedisConfigArrayOutput() DatabaseRedisConfigArrayOutput
	ToDatabaseRedisConfigArrayOutputWithContext(context.Context) DatabaseRedisConfigArrayOutput
}

DatabaseRedisConfigArrayInput is an input type that accepts DatabaseRedisConfigArray and DatabaseRedisConfigArrayOutput values. You can construct a concrete instance of `DatabaseRedisConfigArrayInput` via:

DatabaseRedisConfigArray{ DatabaseRedisConfigArgs{...} }

type DatabaseRedisConfigArrayOutput added in v4.23.0

type DatabaseRedisConfigArrayOutput struct{ *pulumi.OutputState }

func (DatabaseRedisConfigArrayOutput) ElementType added in v4.23.0

func (DatabaseRedisConfigArrayOutput) Index added in v4.23.0

func (DatabaseRedisConfigArrayOutput) ToDatabaseRedisConfigArrayOutput added in v4.23.0

func (o DatabaseRedisConfigArrayOutput) ToDatabaseRedisConfigArrayOutput() DatabaseRedisConfigArrayOutput

func (DatabaseRedisConfigArrayOutput) ToDatabaseRedisConfigArrayOutputWithContext added in v4.23.0

func (o DatabaseRedisConfigArrayOutput) ToDatabaseRedisConfigArrayOutputWithContext(ctx context.Context) DatabaseRedisConfigArrayOutput

type DatabaseRedisConfigInput added in v4.23.0

type DatabaseRedisConfigInput interface {
	pulumi.Input

	ToDatabaseRedisConfigOutput() DatabaseRedisConfigOutput
	ToDatabaseRedisConfigOutputWithContext(ctx context.Context) DatabaseRedisConfigOutput
}

type DatabaseRedisConfigMap added in v4.23.0

type DatabaseRedisConfigMap map[string]DatabaseRedisConfigInput

func (DatabaseRedisConfigMap) ElementType added in v4.23.0

func (DatabaseRedisConfigMap) ElementType() reflect.Type

func (DatabaseRedisConfigMap) ToDatabaseRedisConfigMapOutput added in v4.23.0

func (i DatabaseRedisConfigMap) ToDatabaseRedisConfigMapOutput() DatabaseRedisConfigMapOutput

func (DatabaseRedisConfigMap) ToDatabaseRedisConfigMapOutputWithContext added in v4.23.0

func (i DatabaseRedisConfigMap) ToDatabaseRedisConfigMapOutputWithContext(ctx context.Context) DatabaseRedisConfigMapOutput

type DatabaseRedisConfigMapInput added in v4.23.0

type DatabaseRedisConfigMapInput interface {
	pulumi.Input

	ToDatabaseRedisConfigMapOutput() DatabaseRedisConfigMapOutput
	ToDatabaseRedisConfigMapOutputWithContext(context.Context) DatabaseRedisConfigMapOutput
}

DatabaseRedisConfigMapInput is an input type that accepts DatabaseRedisConfigMap and DatabaseRedisConfigMapOutput values. You can construct a concrete instance of `DatabaseRedisConfigMapInput` via:

DatabaseRedisConfigMap{ "key": DatabaseRedisConfigArgs{...} }

type DatabaseRedisConfigMapOutput added in v4.23.0

type DatabaseRedisConfigMapOutput struct{ *pulumi.OutputState }

func (DatabaseRedisConfigMapOutput) ElementType added in v4.23.0

func (DatabaseRedisConfigMapOutput) MapIndex added in v4.23.0

func (DatabaseRedisConfigMapOutput) ToDatabaseRedisConfigMapOutput added in v4.23.0

func (o DatabaseRedisConfigMapOutput) ToDatabaseRedisConfigMapOutput() DatabaseRedisConfigMapOutput

func (DatabaseRedisConfigMapOutput) ToDatabaseRedisConfigMapOutputWithContext added in v4.23.0

func (o DatabaseRedisConfigMapOutput) ToDatabaseRedisConfigMapOutputWithContext(ctx context.Context) DatabaseRedisConfigMapOutput

type DatabaseRedisConfigOutput added in v4.23.0

type DatabaseRedisConfigOutput struct{ *pulumi.OutputState }

func (DatabaseRedisConfigOutput) AclChannelsDefault added in v4.23.0

func (o DatabaseRedisConfigOutput) AclChannelsDefault() pulumi.StringOutput

Determines default pub/sub channels' ACL for new users if an ACL is not supplied. When this option is not defined, `allchannels` is assumed to keep backward compatibility. This option doesn't affect Redis' `acl-pubsub-default` configuration. Supported values are: `allchannels` and `resetchannels`

func (DatabaseRedisConfigOutput) ClusterId added in v4.23.0

The ID of the target Redis cluster.

func (DatabaseRedisConfigOutput) ElementType added in v4.23.0

func (DatabaseRedisConfigOutput) ElementType() reflect.Type

func (DatabaseRedisConfigOutput) IoThreads added in v4.23.0

The Redis IO thread count.

func (DatabaseRedisConfigOutput) LfuDecayTime added in v4.23.0

func (o DatabaseRedisConfigOutput) LfuDecayTime() pulumi.IntOutput

The LFU maxmemory policy counter decay time in minutes.

func (DatabaseRedisConfigOutput) LfuLogFactor added in v4.23.0

func (o DatabaseRedisConfigOutput) LfuLogFactor() pulumi.IntOutput

The counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory policies.

func (DatabaseRedisConfigOutput) MaxmemoryPolicy added in v4.23.0

func (o DatabaseRedisConfigOutput) MaxmemoryPolicy() pulumi.StringOutput

A string specifying the desired eviction policy for the Redis cluster.Supported values are: `noeviction`, `allkeys-lru`, `allkeys-random`, `volatile-lru`, `volatile-random`, `volatile-ttl`

func (DatabaseRedisConfigOutput) NotifyKeyspaceEvents added in v4.23.0

func (o DatabaseRedisConfigOutput) NotifyKeyspaceEvents() pulumi.StringOutput

The `notify-keyspace-events` option. Requires at least `K` or `E`.

func (DatabaseRedisConfigOutput) NumberOfDatabases added in v4.23.0

func (o DatabaseRedisConfigOutput) NumberOfDatabases() pulumi.IntOutput

The number of Redis databases. Changing this will cause a restart of Redis service.

func (DatabaseRedisConfigOutput) Persistence added in v4.23.0

When persistence is `rdb`, Redis does RDB dumps each 10 minutes if any key is changed. Also RDB dumps are done according to backup schedule for backup purposes. When persistence is `off`, no RDB dumps and backups are done, so data can be lost at any moment if service is restarted for any reason, or if service is powered off. Also service can't be forked.

func (DatabaseRedisConfigOutput) PubsubClientOutputBufferLimit added in v4.23.0

func (o DatabaseRedisConfigOutput) PubsubClientOutputBufferLimit() pulumi.IntOutput

The output buffer limit for pub/sub clients in MB. The value is the hard limit, the soft limit is 1/4 of the hard limit. When setting the limit, be mindful of the available memory in the selected service plan.

func (DatabaseRedisConfigOutput) Ssl added in v4.23.0

A boolean indicating whether to require SSL to access Redis.

func (DatabaseRedisConfigOutput) Timeout added in v4.23.0

The Redis idle connection timeout in seconds.

func (DatabaseRedisConfigOutput) ToDatabaseRedisConfigOutput added in v4.23.0

func (o DatabaseRedisConfigOutput) ToDatabaseRedisConfigOutput() DatabaseRedisConfigOutput

func (DatabaseRedisConfigOutput) ToDatabaseRedisConfigOutputWithContext added in v4.23.0

func (o DatabaseRedisConfigOutput) ToDatabaseRedisConfigOutputWithContext(ctx context.Context) DatabaseRedisConfigOutput

type DatabaseRedisConfigState added in v4.23.0

type DatabaseRedisConfigState struct {
	// Determines default pub/sub channels' ACL for new users if an ACL is not supplied. When this option is not defined, `allchannels` is assumed to keep backward compatibility. This option doesn't affect Redis' `acl-pubsub-default` configuration. Supported values are: `allchannels` and `resetchannels`
	AclChannelsDefault pulumi.StringPtrInput
	// The ID of the target Redis cluster.
	ClusterId pulumi.StringPtrInput
	// The Redis IO thread count.
	IoThreads pulumi.IntPtrInput
	// The LFU maxmemory policy counter decay time in minutes.
	LfuDecayTime pulumi.IntPtrInput
	// The counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory policies.
	LfuLogFactor pulumi.IntPtrInput
	// A string specifying the desired eviction policy for the Redis cluster.Supported values are: `noeviction`, `allkeys-lru`, `allkeys-random`, `volatile-lru`, `volatile-random`, `volatile-ttl`
	MaxmemoryPolicy pulumi.StringPtrInput
	// The `notify-keyspace-events` option. Requires at least `K` or `E`.
	NotifyKeyspaceEvents pulumi.StringPtrInput
	// The number of Redis databases. Changing this will cause a restart of Redis service.
	NumberOfDatabases pulumi.IntPtrInput
	// When persistence is `rdb`, Redis does RDB dumps each 10 minutes if any key is changed. Also RDB dumps are done according to backup schedule for backup purposes. When persistence is `off`, no RDB dumps and backups are done, so data can be lost at any moment if service is restarted for any reason, or if service is powered off. Also service can't be forked.
	Persistence pulumi.StringPtrInput
	// The output buffer limit for pub/sub clients in MB. The value is the hard limit, the soft limit is 1/4 of the hard limit. When setting the limit, be mindful of the available memory in the selected service plan.
	PubsubClientOutputBufferLimit pulumi.IntPtrInput
	// A boolean indicating whether to require SSL to access Redis.
	Ssl pulumi.BoolPtrInput
	// The Redis idle connection timeout in seconds.
	Timeout pulumi.IntPtrInput
}

func (DatabaseRedisConfigState) ElementType added in v4.23.0

func (DatabaseRedisConfigState) ElementType() reflect.Type

type DatabaseReplica

type DatabaseReplica struct {
	pulumi.CustomResourceState

	// The ID of the original source database cluster.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// Name of the replica's default database.
	Database pulumi.StringOutput `pulumi:"database"`
	// Database replica's hostname.
	Host pulumi.StringOutput `pulumi:"host"`
	// The name for the database replica.
	Name pulumi.StringOutput `pulumi:"name"`
	// Password for the replica's default user.
	Password pulumi.StringOutput `pulumi:"password"`
	// Network port that the database replica is listening on.
	Port pulumi.IntOutput `pulumi:"port"`
	// Same as `host`, but only accessible from resources within the account and in the same region.
	PrivateHost pulumi.StringOutput `pulumi:"privateHost"`
	// The ID of the VPC where the database replica will be located.
	PrivateNetworkUuid pulumi.StringOutput `pulumi:"privateNetworkUuid"`
	// Same as `uri`, but only accessible from resources within the account and in the same region.
	PrivateUri pulumi.StringOutput `pulumi:"privateUri"`
	// DigitalOcean region where the replica will reside.
	Region pulumi.StringPtrOutput `pulumi:"region"`
	// Database Droplet size associated with the replica (ex. `db-s-1vcpu-1gb`). Note that when resizing an existing replica, its size can only be increased. Decreasing its size is not supported.
	Size           pulumi.StringPtrOutput `pulumi:"size"`
	StorageSizeMib pulumi.StringOutput    `pulumi:"storageSizeMib"`
	// A list of tag names to be applied to the database replica.
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
	// The full URI for connecting to the database replica.
	Uri pulumi.StringOutput `pulumi:"uri"`
	// Username for the replica's default user.
	User pulumi.StringOutput `pulumi:"user"`
	// The UUID of the database replica. The uuid can be used to reference the database replica as the target database cluster in other resources. See example  "Create firewall rule for database replica" above.
	Uuid pulumi.StringOutput `pulumi:"uuid"`
}

Provides a DigitalOcean database replica resource.

## Example Usage

### Create a new PostgreSQL database replica ```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.NewDatabaseCluster(ctx, "postgres-example", &digitalocean.DatabaseClusterArgs{
			Engine:    pulumi.String("pg"),
			Version:   pulumi.String("15"),
			Size:      pulumi.String(digitalocean.DatabaseSlug_DB_1VPCU1GB),
			Region:    pulumi.String(digitalocean.RegionNYC1),
			NodeCount: pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewDatabaseReplica(ctx, "replica-example", &digitalocean.DatabaseReplicaArgs{
			ClusterId: postgres_example.ID(),
			Size:      pulumi.String(digitalocean.DatabaseSlug_DB_1VPCU1GB),
			Region:    pulumi.String(digitalocean.RegionNYC1),
		})
		if err != nil {
			return err
		}
		ctx.Export("uUID", replica_example.Uuid)
		// Create firewall rule for database replica
		_, err = digitalocean.NewDatabaseFirewall(ctx, "example-fw", &digitalocean.DatabaseFirewallArgs{
			ClusterId: replica_example.Uuid,
			Rules: digitalocean.DatabaseFirewallRuleArray{
				&digitalocean.DatabaseFirewallRuleArgs{
					Type:  pulumi.String("ip_addr"),
					Value: pulumi.String("192.168.1.1"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Database replicas can be imported using the `id` of the source database cluster

and the `name` of the replica joined with a comma. For example:

```sh $ pulumi import digitalocean:index/databaseReplica:DatabaseReplica read-replica 245bcfd0-7f31-4ce6-a2bc-475a116cca97,read-replica ```

func GetDatabaseReplica

func GetDatabaseReplica(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatabaseReplicaState, opts ...pulumi.ResourceOption) (*DatabaseReplica, error)

GetDatabaseReplica gets an existing DatabaseReplica 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 NewDatabaseReplica

func NewDatabaseReplica(ctx *pulumi.Context,
	name string, args *DatabaseReplicaArgs, opts ...pulumi.ResourceOption) (*DatabaseReplica, error)

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

func (*DatabaseReplica) ElementType

func (*DatabaseReplica) ElementType() reflect.Type

func (*DatabaseReplica) ToDatabaseReplicaOutput

func (i *DatabaseReplica) ToDatabaseReplicaOutput() DatabaseReplicaOutput

func (*DatabaseReplica) ToDatabaseReplicaOutputWithContext

func (i *DatabaseReplica) ToDatabaseReplicaOutputWithContext(ctx context.Context) DatabaseReplicaOutput

type DatabaseReplicaArgs

type DatabaseReplicaArgs struct {
	// The ID of the original source database cluster.
	ClusterId pulumi.StringInput
	// The name for the database replica.
	Name pulumi.StringPtrInput
	// The ID of the VPC where the database replica will be located.
	PrivateNetworkUuid pulumi.StringPtrInput
	// DigitalOcean region where the replica will reside.
	Region pulumi.StringPtrInput
	// Database Droplet size associated with the replica (ex. `db-s-1vcpu-1gb`). Note that when resizing an existing replica, its size can only be increased. Decreasing its size is not supported.
	Size           pulumi.StringPtrInput
	StorageSizeMib pulumi.StringPtrInput
	// A list of tag names to be applied to the database replica.
	Tags pulumi.StringArrayInput
}

The set of arguments for constructing a DatabaseReplica resource.

func (DatabaseReplicaArgs) ElementType

func (DatabaseReplicaArgs) ElementType() reflect.Type

type DatabaseReplicaArray

type DatabaseReplicaArray []DatabaseReplicaInput

func (DatabaseReplicaArray) ElementType

func (DatabaseReplicaArray) ElementType() reflect.Type

func (DatabaseReplicaArray) ToDatabaseReplicaArrayOutput

func (i DatabaseReplicaArray) ToDatabaseReplicaArrayOutput() DatabaseReplicaArrayOutput

func (DatabaseReplicaArray) ToDatabaseReplicaArrayOutputWithContext

func (i DatabaseReplicaArray) ToDatabaseReplicaArrayOutputWithContext(ctx context.Context) DatabaseReplicaArrayOutput

type DatabaseReplicaArrayInput

type DatabaseReplicaArrayInput interface {
	pulumi.Input

	ToDatabaseReplicaArrayOutput() DatabaseReplicaArrayOutput
	ToDatabaseReplicaArrayOutputWithContext(context.Context) DatabaseReplicaArrayOutput
}

DatabaseReplicaArrayInput is an input type that accepts DatabaseReplicaArray and DatabaseReplicaArrayOutput values. You can construct a concrete instance of `DatabaseReplicaArrayInput` via:

DatabaseReplicaArray{ DatabaseReplicaArgs{...} }

type DatabaseReplicaArrayOutput

type DatabaseReplicaArrayOutput struct{ *pulumi.OutputState }

func (DatabaseReplicaArrayOutput) ElementType

func (DatabaseReplicaArrayOutput) ElementType() reflect.Type

func (DatabaseReplicaArrayOutput) Index

func (DatabaseReplicaArrayOutput) ToDatabaseReplicaArrayOutput

func (o DatabaseReplicaArrayOutput) ToDatabaseReplicaArrayOutput() DatabaseReplicaArrayOutput

func (DatabaseReplicaArrayOutput) ToDatabaseReplicaArrayOutputWithContext

func (o DatabaseReplicaArrayOutput) ToDatabaseReplicaArrayOutputWithContext(ctx context.Context) DatabaseReplicaArrayOutput

type DatabaseReplicaInput

type DatabaseReplicaInput interface {
	pulumi.Input

	ToDatabaseReplicaOutput() DatabaseReplicaOutput
	ToDatabaseReplicaOutputWithContext(ctx context.Context) DatabaseReplicaOutput
}

type DatabaseReplicaMap

type DatabaseReplicaMap map[string]DatabaseReplicaInput

func (DatabaseReplicaMap) ElementType

func (DatabaseReplicaMap) ElementType() reflect.Type

func (DatabaseReplicaMap) ToDatabaseReplicaMapOutput

func (i DatabaseReplicaMap) ToDatabaseReplicaMapOutput() DatabaseReplicaMapOutput

func (DatabaseReplicaMap) ToDatabaseReplicaMapOutputWithContext

func (i DatabaseReplicaMap) ToDatabaseReplicaMapOutputWithContext(ctx context.Context) DatabaseReplicaMapOutput

type DatabaseReplicaMapInput

type DatabaseReplicaMapInput interface {
	pulumi.Input

	ToDatabaseReplicaMapOutput() DatabaseReplicaMapOutput
	ToDatabaseReplicaMapOutputWithContext(context.Context) DatabaseReplicaMapOutput
}

DatabaseReplicaMapInput is an input type that accepts DatabaseReplicaMap and DatabaseReplicaMapOutput values. You can construct a concrete instance of `DatabaseReplicaMapInput` via:

DatabaseReplicaMap{ "key": DatabaseReplicaArgs{...} }

type DatabaseReplicaMapOutput

type DatabaseReplicaMapOutput struct{ *pulumi.OutputState }

func (DatabaseReplicaMapOutput) ElementType

func (DatabaseReplicaMapOutput) ElementType() reflect.Type

func (DatabaseReplicaMapOutput) MapIndex

func (DatabaseReplicaMapOutput) ToDatabaseReplicaMapOutput

func (o DatabaseReplicaMapOutput) ToDatabaseReplicaMapOutput() DatabaseReplicaMapOutput

func (DatabaseReplicaMapOutput) ToDatabaseReplicaMapOutputWithContext

func (o DatabaseReplicaMapOutput) ToDatabaseReplicaMapOutputWithContext(ctx context.Context) DatabaseReplicaMapOutput

type DatabaseReplicaOutput

type DatabaseReplicaOutput struct{ *pulumi.OutputState }

func (DatabaseReplicaOutput) ClusterId added in v4.13.0

The ID of the original source database cluster.

func (DatabaseReplicaOutput) Database added in v4.13.0

Name of the replica's default database.

func (DatabaseReplicaOutput) ElementType

func (DatabaseReplicaOutput) ElementType() reflect.Type

func (DatabaseReplicaOutput) Host added in v4.13.0

Database replica's hostname.

func (DatabaseReplicaOutput) Name added in v4.13.0

The name for the database replica.

func (DatabaseReplicaOutput) Password added in v4.13.0

Password for the replica's default user.

func (DatabaseReplicaOutput) Port added in v4.13.0

Network port that the database replica is listening on.

func (DatabaseReplicaOutput) PrivateHost added in v4.13.0

func (o DatabaseReplicaOutput) PrivateHost() pulumi.StringOutput

Same as `host`, but only accessible from resources within the account and in the same region.

func (DatabaseReplicaOutput) PrivateNetworkUuid added in v4.13.0

func (o DatabaseReplicaOutput) PrivateNetworkUuid() pulumi.StringOutput

The ID of the VPC where the database replica will be located.

func (DatabaseReplicaOutput) PrivateUri added in v4.13.0

func (o DatabaseReplicaOutput) PrivateUri() pulumi.StringOutput

Same as `uri`, but only accessible from resources within the account and in the same region.

func (DatabaseReplicaOutput) Region added in v4.13.0

DigitalOcean region where the replica will reside.

func (DatabaseReplicaOutput) Size added in v4.13.0

Database Droplet size associated with the replica (ex. `db-s-1vcpu-1gb`). Note that when resizing an existing replica, its size can only be increased. Decreasing its size is not supported.

func (DatabaseReplicaOutput) StorageSizeMib added in v4.26.0

func (o DatabaseReplicaOutput) StorageSizeMib() pulumi.StringOutput

func (DatabaseReplicaOutput) Tags added in v4.13.0

A list of tag names to be applied to the database replica.

func (DatabaseReplicaOutput) ToDatabaseReplicaOutput

func (o DatabaseReplicaOutput) ToDatabaseReplicaOutput() DatabaseReplicaOutput

func (DatabaseReplicaOutput) ToDatabaseReplicaOutputWithContext

func (o DatabaseReplicaOutput) ToDatabaseReplicaOutputWithContext(ctx context.Context) DatabaseReplicaOutput

func (DatabaseReplicaOutput) Uri added in v4.13.0

The full URI for connecting to the database replica.

func (DatabaseReplicaOutput) User added in v4.13.0

Username for the replica's default user.

func (DatabaseReplicaOutput) Uuid added in v4.18.0

The UUID of the database replica. The uuid can be used to reference the database replica as the target database cluster in other resources. See example "Create firewall rule for database replica" above.

type DatabaseReplicaState

type DatabaseReplicaState struct {
	// The ID of the original source database cluster.
	ClusterId pulumi.StringPtrInput
	// Name of the replica's default database.
	Database pulumi.StringPtrInput
	// Database replica's hostname.
	Host pulumi.StringPtrInput
	// The name for the database replica.
	Name pulumi.StringPtrInput
	// Password for the replica's default user.
	Password pulumi.StringPtrInput
	// Network port that the database replica is listening on.
	Port pulumi.IntPtrInput
	// Same as `host`, but only accessible from resources within the account and in the same region.
	PrivateHost pulumi.StringPtrInput
	// The ID of the VPC where the database replica will be located.
	PrivateNetworkUuid pulumi.StringPtrInput
	// Same as `uri`, but only accessible from resources within the account and in the same region.
	PrivateUri pulumi.StringPtrInput
	// DigitalOcean region where the replica will reside.
	Region pulumi.StringPtrInput
	// Database Droplet size associated with the replica (ex. `db-s-1vcpu-1gb`). Note that when resizing an existing replica, its size can only be increased. Decreasing its size is not supported.
	Size           pulumi.StringPtrInput
	StorageSizeMib pulumi.StringPtrInput
	// A list of tag names to be applied to the database replica.
	Tags pulumi.StringArrayInput
	// The full URI for connecting to the database replica.
	Uri pulumi.StringPtrInput
	// Username for the replica's default user.
	User pulumi.StringPtrInput
	// The UUID of the database replica. The uuid can be used to reference the database replica as the target database cluster in other resources. See example  "Create firewall rule for database replica" above.
	Uuid pulumi.StringPtrInput
}

func (DatabaseReplicaState) ElementType

func (DatabaseReplicaState) ElementType() reflect.Type

type DatabaseSlug

type DatabaseSlug string

func (DatabaseSlug) ElementType

func (DatabaseSlug) ElementType() reflect.Type

func (DatabaseSlug) ToDatabaseSlugOutput added in v4.9.0

func (e DatabaseSlug) ToDatabaseSlugOutput() DatabaseSlugOutput

func (DatabaseSlug) ToDatabaseSlugOutputWithContext added in v4.9.0

func (e DatabaseSlug) ToDatabaseSlugOutputWithContext(ctx context.Context) DatabaseSlugOutput

func (DatabaseSlug) ToDatabaseSlugPtrOutput added in v4.9.0

func (e DatabaseSlug) ToDatabaseSlugPtrOutput() DatabaseSlugPtrOutput

func (DatabaseSlug) ToDatabaseSlugPtrOutputWithContext added in v4.9.0

func (e DatabaseSlug) ToDatabaseSlugPtrOutputWithContext(ctx context.Context) DatabaseSlugPtrOutput

func (DatabaseSlug) ToStringOutput

func (e DatabaseSlug) ToStringOutput() pulumi.StringOutput

func (DatabaseSlug) ToStringOutputWithContext

func (e DatabaseSlug) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (DatabaseSlug) ToStringPtrOutput

func (e DatabaseSlug) ToStringPtrOutput() pulumi.StringPtrOutput

func (DatabaseSlug) ToStringPtrOutputWithContext

func (e DatabaseSlug) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type DatabaseSlugInput added in v4.9.0

type DatabaseSlugInput interface {
	pulumi.Input

	ToDatabaseSlugOutput() DatabaseSlugOutput
	ToDatabaseSlugOutputWithContext(context.Context) DatabaseSlugOutput
}

DatabaseSlugInput is an input type that accepts values of the DatabaseSlug enum A concrete instance of `DatabaseSlugInput` can be one of the following:

DatabaseSlug_DB_1VPCU1GB
DatabaseSlug_DB_1VPCU2GB
DatabaseSlug_DB_2VPCU4GB
DatabaseSlug_DB_4VPCU8GB
DatabaseSlug_DB_6VPCU16GB
DatabaseSlug_DB_8VPCU32GB
DatabaseSlug_DB_16VPCU64GB

type DatabaseSlugOutput added in v4.9.0

type DatabaseSlugOutput struct{ *pulumi.OutputState }

func (DatabaseSlugOutput) ElementType added in v4.9.0

func (DatabaseSlugOutput) ElementType() reflect.Type

func (DatabaseSlugOutput) ToDatabaseSlugOutput added in v4.9.0

func (o DatabaseSlugOutput) ToDatabaseSlugOutput() DatabaseSlugOutput

func (DatabaseSlugOutput) ToDatabaseSlugOutputWithContext added in v4.9.0

func (o DatabaseSlugOutput) ToDatabaseSlugOutputWithContext(ctx context.Context) DatabaseSlugOutput

func (DatabaseSlugOutput) ToDatabaseSlugPtrOutput added in v4.9.0

func (o DatabaseSlugOutput) ToDatabaseSlugPtrOutput() DatabaseSlugPtrOutput

func (DatabaseSlugOutput) ToDatabaseSlugPtrOutputWithContext added in v4.9.0

func (o DatabaseSlugOutput) ToDatabaseSlugPtrOutputWithContext(ctx context.Context) DatabaseSlugPtrOutput

func (DatabaseSlugOutput) ToStringOutput added in v4.9.0

func (o DatabaseSlugOutput) ToStringOutput() pulumi.StringOutput

func (DatabaseSlugOutput) ToStringOutputWithContext added in v4.9.0

func (o DatabaseSlugOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (DatabaseSlugOutput) ToStringPtrOutput added in v4.9.0

func (o DatabaseSlugOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (DatabaseSlugOutput) ToStringPtrOutputWithContext added in v4.9.0

func (o DatabaseSlugOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type DatabaseSlugPtrInput added in v4.9.0

type DatabaseSlugPtrInput interface {
	pulumi.Input

	ToDatabaseSlugPtrOutput() DatabaseSlugPtrOutput
	ToDatabaseSlugPtrOutputWithContext(context.Context) DatabaseSlugPtrOutput
}

func DatabaseSlugPtr added in v4.9.0

func DatabaseSlugPtr(v string) DatabaseSlugPtrInput

type DatabaseSlugPtrOutput added in v4.9.0

type DatabaseSlugPtrOutput struct{ *pulumi.OutputState }

func (DatabaseSlugPtrOutput) Elem added in v4.9.0

func (DatabaseSlugPtrOutput) ElementType added in v4.9.0

func (DatabaseSlugPtrOutput) ElementType() reflect.Type

func (DatabaseSlugPtrOutput) ToDatabaseSlugPtrOutput added in v4.9.0

func (o DatabaseSlugPtrOutput) ToDatabaseSlugPtrOutput() DatabaseSlugPtrOutput

func (DatabaseSlugPtrOutput) ToDatabaseSlugPtrOutputWithContext added in v4.9.0

func (o DatabaseSlugPtrOutput) ToDatabaseSlugPtrOutputWithContext(ctx context.Context) DatabaseSlugPtrOutput

func (DatabaseSlugPtrOutput) ToStringPtrOutput added in v4.9.0

func (o DatabaseSlugPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (DatabaseSlugPtrOutput) ToStringPtrOutputWithContext added in v4.9.0

func (o DatabaseSlugPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type DatabaseUser

type DatabaseUser struct {
	pulumi.CustomResourceState

	// Access certificate for TLS client authentication. (Kafka only)
	AccessCert pulumi.StringOutput `pulumi:"accessCert"`
	// Access key for TLS client authentication. (Kafka only)
	AccessKey pulumi.StringOutput `pulumi:"accessKey"`
	// The ID of the original source database cluster.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// The authentication method to use for connections to the MySQL user account. The valid values are `mysqlNativePassword` or `cachingSha2Password` (this is the default).
	MysqlAuthPlugin pulumi.StringPtrOutput `pulumi:"mysqlAuthPlugin"`
	// The name for the database user.
	Name pulumi.StringOutput `pulumi:"name"`
	// Password for the database user.
	Password pulumi.StringOutput `pulumi:"password"`
	// Role for the database user. The value will be either "primary" or "normal".
	Role pulumi.StringOutput `pulumi:"role"`
	// Contains optional settings for the user.
	// The `settings` block is documented below.
	Settings DatabaseUserSettingArrayOutput `pulumi:"settings"`
}

Provides a DigitalOcean database user resource. When creating a new database cluster, a default admin user with name `doadmin` will be created. Then, this resource can be used to provide additional normal users inside the cluster.

> **NOTE:** Any new users created will always have `normal` role, only the default user that comes with database cluster creation has `primary` role. Additional permissions must be managed manually.

## Example Usage

### Create a new PostgreSQL database user ```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.NewDatabaseCluster(ctx, "postgres-example", &digitalocean.DatabaseClusterArgs{
			Engine:    pulumi.String("pg"),
			Version:   pulumi.String("15"),
			Size:      pulumi.String(digitalocean.DatabaseSlug_DB_1VPCU1GB),
			Region:    pulumi.String(digitalocean.RegionNYC1),
			NodeCount: pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewDatabaseUser(ctx, "user-example", &digitalocean.DatabaseUserArgs{
			ClusterId: postgres_example.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Create a new user for a PostgreSQL database replica ```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.NewDatabaseCluster(ctx, "postgres-example", &digitalocean.DatabaseClusterArgs{
			Engine:    pulumi.String("pg"),
			Version:   pulumi.String("15"),
			Size:      pulumi.String(digitalocean.DatabaseSlug_DB_1VPCU1GB),
			Region:    pulumi.String(digitalocean.RegionNYC1),
			NodeCount: pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewDatabaseReplica(ctx, "replica-example", &digitalocean.DatabaseReplicaArgs{
			ClusterId: postgres_example.ID(),
			Size:      pulumi.String(digitalocean.DatabaseSlug_DB_1VPCU1GB),
			Region:    pulumi.String(digitalocean.RegionNYC1),
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewDatabaseUser(ctx, "user-example", &digitalocean.DatabaseUserArgs{
			ClusterId: replica_example.Uuid,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Create a new user for a Kafka database cluster ```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.NewDatabaseCluster(ctx, "kafka-example", &digitalocean.DatabaseClusterArgs{
			Engine:    pulumi.String("kafka"),
			Version:   pulumi.String("3.5"),
			Size:      pulumi.String("db-s-2vcpu-2gb"),
			Region:    pulumi.String(digitalocean.RegionNYC1),
			NodeCount: pulumi.Int(3),
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewDatabaseKafkaTopic(ctx, "foobarTopic", &digitalocean.DatabaseKafkaTopicArgs{
			ClusterId: pulumi.Any(digitalocean_database_cluster.Foobar.Id),
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewDatabaseUser(ctx, "foobarUser", &digitalocean.DatabaseUserArgs{
			ClusterId: pulumi.Any(digitalocean_database_cluster.Foobar.Id),
			Settings: digitalocean.DatabaseUserSettingArray{
				&digitalocean.DatabaseUserSettingArgs{
					Acls: digitalocean.DatabaseUserSettingAclArray{
						&digitalocean.DatabaseUserSettingAclArgs{
							Topic:      pulumi.String("topic-1"),
							Permission: pulumi.String("produce"),
						},
						&digitalocean.DatabaseUserSettingAclArgs{
							Topic:      pulumi.String("topic-2"),
							Permission: pulumi.String("produceconsume"),
						},
						&digitalocean.DatabaseUserSettingAclArgs{
							Topic:      pulumi.String("topic-*"),
							Permission: pulumi.String("consume"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Database user can be imported using the `id` of the source database cluster

and the `name` of the user joined with a comma. For example:

```sh $ pulumi import digitalocean:index/databaseUser:DatabaseUser user-example 245bcfd0-7f31-4ce6-a2bc-475a116cca97,foobar ```

func GetDatabaseUser

func GetDatabaseUser(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatabaseUserState, opts ...pulumi.ResourceOption) (*DatabaseUser, error)

GetDatabaseUser gets an existing DatabaseUser 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 NewDatabaseUser

func NewDatabaseUser(ctx *pulumi.Context,
	name string, args *DatabaseUserArgs, opts ...pulumi.ResourceOption) (*DatabaseUser, error)

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

func (*DatabaseUser) ElementType

func (*DatabaseUser) ElementType() reflect.Type

func (*DatabaseUser) ToDatabaseUserOutput

func (i *DatabaseUser) ToDatabaseUserOutput() DatabaseUserOutput

func (*DatabaseUser) ToDatabaseUserOutputWithContext

func (i *DatabaseUser) ToDatabaseUserOutputWithContext(ctx context.Context) DatabaseUserOutput

type DatabaseUserArgs

type DatabaseUserArgs struct {
	// The ID of the original source database cluster.
	ClusterId pulumi.StringInput
	// The authentication method to use for connections to the MySQL user account. The valid values are `mysqlNativePassword` or `cachingSha2Password` (this is the default).
	MysqlAuthPlugin pulumi.StringPtrInput
	// The name for the database user.
	Name pulumi.StringPtrInput
	// Contains optional settings for the user.
	// The `settings` block is documented below.
	Settings DatabaseUserSettingArrayInput
}

The set of arguments for constructing a DatabaseUser resource.

func (DatabaseUserArgs) ElementType

func (DatabaseUserArgs) ElementType() reflect.Type

type DatabaseUserArray

type DatabaseUserArray []DatabaseUserInput

func (DatabaseUserArray) ElementType

func (DatabaseUserArray) ElementType() reflect.Type

func (DatabaseUserArray) ToDatabaseUserArrayOutput

func (i DatabaseUserArray) ToDatabaseUserArrayOutput() DatabaseUserArrayOutput

func (DatabaseUserArray) ToDatabaseUserArrayOutputWithContext

func (i DatabaseUserArray) ToDatabaseUserArrayOutputWithContext(ctx context.Context) DatabaseUserArrayOutput

type DatabaseUserArrayInput

type DatabaseUserArrayInput interface {
	pulumi.Input

	ToDatabaseUserArrayOutput() DatabaseUserArrayOutput
	ToDatabaseUserArrayOutputWithContext(context.Context) DatabaseUserArrayOutput
}

DatabaseUserArrayInput is an input type that accepts DatabaseUserArray and DatabaseUserArrayOutput values. You can construct a concrete instance of `DatabaseUserArrayInput` via:

DatabaseUserArray{ DatabaseUserArgs{...} }

type DatabaseUserArrayOutput

type DatabaseUserArrayOutput struct{ *pulumi.OutputState }

func (DatabaseUserArrayOutput) ElementType

func (DatabaseUserArrayOutput) ElementType() reflect.Type

func (DatabaseUserArrayOutput) Index

func (DatabaseUserArrayOutput) ToDatabaseUserArrayOutput

func (o DatabaseUserArrayOutput) ToDatabaseUserArrayOutput() DatabaseUserArrayOutput

func (DatabaseUserArrayOutput) ToDatabaseUserArrayOutputWithContext

func (o DatabaseUserArrayOutput) ToDatabaseUserArrayOutputWithContext(ctx context.Context) DatabaseUserArrayOutput

type DatabaseUserInput

type DatabaseUserInput interface {
	pulumi.Input

	ToDatabaseUserOutput() DatabaseUserOutput
	ToDatabaseUserOutputWithContext(ctx context.Context) DatabaseUserOutput
}

type DatabaseUserMap

type DatabaseUserMap map[string]DatabaseUserInput

func (DatabaseUserMap) ElementType

func (DatabaseUserMap) ElementType() reflect.Type

func (DatabaseUserMap) ToDatabaseUserMapOutput

func (i DatabaseUserMap) ToDatabaseUserMapOutput() DatabaseUserMapOutput

func (DatabaseUserMap) ToDatabaseUserMapOutputWithContext

func (i DatabaseUserMap) ToDatabaseUserMapOutputWithContext(ctx context.Context) DatabaseUserMapOutput

type DatabaseUserMapInput

type DatabaseUserMapInput interface {
	pulumi.Input

	ToDatabaseUserMapOutput() DatabaseUserMapOutput
	ToDatabaseUserMapOutputWithContext(context.Context) DatabaseUserMapOutput
}

DatabaseUserMapInput is an input type that accepts DatabaseUserMap and DatabaseUserMapOutput values. You can construct a concrete instance of `DatabaseUserMapInput` via:

DatabaseUserMap{ "key": DatabaseUserArgs{...} }

type DatabaseUserMapOutput

type DatabaseUserMapOutput struct{ *pulumi.OutputState }

func (DatabaseUserMapOutput) ElementType

func (DatabaseUserMapOutput) ElementType() reflect.Type

func (DatabaseUserMapOutput) MapIndex

func (DatabaseUserMapOutput) ToDatabaseUserMapOutput

func (o DatabaseUserMapOutput) ToDatabaseUserMapOutput() DatabaseUserMapOutput

func (DatabaseUserMapOutput) ToDatabaseUserMapOutputWithContext

func (o DatabaseUserMapOutput) ToDatabaseUserMapOutputWithContext(ctx context.Context) DatabaseUserMapOutput

type DatabaseUserOutput

type DatabaseUserOutput struct{ *pulumi.OutputState }

func (DatabaseUserOutput) AccessCert added in v4.26.0

func (o DatabaseUserOutput) AccessCert() pulumi.StringOutput

Access certificate for TLS client authentication. (Kafka only)

func (DatabaseUserOutput) AccessKey added in v4.26.0

func (o DatabaseUserOutput) AccessKey() pulumi.StringOutput

Access key for TLS client authentication. (Kafka only)

func (DatabaseUserOutput) ClusterId added in v4.13.0

func (o DatabaseUserOutput) ClusterId() pulumi.StringOutput

The ID of the original source database cluster.

func (DatabaseUserOutput) ElementType

func (DatabaseUserOutput) ElementType() reflect.Type

func (DatabaseUserOutput) MysqlAuthPlugin added in v4.13.0

func (o DatabaseUserOutput) MysqlAuthPlugin() pulumi.StringPtrOutput

The authentication method to use for connections to the MySQL user account. The valid values are `mysqlNativePassword` or `cachingSha2Password` (this is the default).

func (DatabaseUserOutput) Name added in v4.13.0

The name for the database user.

func (DatabaseUserOutput) Password added in v4.13.0

func (o DatabaseUserOutput) Password() pulumi.StringOutput

Password for the database user.

func (DatabaseUserOutput) Role added in v4.13.0

Role for the database user. The value will be either "primary" or "normal".

func (DatabaseUserOutput) Settings added in v4.24.0

Contains optional settings for the user. The `settings` block is documented below.

func (DatabaseUserOutput) ToDatabaseUserOutput

func (o DatabaseUserOutput) ToDatabaseUserOutput() DatabaseUserOutput

func (DatabaseUserOutput) ToDatabaseUserOutputWithContext

func (o DatabaseUserOutput) ToDatabaseUserOutputWithContext(ctx context.Context) DatabaseUserOutput

type DatabaseUserSetting added in v4.24.0

type DatabaseUserSetting struct {
	// A set of ACLs (Access Control Lists) specifying permission on topics with a Kafka cluster. The properties of an individual ACL are described below:
	//
	// An individual ACL includes the following:
	Acls []DatabaseUserSettingAcl `pulumi:"acls"`
}

type DatabaseUserSettingAcl added in v4.24.0

type DatabaseUserSettingAcl struct {
	// An identifier for the ACL, this will be automatically assigned when you create an ACL entry
	Id         *string `pulumi:"id"`
	Permission string  `pulumi:"permission"`
	Topic      string  `pulumi:"topic"`
}

type DatabaseUserSettingAclArgs added in v4.24.0

type DatabaseUserSettingAclArgs struct {
	// An identifier for the ACL, this will be automatically assigned when you create an ACL entry
	Id         pulumi.StringPtrInput `pulumi:"id"`
	Permission pulumi.StringInput    `pulumi:"permission"`
	Topic      pulumi.StringInput    `pulumi:"topic"`
}

func (DatabaseUserSettingAclArgs) ElementType added in v4.24.0

func (DatabaseUserSettingAclArgs) ElementType() reflect.Type

func (DatabaseUserSettingAclArgs) ToDatabaseUserSettingAclOutput added in v4.24.0

func (i DatabaseUserSettingAclArgs) ToDatabaseUserSettingAclOutput() DatabaseUserSettingAclOutput

func (DatabaseUserSettingAclArgs) ToDatabaseUserSettingAclOutputWithContext added in v4.24.0

func (i DatabaseUserSettingAclArgs) ToDatabaseUserSettingAclOutputWithContext(ctx context.Context) DatabaseUserSettingAclOutput

type DatabaseUserSettingAclArray added in v4.24.0

type DatabaseUserSettingAclArray []DatabaseUserSettingAclInput

func (DatabaseUserSettingAclArray) ElementType added in v4.24.0

func (DatabaseUserSettingAclArray) ToDatabaseUserSettingAclArrayOutput added in v4.24.0

func (i DatabaseUserSettingAclArray) ToDatabaseUserSettingAclArrayOutput() DatabaseUserSettingAclArrayOutput

func (DatabaseUserSettingAclArray) ToDatabaseUserSettingAclArrayOutputWithContext added in v4.24.0

func (i DatabaseUserSettingAclArray) ToDatabaseUserSettingAclArrayOutputWithContext(ctx context.Context) DatabaseUserSettingAclArrayOutput

type DatabaseUserSettingAclArrayInput added in v4.24.0

type DatabaseUserSettingAclArrayInput interface {
	pulumi.Input

	ToDatabaseUserSettingAclArrayOutput() DatabaseUserSettingAclArrayOutput
	ToDatabaseUserSettingAclArrayOutputWithContext(context.Context) DatabaseUserSettingAclArrayOutput
}

DatabaseUserSettingAclArrayInput is an input type that accepts DatabaseUserSettingAclArray and DatabaseUserSettingAclArrayOutput values. You can construct a concrete instance of `DatabaseUserSettingAclArrayInput` via:

DatabaseUserSettingAclArray{ DatabaseUserSettingAclArgs{...} }

type DatabaseUserSettingAclArrayOutput added in v4.24.0

type DatabaseUserSettingAclArrayOutput struct{ *pulumi.OutputState }

func (DatabaseUserSettingAclArrayOutput) ElementType added in v4.24.0

func (DatabaseUserSettingAclArrayOutput) Index added in v4.24.0

func (DatabaseUserSettingAclArrayOutput) ToDatabaseUserSettingAclArrayOutput added in v4.24.0

func (o DatabaseUserSettingAclArrayOutput) ToDatabaseUserSettingAclArrayOutput() DatabaseUserSettingAclArrayOutput

func (DatabaseUserSettingAclArrayOutput) ToDatabaseUserSettingAclArrayOutputWithContext added in v4.24.0

func (o DatabaseUserSettingAclArrayOutput) ToDatabaseUserSettingAclArrayOutputWithContext(ctx context.Context) DatabaseUserSettingAclArrayOutput

type DatabaseUserSettingAclInput added in v4.24.0

type DatabaseUserSettingAclInput interface {
	pulumi.Input

	ToDatabaseUserSettingAclOutput() DatabaseUserSettingAclOutput
	ToDatabaseUserSettingAclOutputWithContext(context.Context) DatabaseUserSettingAclOutput
}

DatabaseUserSettingAclInput is an input type that accepts DatabaseUserSettingAclArgs and DatabaseUserSettingAclOutput values. You can construct a concrete instance of `DatabaseUserSettingAclInput` via:

DatabaseUserSettingAclArgs{...}

type DatabaseUserSettingAclOutput added in v4.24.0

type DatabaseUserSettingAclOutput struct{ *pulumi.OutputState }

func (DatabaseUserSettingAclOutput) ElementType added in v4.24.0

func (DatabaseUserSettingAclOutput) Id added in v4.24.0

An identifier for the ACL, this will be automatically assigned when you create an ACL entry

func (DatabaseUserSettingAclOutput) Permission added in v4.24.0

func (DatabaseUserSettingAclOutput) ToDatabaseUserSettingAclOutput added in v4.24.0

func (o DatabaseUserSettingAclOutput) ToDatabaseUserSettingAclOutput() DatabaseUserSettingAclOutput

func (DatabaseUserSettingAclOutput) ToDatabaseUserSettingAclOutputWithContext added in v4.24.0

func (o DatabaseUserSettingAclOutput) ToDatabaseUserSettingAclOutputWithContext(ctx context.Context) DatabaseUserSettingAclOutput

func (DatabaseUserSettingAclOutput) Topic added in v4.24.0

type DatabaseUserSettingArgs added in v4.24.0

type DatabaseUserSettingArgs struct {
	// A set of ACLs (Access Control Lists) specifying permission on topics with a Kafka cluster. The properties of an individual ACL are described below:
	//
	// An individual ACL includes the following:
	Acls DatabaseUserSettingAclArrayInput `pulumi:"acls"`
}

func (DatabaseUserSettingArgs) ElementType added in v4.24.0

func (DatabaseUserSettingArgs) ElementType() reflect.Type

func (DatabaseUserSettingArgs) ToDatabaseUserSettingOutput added in v4.24.0

func (i DatabaseUserSettingArgs) ToDatabaseUserSettingOutput() DatabaseUserSettingOutput

func (DatabaseUserSettingArgs) ToDatabaseUserSettingOutputWithContext added in v4.24.0

func (i DatabaseUserSettingArgs) ToDatabaseUserSettingOutputWithContext(ctx context.Context) DatabaseUserSettingOutput

type DatabaseUserSettingArray added in v4.24.0

type DatabaseUserSettingArray []DatabaseUserSettingInput

func (DatabaseUserSettingArray) ElementType added in v4.24.0

func (DatabaseUserSettingArray) ElementType() reflect.Type

func (DatabaseUserSettingArray) ToDatabaseUserSettingArrayOutput added in v4.24.0

func (i DatabaseUserSettingArray) ToDatabaseUserSettingArrayOutput() DatabaseUserSettingArrayOutput

func (DatabaseUserSettingArray) ToDatabaseUserSettingArrayOutputWithContext added in v4.24.0

func (i DatabaseUserSettingArray) ToDatabaseUserSettingArrayOutputWithContext(ctx context.Context) DatabaseUserSettingArrayOutput

type DatabaseUserSettingArrayInput added in v4.24.0

type DatabaseUserSettingArrayInput interface {
	pulumi.Input

	ToDatabaseUserSettingArrayOutput() DatabaseUserSettingArrayOutput
	ToDatabaseUserSettingArrayOutputWithContext(context.Context) DatabaseUserSettingArrayOutput
}

DatabaseUserSettingArrayInput is an input type that accepts DatabaseUserSettingArray and DatabaseUserSettingArrayOutput values. You can construct a concrete instance of `DatabaseUserSettingArrayInput` via:

DatabaseUserSettingArray{ DatabaseUserSettingArgs{...} }

type DatabaseUserSettingArrayOutput added in v4.24.0

type DatabaseUserSettingArrayOutput struct{ *pulumi.OutputState }

func (DatabaseUserSettingArrayOutput) ElementType added in v4.24.0

func (DatabaseUserSettingArrayOutput) Index added in v4.24.0

func (DatabaseUserSettingArrayOutput) ToDatabaseUserSettingArrayOutput added in v4.24.0

func (o DatabaseUserSettingArrayOutput) ToDatabaseUserSettingArrayOutput() DatabaseUserSettingArrayOutput

func (DatabaseUserSettingArrayOutput) ToDatabaseUserSettingArrayOutputWithContext added in v4.24.0

func (o DatabaseUserSettingArrayOutput) ToDatabaseUserSettingArrayOutputWithContext(ctx context.Context) DatabaseUserSettingArrayOutput

type DatabaseUserSettingInput added in v4.24.0

type DatabaseUserSettingInput interface {
	pulumi.Input

	ToDatabaseUserSettingOutput() DatabaseUserSettingOutput
	ToDatabaseUserSettingOutputWithContext(context.Context) DatabaseUserSettingOutput
}

DatabaseUserSettingInput is an input type that accepts DatabaseUserSettingArgs and DatabaseUserSettingOutput values. You can construct a concrete instance of `DatabaseUserSettingInput` via:

DatabaseUserSettingArgs{...}

type DatabaseUserSettingOutput added in v4.24.0

type DatabaseUserSettingOutput struct{ *pulumi.OutputState }

func (DatabaseUserSettingOutput) Acls added in v4.24.0

A set of ACLs (Access Control Lists) specifying permission on topics with a Kafka cluster. The properties of an individual ACL are described below:

An individual ACL includes the following:

func (DatabaseUserSettingOutput) ElementType added in v4.24.0

func (DatabaseUserSettingOutput) ElementType() reflect.Type

func (DatabaseUserSettingOutput) ToDatabaseUserSettingOutput added in v4.24.0

func (o DatabaseUserSettingOutput) ToDatabaseUserSettingOutput() DatabaseUserSettingOutput

func (DatabaseUserSettingOutput) ToDatabaseUserSettingOutputWithContext added in v4.24.0

func (o DatabaseUserSettingOutput) ToDatabaseUserSettingOutputWithContext(ctx context.Context) DatabaseUserSettingOutput

type DatabaseUserState

type DatabaseUserState struct {
	// Access certificate for TLS client authentication. (Kafka only)
	AccessCert pulumi.StringPtrInput
	// Access key for TLS client authentication. (Kafka only)
	AccessKey pulumi.StringPtrInput
	// The ID of the original source database cluster.
	ClusterId pulumi.StringPtrInput
	// The authentication method to use for connections to the MySQL user account. The valid values are `mysqlNativePassword` or `cachingSha2Password` (this is the default).
	MysqlAuthPlugin pulumi.StringPtrInput
	// The name for the database user.
	Name pulumi.StringPtrInput
	// Password for the database user.
	Password pulumi.StringPtrInput
	// Role for the database user. The value will be either "primary" or "normal".
	Role pulumi.StringPtrInput
	// Contains optional settings for the user.
	// The `settings` block is documented below.
	Settings DatabaseUserSettingArrayInput
}

func (DatabaseUserState) ElementType

func (DatabaseUserState) ElementType() reflect.Type

type DnsRecord

type DnsRecord struct {
	pulumi.CustomResourceState

	// The domain to add the record to.
	Domain pulumi.StringOutput `pulumi:"domain"`
	// The flags of the record. Only valid when type is `CAA`. Must be between 0 and 255.
	Flags pulumi.IntPtrOutput `pulumi:"flags"`
	// The FQDN of the record
	Fqdn pulumi.StringOutput `pulumi:"fqdn"`
	// The hostname of the record. Use `@` for records on domain's name itself.
	Name pulumi.StringOutput `pulumi:"name"`
	// The port of the record. Only valid when type is `SRV`.  Must be between 1 and 65535.
	Port pulumi.IntPtrOutput `pulumi:"port"`
	// The priority of the record. Only valid when type is `MX` or `SRV`. Must be between 0 and 65535.
	Priority pulumi.IntPtrOutput `pulumi:"priority"`
	// The tag of the record. Only valid when type is `CAA`. Must be one of `issue`, `issuewild`, or `iodef`.
	Tag pulumi.StringPtrOutput `pulumi:"tag"`
	// The time to live for the record, in seconds. Must be at least 0. Defaults to 1800.
	Ttl pulumi.IntOutput `pulumi:"ttl"`
	// The type of record. Must be one of `A`, `AAAA`, `CAA`, `CNAME`, `MX`, `NS`, `TXT`, or `SRV`.
	Type pulumi.StringOutput `pulumi:"type"`
	// The value of the record.
	Value pulumi.StringOutput `pulumi:"value"`
	// The weight of the record. Only valid when type is `SRV`.  Must be between 0 and 65535.
	Weight pulumi.IntPtrOutput `pulumi:"weight"`
}

Provides a DigitalOcean DNS record resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.NewDomain(ctx, "default", &digitalocean.DomainArgs{
			Name: pulumi.String("example.com"),
		})
		if err != nil {
			return err
		}
		// Add an A record to the domain for www.example.com.
		www, err := digitalocean.NewDnsRecord(ctx, "www", &digitalocean.DnsRecordArgs{
			Domain: _default.ID(),
			Type:   pulumi.String(digitalocean.RecordTypeA),
			Value:  pulumi.String("192.168.0.11"),
		})
		if err != nil {
			return err
		}
		// Add a MX record for the example.com domain itself.
		mx, err := digitalocean.NewDnsRecord(ctx, "mx", &digitalocean.DnsRecordArgs{
			Domain:   _default.ID(),
			Type:     pulumi.String(digitalocean.RecordTypeMX),
			Priority: pulumi.Int(10),
			Value:    pulumi.String("mail.example.com."),
		})
		if err != nil {
			return err
		}
		ctx.Export("wwwFqdn", www.Fqdn)
		ctx.Export("mxFqdn", mx.Fqdn)
		return nil
	})
}

```

## Import

Records can be imported using the domain name and record `id` when joined with a comma. See the following example:

```sh $ pulumi import digitalocean:index/dnsRecord:DnsRecord example_record example.com,12345678 ```

~> You find the `id` of the records [using the DigitalOcean API](https://docs.digitalocean.com/reference/api/api-reference/#operation/domains_list_records) or CLI. Run the follow command to list the IDs for all DNS records on a domain: `doctl compute domain records list <domain.name>`

func GetDnsRecord

func GetDnsRecord(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DnsRecordState, opts ...pulumi.ResourceOption) (*DnsRecord, error)

GetDnsRecord gets an existing DnsRecord 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 NewDnsRecord

func NewDnsRecord(ctx *pulumi.Context,
	name string, args *DnsRecordArgs, opts ...pulumi.ResourceOption) (*DnsRecord, error)

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

func (*DnsRecord) ElementType

func (*DnsRecord) ElementType() reflect.Type

func (*DnsRecord) ToDnsRecordOutput

func (i *DnsRecord) ToDnsRecordOutput() DnsRecordOutput

func (*DnsRecord) ToDnsRecordOutputWithContext

func (i *DnsRecord) ToDnsRecordOutputWithContext(ctx context.Context) DnsRecordOutput

type DnsRecordArgs

type DnsRecordArgs struct {
	// The domain to add the record to.
	Domain pulumi.StringInput
	// The flags of the record. Only valid when type is `CAA`. Must be between 0 and 255.
	Flags pulumi.IntPtrInput
	// The hostname of the record. Use `@` for records on domain's name itself.
	Name pulumi.StringPtrInput
	// The port of the record. Only valid when type is `SRV`.  Must be between 1 and 65535.
	Port pulumi.IntPtrInput
	// The priority of the record. Only valid when type is `MX` or `SRV`. Must be between 0 and 65535.
	Priority pulumi.IntPtrInput
	// The tag of the record. Only valid when type is `CAA`. Must be one of `issue`, `issuewild`, or `iodef`.
	Tag pulumi.StringPtrInput
	// The time to live for the record, in seconds. Must be at least 0. Defaults to 1800.
	Ttl pulumi.IntPtrInput
	// The type of record. Must be one of `A`, `AAAA`, `CAA`, `CNAME`, `MX`, `NS`, `TXT`, or `SRV`.
	Type pulumi.StringInput
	// The value of the record.
	Value pulumi.StringInput
	// The weight of the record. Only valid when type is `SRV`.  Must be between 0 and 65535.
	Weight pulumi.IntPtrInput
}

The set of arguments for constructing a DnsRecord resource.

func (DnsRecordArgs) ElementType

func (DnsRecordArgs) ElementType() reflect.Type

type DnsRecordArray

type DnsRecordArray []DnsRecordInput

func (DnsRecordArray) ElementType

func (DnsRecordArray) ElementType() reflect.Type

func (DnsRecordArray) ToDnsRecordArrayOutput

func (i DnsRecordArray) ToDnsRecordArrayOutput() DnsRecordArrayOutput

func (DnsRecordArray) ToDnsRecordArrayOutputWithContext

func (i DnsRecordArray) ToDnsRecordArrayOutputWithContext(ctx context.Context) DnsRecordArrayOutput

type DnsRecordArrayInput

type DnsRecordArrayInput interface {
	pulumi.Input

	ToDnsRecordArrayOutput() DnsRecordArrayOutput
	ToDnsRecordArrayOutputWithContext(context.Context) DnsRecordArrayOutput
}

DnsRecordArrayInput is an input type that accepts DnsRecordArray and DnsRecordArrayOutput values. You can construct a concrete instance of `DnsRecordArrayInput` via:

DnsRecordArray{ DnsRecordArgs{...} }

type DnsRecordArrayOutput

type DnsRecordArrayOutput struct{ *pulumi.OutputState }

func (DnsRecordArrayOutput) ElementType

func (DnsRecordArrayOutput) ElementType() reflect.Type

func (DnsRecordArrayOutput) Index

func (DnsRecordArrayOutput) ToDnsRecordArrayOutput

func (o DnsRecordArrayOutput) ToDnsRecordArrayOutput() DnsRecordArrayOutput

func (DnsRecordArrayOutput) ToDnsRecordArrayOutputWithContext

func (o DnsRecordArrayOutput) ToDnsRecordArrayOutputWithContext(ctx context.Context) DnsRecordArrayOutput

type DnsRecordInput

type DnsRecordInput interface {
	pulumi.Input

	ToDnsRecordOutput() DnsRecordOutput
	ToDnsRecordOutputWithContext(ctx context.Context) DnsRecordOutput
}

type DnsRecordMap

type DnsRecordMap map[string]DnsRecordInput

func (DnsRecordMap) ElementType

func (DnsRecordMap) ElementType() reflect.Type

func (DnsRecordMap) ToDnsRecordMapOutput

func (i DnsRecordMap) ToDnsRecordMapOutput() DnsRecordMapOutput

func (DnsRecordMap) ToDnsRecordMapOutputWithContext

func (i DnsRecordMap) ToDnsRecordMapOutputWithContext(ctx context.Context) DnsRecordMapOutput

type DnsRecordMapInput

type DnsRecordMapInput interface {
	pulumi.Input

	ToDnsRecordMapOutput() DnsRecordMapOutput
	ToDnsRecordMapOutputWithContext(context.Context) DnsRecordMapOutput
}

DnsRecordMapInput is an input type that accepts DnsRecordMap and DnsRecordMapOutput values. You can construct a concrete instance of `DnsRecordMapInput` via:

DnsRecordMap{ "key": DnsRecordArgs{...} }

type DnsRecordMapOutput

type DnsRecordMapOutput struct{ *pulumi.OutputState }

func (DnsRecordMapOutput) ElementType

func (DnsRecordMapOutput) ElementType() reflect.Type

func (DnsRecordMapOutput) MapIndex

func (DnsRecordMapOutput) ToDnsRecordMapOutput

func (o DnsRecordMapOutput) ToDnsRecordMapOutput() DnsRecordMapOutput

func (DnsRecordMapOutput) ToDnsRecordMapOutputWithContext

func (o DnsRecordMapOutput) ToDnsRecordMapOutputWithContext(ctx context.Context) DnsRecordMapOutput

type DnsRecordOutput

type DnsRecordOutput struct{ *pulumi.OutputState }

func (DnsRecordOutput) Domain added in v4.13.0

func (o DnsRecordOutput) Domain() pulumi.StringOutput

The domain to add the record to.

func (DnsRecordOutput) ElementType

func (DnsRecordOutput) ElementType() reflect.Type

func (DnsRecordOutput) Flags added in v4.13.0

The flags of the record. Only valid when type is `CAA`. Must be between 0 and 255.

func (DnsRecordOutput) Fqdn added in v4.13.0

The FQDN of the record

func (DnsRecordOutput) Name added in v4.13.0

The hostname of the record. Use `@` for records on domain's name itself.

func (DnsRecordOutput) Port added in v4.13.0

The port of the record. Only valid when type is `SRV`. Must be between 1 and 65535.

func (DnsRecordOutput) Priority added in v4.13.0

func (o DnsRecordOutput) Priority() pulumi.IntPtrOutput

The priority of the record. Only valid when type is `MX` or `SRV`. Must be between 0 and 65535.

func (DnsRecordOutput) Tag added in v4.13.0

The tag of the record. Only valid when type is `CAA`. Must be one of `issue`, `issuewild`, or `iodef`.

func (DnsRecordOutput) ToDnsRecordOutput

func (o DnsRecordOutput) ToDnsRecordOutput() DnsRecordOutput

func (DnsRecordOutput) ToDnsRecordOutputWithContext

func (o DnsRecordOutput) ToDnsRecordOutputWithContext(ctx context.Context) DnsRecordOutput

func (DnsRecordOutput) Ttl added in v4.13.0

The time to live for the record, in seconds. Must be at least 0. Defaults to 1800.

func (DnsRecordOutput) Type added in v4.13.0

The type of record. Must be one of `A`, `AAAA`, `CAA`, `CNAME`, `MX`, `NS`, `TXT`, or `SRV`.

func (DnsRecordOutput) Value added in v4.13.0

The value of the record.

func (DnsRecordOutput) Weight added in v4.13.0

func (o DnsRecordOutput) Weight() pulumi.IntPtrOutput

The weight of the record. Only valid when type is `SRV`. Must be between 0 and 65535.

type DnsRecordState

type DnsRecordState struct {
	// The domain to add the record to.
	Domain pulumi.StringPtrInput
	// The flags of the record. Only valid when type is `CAA`. Must be between 0 and 255.
	Flags pulumi.IntPtrInput
	// The FQDN of the record
	Fqdn pulumi.StringPtrInput
	// The hostname of the record. Use `@` for records on domain's name itself.
	Name pulumi.StringPtrInput
	// The port of the record. Only valid when type is `SRV`.  Must be between 1 and 65535.
	Port pulumi.IntPtrInput
	// The priority of the record. Only valid when type is `MX` or `SRV`. Must be between 0 and 65535.
	Priority pulumi.IntPtrInput
	// The tag of the record. Only valid when type is `CAA`. Must be one of `issue`, `issuewild`, or `iodef`.
	Tag pulumi.StringPtrInput
	// The time to live for the record, in seconds. Must be at least 0. Defaults to 1800.
	Ttl pulumi.IntPtrInput
	// The type of record. Must be one of `A`, `AAAA`, `CAA`, `CNAME`, `MX`, `NS`, `TXT`, or `SRV`.
	Type pulumi.StringPtrInput
	// The value of the record.
	Value pulumi.StringPtrInput
	// The weight of the record. Only valid when type is `SRV`.  Must be between 0 and 65535.
	Weight pulumi.IntPtrInput
}

func (DnsRecordState) ElementType

func (DnsRecordState) ElementType() reflect.Type

type Domain

type Domain struct {
	pulumi.CustomResourceState

	// The uniform resource name of the domain
	DomainUrn pulumi.StringOutput `pulumi:"domainUrn"`
	// The IP address of the domain. If specified, this IP
	// is used to created an initial A record for the domain.
	IpAddress pulumi.StringPtrOutput `pulumi:"ipAddress"`
	// The name of the domain
	Name pulumi.StringOutput `pulumi:"name"`
	// The TTL value of the domain
	Ttl pulumi.IntOutput `pulumi:"ttl"`
}

Provides a DigitalOcean domain resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Create a new domain
		_, err := digitalocean.NewDomain(ctx, "default", &digitalocean.DomainArgs{
			Name:      pulumi.String("example.com"),
			IpAddress: pulumi.Any(digitalocean_droplet.Foo.Ipv4_address),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Domains can be imported using the `domain name`, e.g.

```sh $ pulumi import digitalocean:index/domain:Domain mydomain mytestdomain.com ```

func GetDomain

func GetDomain(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DomainState, opts ...pulumi.ResourceOption) (*Domain, error)

GetDomain gets an existing Domain 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 NewDomain

func NewDomain(ctx *pulumi.Context,
	name string, args *DomainArgs, opts ...pulumi.ResourceOption) (*Domain, error)

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

func (*Domain) ElementType

func (*Domain) ElementType() reflect.Type

func (*Domain) ToDomainOutput

func (i *Domain) ToDomainOutput() DomainOutput

func (*Domain) ToDomainOutputWithContext

func (i *Domain) ToDomainOutputWithContext(ctx context.Context) DomainOutput

type DomainArgs

type DomainArgs struct {
	// The IP address of the domain. If specified, this IP
	// is used to created an initial A record for the domain.
	IpAddress pulumi.StringPtrInput
	// The name of the domain
	Name pulumi.StringInput
}

The set of arguments for constructing a Domain resource.

func (DomainArgs) ElementType

func (DomainArgs) ElementType() reflect.Type

type DomainArray

type DomainArray []DomainInput

func (DomainArray) ElementType

func (DomainArray) ElementType() reflect.Type

func (DomainArray) ToDomainArrayOutput

func (i DomainArray) ToDomainArrayOutput() DomainArrayOutput

func (DomainArray) ToDomainArrayOutputWithContext

func (i DomainArray) ToDomainArrayOutputWithContext(ctx context.Context) DomainArrayOutput

type DomainArrayInput

type DomainArrayInput interface {
	pulumi.Input

	ToDomainArrayOutput() DomainArrayOutput
	ToDomainArrayOutputWithContext(context.Context) DomainArrayOutput
}

DomainArrayInput is an input type that accepts DomainArray and DomainArrayOutput values. You can construct a concrete instance of `DomainArrayInput` via:

DomainArray{ DomainArgs{...} }

type DomainArrayOutput

type DomainArrayOutput struct{ *pulumi.OutputState }

func (DomainArrayOutput) ElementType

func (DomainArrayOutput) ElementType() reflect.Type

func (DomainArrayOutput) Index

func (DomainArrayOutput) ToDomainArrayOutput

func (o DomainArrayOutput) ToDomainArrayOutput() DomainArrayOutput

func (DomainArrayOutput) ToDomainArrayOutputWithContext

func (o DomainArrayOutput) ToDomainArrayOutputWithContext(ctx context.Context) DomainArrayOutput

type DomainInput

type DomainInput interface {
	pulumi.Input

	ToDomainOutput() DomainOutput
	ToDomainOutputWithContext(ctx context.Context) DomainOutput
}

type DomainMap

type DomainMap map[string]DomainInput

func (DomainMap) ElementType

func (DomainMap) ElementType() reflect.Type

func (DomainMap) ToDomainMapOutput

func (i DomainMap) ToDomainMapOutput() DomainMapOutput

func (DomainMap) ToDomainMapOutputWithContext

func (i DomainMap) ToDomainMapOutputWithContext(ctx context.Context) DomainMapOutput

type DomainMapInput

type DomainMapInput interface {
	pulumi.Input

	ToDomainMapOutput() DomainMapOutput
	ToDomainMapOutputWithContext(context.Context) DomainMapOutput
}

DomainMapInput is an input type that accepts DomainMap and DomainMapOutput values. You can construct a concrete instance of `DomainMapInput` via:

DomainMap{ "key": DomainArgs{...} }

type DomainMapOutput

type DomainMapOutput struct{ *pulumi.OutputState }

func (DomainMapOutput) ElementType

func (DomainMapOutput) ElementType() reflect.Type

func (DomainMapOutput) MapIndex

func (DomainMapOutput) ToDomainMapOutput

func (o DomainMapOutput) ToDomainMapOutput() DomainMapOutput

func (DomainMapOutput) ToDomainMapOutputWithContext

func (o DomainMapOutput) ToDomainMapOutputWithContext(ctx context.Context) DomainMapOutput

type DomainOutput

type DomainOutput struct{ *pulumi.OutputState }

func (DomainOutput) DomainUrn added in v4.13.0

func (o DomainOutput) DomainUrn() pulumi.StringOutput

The uniform resource name of the domain

func (DomainOutput) ElementType

func (DomainOutput) ElementType() reflect.Type

func (DomainOutput) IpAddress added in v4.13.0

func (o DomainOutput) IpAddress() pulumi.StringPtrOutput

The IP address of the domain. If specified, this IP is used to created an initial A record for the domain.

func (DomainOutput) Name added in v4.13.0

func (o DomainOutput) Name() pulumi.StringOutput

The name of the domain

func (DomainOutput) ToDomainOutput

func (o DomainOutput) ToDomainOutput() DomainOutput

func (DomainOutput) ToDomainOutputWithContext

func (o DomainOutput) ToDomainOutputWithContext(ctx context.Context) DomainOutput

func (DomainOutput) Ttl added in v4.13.0

func (o DomainOutput) Ttl() pulumi.IntOutput

The TTL value of the domain

type DomainState

type DomainState struct {
	// The uniform resource name of the domain
	DomainUrn pulumi.StringPtrInput
	// The IP address of the domain. If specified, this IP
	// is used to created an initial A record for the domain.
	IpAddress pulumi.StringPtrInput
	// The name of the domain
	Name pulumi.StringPtrInput
	// The TTL value of the domain
	Ttl pulumi.IntPtrInput
}

func (DomainState) ElementType

func (DomainState) ElementType() reflect.Type

type Droplet

type Droplet struct {
	pulumi.CustomResourceState

	// Boolean controlling if backups are made. Defaults to
	// false.
	Backups   pulumi.BoolPtrOutput `pulumi:"backups"`
	CreatedAt pulumi.StringOutput  `pulumi:"createdAt"`
	// The size of the instance's disk in GB
	Disk pulumi.IntOutput `pulumi:"disk"`
	// A boolean indicating whether to install the
	// DigitalOcean agent used for providing access to the Droplet web console in
	// the control panel. By default, the agent is installed on new Droplets but
	// installation errors (i.e. OS not supported) are ignored. To prevent it from
	// being installed, set to `false`. To make installation errors fatal, explicitly
	// set it to `true`.
	DropletAgent pulumi.BoolPtrOutput `pulumi:"dropletAgent"`
	// The uniform resource name of the Droplet
	DropletUrn pulumi.StringOutput `pulumi:"dropletUrn"`
	// A boolean indicating whether the droplet
	// should be gracefully shut down before it is deleted.
	//
	// > **NOTE:** If you use `volumeIds` on a Droplet, this provider will assume management over the full set volumes for the instance, and treat additional volumes as a drift. For this reason, `volumeIds` must not be mixed with external `VolumeAttachment` resources for a given instance.
	GracefulShutdown pulumi.BoolPtrOutput `pulumi:"gracefulShutdown"`
	// The Droplet image ID or slug. This could be either image ID or droplet snapshot ID.
	Image pulumi.StringOutput `pulumi:"image"`
	// The IPv4 address
	Ipv4Address pulumi.StringOutput `pulumi:"ipv4Address"`
	// The private networking IPv4 address
	Ipv4AddressPrivate pulumi.StringOutput `pulumi:"ipv4AddressPrivate"`
	// Boolean controlling if IPv6 is enabled. Defaults to false.
	// Once enabled for a Droplet, IPv6 can not be disabled. When enabling IPv6 on
	// an existing Droplet, [additional OS-level configuration](https://docs.digitalocean.com/products/networking/ipv6/how-to/enable/#on-existing-droplets)
	// is required.
	Ipv6 pulumi.BoolPtrOutput `pulumi:"ipv6"`
	// The IPv6 address
	Ipv6Address pulumi.StringOutput `pulumi:"ipv6Address"`
	// Is the Droplet locked
	Locked pulumi.BoolOutput `pulumi:"locked"`
	Memory pulumi.IntOutput  `pulumi:"memory"`
	// Boolean controlling whether monitoring agent is installed.
	// Defaults to false. If set to `true`, you can configure monitor alert policies
	// [monitor alert resource](https://www.terraform.io/providers/digitalocean/digitalocean/latest/docs/resources/monitor_alert)
	Monitoring pulumi.BoolPtrOutput `pulumi:"monitoring"`
	// The Droplet name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Droplet hourly price
	PriceHourly pulumi.Float64Output `pulumi:"priceHourly"`
	// Droplet monthly price
	PriceMonthly pulumi.Float64Output `pulumi:"priceMonthly"`
	// **Deprecated** Boolean controlling if private networking
	// is enabled. This parameter has been deprecated. Use `vpcUuid` instead to specify a VPC network for the Droplet. If no `vpcUuid` is provided, the Droplet will be placed in your account's default VPC for the region.
	//
	// Deprecated: This parameter has been deprecated. Use `vpcUuid` instead to specify a VPC network for the Droplet. If no `vpcUuid` is provided, the Droplet will be placed in your account's default VPC for the region.
	PrivateNetworking pulumi.BoolOutput `pulumi:"privateNetworking"`
	// The region where the Droplet will be created.
	Region pulumi.StringOutput `pulumi:"region"`
	// Boolean controlling whether to increase the disk
	// size when resizing a Droplet. It defaults to `true`. When set to `false`,
	// only the Droplet's RAM and CPU will be resized. **Increasing a Droplet's disk
	// size is a permanent change**. Increasing only RAM and CPU is reversible.
	ResizeDisk pulumi.BoolPtrOutput `pulumi:"resizeDisk"`
	// The unique slug that indentifies the type of Droplet. You can find a list of available slugs on [DigitalOcean API documentation](https://docs.digitalocean.com/reference/api/api-reference/#tag/Sizes).
	Size pulumi.StringOutput `pulumi:"size"`
	// A list of SSH key IDs or fingerprints to enable in
	// the format `[12345, 123456]`. To retrieve this info, use the
	// [DigitalOcean API](https://docs.digitalocean.com/reference/api/api-reference/#tag/SSH-Keys)
	// or CLI (`doctl compute ssh-key list`). Once a Droplet is created keys can not
	// be added or removed via this provider. Modifying this field will prompt you
	// to destroy and recreate the Droplet.
	SshKeys pulumi.StringArrayOutput `pulumi:"sshKeys"`
	// The status of the Droplet
	Status pulumi.StringOutput `pulumi:"status"`
	// A list of the tags to be applied to this Droplet.
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
	// A string of the desired User Data for the Droplet.
	UserData pulumi.StringPtrOutput `pulumi:"userData"`
	// The number of the instance's virtual CPUs
	Vcpus pulumi.IntOutput `pulumi:"vcpus"`
	// A list of the IDs of each block storage volume to be attached to the Droplet.
	VolumeIds pulumi.StringArrayOutput `pulumi:"volumeIds"`
	// The ID of the VPC where the Droplet will be located.
	VpcUuid pulumi.StringOutput `pulumi:"vpcUuid"`
}

Provides a DigitalOcean Droplet resource. This can be used to create, modify, and delete Droplets.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Create a new Web Droplet in the nyc2 region
		_, err := digitalocean.NewDroplet(ctx, "web", &digitalocean.DropletArgs{
			Image:  pulumi.String("ubuntu-20-04-x64"),
			Region: pulumi.String(digitalocean.RegionNYC2),
			Size:   pulumi.String(digitalocean.DropletSlugDropletS1VCPU1GB),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Droplets can be imported using the Droplet `id`, e.g.

```sh $ pulumi import digitalocean:index/droplet:Droplet mydroplet 100823 ```

func GetDroplet

func GetDroplet(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DropletState, opts ...pulumi.ResourceOption) (*Droplet, error)

GetDroplet gets an existing Droplet 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 NewDroplet

func NewDroplet(ctx *pulumi.Context,
	name string, args *DropletArgs, opts ...pulumi.ResourceOption) (*Droplet, error)

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

func (*Droplet) ElementType

func (*Droplet) ElementType() reflect.Type

func (*Droplet) ToDropletOutput

func (i *Droplet) ToDropletOutput() DropletOutput

func (*Droplet) ToDropletOutputWithContext

func (i *Droplet) ToDropletOutputWithContext(ctx context.Context) DropletOutput

type DropletArgs

type DropletArgs struct {
	// Boolean controlling if backups are made. Defaults to
	// false.
	Backups pulumi.BoolPtrInput
	// A boolean indicating whether to install the
	// DigitalOcean agent used for providing access to the Droplet web console in
	// the control panel. By default, the agent is installed on new Droplets but
	// installation errors (i.e. OS not supported) are ignored. To prevent it from
	// being installed, set to `false`. To make installation errors fatal, explicitly
	// set it to `true`.
	DropletAgent pulumi.BoolPtrInput
	// A boolean indicating whether the droplet
	// should be gracefully shut down before it is deleted.
	//
	// > **NOTE:** If you use `volumeIds` on a Droplet, this provider will assume management over the full set volumes for the instance, and treat additional volumes as a drift. For this reason, `volumeIds` must not be mixed with external `VolumeAttachment` resources for a given instance.
	GracefulShutdown pulumi.BoolPtrInput
	// The Droplet image ID or slug. This could be either image ID or droplet snapshot ID.
	Image pulumi.StringInput
	// Boolean controlling if IPv6 is enabled. Defaults to false.
	// Once enabled for a Droplet, IPv6 can not be disabled. When enabling IPv6 on
	// an existing Droplet, [additional OS-level configuration](https://docs.digitalocean.com/products/networking/ipv6/how-to/enable/#on-existing-droplets)
	// is required.
	Ipv6 pulumi.BoolPtrInput
	// The IPv6 address
	Ipv6Address pulumi.StringPtrInput
	// Boolean controlling whether monitoring agent is installed.
	// Defaults to false. If set to `true`, you can configure monitor alert policies
	// [monitor alert resource](https://www.terraform.io/providers/digitalocean/digitalocean/latest/docs/resources/monitor_alert)
	Monitoring pulumi.BoolPtrInput
	// The Droplet name.
	Name pulumi.StringPtrInput
	// **Deprecated** Boolean controlling if private networking
	// is enabled. This parameter has been deprecated. Use `vpcUuid` instead to specify a VPC network for the Droplet. If no `vpcUuid` is provided, the Droplet will be placed in your account's default VPC for the region.
	//
	// Deprecated: This parameter has been deprecated. Use `vpcUuid` instead to specify a VPC network for the Droplet. If no `vpcUuid` is provided, the Droplet will be placed in your account's default VPC for the region.
	PrivateNetworking pulumi.BoolPtrInput
	// The region where the Droplet will be created.
	Region pulumi.StringPtrInput
	// Boolean controlling whether to increase the disk
	// size when resizing a Droplet. It defaults to `true`. When set to `false`,
	// only the Droplet's RAM and CPU will be resized. **Increasing a Droplet's disk
	// size is a permanent change**. Increasing only RAM and CPU is reversible.
	ResizeDisk pulumi.BoolPtrInput
	// The unique slug that indentifies the type of Droplet. You can find a list of available slugs on [DigitalOcean API documentation](https://docs.digitalocean.com/reference/api/api-reference/#tag/Sizes).
	Size pulumi.StringInput
	// A list of SSH key IDs or fingerprints to enable in
	// the format `[12345, 123456]`. To retrieve this info, use the
	// [DigitalOcean API](https://docs.digitalocean.com/reference/api/api-reference/#tag/SSH-Keys)
	// or CLI (`doctl compute ssh-key list`). Once a Droplet is created keys can not
	// be added or removed via this provider. Modifying this field will prompt you
	// to destroy and recreate the Droplet.
	SshKeys pulumi.StringArrayInput
	// A list of the tags to be applied to this Droplet.
	Tags pulumi.StringArrayInput
	// A string of the desired User Data for the Droplet.
	UserData pulumi.StringPtrInput
	// A list of the IDs of each block storage volume to be attached to the Droplet.
	VolumeIds pulumi.StringArrayInput
	// The ID of the VPC where the Droplet will be located.
	VpcUuid pulumi.StringPtrInput
}

The set of arguments for constructing a Droplet resource.

func (DropletArgs) ElementType

func (DropletArgs) ElementType() reflect.Type

type DropletArray

type DropletArray []DropletInput

func (DropletArray) ElementType

func (DropletArray) ElementType() reflect.Type

func (DropletArray) ToDropletArrayOutput

func (i DropletArray) ToDropletArrayOutput() DropletArrayOutput

func (DropletArray) ToDropletArrayOutputWithContext

func (i DropletArray) ToDropletArrayOutputWithContext(ctx context.Context) DropletArrayOutput

type DropletArrayInput

type DropletArrayInput interface {
	pulumi.Input

	ToDropletArrayOutput() DropletArrayOutput
	ToDropletArrayOutputWithContext(context.Context) DropletArrayOutput
}

DropletArrayInput is an input type that accepts DropletArray and DropletArrayOutput values. You can construct a concrete instance of `DropletArrayInput` via:

DropletArray{ DropletArgs{...} }

type DropletArrayOutput

type DropletArrayOutput struct{ *pulumi.OutputState }

func (DropletArrayOutput) ElementType

func (DropletArrayOutput) ElementType() reflect.Type

func (DropletArrayOutput) Index

func (DropletArrayOutput) ToDropletArrayOutput

func (o DropletArrayOutput) ToDropletArrayOutput() DropletArrayOutput

func (DropletArrayOutput) ToDropletArrayOutputWithContext

func (o DropletArrayOutput) ToDropletArrayOutputWithContext(ctx context.Context) DropletArrayOutput

type DropletInput

type DropletInput interface {
	pulumi.Input

	ToDropletOutput() DropletOutput
	ToDropletOutputWithContext(ctx context.Context) DropletOutput
}

type DropletMap

type DropletMap map[string]DropletInput

func (DropletMap) ElementType

func (DropletMap) ElementType() reflect.Type

func (DropletMap) ToDropletMapOutput

func (i DropletMap) ToDropletMapOutput() DropletMapOutput

func (DropletMap) ToDropletMapOutputWithContext

func (i DropletMap) ToDropletMapOutputWithContext(ctx context.Context) DropletMapOutput

type DropletMapInput

type DropletMapInput interface {
	pulumi.Input

	ToDropletMapOutput() DropletMapOutput
	ToDropletMapOutputWithContext(context.Context) DropletMapOutput
}

DropletMapInput is an input type that accepts DropletMap and DropletMapOutput values. You can construct a concrete instance of `DropletMapInput` via:

DropletMap{ "key": DropletArgs{...} }

type DropletMapOutput

type DropletMapOutput struct{ *pulumi.OutputState }

func (DropletMapOutput) ElementType

func (DropletMapOutput) ElementType() reflect.Type

func (DropletMapOutput) MapIndex

func (DropletMapOutput) ToDropletMapOutput

func (o DropletMapOutput) ToDropletMapOutput() DropletMapOutput

func (DropletMapOutput) ToDropletMapOutputWithContext

func (o DropletMapOutput) ToDropletMapOutputWithContext(ctx context.Context) DropletMapOutput

type DropletOutput

type DropletOutput struct{ *pulumi.OutputState }

func (DropletOutput) Backups added in v4.13.0

func (o DropletOutput) Backups() pulumi.BoolPtrOutput

Boolean controlling if backups are made. Defaults to false.

func (DropletOutput) CreatedAt added in v4.13.0

func (o DropletOutput) CreatedAt() pulumi.StringOutput

func (DropletOutput) Disk added in v4.13.0

func (o DropletOutput) Disk() pulumi.IntOutput

The size of the instance's disk in GB

func (DropletOutput) DropletAgent added in v4.13.0

func (o DropletOutput) DropletAgent() pulumi.BoolPtrOutput

A boolean indicating whether to install the DigitalOcean agent used for providing access to the Droplet web console in the control panel. By default, the agent is installed on new Droplets but installation errors (i.e. OS not supported) are ignored. To prevent it from being installed, set to `false`. To make installation errors fatal, explicitly set it to `true`.

func (DropletOutput) DropletUrn added in v4.13.0

func (o DropletOutput) DropletUrn() pulumi.StringOutput

The uniform resource name of the Droplet

func (DropletOutput) ElementType

func (DropletOutput) ElementType() reflect.Type

func (DropletOutput) GracefulShutdown added in v4.13.0

func (o DropletOutput) GracefulShutdown() pulumi.BoolPtrOutput

A boolean indicating whether the droplet should be gracefully shut down before it is deleted.

> **NOTE:** If you use `volumeIds` on a Droplet, this provider will assume management over the full set volumes for the instance, and treat additional volumes as a drift. For this reason, `volumeIds` must not be mixed with external `VolumeAttachment` resources for a given instance.

func (DropletOutput) Image added in v4.13.0

func (o DropletOutput) Image() pulumi.StringOutput

The Droplet image ID or slug. This could be either image ID or droplet snapshot ID.

func (DropletOutput) Ipv4Address added in v4.13.0

func (o DropletOutput) Ipv4Address() pulumi.StringOutput

The IPv4 address

func (DropletOutput) Ipv4AddressPrivate added in v4.13.0

func (o DropletOutput) Ipv4AddressPrivate() pulumi.StringOutput

The private networking IPv4 address

func (DropletOutput) Ipv6 added in v4.13.0

Boolean controlling if IPv6 is enabled. Defaults to false. Once enabled for a Droplet, IPv6 can not be disabled. When enabling IPv6 on an existing Droplet, [additional OS-level configuration](https://docs.digitalocean.com/products/networking/ipv6/how-to/enable/#on-existing-droplets) is required.

func (DropletOutput) Ipv6Address added in v4.13.0

func (o DropletOutput) Ipv6Address() pulumi.StringOutput

The IPv6 address

func (DropletOutput) Locked added in v4.13.0

func (o DropletOutput) Locked() pulumi.BoolOutput

Is the Droplet locked

func (DropletOutput) Memory added in v4.13.0

func (o DropletOutput) Memory() pulumi.IntOutput

func (DropletOutput) Monitoring added in v4.13.0

func (o DropletOutput) Monitoring() pulumi.BoolPtrOutput

Boolean controlling whether monitoring agent is installed. Defaults to false. If set to `true`, you can configure monitor alert policies [monitor alert resource](https://www.terraform.io/providers/digitalocean/digitalocean/latest/docs/resources/monitor_alert)

func (DropletOutput) Name added in v4.13.0

The Droplet name.

func (DropletOutput) PriceHourly added in v4.13.0

func (o DropletOutput) PriceHourly() pulumi.Float64Output

Droplet hourly price

func (DropletOutput) PriceMonthly added in v4.13.0

func (o DropletOutput) PriceMonthly() pulumi.Float64Output

Droplet monthly price

func (DropletOutput) PrivateNetworking deprecated added in v4.13.0

func (o DropletOutput) PrivateNetworking() pulumi.BoolOutput

**Deprecated** Boolean controlling if private networking is enabled. This parameter has been deprecated. Use `vpcUuid` instead to specify a VPC network for the Droplet. If no `vpcUuid` is provided, the Droplet will be placed in your account's default VPC for the region.

Deprecated: This parameter has been deprecated. Use `vpcUuid` instead to specify a VPC network for the Droplet. If no `vpcUuid` is provided, the Droplet will be placed in your account's default VPC for the region.

func (DropletOutput) Region added in v4.13.0

func (o DropletOutput) Region() pulumi.StringOutput

The region where the Droplet will be created.

func (DropletOutput) ResizeDisk added in v4.13.0

func (o DropletOutput) ResizeDisk() pulumi.BoolPtrOutput

Boolean controlling whether to increase the disk size when resizing a Droplet. It defaults to `true`. When set to `false`, only the Droplet's RAM and CPU will be resized. **Increasing a Droplet's disk size is a permanent change**. Increasing only RAM and CPU is reversible.

func (DropletOutput) Size added in v4.13.0

The unique slug that indentifies the type of Droplet. You can find a list of available slugs on [DigitalOcean API documentation](https://docs.digitalocean.com/reference/api/api-reference/#tag/Sizes).

func (DropletOutput) SshKeys added in v4.13.0

A list of SSH key IDs or fingerprints to enable in the format `[12345, 123456]`. To retrieve this info, use the [DigitalOcean API](https://docs.digitalocean.com/reference/api/api-reference/#tag/SSH-Keys) or CLI (`doctl compute ssh-key list`). Once a Droplet is created keys can not be added or removed via this provider. Modifying this field will prompt you to destroy and recreate the Droplet.

func (DropletOutput) Status added in v4.13.0

func (o DropletOutput) Status() pulumi.StringOutput

The status of the Droplet

func (DropletOutput) Tags added in v4.13.0

A list of the tags to be applied to this Droplet.

func (DropletOutput) ToDropletOutput

func (o DropletOutput) ToDropletOutput() DropletOutput

func (DropletOutput) ToDropletOutputWithContext

func (o DropletOutput) ToDropletOutputWithContext(ctx context.Context) DropletOutput

func (DropletOutput) UserData added in v4.13.0

func (o DropletOutput) UserData() pulumi.StringPtrOutput

A string of the desired User Data for the Droplet.

func (DropletOutput) Vcpus added in v4.13.0

func (o DropletOutput) Vcpus() pulumi.IntOutput

The number of the instance's virtual CPUs

func (DropletOutput) VolumeIds added in v4.13.0

func (o DropletOutput) VolumeIds() pulumi.StringArrayOutput

A list of the IDs of each block storage volume to be attached to the Droplet.

func (DropletOutput) VpcUuid added in v4.13.0

func (o DropletOutput) VpcUuid() pulumi.StringOutput

The ID of the VPC where the Droplet will be located.

type DropletSlug

type DropletSlug string

func (DropletSlug) ElementType

func (DropletSlug) ElementType() reflect.Type

func (DropletSlug) ToDropletSlugOutput added in v4.9.0

func (e DropletSlug) ToDropletSlugOutput() DropletSlugOutput

func (DropletSlug) ToDropletSlugOutputWithContext added in v4.9.0

func (e DropletSlug) ToDropletSlugOutputWithContext(ctx context.Context) DropletSlugOutput

func (DropletSlug) ToDropletSlugPtrOutput added in v4.9.0

func (e DropletSlug) ToDropletSlugPtrOutput() DropletSlugPtrOutput

func (DropletSlug) ToDropletSlugPtrOutputWithContext added in v4.9.0

func (e DropletSlug) ToDropletSlugPtrOutputWithContext(ctx context.Context) DropletSlugPtrOutput

func (DropletSlug) ToStringOutput

func (e DropletSlug) ToStringOutput() pulumi.StringOutput

func (DropletSlug) ToStringOutputWithContext

func (e DropletSlug) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (DropletSlug) ToStringPtrOutput

func (e DropletSlug) ToStringPtrOutput() pulumi.StringPtrOutput

func (DropletSlug) ToStringPtrOutputWithContext

func (e DropletSlug) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type DropletSlugInput added in v4.9.0

type DropletSlugInput interface {
	pulumi.Input

	ToDropletSlugOutput() DropletSlugOutput
	ToDropletSlugOutputWithContext(context.Context) DropletSlugOutput
}

DropletSlugInput is an input type that accepts values of the DropletSlug enum A concrete instance of `DropletSlugInput` can be one of the following:

DropletSlugDropletS1VCPU1GB
DropletSlug_DropletS1VCPU1GB_AMD
DropletSlug_DropletS1VCPU1GB_INTEL
DropletSlugDropletS1VCPU2GB
DropletSlug_DropletS1VCPU2GB_AMD
DropletSlug_DropletS1VCPU2GB_INTEL
DropletSlugDropletS2VCPU2GB
DropletSlug_DropletS2VCPU2GB_AMD
DropletSlug_DropletS2VCPU2GB_INTEL
DropletSlugDropletS2VCPU4GB
DropletSlug_DropletS2VCPU4GB_AMD
DropletSlug_DropletS2VCPU4GB_INTEL
DropletSlugDropletS4VCPU8GB
DropletSlug_DropletS4VCPU8GB_AMD
DropletSlug_DropletS4VCPU8GB_INTEL
DropletSlug_DropletS8VCPU16GB_AMD
DropletSlug_DropletS8VCPU16GB_INTEL
DropletSlugDropletC2
DropletSlugDropletC22VCPU4GB
DropletSlugDropletC22VCPU8GB
DropletSlugDropletC28VCPU16GB
DropletSlugDropletC216VCPU32GB
DropletSlugDropletC232VCPU64GB
DropletSlugDropletC4
DropletSlugDropletC8
DropletSlugDropletC16
DropletSlugDropletC32
DropletSlugDropletG2VCPU8GB
DropletSlugDropletG4VCPU16GB
DropletSlugDropletG8VCPU32GB
DropletSlugDropletG16VCPU64GB
DropletSlugDropletG32VCPU128GB
DropletSlugDropletG40VCPU160GB
DropletSlugDropletGD2VCPU8GB
DropletSlugDropletGD4VCPU16GB
DropletSlugDropletGD8VCPU32GB
DropletSlugDropletGD16VCPU64GB
DropletSlugDropletGD32VCPU128GB
DropletSlugDropletGD40VCPU160GB
DropletSlugDropletS8VCPU16GB
DropletSlugDropletM2VCPU16GB
DropletSlugDropletM4VCPU32GB
DropletSlugDropletM8VCPU64GB
DropletSlugDropletM16VCPU128GB
DropletSlugDropletM24VCPU192GB
DropletSlugDropletM32VCPU256GB
DropletSlugDropletM32VCPU16GB
DropletSlugDropletM34VCPU32GB
DropletSlugDropletM38VCPU64GB
DropletSlugDropletM316VCPU128GB
DropletSlugDropletM324VCPU192GB
DropletSlugDropletM332VCPU256GB
DropletSlugDropletM62VCPU16GB
DropletSlugDropletM64VCPU32GB
DropletSlugDropletM68VCPU64GB
DropletSlugDropletM616VCPU128GB
DropletSlugDropletM624VCPU192GB
DropletSlugDropletM632VCPU256GB
DropletSlugDropletSO2VCPU16GB
DropletSlugDropletSO4VCPU32GB
DropletSlugDropletSO8VCPU64GB
DropletSlugDropletSO16VCPU128GB
DropletSlugDropletSO24VCPU192GB
DropletSlugDropletSO32VCPU256GB
DropletSlugDropletSO152VCPU16GB
DropletSlugDropletSO154VCPU32GB
DropletSlugDropletSO158VCPU64GB
DropletSlugDropletSO1516VCPU128GB
DropletSlugDropletSO1524VCPU192GB
DropletSlugDropletSO1532VCPU256GB
DropletSlugDroplet512mb
DropletSlugDroplet1GB
DropletSlugDroplet2GB
DropletSlugDroplet4GB
DropletSlugDroplet8GB
DropletSlugDroplet16GB
DropletSlugDroplet32GB
DropletSlugDroplet48GB
DropletSlugDroplet64GB
DropletSlugDropletS1VCPU3GB
DropletSlugDropletS3VCPU1GB
DropletSlugDropletS6VCPU16GB
DropletSlugDropletS8VCPU32GB
DropletSlugDropletS12VCPU48GB
DropletSlugDropletS16VCPU64GB
DropletSlugDropletS20VCPU96GB
DropletSlugDropletS24VCPU128GB
DropletSlugDropletS32VCPU192GB

type DropletSlugOutput added in v4.9.0

type DropletSlugOutput struct{ *pulumi.OutputState }

func (DropletSlugOutput) ElementType added in v4.9.0

func (DropletSlugOutput) ElementType() reflect.Type

func (DropletSlugOutput) ToDropletSlugOutput added in v4.9.0

func (o DropletSlugOutput) ToDropletSlugOutput() DropletSlugOutput

func (DropletSlugOutput) ToDropletSlugOutputWithContext added in v4.9.0

func (o DropletSlugOutput) ToDropletSlugOutputWithContext(ctx context.Context) DropletSlugOutput

func (DropletSlugOutput) ToDropletSlugPtrOutput added in v4.9.0

func (o DropletSlugOutput) ToDropletSlugPtrOutput() DropletSlugPtrOutput

func (DropletSlugOutput) ToDropletSlugPtrOutputWithContext added in v4.9.0

func (o DropletSlugOutput) ToDropletSlugPtrOutputWithContext(ctx context.Context) DropletSlugPtrOutput

func (DropletSlugOutput) ToStringOutput added in v4.9.0

func (o DropletSlugOutput) ToStringOutput() pulumi.StringOutput

func (DropletSlugOutput) ToStringOutputWithContext added in v4.9.0

func (o DropletSlugOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (DropletSlugOutput) ToStringPtrOutput added in v4.9.0

func (o DropletSlugOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (DropletSlugOutput) ToStringPtrOutputWithContext added in v4.9.0

func (o DropletSlugOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type DropletSlugPtrInput added in v4.9.0

type DropletSlugPtrInput interface {
	pulumi.Input

	ToDropletSlugPtrOutput() DropletSlugPtrOutput
	ToDropletSlugPtrOutputWithContext(context.Context) DropletSlugPtrOutput
}

func DropletSlugPtr added in v4.9.0

func DropletSlugPtr(v string) DropletSlugPtrInput

type DropletSlugPtrOutput added in v4.9.0

type DropletSlugPtrOutput struct{ *pulumi.OutputState }

func (DropletSlugPtrOutput) Elem added in v4.9.0

func (DropletSlugPtrOutput) ElementType added in v4.9.0

func (DropletSlugPtrOutput) ElementType() reflect.Type

func (DropletSlugPtrOutput) ToDropletSlugPtrOutput added in v4.9.0

func (o DropletSlugPtrOutput) ToDropletSlugPtrOutput() DropletSlugPtrOutput

func (DropletSlugPtrOutput) ToDropletSlugPtrOutputWithContext added in v4.9.0

func (o DropletSlugPtrOutput) ToDropletSlugPtrOutputWithContext(ctx context.Context) DropletSlugPtrOutput

func (DropletSlugPtrOutput) ToStringPtrOutput added in v4.9.0

func (o DropletSlugPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (DropletSlugPtrOutput) ToStringPtrOutputWithContext added in v4.9.0

func (o DropletSlugPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type DropletSnapshot

type DropletSnapshot struct {
	pulumi.CustomResourceState

	// The date and time the Droplet snapshot was created.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The ID of the Droplet from which the snapshot will be taken.
	DropletId pulumi.StringOutput `pulumi:"dropletId"`
	// The minimum size in gigabytes required for a Droplet to be created based on this snapshot.
	MinDiskSize pulumi.IntOutput `pulumi:"minDiskSize"`
	// A name for the Droplet snapshot.
	Name pulumi.StringOutput `pulumi:"name"`
	// A list of DigitalOcean region "slugs" indicating where the droplet snapshot is available.
	Regions pulumi.StringArrayOutput `pulumi:"regions"`
	// The billable size of the Droplet snapshot in gigabytes.
	Size pulumi.Float64Output `pulumi:"size"`
}

Provides a resource which can be used to create a snapshot from an existing DigitalOcean Droplet.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		web, err := digitalocean.NewDroplet(ctx, "web", &digitalocean.DropletArgs{
			Size:   pulumi.String(digitalocean.DropletSlugDropletS1VCPU1GB),
			Image:  pulumi.String("ubuntu-22-04-x64"),
			Region: pulumi.String(digitalocean.RegionNYC3),
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewDropletSnapshot(ctx, "web-snapshot", &digitalocean.DropletSnapshotArgs{
			DropletId: web.ID(),
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewDroplet(ctx, "from-snapshot", &digitalocean.DropletArgs{
			Image:  web_snapshot.ID(),
			Region: pulumi.String(digitalocean.RegionNYC3),
			Size:   pulumi.String(digitalocean.DropletSlugDropletS2VCPU4GB),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Droplet Snapshots can be imported using the `snapshot id`, e.g.

```sh $ pulumi import digitalocean:index/dropletSnapshot:DropletSnapshot mysnapshot 123456 ```

func GetDropletSnapshot

func GetDropletSnapshot(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DropletSnapshotState, opts ...pulumi.ResourceOption) (*DropletSnapshot, error)

GetDropletSnapshot gets an existing DropletSnapshot 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 NewDropletSnapshot

func NewDropletSnapshot(ctx *pulumi.Context,
	name string, args *DropletSnapshotArgs, opts ...pulumi.ResourceOption) (*DropletSnapshot, error)

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

func (*DropletSnapshot) ElementType

func (*DropletSnapshot) ElementType() reflect.Type

func (*DropletSnapshot) ToDropletSnapshotOutput

func (i *DropletSnapshot) ToDropletSnapshotOutput() DropletSnapshotOutput

func (*DropletSnapshot) ToDropletSnapshotOutputWithContext

func (i *DropletSnapshot) ToDropletSnapshotOutputWithContext(ctx context.Context) DropletSnapshotOutput

type DropletSnapshotArgs

type DropletSnapshotArgs struct {
	// The ID of the Droplet from which the snapshot will be taken.
	DropletId pulumi.StringInput
	// A name for the Droplet snapshot.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a DropletSnapshot resource.

func (DropletSnapshotArgs) ElementType

func (DropletSnapshotArgs) ElementType() reflect.Type

type DropletSnapshotArray

type DropletSnapshotArray []DropletSnapshotInput

func (DropletSnapshotArray) ElementType

func (DropletSnapshotArray) ElementType() reflect.Type

func (DropletSnapshotArray) ToDropletSnapshotArrayOutput

func (i DropletSnapshotArray) ToDropletSnapshotArrayOutput() DropletSnapshotArrayOutput

func (DropletSnapshotArray) ToDropletSnapshotArrayOutputWithContext

func (i DropletSnapshotArray) ToDropletSnapshotArrayOutputWithContext(ctx context.Context) DropletSnapshotArrayOutput

type DropletSnapshotArrayInput

type DropletSnapshotArrayInput interface {
	pulumi.Input

	ToDropletSnapshotArrayOutput() DropletSnapshotArrayOutput
	ToDropletSnapshotArrayOutputWithContext(context.Context) DropletSnapshotArrayOutput
}

DropletSnapshotArrayInput is an input type that accepts DropletSnapshotArray and DropletSnapshotArrayOutput values. You can construct a concrete instance of `DropletSnapshotArrayInput` via:

DropletSnapshotArray{ DropletSnapshotArgs{...} }

type DropletSnapshotArrayOutput

type DropletSnapshotArrayOutput struct{ *pulumi.OutputState }

func (DropletSnapshotArrayOutput) ElementType

func (DropletSnapshotArrayOutput) ElementType() reflect.Type

func (DropletSnapshotArrayOutput) Index

func (DropletSnapshotArrayOutput) ToDropletSnapshotArrayOutput

func (o DropletSnapshotArrayOutput) ToDropletSnapshotArrayOutput() DropletSnapshotArrayOutput

func (DropletSnapshotArrayOutput) ToDropletSnapshotArrayOutputWithContext

func (o DropletSnapshotArrayOutput) ToDropletSnapshotArrayOutputWithContext(ctx context.Context) DropletSnapshotArrayOutput

type DropletSnapshotInput

type DropletSnapshotInput interface {
	pulumi.Input

	ToDropletSnapshotOutput() DropletSnapshotOutput
	ToDropletSnapshotOutputWithContext(ctx context.Context) DropletSnapshotOutput
}

type DropletSnapshotMap

type DropletSnapshotMap map[string]DropletSnapshotInput

func (DropletSnapshotMap) ElementType

func (DropletSnapshotMap) ElementType() reflect.Type

func (DropletSnapshotMap) ToDropletSnapshotMapOutput

func (i DropletSnapshotMap) ToDropletSnapshotMapOutput() DropletSnapshotMapOutput

func (DropletSnapshotMap) ToDropletSnapshotMapOutputWithContext

func (i DropletSnapshotMap) ToDropletSnapshotMapOutputWithContext(ctx context.Context) DropletSnapshotMapOutput

type DropletSnapshotMapInput

type DropletSnapshotMapInput interface {
	pulumi.Input

	ToDropletSnapshotMapOutput() DropletSnapshotMapOutput
	ToDropletSnapshotMapOutputWithContext(context.Context) DropletSnapshotMapOutput
}

DropletSnapshotMapInput is an input type that accepts DropletSnapshotMap and DropletSnapshotMapOutput values. You can construct a concrete instance of `DropletSnapshotMapInput` via:

DropletSnapshotMap{ "key": DropletSnapshotArgs{...} }

type DropletSnapshotMapOutput

type DropletSnapshotMapOutput struct{ *pulumi.OutputState }

func (DropletSnapshotMapOutput) ElementType

func (DropletSnapshotMapOutput) ElementType() reflect.Type

func (DropletSnapshotMapOutput) MapIndex

func (DropletSnapshotMapOutput) ToDropletSnapshotMapOutput

func (o DropletSnapshotMapOutput) ToDropletSnapshotMapOutput() DropletSnapshotMapOutput

func (DropletSnapshotMapOutput) ToDropletSnapshotMapOutputWithContext

func (o DropletSnapshotMapOutput) ToDropletSnapshotMapOutputWithContext(ctx context.Context) DropletSnapshotMapOutput

type DropletSnapshotOutput

type DropletSnapshotOutput struct{ *pulumi.OutputState }

func (DropletSnapshotOutput) CreatedAt added in v4.13.0

The date and time the Droplet snapshot was created.

func (DropletSnapshotOutput) DropletId added in v4.13.0

The ID of the Droplet from which the snapshot will be taken.

func (DropletSnapshotOutput) ElementType

func (DropletSnapshotOutput) ElementType() reflect.Type

func (DropletSnapshotOutput) MinDiskSize added in v4.13.0

func (o DropletSnapshotOutput) MinDiskSize() pulumi.IntOutput

The minimum size in gigabytes required for a Droplet to be created based on this snapshot.

func (DropletSnapshotOutput) Name added in v4.13.0

A name for the Droplet snapshot.

func (DropletSnapshotOutput) Regions added in v4.13.0

A list of DigitalOcean region "slugs" indicating where the droplet snapshot is available.

func (DropletSnapshotOutput) Size added in v4.13.0

The billable size of the Droplet snapshot in gigabytes.

func (DropletSnapshotOutput) ToDropletSnapshotOutput

func (o DropletSnapshotOutput) ToDropletSnapshotOutput() DropletSnapshotOutput

func (DropletSnapshotOutput) ToDropletSnapshotOutputWithContext

func (o DropletSnapshotOutput) ToDropletSnapshotOutputWithContext(ctx context.Context) DropletSnapshotOutput

type DropletSnapshotState

type DropletSnapshotState struct {
	// The date and time the Droplet snapshot was created.
	CreatedAt pulumi.StringPtrInput
	// The ID of the Droplet from which the snapshot will be taken.
	DropletId pulumi.StringPtrInput
	// The minimum size in gigabytes required for a Droplet to be created based on this snapshot.
	MinDiskSize pulumi.IntPtrInput
	// A name for the Droplet snapshot.
	Name pulumi.StringPtrInput
	// A list of DigitalOcean region "slugs" indicating where the droplet snapshot is available.
	Regions pulumi.StringArrayInput
	// The billable size of the Droplet snapshot in gigabytes.
	Size pulumi.Float64PtrInput
}

func (DropletSnapshotState) ElementType

func (DropletSnapshotState) ElementType() reflect.Type

type DropletState

type DropletState struct {
	// Boolean controlling if backups are made. Defaults to
	// false.
	Backups   pulumi.BoolPtrInput
	CreatedAt pulumi.StringPtrInput
	// The size of the instance's disk in GB
	Disk pulumi.IntPtrInput
	// A boolean indicating whether to install the
	// DigitalOcean agent used for providing access to the Droplet web console in
	// the control panel. By default, the agent is installed on new Droplets but
	// installation errors (i.e. OS not supported) are ignored. To prevent it from
	// being installed, set to `false`. To make installation errors fatal, explicitly
	// set it to `true`.
	DropletAgent pulumi.BoolPtrInput
	// The uniform resource name of the Droplet
	DropletUrn pulumi.StringPtrInput
	// A boolean indicating whether the droplet
	// should be gracefully shut down before it is deleted.
	//
	// > **NOTE:** If you use `volumeIds` on a Droplet, this provider will assume management over the full set volumes for the instance, and treat additional volumes as a drift. For this reason, `volumeIds` must not be mixed with external `VolumeAttachment` resources for a given instance.
	GracefulShutdown pulumi.BoolPtrInput
	// The Droplet image ID or slug. This could be either image ID or droplet snapshot ID.
	Image pulumi.StringPtrInput
	// The IPv4 address
	Ipv4Address pulumi.StringPtrInput
	// The private networking IPv4 address
	Ipv4AddressPrivate pulumi.StringPtrInput
	// Boolean controlling if IPv6 is enabled. Defaults to false.
	// Once enabled for a Droplet, IPv6 can not be disabled. When enabling IPv6 on
	// an existing Droplet, [additional OS-level configuration](https://docs.digitalocean.com/products/networking/ipv6/how-to/enable/#on-existing-droplets)
	// is required.
	Ipv6 pulumi.BoolPtrInput
	// The IPv6 address
	Ipv6Address pulumi.StringPtrInput
	// Is the Droplet locked
	Locked pulumi.BoolPtrInput
	Memory pulumi.IntPtrInput
	// Boolean controlling whether monitoring agent is installed.
	// Defaults to false. If set to `true`, you can configure monitor alert policies
	// [monitor alert resource](https://www.terraform.io/providers/digitalocean/digitalocean/latest/docs/resources/monitor_alert)
	Monitoring pulumi.BoolPtrInput
	// The Droplet name.
	Name pulumi.StringPtrInput
	// Droplet hourly price
	PriceHourly pulumi.Float64PtrInput
	// Droplet monthly price
	PriceMonthly pulumi.Float64PtrInput
	// **Deprecated** Boolean controlling if private networking
	// is enabled. This parameter has been deprecated. Use `vpcUuid` instead to specify a VPC network for the Droplet. If no `vpcUuid` is provided, the Droplet will be placed in your account's default VPC for the region.
	//
	// Deprecated: This parameter has been deprecated. Use `vpcUuid` instead to specify a VPC network for the Droplet. If no `vpcUuid` is provided, the Droplet will be placed in your account's default VPC for the region.
	PrivateNetworking pulumi.BoolPtrInput
	// The region where the Droplet will be created.
	Region pulumi.StringPtrInput
	// Boolean controlling whether to increase the disk
	// size when resizing a Droplet. It defaults to `true`. When set to `false`,
	// only the Droplet's RAM and CPU will be resized. **Increasing a Droplet's disk
	// size is a permanent change**. Increasing only RAM and CPU is reversible.
	ResizeDisk pulumi.BoolPtrInput
	// The unique slug that indentifies the type of Droplet. You can find a list of available slugs on [DigitalOcean API documentation](https://docs.digitalocean.com/reference/api/api-reference/#tag/Sizes).
	Size pulumi.StringPtrInput
	// A list of SSH key IDs or fingerprints to enable in
	// the format `[12345, 123456]`. To retrieve this info, use the
	// [DigitalOcean API](https://docs.digitalocean.com/reference/api/api-reference/#tag/SSH-Keys)
	// or CLI (`doctl compute ssh-key list`). Once a Droplet is created keys can not
	// be added or removed via this provider. Modifying this field will prompt you
	// to destroy and recreate the Droplet.
	SshKeys pulumi.StringArrayInput
	// The status of the Droplet
	Status pulumi.StringPtrInput
	// A list of the tags to be applied to this Droplet.
	Tags pulumi.StringArrayInput
	// A string of the desired User Data for the Droplet.
	UserData pulumi.StringPtrInput
	// The number of the instance's virtual CPUs
	Vcpus pulumi.IntPtrInput
	// A list of the IDs of each block storage volume to be attached to the Droplet.
	VolumeIds pulumi.StringArrayInput
	// The ID of the VPC where the Droplet will be located.
	VpcUuid pulumi.StringPtrInput
}

func (DropletState) ElementType

func (DropletState) ElementType() reflect.Type

type FileSystemType

type FileSystemType string

func (FileSystemType) ElementType

func (FileSystemType) ElementType() reflect.Type

func (FileSystemType) ToFileSystemTypeOutput added in v4.9.0

func (e FileSystemType) ToFileSystemTypeOutput() FileSystemTypeOutput

func (FileSystemType) ToFileSystemTypeOutputWithContext added in v4.9.0

func (e FileSystemType) ToFileSystemTypeOutputWithContext(ctx context.Context) FileSystemTypeOutput

func (FileSystemType) ToFileSystemTypePtrOutput added in v4.9.0

func (e FileSystemType) ToFileSystemTypePtrOutput() FileSystemTypePtrOutput

func (FileSystemType) ToFileSystemTypePtrOutputWithContext added in v4.9.0

func (e FileSystemType) ToFileSystemTypePtrOutputWithContext(ctx context.Context) FileSystemTypePtrOutput

func (FileSystemType) ToStringOutput

func (e FileSystemType) ToStringOutput() pulumi.StringOutput

func (FileSystemType) ToStringOutputWithContext

func (e FileSystemType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (FileSystemType) ToStringPtrOutput

func (e FileSystemType) ToStringPtrOutput() pulumi.StringPtrOutput

func (FileSystemType) ToStringPtrOutputWithContext

func (e FileSystemType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type FileSystemTypeInput added in v4.9.0

type FileSystemTypeInput interface {
	pulumi.Input

	ToFileSystemTypeOutput() FileSystemTypeOutput
	ToFileSystemTypeOutputWithContext(context.Context) FileSystemTypeOutput
}

FileSystemTypeInput is an input type that accepts values of the FileSystemType enum A concrete instance of `FileSystemTypeInput` can be one of the following:

FileSystemTypeEXT4
FileSystemTypeXFS

type FileSystemTypeOutput added in v4.9.0

type FileSystemTypeOutput struct{ *pulumi.OutputState }

func (FileSystemTypeOutput) ElementType added in v4.9.0

func (FileSystemTypeOutput) ElementType() reflect.Type

func (FileSystemTypeOutput) ToFileSystemTypeOutput added in v4.9.0

func (o FileSystemTypeOutput) ToFileSystemTypeOutput() FileSystemTypeOutput

func (FileSystemTypeOutput) ToFileSystemTypeOutputWithContext added in v4.9.0

func (o FileSystemTypeOutput) ToFileSystemTypeOutputWithContext(ctx context.Context) FileSystemTypeOutput

func (FileSystemTypeOutput) ToFileSystemTypePtrOutput added in v4.9.0

func (o FileSystemTypeOutput) ToFileSystemTypePtrOutput() FileSystemTypePtrOutput

func (FileSystemTypeOutput) ToFileSystemTypePtrOutputWithContext added in v4.9.0

func (o FileSystemTypeOutput) ToFileSystemTypePtrOutputWithContext(ctx context.Context) FileSystemTypePtrOutput

func (FileSystemTypeOutput) ToStringOutput added in v4.9.0

func (o FileSystemTypeOutput) ToStringOutput() pulumi.StringOutput

func (FileSystemTypeOutput) ToStringOutputWithContext added in v4.9.0

func (o FileSystemTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (FileSystemTypeOutput) ToStringPtrOutput added in v4.9.0

func (o FileSystemTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (FileSystemTypeOutput) ToStringPtrOutputWithContext added in v4.9.0

func (o FileSystemTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type FileSystemTypePtrInput added in v4.9.0

type FileSystemTypePtrInput interface {
	pulumi.Input

	ToFileSystemTypePtrOutput() FileSystemTypePtrOutput
	ToFileSystemTypePtrOutputWithContext(context.Context) FileSystemTypePtrOutput
}

func FileSystemTypePtr added in v4.9.0

func FileSystemTypePtr(v string) FileSystemTypePtrInput

type FileSystemTypePtrOutput added in v4.9.0

type FileSystemTypePtrOutput struct{ *pulumi.OutputState }

func (FileSystemTypePtrOutput) Elem added in v4.9.0

func (FileSystemTypePtrOutput) ElementType added in v4.9.0

func (FileSystemTypePtrOutput) ElementType() reflect.Type

func (FileSystemTypePtrOutput) ToFileSystemTypePtrOutput added in v4.9.0

func (o FileSystemTypePtrOutput) ToFileSystemTypePtrOutput() FileSystemTypePtrOutput

func (FileSystemTypePtrOutput) ToFileSystemTypePtrOutputWithContext added in v4.9.0

func (o FileSystemTypePtrOutput) ToFileSystemTypePtrOutputWithContext(ctx context.Context) FileSystemTypePtrOutput

func (FileSystemTypePtrOutput) ToStringPtrOutput added in v4.9.0

func (o FileSystemTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (FileSystemTypePtrOutput) ToStringPtrOutputWithContext added in v4.9.0

func (o FileSystemTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type Firewall

type Firewall struct {
	pulumi.CustomResourceState

	// A time value given in ISO8601 combined date and time format
	// that represents when the Firewall was created.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The list of the IDs of the Droplets assigned
	// to the Firewall.
	DropletIds pulumi.IntArrayOutput `pulumi:"dropletIds"`
	// The inbound access rule block for the Firewall.
	// The `inboundRule` block is documented below.
	InboundRules FirewallInboundRuleArrayOutput `pulumi:"inboundRules"`
	// The Firewall name
	Name pulumi.StringOutput `pulumi:"name"`
	// The outbound access rule block for the Firewall.
	// The `outboundRule` block is documented below.
	OutboundRules FirewallOutboundRuleArrayOutput `pulumi:"outboundRules"`
	// An list of object containing the fields, "dropletId",
	// "removing", and "status".  It is provided to detail exactly which Droplets
	// are having their security policies updated.  When empty, all changes
	// have been successfully applied.
	PendingChanges FirewallPendingChangeArrayOutput `pulumi:"pendingChanges"`
	// A status string indicating the current state of the Firewall.
	// This can be "waiting", "succeeded", or "failed".
	Status pulumi.StringOutput `pulumi:"status"`
	// The names of the Tags assigned to the Firewall.
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
}

Provides a DigitalOcean Cloud Firewall resource. This can be used to create, modify, and delete Firewalls.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		webDroplet, err := digitalocean.NewDroplet(ctx, "webDroplet", &digitalocean.DropletArgs{
			Size:   pulumi.String(digitalocean.DropletSlugDropletS1VCPU1GB),
			Image:  pulumi.String("ubuntu-18-04-x64"),
			Region: pulumi.String(digitalocean.RegionNYC3),
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewFirewall(ctx, "webFirewall", &digitalocean.FirewallArgs{
			DropletIds: pulumi.IntArray{
				webDroplet.ID(),
			},
			InboundRules: digitalocean.FirewallInboundRuleArray{
				&digitalocean.FirewallInboundRuleArgs{
					Protocol:  pulumi.String("tcp"),
					PortRange: pulumi.String("22"),
					SourceAddresses: pulumi.StringArray{
						pulumi.String("192.168.1.0/24"),
						pulumi.String("2002:1:2::/48"),
					},
				},
				&digitalocean.FirewallInboundRuleArgs{
					Protocol:  pulumi.String("tcp"),
					PortRange: pulumi.String("80"),
					SourceAddresses: pulumi.StringArray{
						pulumi.String("0.0.0.0/0"),
						pulumi.String("::/0"),
					},
				},
				&digitalocean.FirewallInboundRuleArgs{
					Protocol:  pulumi.String("tcp"),
					PortRange: pulumi.String("443"),
					SourceAddresses: pulumi.StringArray{
						pulumi.String("0.0.0.0/0"),
						pulumi.String("::/0"),
					},
				},
				&digitalocean.FirewallInboundRuleArgs{
					Protocol: pulumi.String("icmp"),
					SourceAddresses: pulumi.StringArray{
						pulumi.String("0.0.0.0/0"),
						pulumi.String("::/0"),
					},
				},
			},
			OutboundRules: digitalocean.FirewallOutboundRuleArray{
				&digitalocean.FirewallOutboundRuleArgs{
					Protocol:  pulumi.String("tcp"),
					PortRange: pulumi.String("53"),
					DestinationAddresses: pulumi.StringArray{
						pulumi.String("0.0.0.0/0"),
						pulumi.String("::/0"),
					},
				},
				&digitalocean.FirewallOutboundRuleArgs{
					Protocol:  pulumi.String("udp"),
					PortRange: pulumi.String("53"),
					DestinationAddresses: pulumi.StringArray{
						pulumi.String("0.0.0.0/0"),
						pulumi.String("::/0"),
					},
				},
				&digitalocean.FirewallOutboundRuleArgs{
					Protocol: pulumi.String("icmp"),
					DestinationAddresses: pulumi.StringArray{
						pulumi.String("0.0.0.0/0"),
						pulumi.String("::/0"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Firewalls can be imported using the firewall `id`, e.g.

```sh $ pulumi import digitalocean:index/firewall:Firewall myfirewall b8ecd2ab-2267-4a5e-8692-cbf1d32583e3 ```

func GetFirewall

func GetFirewall(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FirewallState, opts ...pulumi.ResourceOption) (*Firewall, error)

GetFirewall gets an existing Firewall 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 NewFirewall

func NewFirewall(ctx *pulumi.Context,
	name string, args *FirewallArgs, opts ...pulumi.ResourceOption) (*Firewall, error)

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

func (*Firewall) ElementType

func (*Firewall) ElementType() reflect.Type

func (*Firewall) ToFirewallOutput

func (i *Firewall) ToFirewallOutput() FirewallOutput

func (*Firewall) ToFirewallOutputWithContext

func (i *Firewall) ToFirewallOutputWithContext(ctx context.Context) FirewallOutput

type FirewallArgs

type FirewallArgs struct {
	// The list of the IDs of the Droplets assigned
	// to the Firewall.
	DropletIds pulumi.IntArrayInput
	// The inbound access rule block for the Firewall.
	// The `inboundRule` block is documented below.
	InboundRules FirewallInboundRuleArrayInput
	// The Firewall name
	Name pulumi.StringPtrInput
	// The outbound access rule block for the Firewall.
	// The `outboundRule` block is documented below.
	OutboundRules FirewallOutboundRuleArrayInput
	// The names of the Tags assigned to the Firewall.
	Tags pulumi.StringArrayInput
}

The set of arguments for constructing a Firewall resource.

func (FirewallArgs) ElementType

func (FirewallArgs) ElementType() reflect.Type

type FirewallArray

type FirewallArray []FirewallInput

func (FirewallArray) ElementType

func (FirewallArray) ElementType() reflect.Type

func (FirewallArray) ToFirewallArrayOutput

func (i FirewallArray) ToFirewallArrayOutput() FirewallArrayOutput

func (FirewallArray) ToFirewallArrayOutputWithContext

func (i FirewallArray) ToFirewallArrayOutputWithContext(ctx context.Context) FirewallArrayOutput

type FirewallArrayInput

type FirewallArrayInput interface {
	pulumi.Input

	ToFirewallArrayOutput() FirewallArrayOutput
	ToFirewallArrayOutputWithContext(context.Context) FirewallArrayOutput
}

FirewallArrayInput is an input type that accepts FirewallArray and FirewallArrayOutput values. You can construct a concrete instance of `FirewallArrayInput` via:

FirewallArray{ FirewallArgs{...} }

type FirewallArrayOutput

type FirewallArrayOutput struct{ *pulumi.OutputState }

func (FirewallArrayOutput) ElementType

func (FirewallArrayOutput) ElementType() reflect.Type

func (FirewallArrayOutput) Index

func (FirewallArrayOutput) ToFirewallArrayOutput

func (o FirewallArrayOutput) ToFirewallArrayOutput() FirewallArrayOutput

func (FirewallArrayOutput) ToFirewallArrayOutputWithContext

func (o FirewallArrayOutput) ToFirewallArrayOutputWithContext(ctx context.Context) FirewallArrayOutput

type FirewallInboundRule

type FirewallInboundRule struct {
	// The ports on which traffic will be allowed
	// specified as a string containing a single port, a range (e.g. "8000-9000"),
	// or "1-65535" to open all ports for a protocol. Required for when protocol is
	// `tcp` or `udp`.
	PortRange *string `pulumi:"portRange"`
	// The type of traffic to be allowed.
	// This may be one of "tcp", "udp", or "icmp".
	Protocol string `pulumi:"protocol"`
	// An array of strings containing the IPv4
	// addresses, IPv6 addresses, IPv4 CIDRs, and/or IPv6 CIDRs from which the
	// inbound traffic will be accepted.
	SourceAddresses []string `pulumi:"sourceAddresses"`
	// An array containing the IDs of
	// the Droplets from which the inbound traffic will be accepted.
	SourceDropletIds []int `pulumi:"sourceDropletIds"`
	// An array containing the IDs of
	// the Kubernetes clusters from which the inbound traffic will be accepted.
	SourceKubernetesIds []string `pulumi:"sourceKubernetesIds"`
	// An array containing the IDs
	// of the Load Balancers from which the inbound traffic will be accepted.
	SourceLoadBalancerUids []string `pulumi:"sourceLoadBalancerUids"`
	// An array containing the names of Tags
	// corresponding to groups of Droplets from which the inbound traffic
	// will be accepted.
	SourceTags []string `pulumi:"sourceTags"`
}

type FirewallInboundRuleArgs

type FirewallInboundRuleArgs struct {
	// The ports on which traffic will be allowed
	// specified as a string containing a single port, a range (e.g. "8000-9000"),
	// or "1-65535" to open all ports for a protocol. Required for when protocol is
	// `tcp` or `udp`.
	PortRange pulumi.StringPtrInput `pulumi:"portRange"`
	// The type of traffic to be allowed.
	// This may be one of "tcp", "udp", or "icmp".
	Protocol pulumi.StringInput `pulumi:"protocol"`
	// An array of strings containing the IPv4
	// addresses, IPv6 addresses, IPv4 CIDRs, and/or IPv6 CIDRs from which the
	// inbound traffic will be accepted.
	SourceAddresses pulumi.StringArrayInput `pulumi:"sourceAddresses"`
	// An array containing the IDs of
	// the Droplets from which the inbound traffic will be accepted.
	SourceDropletIds pulumi.IntArrayInput `pulumi:"sourceDropletIds"`
	// An array containing the IDs of
	// the Kubernetes clusters from which the inbound traffic will be accepted.
	SourceKubernetesIds pulumi.StringArrayInput `pulumi:"sourceKubernetesIds"`
	// An array containing the IDs
	// of the Load Balancers from which the inbound traffic will be accepted.
	SourceLoadBalancerUids pulumi.StringArrayInput `pulumi:"sourceLoadBalancerUids"`
	// An array containing the names of Tags
	// corresponding to groups of Droplets from which the inbound traffic
	// will be accepted.
	SourceTags pulumi.StringArrayInput `pulumi:"sourceTags"`
}

func (FirewallInboundRuleArgs) ElementType

func (FirewallInboundRuleArgs) ElementType() reflect.Type

func (FirewallInboundRuleArgs) ToFirewallInboundRuleOutput

func (i FirewallInboundRuleArgs) ToFirewallInboundRuleOutput() FirewallInboundRuleOutput

func (FirewallInboundRuleArgs) ToFirewallInboundRuleOutputWithContext

func (i FirewallInboundRuleArgs) ToFirewallInboundRuleOutputWithContext(ctx context.Context) FirewallInboundRuleOutput

type FirewallInboundRuleArray

type FirewallInboundRuleArray []FirewallInboundRuleInput

func (FirewallInboundRuleArray) ElementType

func (FirewallInboundRuleArray) ElementType() reflect.Type

func (FirewallInboundRuleArray) ToFirewallInboundRuleArrayOutput

func (i FirewallInboundRuleArray) ToFirewallInboundRuleArrayOutput() FirewallInboundRuleArrayOutput

func (FirewallInboundRuleArray) ToFirewallInboundRuleArrayOutputWithContext

func (i FirewallInboundRuleArray) ToFirewallInboundRuleArrayOutputWithContext(ctx context.Context) FirewallInboundRuleArrayOutput

type FirewallInboundRuleArrayInput

type FirewallInboundRuleArrayInput interface {
	pulumi.Input

	ToFirewallInboundRuleArrayOutput() FirewallInboundRuleArrayOutput
	ToFirewallInboundRuleArrayOutputWithContext(context.Context) FirewallInboundRuleArrayOutput
}

FirewallInboundRuleArrayInput is an input type that accepts FirewallInboundRuleArray and FirewallInboundRuleArrayOutput values. You can construct a concrete instance of `FirewallInboundRuleArrayInput` via:

FirewallInboundRuleArray{ FirewallInboundRuleArgs{...} }

type FirewallInboundRuleArrayOutput

type FirewallInboundRuleArrayOutput struct{ *pulumi.OutputState }

func (FirewallInboundRuleArrayOutput) ElementType

func (FirewallInboundRuleArrayOutput) Index

func (FirewallInboundRuleArrayOutput) ToFirewallInboundRuleArrayOutput

func (o FirewallInboundRuleArrayOutput) ToFirewallInboundRuleArrayOutput() FirewallInboundRuleArrayOutput

func (FirewallInboundRuleArrayOutput) ToFirewallInboundRuleArrayOutputWithContext

func (o FirewallInboundRuleArrayOutput) ToFirewallInboundRuleArrayOutputWithContext(ctx context.Context) FirewallInboundRuleArrayOutput

type FirewallInboundRuleInput

type FirewallInboundRuleInput interface {
	pulumi.Input

	ToFirewallInboundRuleOutput() FirewallInboundRuleOutput
	ToFirewallInboundRuleOutputWithContext(context.Context) FirewallInboundRuleOutput
}

FirewallInboundRuleInput is an input type that accepts FirewallInboundRuleArgs and FirewallInboundRuleOutput values. You can construct a concrete instance of `FirewallInboundRuleInput` via:

FirewallInboundRuleArgs{...}

type FirewallInboundRuleOutput

type FirewallInboundRuleOutput struct{ *pulumi.OutputState }

func (FirewallInboundRuleOutput) ElementType

func (FirewallInboundRuleOutput) ElementType() reflect.Type

func (FirewallInboundRuleOutput) PortRange

The ports on which traffic will be allowed specified as a string containing a single port, a range (e.g. "8000-9000"), or "1-65535" to open all ports for a protocol. Required for when protocol is `tcp` or `udp`.

func (FirewallInboundRuleOutput) Protocol

The type of traffic to be allowed. This may be one of "tcp", "udp", or "icmp".

func (FirewallInboundRuleOutput) SourceAddresses

An array of strings containing the IPv4 addresses, IPv6 addresses, IPv4 CIDRs, and/or IPv6 CIDRs from which the inbound traffic will be accepted.

func (FirewallInboundRuleOutput) SourceDropletIds

func (o FirewallInboundRuleOutput) SourceDropletIds() pulumi.IntArrayOutput

An array containing the IDs of the Droplets from which the inbound traffic will be accepted.

func (FirewallInboundRuleOutput) SourceKubernetesIds added in v4.10.0

func (o FirewallInboundRuleOutput) SourceKubernetesIds() pulumi.StringArrayOutput

An array containing the IDs of the Kubernetes clusters from which the inbound traffic will be accepted.

func (FirewallInboundRuleOutput) SourceLoadBalancerUids

func (o FirewallInboundRuleOutput) SourceLoadBalancerUids() pulumi.StringArrayOutput

An array containing the IDs of the Load Balancers from which the inbound traffic will be accepted.

func (FirewallInboundRuleOutput) SourceTags

An array containing the names of Tags corresponding to groups of Droplets from which the inbound traffic will be accepted.

func (FirewallInboundRuleOutput) ToFirewallInboundRuleOutput

func (o FirewallInboundRuleOutput) ToFirewallInboundRuleOutput() FirewallInboundRuleOutput

func (FirewallInboundRuleOutput) ToFirewallInboundRuleOutputWithContext

func (o FirewallInboundRuleOutput) ToFirewallInboundRuleOutputWithContext(ctx context.Context) FirewallInboundRuleOutput

type FirewallInput

type FirewallInput interface {
	pulumi.Input

	ToFirewallOutput() FirewallOutput
	ToFirewallOutputWithContext(ctx context.Context) FirewallOutput
}

type FirewallMap

type FirewallMap map[string]FirewallInput

func (FirewallMap) ElementType

func (FirewallMap) ElementType() reflect.Type

func (FirewallMap) ToFirewallMapOutput

func (i FirewallMap) ToFirewallMapOutput() FirewallMapOutput

func (FirewallMap) ToFirewallMapOutputWithContext

func (i FirewallMap) ToFirewallMapOutputWithContext(ctx context.Context) FirewallMapOutput

type FirewallMapInput

type FirewallMapInput interface {
	pulumi.Input

	ToFirewallMapOutput() FirewallMapOutput
	ToFirewallMapOutputWithContext(context.Context) FirewallMapOutput
}

FirewallMapInput is an input type that accepts FirewallMap and FirewallMapOutput values. You can construct a concrete instance of `FirewallMapInput` via:

FirewallMap{ "key": FirewallArgs{...} }

type FirewallMapOutput

type FirewallMapOutput struct{ *pulumi.OutputState }

func (FirewallMapOutput) ElementType

func (FirewallMapOutput) ElementType() reflect.Type

func (FirewallMapOutput) MapIndex

func (FirewallMapOutput) ToFirewallMapOutput

func (o FirewallMapOutput) ToFirewallMapOutput() FirewallMapOutput

func (FirewallMapOutput) ToFirewallMapOutputWithContext

func (o FirewallMapOutput) ToFirewallMapOutputWithContext(ctx context.Context) FirewallMapOutput

type FirewallOutboundRule

type FirewallOutboundRule struct {
	// An array of strings containing the IPv4
	// addresses, IPv6 addresses, IPv4 CIDRs, and/or IPv6 CIDRs to which the
	// outbound traffic will be allowed.
	DestinationAddresses []string `pulumi:"destinationAddresses"`
	// An array containing the IDs of
	// the Droplets to which the outbound traffic will be allowed.
	DestinationDropletIds []int `pulumi:"destinationDropletIds"`
	// An array containing the IDs of
	// the Kubernetes clusters to which the outbound traffic will be allowed.
	DestinationKubernetesIds []string `pulumi:"destinationKubernetesIds"`
	// An array containing the IDs
	// of the Load Balancers to which the outbound traffic will be allowed.
	DestinationLoadBalancerUids []string `pulumi:"destinationLoadBalancerUids"`
	// An array containing the names of Tags
	// corresponding to groups of Droplets to which the outbound traffic will
	// be allowed.
	DestinationTags []string `pulumi:"destinationTags"`
	// The ports on which traffic will be allowed
	// specified as a string containing a single port, a range (e.g. "8000-9000"),
	// or "1-65535" to open all ports for a protocol. Required for when protocol is
	// `tcp` or `udp`.
	PortRange *string `pulumi:"portRange"`
	// The type of traffic to be allowed.
	// This may be one of "tcp", "udp", or "icmp".
	Protocol string `pulumi:"protocol"`
}

type FirewallOutboundRuleArgs

type FirewallOutboundRuleArgs struct {
	// An array of strings containing the IPv4
	// addresses, IPv6 addresses, IPv4 CIDRs, and/or IPv6 CIDRs to which the
	// outbound traffic will be allowed.
	DestinationAddresses pulumi.StringArrayInput `pulumi:"destinationAddresses"`
	// An array containing the IDs of
	// the Droplets to which the outbound traffic will be allowed.
	DestinationDropletIds pulumi.IntArrayInput `pulumi:"destinationDropletIds"`
	// An array containing the IDs of
	// the Kubernetes clusters to which the outbound traffic will be allowed.
	DestinationKubernetesIds pulumi.StringArrayInput `pulumi:"destinationKubernetesIds"`
	// An array containing the IDs
	// of the Load Balancers to which the outbound traffic will be allowed.
	DestinationLoadBalancerUids pulumi.StringArrayInput `pulumi:"destinationLoadBalancerUids"`
	// An array containing the names of Tags
	// corresponding to groups of Droplets to which the outbound traffic will
	// be allowed.
	DestinationTags pulumi.StringArrayInput `pulumi:"destinationTags"`
	// The ports on which traffic will be allowed
	// specified as a string containing a single port, a range (e.g. "8000-9000"),
	// or "1-65535" to open all ports for a protocol. Required for when protocol is
	// `tcp` or `udp`.
	PortRange pulumi.StringPtrInput `pulumi:"portRange"`
	// The type of traffic to be allowed.
	// This may be one of "tcp", "udp", or "icmp".
	Protocol pulumi.StringInput `pulumi:"protocol"`
}

func (FirewallOutboundRuleArgs) ElementType

func (FirewallOutboundRuleArgs) ElementType() reflect.Type

func (FirewallOutboundRuleArgs) ToFirewallOutboundRuleOutput

func (i FirewallOutboundRuleArgs) ToFirewallOutboundRuleOutput() FirewallOutboundRuleOutput

func (FirewallOutboundRuleArgs) ToFirewallOutboundRuleOutputWithContext

func (i FirewallOutboundRuleArgs) ToFirewallOutboundRuleOutputWithContext(ctx context.Context) FirewallOutboundRuleOutput

type FirewallOutboundRuleArray

type FirewallOutboundRuleArray []FirewallOutboundRuleInput

func (FirewallOutboundRuleArray) ElementType

func (FirewallOutboundRuleArray) ElementType() reflect.Type

func (FirewallOutboundRuleArray) ToFirewallOutboundRuleArrayOutput

func (i FirewallOutboundRuleArray) ToFirewallOutboundRuleArrayOutput() FirewallOutboundRuleArrayOutput

func (FirewallOutboundRuleArray) ToFirewallOutboundRuleArrayOutputWithContext

func (i FirewallOutboundRuleArray) ToFirewallOutboundRuleArrayOutputWithContext(ctx context.Context) FirewallOutboundRuleArrayOutput

type FirewallOutboundRuleArrayInput

type FirewallOutboundRuleArrayInput interface {
	pulumi.Input

	ToFirewallOutboundRuleArrayOutput() FirewallOutboundRuleArrayOutput
	ToFirewallOutboundRuleArrayOutputWithContext(context.Context) FirewallOutboundRuleArrayOutput
}

FirewallOutboundRuleArrayInput is an input type that accepts FirewallOutboundRuleArray and FirewallOutboundRuleArrayOutput values. You can construct a concrete instance of `FirewallOutboundRuleArrayInput` via:

FirewallOutboundRuleArray{ FirewallOutboundRuleArgs{...} }

type FirewallOutboundRuleArrayOutput

type FirewallOutboundRuleArrayOutput struct{ *pulumi.OutputState }

func (FirewallOutboundRuleArrayOutput) ElementType

func (FirewallOutboundRuleArrayOutput) Index

func (FirewallOutboundRuleArrayOutput) ToFirewallOutboundRuleArrayOutput

func (o FirewallOutboundRuleArrayOutput) ToFirewallOutboundRuleArrayOutput() FirewallOutboundRuleArrayOutput

func (FirewallOutboundRuleArrayOutput) ToFirewallOutboundRuleArrayOutputWithContext

func (o FirewallOutboundRuleArrayOutput) ToFirewallOutboundRuleArrayOutputWithContext(ctx context.Context) FirewallOutboundRuleArrayOutput

type FirewallOutboundRuleInput

type FirewallOutboundRuleInput interface {
	pulumi.Input

	ToFirewallOutboundRuleOutput() FirewallOutboundRuleOutput
	ToFirewallOutboundRuleOutputWithContext(context.Context) FirewallOutboundRuleOutput
}

FirewallOutboundRuleInput is an input type that accepts FirewallOutboundRuleArgs and FirewallOutboundRuleOutput values. You can construct a concrete instance of `FirewallOutboundRuleInput` via:

FirewallOutboundRuleArgs{...}

type FirewallOutboundRuleOutput

type FirewallOutboundRuleOutput struct{ *pulumi.OutputState }

func (FirewallOutboundRuleOutput) DestinationAddresses

func (o FirewallOutboundRuleOutput) DestinationAddresses() pulumi.StringArrayOutput

An array of strings containing the IPv4 addresses, IPv6 addresses, IPv4 CIDRs, and/or IPv6 CIDRs to which the outbound traffic will be allowed.

func (FirewallOutboundRuleOutput) DestinationDropletIds

func (o FirewallOutboundRuleOutput) DestinationDropletIds() pulumi.IntArrayOutput

An array containing the IDs of the Droplets to which the outbound traffic will be allowed.

func (FirewallOutboundRuleOutput) DestinationKubernetesIds added in v4.10.0

func (o FirewallOutboundRuleOutput) DestinationKubernetesIds() pulumi.StringArrayOutput

An array containing the IDs of the Kubernetes clusters to which the outbound traffic will be allowed.

func (FirewallOutboundRuleOutput) DestinationLoadBalancerUids

func (o FirewallOutboundRuleOutput) DestinationLoadBalancerUids() pulumi.StringArrayOutput

An array containing the IDs of the Load Balancers to which the outbound traffic will be allowed.

func (FirewallOutboundRuleOutput) DestinationTags

An array containing the names of Tags corresponding to groups of Droplets to which the outbound traffic will be allowed.

func (FirewallOutboundRuleOutput) ElementType

func (FirewallOutboundRuleOutput) ElementType() reflect.Type

func (FirewallOutboundRuleOutput) PortRange

The ports on which traffic will be allowed specified as a string containing a single port, a range (e.g. "8000-9000"), or "1-65535" to open all ports for a protocol. Required for when protocol is `tcp` or `udp`.

func (FirewallOutboundRuleOutput) Protocol

The type of traffic to be allowed. This may be one of "tcp", "udp", or "icmp".

func (FirewallOutboundRuleOutput) ToFirewallOutboundRuleOutput

func (o FirewallOutboundRuleOutput) ToFirewallOutboundRuleOutput() FirewallOutboundRuleOutput

func (FirewallOutboundRuleOutput) ToFirewallOutboundRuleOutputWithContext

func (o FirewallOutboundRuleOutput) ToFirewallOutboundRuleOutputWithContext(ctx context.Context) FirewallOutboundRuleOutput

type FirewallOutput

type FirewallOutput struct{ *pulumi.OutputState }

func (FirewallOutput) CreatedAt added in v4.13.0

func (o FirewallOutput) CreatedAt() pulumi.StringOutput

A time value given in ISO8601 combined date and time format that represents when the Firewall was created.

func (FirewallOutput) DropletIds added in v4.13.0

func (o FirewallOutput) DropletIds() pulumi.IntArrayOutput

The list of the IDs of the Droplets assigned to the Firewall.

func (FirewallOutput) ElementType

func (FirewallOutput) ElementType() reflect.Type

func (FirewallOutput) InboundRules added in v4.13.0

The inbound access rule block for the Firewall. The `inboundRule` block is documented below.

func (FirewallOutput) Name added in v4.13.0

The Firewall name

func (FirewallOutput) OutboundRules added in v4.13.0

The outbound access rule block for the Firewall. The `outboundRule` block is documented below.

func (FirewallOutput) PendingChanges added in v4.13.0

An list of object containing the fields, "dropletId", "removing", and "status". It is provided to detail exactly which Droplets are having their security policies updated. When empty, all changes have been successfully applied.

func (FirewallOutput) Status added in v4.13.0

func (o FirewallOutput) Status() pulumi.StringOutput

A status string indicating the current state of the Firewall. This can be "waiting", "succeeded", or "failed".

func (FirewallOutput) Tags added in v4.13.0

The names of the Tags assigned to the Firewall.

func (FirewallOutput) ToFirewallOutput

func (o FirewallOutput) ToFirewallOutput() FirewallOutput

func (FirewallOutput) ToFirewallOutputWithContext

func (o FirewallOutput) ToFirewallOutputWithContext(ctx context.Context) FirewallOutput

type FirewallPendingChange

type FirewallPendingChange struct {
	DropletId *int  `pulumi:"dropletId"`
	Removing  *bool `pulumi:"removing"`
	// A status string indicating the current state of the Firewall.
	// This can be "waiting", "succeeded", or "failed".
	Status *string `pulumi:"status"`
}

type FirewallPendingChangeArgs

type FirewallPendingChangeArgs struct {
	DropletId pulumi.IntPtrInput  `pulumi:"dropletId"`
	Removing  pulumi.BoolPtrInput `pulumi:"removing"`
	// A status string indicating the current state of the Firewall.
	// This can be "waiting", "succeeded", or "failed".
	Status pulumi.StringPtrInput `pulumi:"status"`
}

func (FirewallPendingChangeArgs) ElementType

func (FirewallPendingChangeArgs) ElementType() reflect.Type

func (FirewallPendingChangeArgs) ToFirewallPendingChangeOutput

func (i FirewallPendingChangeArgs) ToFirewallPendingChangeOutput() FirewallPendingChangeOutput

func (FirewallPendingChangeArgs) ToFirewallPendingChangeOutputWithContext

func (i FirewallPendingChangeArgs) ToFirewallPendingChangeOutputWithContext(ctx context.Context) FirewallPendingChangeOutput

type FirewallPendingChangeArray

type FirewallPendingChangeArray []FirewallPendingChangeInput

func (FirewallPendingChangeArray) ElementType

func (FirewallPendingChangeArray) ElementType() reflect.Type

func (FirewallPendingChangeArray) ToFirewallPendingChangeArrayOutput

func (i FirewallPendingChangeArray) ToFirewallPendingChangeArrayOutput() FirewallPendingChangeArrayOutput

func (FirewallPendingChangeArray) ToFirewallPendingChangeArrayOutputWithContext

func (i FirewallPendingChangeArray) ToFirewallPendingChangeArrayOutputWithContext(ctx context.Context) FirewallPendingChangeArrayOutput

type FirewallPendingChangeArrayInput

type FirewallPendingChangeArrayInput interface {
	pulumi.Input

	ToFirewallPendingChangeArrayOutput() FirewallPendingChangeArrayOutput
	ToFirewallPendingChangeArrayOutputWithContext(context.Context) FirewallPendingChangeArrayOutput
}

FirewallPendingChangeArrayInput is an input type that accepts FirewallPendingChangeArray and FirewallPendingChangeArrayOutput values. You can construct a concrete instance of `FirewallPendingChangeArrayInput` via:

FirewallPendingChangeArray{ FirewallPendingChangeArgs{...} }

type FirewallPendingChangeArrayOutput

type FirewallPendingChangeArrayOutput struct{ *pulumi.OutputState }

func (FirewallPendingChangeArrayOutput) ElementType

func (FirewallPendingChangeArrayOutput) Index

func (FirewallPendingChangeArrayOutput) ToFirewallPendingChangeArrayOutput

func (o FirewallPendingChangeArrayOutput) ToFirewallPendingChangeArrayOutput() FirewallPendingChangeArrayOutput

func (FirewallPendingChangeArrayOutput) ToFirewallPendingChangeArrayOutputWithContext

func (o FirewallPendingChangeArrayOutput) ToFirewallPendingChangeArrayOutputWithContext(ctx context.Context) FirewallPendingChangeArrayOutput

type FirewallPendingChangeInput

type FirewallPendingChangeInput interface {
	pulumi.Input

	ToFirewallPendingChangeOutput() FirewallPendingChangeOutput
	ToFirewallPendingChangeOutputWithContext(context.Context) FirewallPendingChangeOutput
}

FirewallPendingChangeInput is an input type that accepts FirewallPendingChangeArgs and FirewallPendingChangeOutput values. You can construct a concrete instance of `FirewallPendingChangeInput` via:

FirewallPendingChangeArgs{...}

type FirewallPendingChangeOutput

type FirewallPendingChangeOutput struct{ *pulumi.OutputState }

func (FirewallPendingChangeOutput) DropletId

func (FirewallPendingChangeOutput) ElementType

func (FirewallPendingChangeOutput) Removing

func (FirewallPendingChangeOutput) Status

A status string indicating the current state of the Firewall. This can be "waiting", "succeeded", or "failed".

func (FirewallPendingChangeOutput) ToFirewallPendingChangeOutput

func (o FirewallPendingChangeOutput) ToFirewallPendingChangeOutput() FirewallPendingChangeOutput

func (FirewallPendingChangeOutput) ToFirewallPendingChangeOutputWithContext

func (o FirewallPendingChangeOutput) ToFirewallPendingChangeOutputWithContext(ctx context.Context) FirewallPendingChangeOutput

type FirewallState

type FirewallState struct {
	// A time value given in ISO8601 combined date and time format
	// that represents when the Firewall was created.
	CreatedAt pulumi.StringPtrInput
	// The list of the IDs of the Droplets assigned
	// to the Firewall.
	DropletIds pulumi.IntArrayInput
	// The inbound access rule block for the Firewall.
	// The `inboundRule` block is documented below.
	InboundRules FirewallInboundRuleArrayInput
	// The Firewall name
	Name pulumi.StringPtrInput
	// The outbound access rule block for the Firewall.
	// The `outboundRule` block is documented below.
	OutboundRules FirewallOutboundRuleArrayInput
	// An list of object containing the fields, "dropletId",
	// "removing", and "status".  It is provided to detail exactly which Droplets
	// are having their security policies updated.  When empty, all changes
	// have been successfully applied.
	PendingChanges FirewallPendingChangeArrayInput
	// A status string indicating the current state of the Firewall.
	// This can be "waiting", "succeeded", or "failed".
	Status pulumi.StringPtrInput
	// The names of the Tags assigned to the Firewall.
	Tags pulumi.StringArrayInput
}

func (FirewallState) ElementType

func (FirewallState) ElementType() reflect.Type

type FloatingIp

type FloatingIp struct {
	pulumi.CustomResourceState

	// The ID of Droplet that the Floating IP will be assigned to.
	DropletId pulumi.IntPtrOutput `pulumi:"dropletId"`
	// The uniform resource name of the floating ip
	FloatingIpUrn pulumi.StringOutput `pulumi:"floatingIpUrn"`
	// The IP Address of the resource
	IpAddress pulumi.StringOutput `pulumi:"ipAddress"`
	// The region that the Floating IP is reserved to.
	Region pulumi.StringOutput `pulumi:"region"`
}

> **Deprecated:** DigitalOcean Floating IPs have been renamed reserved IPs. This resource will be removed in a future release. Please use `ReservedIp` instead.

Provides a DigitalOcean Floating IP to represent a publicly-accessible static IP addresses that can be mapped to one of your Droplets.

> **NOTE:** Floating IPs can be assigned to a Droplet either directly on the `FloatingIp` resource by setting a `dropletId` or using the `FloatingIpAssignment` resource, but the two cannot be used together.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		foobarDroplet, err := digitalocean.NewDroplet(ctx, "foobarDroplet", &digitalocean.DropletArgs{
			Size:              pulumi.String(digitalocean.DropletSlugDropletS1VCPU1GB),
			Image:             pulumi.String("ubuntu-18-04-x64"),
			Region:            pulumi.String(digitalocean.RegionSGP1),
			Ipv6:              pulumi.Bool(true),
			PrivateNetworking: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewFloatingIp(ctx, "foobarFloatingIp", &digitalocean.FloatingIpArgs{
			DropletId: foobarDroplet.ID(),
			Region:    foobarDroplet.Region,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Floating IPs can be imported using the `ip`, e.g.

```sh $ pulumi import digitalocean:index/floatingIp:FloatingIp myip 192.168.0.1 ```

func GetFloatingIp

func GetFloatingIp(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FloatingIpState, opts ...pulumi.ResourceOption) (*FloatingIp, error)

GetFloatingIp gets an existing FloatingIp 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 NewFloatingIp

func NewFloatingIp(ctx *pulumi.Context,
	name string, args *FloatingIpArgs, opts ...pulumi.ResourceOption) (*FloatingIp, error)

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

func (*FloatingIp) ElementType

func (*FloatingIp) ElementType() reflect.Type

func (*FloatingIp) ToFloatingIpOutput

func (i *FloatingIp) ToFloatingIpOutput() FloatingIpOutput

func (*FloatingIp) ToFloatingIpOutputWithContext

func (i *FloatingIp) ToFloatingIpOutputWithContext(ctx context.Context) FloatingIpOutput

type FloatingIpArgs

type FloatingIpArgs struct {
	// The ID of Droplet that the Floating IP will be assigned to.
	DropletId pulumi.IntPtrInput
	// The IP Address of the resource
	IpAddress pulumi.StringPtrInput
	// The region that the Floating IP is reserved to.
	Region pulumi.StringInput
}

The set of arguments for constructing a FloatingIp resource.

func (FloatingIpArgs) ElementType

func (FloatingIpArgs) ElementType() reflect.Type

type FloatingIpArray

type FloatingIpArray []FloatingIpInput

func (FloatingIpArray) ElementType

func (FloatingIpArray) ElementType() reflect.Type

func (FloatingIpArray) ToFloatingIpArrayOutput

func (i FloatingIpArray) ToFloatingIpArrayOutput() FloatingIpArrayOutput

func (FloatingIpArray) ToFloatingIpArrayOutputWithContext

func (i FloatingIpArray) ToFloatingIpArrayOutputWithContext(ctx context.Context) FloatingIpArrayOutput

type FloatingIpArrayInput

type FloatingIpArrayInput interface {
	pulumi.Input

	ToFloatingIpArrayOutput() FloatingIpArrayOutput
	ToFloatingIpArrayOutputWithContext(context.Context) FloatingIpArrayOutput
}

FloatingIpArrayInput is an input type that accepts FloatingIpArray and FloatingIpArrayOutput values. You can construct a concrete instance of `FloatingIpArrayInput` via:

FloatingIpArray{ FloatingIpArgs{...} }

type FloatingIpArrayOutput

type FloatingIpArrayOutput struct{ *pulumi.OutputState }

func (FloatingIpArrayOutput) ElementType

func (FloatingIpArrayOutput) ElementType() reflect.Type

func (FloatingIpArrayOutput) Index

func (FloatingIpArrayOutput) ToFloatingIpArrayOutput

func (o FloatingIpArrayOutput) ToFloatingIpArrayOutput() FloatingIpArrayOutput

func (FloatingIpArrayOutput) ToFloatingIpArrayOutputWithContext

func (o FloatingIpArrayOutput) ToFloatingIpArrayOutputWithContext(ctx context.Context) FloatingIpArrayOutput

type FloatingIpAssignment

type FloatingIpAssignment struct {
	pulumi.CustomResourceState

	// The ID of Droplet that the Floating IP will be assigned to.
	DropletId pulumi.IntOutput `pulumi:"dropletId"`
	// The Floating IP to assign to the Droplet.
	IpAddress pulumi.StringOutput `pulumi:"ipAddress"`
}

> **Deprecated:** DigitalOcean Floating IPs have been renamed reserved IPs. This resource will be removed in a future release. Please use `ReservedIpAssignment` instead.

Provides a resource for assigning an existing DigitalOcean Floating IP to a Droplet. This makes it easy to provision floating IP addresses that are not tied to the lifecycle of your Droplet.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		foobarFloatingIp, err := digitalocean.NewFloatingIp(ctx, "foobarFloatingIp", &digitalocean.FloatingIpArgs{
			Region: pulumi.String("sgp1"),
		})
		if err != nil {
			return err
		}
		foobarDroplet, err := digitalocean.NewDroplet(ctx, "foobarDroplet", &digitalocean.DropletArgs{
			Size:              pulumi.String(digitalocean.DropletSlugDropletS1VCPU1GB),
			Image:             pulumi.String("ubuntu-18-04-x64"),
			Region:            pulumi.String(digitalocean.RegionSGP1),
			Ipv6:              pulumi.Bool(true),
			PrivateNetworking: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewFloatingIpAssignment(ctx, "foobarFloatingIpAssignment", &digitalocean.FloatingIpAssignmentArgs{
			IpAddress: foobarFloatingIp.IpAddress,
			DropletId: foobarDroplet.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Floating IP assignments can be imported using the Floating IP itself and the `id` of

the Droplet joined with a comma. For example:

```sh $ pulumi import digitalocean:index/floatingIpAssignment:FloatingIpAssignment foobar 192.0.2.1,123456 ```

func GetFloatingIpAssignment

func GetFloatingIpAssignment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FloatingIpAssignmentState, opts ...pulumi.ResourceOption) (*FloatingIpAssignment, error)

GetFloatingIpAssignment gets an existing FloatingIpAssignment 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 NewFloatingIpAssignment

func NewFloatingIpAssignment(ctx *pulumi.Context,
	name string, args *FloatingIpAssignmentArgs, opts ...pulumi.ResourceOption) (*FloatingIpAssignment, error)

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

func (*FloatingIpAssignment) ElementType

func (*FloatingIpAssignment) ElementType() reflect.Type

func (*FloatingIpAssignment) ToFloatingIpAssignmentOutput

func (i *FloatingIpAssignment) ToFloatingIpAssignmentOutput() FloatingIpAssignmentOutput

func (*FloatingIpAssignment) ToFloatingIpAssignmentOutputWithContext

func (i *FloatingIpAssignment) ToFloatingIpAssignmentOutputWithContext(ctx context.Context) FloatingIpAssignmentOutput

type FloatingIpAssignmentArgs

type FloatingIpAssignmentArgs struct {
	// The ID of Droplet that the Floating IP will be assigned to.
	DropletId pulumi.IntInput
	// The Floating IP to assign to the Droplet.
	IpAddress pulumi.StringInput
}

The set of arguments for constructing a FloatingIpAssignment resource.

func (FloatingIpAssignmentArgs) ElementType

func (FloatingIpAssignmentArgs) ElementType() reflect.Type

type FloatingIpAssignmentArray

type FloatingIpAssignmentArray []FloatingIpAssignmentInput

func (FloatingIpAssignmentArray) ElementType

func (FloatingIpAssignmentArray) ElementType() reflect.Type

func (FloatingIpAssignmentArray) ToFloatingIpAssignmentArrayOutput

func (i FloatingIpAssignmentArray) ToFloatingIpAssignmentArrayOutput() FloatingIpAssignmentArrayOutput

func (FloatingIpAssignmentArray) ToFloatingIpAssignmentArrayOutputWithContext

func (i FloatingIpAssignmentArray) ToFloatingIpAssignmentArrayOutputWithContext(ctx context.Context) FloatingIpAssignmentArrayOutput

type FloatingIpAssignmentArrayInput

type FloatingIpAssignmentArrayInput interface {
	pulumi.Input

	ToFloatingIpAssignmentArrayOutput() FloatingIpAssignmentArrayOutput
	ToFloatingIpAssignmentArrayOutputWithContext(context.Context) FloatingIpAssignmentArrayOutput
}

FloatingIpAssignmentArrayInput is an input type that accepts FloatingIpAssignmentArray and FloatingIpAssignmentArrayOutput values. You can construct a concrete instance of `FloatingIpAssignmentArrayInput` via:

FloatingIpAssignmentArray{ FloatingIpAssignmentArgs{...} }

type FloatingIpAssignmentArrayOutput

type FloatingIpAssignmentArrayOutput struct{ *pulumi.OutputState }

func (FloatingIpAssignmentArrayOutput) ElementType

func (FloatingIpAssignmentArrayOutput) Index

func (FloatingIpAssignmentArrayOutput) ToFloatingIpAssignmentArrayOutput

func (o FloatingIpAssignmentArrayOutput) ToFloatingIpAssignmentArrayOutput() FloatingIpAssignmentArrayOutput

func (FloatingIpAssignmentArrayOutput) ToFloatingIpAssignmentArrayOutputWithContext

func (o FloatingIpAssignmentArrayOutput) ToFloatingIpAssignmentArrayOutputWithContext(ctx context.Context) FloatingIpAssignmentArrayOutput

type FloatingIpAssignmentInput

type FloatingIpAssignmentInput interface {
	pulumi.Input

	ToFloatingIpAssignmentOutput() FloatingIpAssignmentOutput
	ToFloatingIpAssignmentOutputWithContext(ctx context.Context) FloatingIpAssignmentOutput
}

type FloatingIpAssignmentMap

type FloatingIpAssignmentMap map[string]FloatingIpAssignmentInput

func (FloatingIpAssignmentMap) ElementType

func (FloatingIpAssignmentMap) ElementType() reflect.Type

func (FloatingIpAssignmentMap) ToFloatingIpAssignmentMapOutput

func (i FloatingIpAssignmentMap) ToFloatingIpAssignmentMapOutput() FloatingIpAssignmentMapOutput

func (FloatingIpAssignmentMap) ToFloatingIpAssignmentMapOutputWithContext

func (i FloatingIpAssignmentMap) ToFloatingIpAssignmentMapOutputWithContext(ctx context.Context) FloatingIpAssignmentMapOutput

type FloatingIpAssignmentMapInput

type FloatingIpAssignmentMapInput interface {
	pulumi.Input

	ToFloatingIpAssignmentMapOutput() FloatingIpAssignmentMapOutput
	ToFloatingIpAssignmentMapOutputWithContext(context.Context) FloatingIpAssignmentMapOutput
}

FloatingIpAssignmentMapInput is an input type that accepts FloatingIpAssignmentMap and FloatingIpAssignmentMapOutput values. You can construct a concrete instance of `FloatingIpAssignmentMapInput` via:

FloatingIpAssignmentMap{ "key": FloatingIpAssignmentArgs{...} }

type FloatingIpAssignmentMapOutput

type FloatingIpAssignmentMapOutput struct{ *pulumi.OutputState }

func (FloatingIpAssignmentMapOutput) ElementType

func (FloatingIpAssignmentMapOutput) MapIndex

func (FloatingIpAssignmentMapOutput) ToFloatingIpAssignmentMapOutput

func (o FloatingIpAssignmentMapOutput) ToFloatingIpAssignmentMapOutput() FloatingIpAssignmentMapOutput

func (FloatingIpAssignmentMapOutput) ToFloatingIpAssignmentMapOutputWithContext

func (o FloatingIpAssignmentMapOutput) ToFloatingIpAssignmentMapOutputWithContext(ctx context.Context) FloatingIpAssignmentMapOutput

type FloatingIpAssignmentOutput

type FloatingIpAssignmentOutput struct{ *pulumi.OutputState }

func (FloatingIpAssignmentOutput) DropletId added in v4.13.0

The ID of Droplet that the Floating IP will be assigned to.

func (FloatingIpAssignmentOutput) ElementType

func (FloatingIpAssignmentOutput) ElementType() reflect.Type

func (FloatingIpAssignmentOutput) IpAddress added in v4.13.0

The Floating IP to assign to the Droplet.

func (FloatingIpAssignmentOutput) ToFloatingIpAssignmentOutput

func (o FloatingIpAssignmentOutput) ToFloatingIpAssignmentOutput() FloatingIpAssignmentOutput

func (FloatingIpAssignmentOutput) ToFloatingIpAssignmentOutputWithContext

func (o FloatingIpAssignmentOutput) ToFloatingIpAssignmentOutputWithContext(ctx context.Context) FloatingIpAssignmentOutput

type FloatingIpAssignmentState

type FloatingIpAssignmentState struct {
	// The ID of Droplet that the Floating IP will be assigned to.
	DropletId pulumi.IntPtrInput
	// The Floating IP to assign to the Droplet.
	IpAddress pulumi.StringPtrInput
}

func (FloatingIpAssignmentState) ElementType

func (FloatingIpAssignmentState) ElementType() reflect.Type

type FloatingIpInput

type FloatingIpInput interface {
	pulumi.Input

	ToFloatingIpOutput() FloatingIpOutput
	ToFloatingIpOutputWithContext(ctx context.Context) FloatingIpOutput
}

type FloatingIpMap

type FloatingIpMap map[string]FloatingIpInput

func (FloatingIpMap) ElementType

func (FloatingIpMap) ElementType() reflect.Type

func (FloatingIpMap) ToFloatingIpMapOutput

func (i FloatingIpMap) ToFloatingIpMapOutput() FloatingIpMapOutput

func (FloatingIpMap) ToFloatingIpMapOutputWithContext

func (i FloatingIpMap) ToFloatingIpMapOutputWithContext(ctx context.Context) FloatingIpMapOutput

type FloatingIpMapInput

type FloatingIpMapInput interface {
	pulumi.Input

	ToFloatingIpMapOutput() FloatingIpMapOutput
	ToFloatingIpMapOutputWithContext(context.Context) FloatingIpMapOutput
}

FloatingIpMapInput is an input type that accepts FloatingIpMap and FloatingIpMapOutput values. You can construct a concrete instance of `FloatingIpMapInput` via:

FloatingIpMap{ "key": FloatingIpArgs{...} }

type FloatingIpMapOutput

type FloatingIpMapOutput struct{ *pulumi.OutputState }

func (FloatingIpMapOutput) ElementType

func (FloatingIpMapOutput) ElementType() reflect.Type

func (FloatingIpMapOutput) MapIndex

func (FloatingIpMapOutput) ToFloatingIpMapOutput

func (o FloatingIpMapOutput) ToFloatingIpMapOutput() FloatingIpMapOutput

func (FloatingIpMapOutput) ToFloatingIpMapOutputWithContext

func (o FloatingIpMapOutput) ToFloatingIpMapOutputWithContext(ctx context.Context) FloatingIpMapOutput

type FloatingIpOutput

type FloatingIpOutput struct{ *pulumi.OutputState }

func (FloatingIpOutput) DropletId added in v4.13.0

func (o FloatingIpOutput) DropletId() pulumi.IntPtrOutput

The ID of Droplet that the Floating IP will be assigned to.

func (FloatingIpOutput) ElementType

func (FloatingIpOutput) ElementType() reflect.Type

func (FloatingIpOutput) FloatingIpUrn added in v4.13.0

func (o FloatingIpOutput) FloatingIpUrn() pulumi.StringOutput

The uniform resource name of the floating ip

func (FloatingIpOutput) IpAddress added in v4.13.0

func (o FloatingIpOutput) IpAddress() pulumi.StringOutput

The IP Address of the resource

func (FloatingIpOutput) Region added in v4.13.0

The region that the Floating IP is reserved to.

func (FloatingIpOutput) ToFloatingIpOutput

func (o FloatingIpOutput) ToFloatingIpOutput() FloatingIpOutput

func (FloatingIpOutput) ToFloatingIpOutputWithContext

func (o FloatingIpOutput) ToFloatingIpOutputWithContext(ctx context.Context) FloatingIpOutput

type FloatingIpState

type FloatingIpState struct {
	// The ID of Droplet that the Floating IP will be assigned to.
	DropletId pulumi.IntPtrInput
	// The uniform resource name of the floating ip
	FloatingIpUrn pulumi.StringPtrInput
	// The IP Address of the resource
	IpAddress pulumi.StringPtrInput
	// The region that the Floating IP is reserved to.
	Region pulumi.StringPtrInput
}

func (FloatingIpState) ElementType

func (FloatingIpState) ElementType() reflect.Type

type GetAccountResult

type GetAccountResult struct {
	// The total number of droplets current user or team may have active at one time.
	DropletLimit int `pulumi:"dropletLimit"`
	// The email address used by the current user to register for DigitalOcean.
	Email string `pulumi:"email"`
	// If true, the user has verified their account via email. False otherwise.
	EmailVerified bool `pulumi:"emailVerified"`
	// The total number of floating IPs the current user or team may have.
	FloatingIpLimit int `pulumi:"floatingIpLimit"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// This value is one of "active", "warning" or "locked".
	Status string `pulumi:"status"`
	// A human-readable message giving more details about the status of the account.
	StatusMessage string `pulumi:"statusMessage"`
	// The unique universal identifier for the current user.
	Uuid string `pulumi:"uuid"`
}

A collection of values returned by getAccount.

func GetAccount

func GetAccount(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetAccountResult, error)

Get information on your DigitalOcean account.

## Example Usage

Get the account:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.GetAccount(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetAccountResultOutput added in v4.23.0

type GetAccountResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAccount.

func GetAccountOutput added in v4.23.0

func GetAccountOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetAccountResultOutput

func (GetAccountResultOutput) DropletLimit added in v4.23.0

func (o GetAccountResultOutput) DropletLimit() pulumi.IntOutput

The total number of droplets current user or team may have active at one time.

func (GetAccountResultOutput) ElementType added in v4.23.0

func (GetAccountResultOutput) ElementType() reflect.Type

func (GetAccountResultOutput) Email added in v4.23.0

The email address used by the current user to register for DigitalOcean.

func (GetAccountResultOutput) EmailVerified added in v4.23.0

func (o GetAccountResultOutput) EmailVerified() pulumi.BoolOutput

If true, the user has verified their account via email. False otherwise.

func (GetAccountResultOutput) FloatingIpLimit added in v4.23.0

func (o GetAccountResultOutput) FloatingIpLimit() pulumi.IntOutput

The total number of floating IPs the current user or team may have.

func (GetAccountResultOutput) Id added in v4.23.0

The provider-assigned unique ID for this managed resource.

func (GetAccountResultOutput) Status added in v4.23.0

This value is one of "active", "warning" or "locked".

func (GetAccountResultOutput) StatusMessage added in v4.23.0

func (o GetAccountResultOutput) StatusMessage() pulumi.StringOutput

A human-readable message giving more details about the status of the account.

func (GetAccountResultOutput) ToGetAccountResultOutput added in v4.23.0

func (o GetAccountResultOutput) ToGetAccountResultOutput() GetAccountResultOutput

func (GetAccountResultOutput) ToGetAccountResultOutputWithContext added in v4.23.0

func (o GetAccountResultOutput) ToGetAccountResultOutputWithContext(ctx context.Context) GetAccountResultOutput

func (GetAccountResultOutput) Uuid added in v4.23.0

The unique universal identifier for the current user.

type GetAppSpec

type GetAppSpec struct {
	// Describes an alert policy for the component.
	Alerts    []GetAppSpecAlert    `pulumi:"alerts"`
	Databases []GetAppSpecDatabase `pulumi:"databases"`
	Domain    []GetAppSpecDomain   `pulumi:"domain"`
	// Deprecated: This attribute has been replaced by `domain` which supports additional functionality.
	Domains []string `pulumi:"domains"`
	// Describes an environment variable made available to an app competent.
	Envs []GetAppSpecEnv `pulumi:"envs"`
	// List of features which is applied to the app
	Features  []string             `pulumi:"features"`
	Functions []GetAppSpecFunction `pulumi:"functions"`
	Ingress   GetAppSpecIngress    `pulumi:"ingress"`
	Jobs      []GetAppSpecJob      `pulumi:"jobs"`
	// The name of the component.
	Name string `pulumi:"name"`
	// The slug for the DigitalOcean data center region hosting the app
	Region      *string                `pulumi:"region"`
	Services    []GetAppSpecService    `pulumi:"services"`
	StaticSites []GetAppSpecStaticSite `pulumi:"staticSites"`
	Workers     []GetAppSpecWorker     `pulumi:"workers"`
}

type GetAppSpecAlert added in v4.12.0

type GetAppSpecAlert struct {
	// Determines whether or not the alert is disabled (default: `false`).
	Disabled *bool `pulumi:"disabled"`
	// The type of the alert to configure. Component app alert policies can be: `CPU_UTILIZATION`, `MEM_UTILIZATION`, or `RESTART_COUNT`.
	Rule string `pulumi:"rule"`
}

type GetAppSpecAlertArgs added in v4.12.0

type GetAppSpecAlertArgs struct {
	// Determines whether or not the alert is disabled (default: `false`).
	Disabled pulumi.BoolPtrInput `pulumi:"disabled"`
	// The type of the alert to configure. Component app alert policies can be: `CPU_UTILIZATION`, `MEM_UTILIZATION`, or `RESTART_COUNT`.
	Rule pulumi.StringInput `pulumi:"rule"`
}

func (GetAppSpecAlertArgs) ElementType added in v4.12.0

func (GetAppSpecAlertArgs) ElementType() reflect.Type

func (GetAppSpecAlertArgs) ToGetAppSpecAlertOutput added in v4.12.0

func (i GetAppSpecAlertArgs) ToGetAppSpecAlertOutput() GetAppSpecAlertOutput

func (GetAppSpecAlertArgs) ToGetAppSpecAlertOutputWithContext added in v4.12.0

func (i GetAppSpecAlertArgs) ToGetAppSpecAlertOutputWithContext(ctx context.Context) GetAppSpecAlertOutput

type GetAppSpecAlertArray added in v4.12.0

type GetAppSpecAlertArray []GetAppSpecAlertInput

func (GetAppSpecAlertArray) ElementType added in v4.12.0

func (GetAppSpecAlertArray) ElementType() reflect.Type

func (GetAppSpecAlertArray) ToGetAppSpecAlertArrayOutput added in v4.12.0

func (i GetAppSpecAlertArray) ToGetAppSpecAlertArrayOutput() GetAppSpecAlertArrayOutput

func (GetAppSpecAlertArray) ToGetAppSpecAlertArrayOutputWithContext added in v4.12.0

func (i GetAppSpecAlertArray) ToGetAppSpecAlertArrayOutputWithContext(ctx context.Context) GetAppSpecAlertArrayOutput

type GetAppSpecAlertArrayInput added in v4.12.0

type GetAppSpecAlertArrayInput interface {
	pulumi.Input

	ToGetAppSpecAlertArrayOutput() GetAppSpecAlertArrayOutput
	ToGetAppSpecAlertArrayOutputWithContext(context.Context) GetAppSpecAlertArrayOutput
}

GetAppSpecAlertArrayInput is an input type that accepts GetAppSpecAlertArray and GetAppSpecAlertArrayOutput values. You can construct a concrete instance of `GetAppSpecAlertArrayInput` via:

GetAppSpecAlertArray{ GetAppSpecAlertArgs{...} }

type GetAppSpecAlertArrayOutput added in v4.12.0

type GetAppSpecAlertArrayOutput struct{ *pulumi.OutputState }

func (GetAppSpecAlertArrayOutput) ElementType added in v4.12.0

func (GetAppSpecAlertArrayOutput) ElementType() reflect.Type

func (GetAppSpecAlertArrayOutput) Index added in v4.12.0

func (GetAppSpecAlertArrayOutput) ToGetAppSpecAlertArrayOutput added in v4.12.0

func (o GetAppSpecAlertArrayOutput) ToGetAppSpecAlertArrayOutput() GetAppSpecAlertArrayOutput

func (GetAppSpecAlertArrayOutput) ToGetAppSpecAlertArrayOutputWithContext added in v4.12.0

func (o GetAppSpecAlertArrayOutput) ToGetAppSpecAlertArrayOutputWithContext(ctx context.Context) GetAppSpecAlertArrayOutput

type GetAppSpecAlertInput added in v4.12.0

type GetAppSpecAlertInput interface {
	pulumi.Input

	ToGetAppSpecAlertOutput() GetAppSpecAlertOutput
	ToGetAppSpecAlertOutputWithContext(context.Context) GetAppSpecAlertOutput
}

GetAppSpecAlertInput is an input type that accepts GetAppSpecAlertArgs and GetAppSpecAlertOutput values. You can construct a concrete instance of `GetAppSpecAlertInput` via:

GetAppSpecAlertArgs{...}

type GetAppSpecAlertOutput added in v4.12.0

type GetAppSpecAlertOutput struct{ *pulumi.OutputState }

func (GetAppSpecAlertOutput) Disabled added in v4.12.0

Determines whether or not the alert is disabled (default: `false`).

func (GetAppSpecAlertOutput) ElementType added in v4.12.0

func (GetAppSpecAlertOutput) ElementType() reflect.Type

func (GetAppSpecAlertOutput) Rule added in v4.12.0

The type of the alert to configure. Component app alert policies can be: `CPU_UTILIZATION`, `MEM_UTILIZATION`, or `RESTART_COUNT`.

func (GetAppSpecAlertOutput) ToGetAppSpecAlertOutput added in v4.12.0

func (o GetAppSpecAlertOutput) ToGetAppSpecAlertOutput() GetAppSpecAlertOutput

func (GetAppSpecAlertOutput) ToGetAppSpecAlertOutputWithContext added in v4.12.0

func (o GetAppSpecAlertOutput) ToGetAppSpecAlertOutputWithContext(ctx context.Context) GetAppSpecAlertOutput

type GetAppSpecArgs

type GetAppSpecArgs struct {
	// Describes an alert policy for the component.
	Alerts    GetAppSpecAlertArrayInput    `pulumi:"alerts"`
	Databases GetAppSpecDatabaseArrayInput `pulumi:"databases"`
	Domain    GetAppSpecDomainArrayInput   `pulumi:"domain"`
	// Deprecated: This attribute has been replaced by `domain` which supports additional functionality.
	Domains pulumi.StringArrayInput `pulumi:"domains"`
	// Describes an environment variable made available to an app competent.
	Envs GetAppSpecEnvArrayInput `pulumi:"envs"`
	// List of features which is applied to the app
	Features  pulumi.StringArrayInput      `pulumi:"features"`
	Functions GetAppSpecFunctionArrayInput `pulumi:"functions"`
	Ingress   GetAppSpecIngressInput       `pulumi:"ingress"`
	Jobs      GetAppSpecJobArrayInput      `pulumi:"jobs"`
	// The name of the component.
	Name pulumi.StringInput `pulumi:"name"`
	// The slug for the DigitalOcean data center region hosting the app
	Region      pulumi.StringPtrInput          `pulumi:"region"`
	Services    GetAppSpecServiceArrayInput    `pulumi:"services"`
	StaticSites GetAppSpecStaticSiteArrayInput `pulumi:"staticSites"`
	Workers     GetAppSpecWorkerArrayInput     `pulumi:"workers"`
}

func (GetAppSpecArgs) ElementType

func (GetAppSpecArgs) ElementType() reflect.Type

func (GetAppSpecArgs) ToGetAppSpecOutput

func (i GetAppSpecArgs) ToGetAppSpecOutput() GetAppSpecOutput

func (GetAppSpecArgs) ToGetAppSpecOutputWithContext

func (i GetAppSpecArgs) ToGetAppSpecOutputWithContext(ctx context.Context) GetAppSpecOutput

type GetAppSpecArray

type GetAppSpecArray []GetAppSpecInput

func (GetAppSpecArray) ElementType

func (GetAppSpecArray) ElementType() reflect.Type

func (GetAppSpecArray) ToGetAppSpecArrayOutput

func (i GetAppSpecArray) ToGetAppSpecArrayOutput() GetAppSpecArrayOutput

func (GetAppSpecArray) ToGetAppSpecArrayOutputWithContext

func (i GetAppSpecArray) ToGetAppSpecArrayOutputWithContext(ctx context.Context) GetAppSpecArrayOutput

type GetAppSpecArrayInput

type GetAppSpecArrayInput interface {
	pulumi.Input

	ToGetAppSpecArrayOutput() GetAppSpecArrayOutput
	ToGetAppSpecArrayOutputWithContext(context.Context) GetAppSpecArrayOutput
}

GetAppSpecArrayInput is an input type that accepts GetAppSpecArray and GetAppSpecArrayOutput values. You can construct a concrete instance of `GetAppSpecArrayInput` via:

GetAppSpecArray{ GetAppSpecArgs{...} }

type GetAppSpecArrayOutput

type GetAppSpecArrayOutput struct{ *pulumi.OutputState }

func (GetAppSpecArrayOutput) ElementType

func (GetAppSpecArrayOutput) ElementType() reflect.Type

func (GetAppSpecArrayOutput) Index

func (GetAppSpecArrayOutput) ToGetAppSpecArrayOutput

func (o GetAppSpecArrayOutput) ToGetAppSpecArrayOutput() GetAppSpecArrayOutput

func (GetAppSpecArrayOutput) ToGetAppSpecArrayOutputWithContext

func (o GetAppSpecArrayOutput) ToGetAppSpecArrayOutputWithContext(ctx context.Context) GetAppSpecArrayOutput

type GetAppSpecDatabase

type GetAppSpecDatabase struct {
	// The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if `clusterName` is not set, a new cluster will be provisioned.
	ClusterName *string `pulumi:"clusterName"`
	// The name of the MySQL or PostgreSQL database to configure.
	DbName *string `pulumi:"dbName"`
	// The name of the MySQL or PostgreSQL user to configure.
	DbUser *string `pulumi:"dbUser"`
	// The database engine to use (`MYSQL`, `PG`, `REDIS`, or `MONGODB`).
	Engine *string `pulumi:"engine"`
	// The name of the component.
	Name *string `pulumi:"name"`
	// Whether this is a production or dev database.
	Production *bool `pulumi:"production"`
	// The version of the database engine.
	Version *string `pulumi:"version"`
}

type GetAppSpecDatabaseArgs

type GetAppSpecDatabaseArgs struct {
	// The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if `clusterName` is not set, a new cluster will be provisioned.
	ClusterName pulumi.StringPtrInput `pulumi:"clusterName"`
	// The name of the MySQL or PostgreSQL database to configure.
	DbName pulumi.StringPtrInput `pulumi:"dbName"`
	// The name of the MySQL or PostgreSQL user to configure.
	DbUser pulumi.StringPtrInput `pulumi:"dbUser"`
	// The database engine to use (`MYSQL`, `PG`, `REDIS`, or `MONGODB`).
	Engine pulumi.StringPtrInput `pulumi:"engine"`
	// The name of the component.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Whether this is a production or dev database.
	Production pulumi.BoolPtrInput `pulumi:"production"`
	// The version of the database engine.
	Version pulumi.StringPtrInput `pulumi:"version"`
}

func (GetAppSpecDatabaseArgs) ElementType

func (GetAppSpecDatabaseArgs) ElementType() reflect.Type

func (GetAppSpecDatabaseArgs) ToGetAppSpecDatabaseOutput

func (i GetAppSpecDatabaseArgs) ToGetAppSpecDatabaseOutput() GetAppSpecDatabaseOutput

func (GetAppSpecDatabaseArgs) ToGetAppSpecDatabaseOutputWithContext

func (i GetAppSpecDatabaseArgs) ToGetAppSpecDatabaseOutputWithContext(ctx context.Context) GetAppSpecDatabaseOutput

type GetAppSpecDatabaseArray

type GetAppSpecDatabaseArray []GetAppSpecDatabaseInput

func (GetAppSpecDatabaseArray) ElementType

func (GetAppSpecDatabaseArray) ElementType() reflect.Type

func (GetAppSpecDatabaseArray) ToGetAppSpecDatabaseArrayOutput

func (i GetAppSpecDatabaseArray) ToGetAppSpecDatabaseArrayOutput() GetAppSpecDatabaseArrayOutput

func (GetAppSpecDatabaseArray) ToGetAppSpecDatabaseArrayOutputWithContext

func (i GetAppSpecDatabaseArray) ToGetAppSpecDatabaseArrayOutputWithContext(ctx context.Context) GetAppSpecDatabaseArrayOutput

type GetAppSpecDatabaseArrayInput

type GetAppSpecDatabaseArrayInput interface {
	pulumi.Input

	ToGetAppSpecDatabaseArrayOutput() GetAppSpecDatabaseArrayOutput
	ToGetAppSpecDatabaseArrayOutputWithContext(context.Context) GetAppSpecDatabaseArrayOutput
}

GetAppSpecDatabaseArrayInput is an input type that accepts GetAppSpecDatabaseArray and GetAppSpecDatabaseArrayOutput values. You can construct a concrete instance of `GetAppSpecDatabaseArrayInput` via:

GetAppSpecDatabaseArray{ GetAppSpecDatabaseArgs{...} }

type GetAppSpecDatabaseArrayOutput

type GetAppSpecDatabaseArrayOutput struct{ *pulumi.OutputState }

func (GetAppSpecDatabaseArrayOutput) ElementType

func (GetAppSpecDatabaseArrayOutput) Index

func (GetAppSpecDatabaseArrayOutput) ToGetAppSpecDatabaseArrayOutput

func (o GetAppSpecDatabaseArrayOutput) ToGetAppSpecDatabaseArrayOutput() GetAppSpecDatabaseArrayOutput

func (GetAppSpecDatabaseArrayOutput) ToGetAppSpecDatabaseArrayOutputWithContext

func (o GetAppSpecDatabaseArrayOutput) ToGetAppSpecDatabaseArrayOutputWithContext(ctx context.Context) GetAppSpecDatabaseArrayOutput

type GetAppSpecDatabaseInput

type GetAppSpecDatabaseInput interface {
	pulumi.Input

	ToGetAppSpecDatabaseOutput() GetAppSpecDatabaseOutput
	ToGetAppSpecDatabaseOutputWithContext(context.Context) GetAppSpecDatabaseOutput
}

GetAppSpecDatabaseInput is an input type that accepts GetAppSpecDatabaseArgs and GetAppSpecDatabaseOutput values. You can construct a concrete instance of `GetAppSpecDatabaseInput` via:

GetAppSpecDatabaseArgs{...}

type GetAppSpecDatabaseOutput

type GetAppSpecDatabaseOutput struct{ *pulumi.OutputState }

func (GetAppSpecDatabaseOutput) ClusterName

The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if `clusterName` is not set, a new cluster will be provisioned.

func (GetAppSpecDatabaseOutput) DbName

The name of the MySQL or PostgreSQL database to configure.

func (GetAppSpecDatabaseOutput) DbUser

The name of the MySQL or PostgreSQL user to configure.

func (GetAppSpecDatabaseOutput) ElementType

func (GetAppSpecDatabaseOutput) ElementType() reflect.Type

func (GetAppSpecDatabaseOutput) Engine

The database engine to use (`MYSQL`, `PG`, `REDIS`, or `MONGODB`).

func (GetAppSpecDatabaseOutput) Name

The name of the component.

func (GetAppSpecDatabaseOutput) Production

Whether this is a production or dev database.

func (GetAppSpecDatabaseOutput) ToGetAppSpecDatabaseOutput

func (o GetAppSpecDatabaseOutput) ToGetAppSpecDatabaseOutput() GetAppSpecDatabaseOutput

func (GetAppSpecDatabaseOutput) ToGetAppSpecDatabaseOutputWithContext

func (o GetAppSpecDatabaseOutput) ToGetAppSpecDatabaseOutputWithContext(ctx context.Context) GetAppSpecDatabaseOutput

func (GetAppSpecDatabaseOutput) Version

The version of the database engine.

type GetAppSpecDomain

type GetAppSpecDomain struct {
	// The name of the component.
	Name string `pulumi:"name"`
	// The type of the environment variable, `GENERAL` or `SECRET`.
	Type string `pulumi:"type"`
	// Indicates whether the domain includes all sub-domains, in addition to the given domain.
	Wildcard bool `pulumi:"wildcard"`
	// If the domain uses DigitalOcean DNS and you would like App Platform to automatically manage it for you, set this to the name of the domain on your account.
	Zone *string `pulumi:"zone"`
}

type GetAppSpecDomainArgs

type GetAppSpecDomainArgs struct {
	// The name of the component.
	Name pulumi.StringInput `pulumi:"name"`
	// The type of the environment variable, `GENERAL` or `SECRET`.
	Type pulumi.StringInput `pulumi:"type"`
	// Indicates whether the domain includes all sub-domains, in addition to the given domain.
	Wildcard pulumi.BoolInput `pulumi:"wildcard"`
	// If the domain uses DigitalOcean DNS and you would like App Platform to automatically manage it for you, set this to the name of the domain on your account.
	Zone pulumi.StringPtrInput `pulumi:"zone"`
}

func (GetAppSpecDomainArgs) ElementType

func (GetAppSpecDomainArgs) ElementType() reflect.Type

func (GetAppSpecDomainArgs) ToGetAppSpecDomainOutput

func (i GetAppSpecDomainArgs) ToGetAppSpecDomainOutput() GetAppSpecDomainOutput

func (GetAppSpecDomainArgs) ToGetAppSpecDomainOutputWithContext

func (i GetAppSpecDomainArgs) ToGetAppSpecDomainOutputWithContext(ctx context.Context) GetAppSpecDomainOutput

type GetAppSpecDomainArray added in v4.18.0

type GetAppSpecDomainArray []GetAppSpecDomainInput

func (GetAppSpecDomainArray) ElementType added in v4.18.0

func (GetAppSpecDomainArray) ElementType() reflect.Type

func (GetAppSpecDomainArray) ToGetAppSpecDomainArrayOutput added in v4.18.0

func (i GetAppSpecDomainArray) ToGetAppSpecDomainArrayOutput() GetAppSpecDomainArrayOutput

func (GetAppSpecDomainArray) ToGetAppSpecDomainArrayOutputWithContext added in v4.18.0

func (i GetAppSpecDomainArray) ToGetAppSpecDomainArrayOutputWithContext(ctx context.Context) GetAppSpecDomainArrayOutput

type GetAppSpecDomainArrayInput added in v4.18.0

type GetAppSpecDomainArrayInput interface {
	pulumi.Input

	ToGetAppSpecDomainArrayOutput() GetAppSpecDomainArrayOutput
	ToGetAppSpecDomainArrayOutputWithContext(context.Context) GetAppSpecDomainArrayOutput
}

GetAppSpecDomainArrayInput is an input type that accepts GetAppSpecDomainArray and GetAppSpecDomainArrayOutput values. You can construct a concrete instance of `GetAppSpecDomainArrayInput` via:

GetAppSpecDomainArray{ GetAppSpecDomainArgs{...} }

type GetAppSpecDomainArrayOutput added in v4.18.0

type GetAppSpecDomainArrayOutput struct{ *pulumi.OutputState }

func (GetAppSpecDomainArrayOutput) ElementType added in v4.18.0

func (GetAppSpecDomainArrayOutput) Index added in v4.18.0

func (GetAppSpecDomainArrayOutput) ToGetAppSpecDomainArrayOutput added in v4.18.0

func (o GetAppSpecDomainArrayOutput) ToGetAppSpecDomainArrayOutput() GetAppSpecDomainArrayOutput

func (GetAppSpecDomainArrayOutput) ToGetAppSpecDomainArrayOutputWithContext added in v4.18.0

func (o GetAppSpecDomainArrayOutput) ToGetAppSpecDomainArrayOutputWithContext(ctx context.Context) GetAppSpecDomainArrayOutput

type GetAppSpecDomainInput

type GetAppSpecDomainInput interface {
	pulumi.Input

	ToGetAppSpecDomainOutput() GetAppSpecDomainOutput
	ToGetAppSpecDomainOutputWithContext(context.Context) GetAppSpecDomainOutput
}

GetAppSpecDomainInput is an input type that accepts GetAppSpecDomainArgs and GetAppSpecDomainOutput values. You can construct a concrete instance of `GetAppSpecDomainInput` via:

GetAppSpecDomainArgs{...}

type GetAppSpecDomainOutput

type GetAppSpecDomainOutput struct{ *pulumi.OutputState }

func (GetAppSpecDomainOutput) ElementType

func (GetAppSpecDomainOutput) ElementType() reflect.Type

func (GetAppSpecDomainOutput) Name

The name of the component.

func (GetAppSpecDomainOutput) ToGetAppSpecDomainOutput

func (o GetAppSpecDomainOutput) ToGetAppSpecDomainOutput() GetAppSpecDomainOutput

func (GetAppSpecDomainOutput) ToGetAppSpecDomainOutputWithContext

func (o GetAppSpecDomainOutput) ToGetAppSpecDomainOutputWithContext(ctx context.Context) GetAppSpecDomainOutput

func (GetAppSpecDomainOutput) Type

The type of the environment variable, `GENERAL` or `SECRET`.

func (GetAppSpecDomainOutput) Wildcard

Indicates whether the domain includes all sub-domains, in addition to the given domain.

func (GetAppSpecDomainOutput) Zone

If the domain uses DigitalOcean DNS and you would like App Platform to automatically manage it for you, set this to the name of the domain on your account.

type GetAppSpecEnv

type GetAppSpecEnv struct {
	// The name of the environment variable.
	Key *string `pulumi:"key"`
	// The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).
	Scope *string `pulumi:"scope"`
	// The type of the environment variable, `GENERAL` or `SECRET`.
	Type string `pulumi:"type"`
	// The threshold for the type of the warning.
	Value *string `pulumi:"value"`
}

type GetAppSpecEnvArgs

type GetAppSpecEnvArgs struct {
	// The name of the environment variable.
	Key pulumi.StringPtrInput `pulumi:"key"`
	// The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).
	Scope pulumi.StringPtrInput `pulumi:"scope"`
	// The type of the environment variable, `GENERAL` or `SECRET`.
	Type pulumi.StringInput `pulumi:"type"`
	// The threshold for the type of the warning.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (GetAppSpecEnvArgs) ElementType

func (GetAppSpecEnvArgs) ElementType() reflect.Type

func (GetAppSpecEnvArgs) ToGetAppSpecEnvOutput

func (i GetAppSpecEnvArgs) ToGetAppSpecEnvOutput() GetAppSpecEnvOutput

func (GetAppSpecEnvArgs) ToGetAppSpecEnvOutputWithContext

func (i GetAppSpecEnvArgs) ToGetAppSpecEnvOutputWithContext(ctx context.Context) GetAppSpecEnvOutput

type GetAppSpecEnvArray

type GetAppSpecEnvArray []GetAppSpecEnvInput

func (GetAppSpecEnvArray) ElementType

func (GetAppSpecEnvArray) ElementType() reflect.Type

func (GetAppSpecEnvArray) ToGetAppSpecEnvArrayOutput

func (i GetAppSpecEnvArray) ToGetAppSpecEnvArrayOutput() GetAppSpecEnvArrayOutput

func (GetAppSpecEnvArray) ToGetAppSpecEnvArrayOutputWithContext

func (i GetAppSpecEnvArray) ToGetAppSpecEnvArrayOutputWithContext(ctx context.Context) GetAppSpecEnvArrayOutput

type GetAppSpecEnvArrayInput

type GetAppSpecEnvArrayInput interface {
	pulumi.Input

	ToGetAppSpecEnvArrayOutput() GetAppSpecEnvArrayOutput
	ToGetAppSpecEnvArrayOutputWithContext(context.Context) GetAppSpecEnvArrayOutput
}

GetAppSpecEnvArrayInput is an input type that accepts GetAppSpecEnvArray and GetAppSpecEnvArrayOutput values. You can construct a concrete instance of `GetAppSpecEnvArrayInput` via:

GetAppSpecEnvArray{ GetAppSpecEnvArgs{...} }

type GetAppSpecEnvArrayOutput

type GetAppSpecEnvArrayOutput struct{ *pulumi.OutputState }

func (GetAppSpecEnvArrayOutput) ElementType

func (GetAppSpecEnvArrayOutput) ElementType() reflect.Type

func (GetAppSpecEnvArrayOutput) Index

func (GetAppSpecEnvArrayOutput) ToGetAppSpecEnvArrayOutput

func (o GetAppSpecEnvArrayOutput) ToGetAppSpecEnvArrayOutput() GetAppSpecEnvArrayOutput

func (GetAppSpecEnvArrayOutput) ToGetAppSpecEnvArrayOutputWithContext

func (o GetAppSpecEnvArrayOutput) ToGetAppSpecEnvArrayOutputWithContext(ctx context.Context) GetAppSpecEnvArrayOutput

type GetAppSpecEnvInput

type GetAppSpecEnvInput interface {
	pulumi.Input

	ToGetAppSpecEnvOutput() GetAppSpecEnvOutput
	ToGetAppSpecEnvOutputWithContext(context.Context) GetAppSpecEnvOutput
}

GetAppSpecEnvInput is an input type that accepts GetAppSpecEnvArgs and GetAppSpecEnvOutput values. You can construct a concrete instance of `GetAppSpecEnvInput` via:

GetAppSpecEnvArgs{...}

type GetAppSpecEnvOutput

type GetAppSpecEnvOutput struct{ *pulumi.OutputState }

func (GetAppSpecEnvOutput) ElementType

func (GetAppSpecEnvOutput) ElementType() reflect.Type

func (GetAppSpecEnvOutput) Key

The name of the environment variable.

func (GetAppSpecEnvOutput) Scope

The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).

func (GetAppSpecEnvOutput) ToGetAppSpecEnvOutput

func (o GetAppSpecEnvOutput) ToGetAppSpecEnvOutput() GetAppSpecEnvOutput

func (GetAppSpecEnvOutput) ToGetAppSpecEnvOutputWithContext

func (o GetAppSpecEnvOutput) ToGetAppSpecEnvOutputWithContext(ctx context.Context) GetAppSpecEnvOutput

func (GetAppSpecEnvOutput) Type

The type of the environment variable, `GENERAL` or `SECRET`.

func (GetAppSpecEnvOutput) Value

The threshold for the type of the warning.

type GetAppSpecFunction added in v4.13.0

type GetAppSpecFunction struct {
	// Describes an alert policy for the component.
	Alerts []GetAppSpecFunctionAlert `pulumi:"alerts"`
	// The [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies of the app.
	//
	// Deprecated: Service level CORS rules are deprecated in favor of ingresses
	Cors *GetAppSpecFunctionCors `pulumi:"cors"`
	// Describes an environment variable made available to an app competent.
	Envs []GetAppSpecFunctionEnv `pulumi:"envs"`
	// A Git repo to use as the component's source. The repository must be able to be cloned without authentication.  Only one of `git`, `github` or `gitlab`  may be set.
	Git *GetAppSpecFunctionGit `pulumi:"git"`
	// A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Github *GetAppSpecFunctionGithub `pulumi:"github"`
	// A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Gitlab *GetAppSpecFunctionGitlab `pulumi:"gitlab"`
	// Describes a log forwarding destination.
	LogDestinations []GetAppSpecFunctionLogDestination `pulumi:"logDestinations"`
	// The name of the component.
	Name string `pulumi:"name"`
	// Deprecated: Service level routes are deprecated in favor of ingresses
	Routes []GetAppSpecFunctionRoute `pulumi:"routes"`
	// An optional path to the working directory to use for the build.
	SourceDir *string `pulumi:"sourceDir"`
}

type GetAppSpecFunctionAlert added in v4.13.0

type GetAppSpecFunctionAlert struct {
	// Determines whether or not the alert is disabled (default: `false`).
	Disabled *bool `pulumi:"disabled"`
	// The operator to use. This is either of `GREATER_THAN` or `LESS_THAN`.
	Operator string `pulumi:"operator"`
	// The type of the alert to configure. Component app alert policies can be: `CPU_UTILIZATION`, `MEM_UTILIZATION`, or `RESTART_COUNT`.
	Rule string `pulumi:"rule"`
	// The threshold for the type of the warning.
	Value float64 `pulumi:"value"`
	// The time before alerts should be triggered. This is may be one of: `FIVE_MINUTES`, `TEN_MINUTES`, `THIRTY_MINUTES`, `ONE_HOUR`.
	Window string `pulumi:"window"`
}

type GetAppSpecFunctionAlertArgs added in v4.13.0

type GetAppSpecFunctionAlertArgs struct {
	// Determines whether or not the alert is disabled (default: `false`).
	Disabled pulumi.BoolPtrInput `pulumi:"disabled"`
	// The operator to use. This is either of `GREATER_THAN` or `LESS_THAN`.
	Operator pulumi.StringInput `pulumi:"operator"`
	// The type of the alert to configure. Component app alert policies can be: `CPU_UTILIZATION`, `MEM_UTILIZATION`, or `RESTART_COUNT`.
	Rule pulumi.StringInput `pulumi:"rule"`
	// The threshold for the type of the warning.
	Value pulumi.Float64Input `pulumi:"value"`
	// The time before alerts should be triggered. This is may be one of: `FIVE_MINUTES`, `TEN_MINUTES`, `THIRTY_MINUTES`, `ONE_HOUR`.
	Window pulumi.StringInput `pulumi:"window"`
}

func (GetAppSpecFunctionAlertArgs) ElementType added in v4.13.0

func (GetAppSpecFunctionAlertArgs) ToGetAppSpecFunctionAlertOutput added in v4.13.0

func (i GetAppSpecFunctionAlertArgs) ToGetAppSpecFunctionAlertOutput() GetAppSpecFunctionAlertOutput

func (GetAppSpecFunctionAlertArgs) ToGetAppSpecFunctionAlertOutputWithContext added in v4.13.0

func (i GetAppSpecFunctionAlertArgs) ToGetAppSpecFunctionAlertOutputWithContext(ctx context.Context) GetAppSpecFunctionAlertOutput

type GetAppSpecFunctionAlertArray added in v4.13.0

type GetAppSpecFunctionAlertArray []GetAppSpecFunctionAlertInput

func (GetAppSpecFunctionAlertArray) ElementType added in v4.13.0

func (GetAppSpecFunctionAlertArray) ToGetAppSpecFunctionAlertArrayOutput added in v4.13.0

func (i GetAppSpecFunctionAlertArray) ToGetAppSpecFunctionAlertArrayOutput() GetAppSpecFunctionAlertArrayOutput

func (GetAppSpecFunctionAlertArray) ToGetAppSpecFunctionAlertArrayOutputWithContext added in v4.13.0

func (i GetAppSpecFunctionAlertArray) ToGetAppSpecFunctionAlertArrayOutputWithContext(ctx context.Context) GetAppSpecFunctionAlertArrayOutput

type GetAppSpecFunctionAlertArrayInput added in v4.13.0

type GetAppSpecFunctionAlertArrayInput interface {
	pulumi.Input

	ToGetAppSpecFunctionAlertArrayOutput() GetAppSpecFunctionAlertArrayOutput
	ToGetAppSpecFunctionAlertArrayOutputWithContext(context.Context) GetAppSpecFunctionAlertArrayOutput
}

GetAppSpecFunctionAlertArrayInput is an input type that accepts GetAppSpecFunctionAlertArray and GetAppSpecFunctionAlertArrayOutput values. You can construct a concrete instance of `GetAppSpecFunctionAlertArrayInput` via:

GetAppSpecFunctionAlertArray{ GetAppSpecFunctionAlertArgs{...} }

type GetAppSpecFunctionAlertArrayOutput added in v4.13.0

type GetAppSpecFunctionAlertArrayOutput struct{ *pulumi.OutputState }

func (GetAppSpecFunctionAlertArrayOutput) ElementType added in v4.13.0

func (GetAppSpecFunctionAlertArrayOutput) Index added in v4.13.0

func (GetAppSpecFunctionAlertArrayOutput) ToGetAppSpecFunctionAlertArrayOutput added in v4.13.0

func (o GetAppSpecFunctionAlertArrayOutput) ToGetAppSpecFunctionAlertArrayOutput() GetAppSpecFunctionAlertArrayOutput

func (GetAppSpecFunctionAlertArrayOutput) ToGetAppSpecFunctionAlertArrayOutputWithContext added in v4.13.0

func (o GetAppSpecFunctionAlertArrayOutput) ToGetAppSpecFunctionAlertArrayOutputWithContext(ctx context.Context) GetAppSpecFunctionAlertArrayOutput

type GetAppSpecFunctionAlertInput added in v4.13.0

type GetAppSpecFunctionAlertInput interface {
	pulumi.Input

	ToGetAppSpecFunctionAlertOutput() GetAppSpecFunctionAlertOutput
	ToGetAppSpecFunctionAlertOutputWithContext(context.Context) GetAppSpecFunctionAlertOutput
}

GetAppSpecFunctionAlertInput is an input type that accepts GetAppSpecFunctionAlertArgs and GetAppSpecFunctionAlertOutput values. You can construct a concrete instance of `GetAppSpecFunctionAlertInput` via:

GetAppSpecFunctionAlertArgs{...}

type GetAppSpecFunctionAlertOutput added in v4.13.0

type GetAppSpecFunctionAlertOutput struct{ *pulumi.OutputState }

func (GetAppSpecFunctionAlertOutput) Disabled added in v4.13.0

Determines whether or not the alert is disabled (default: `false`).

func (GetAppSpecFunctionAlertOutput) ElementType added in v4.13.0

func (GetAppSpecFunctionAlertOutput) Operator added in v4.13.0

The operator to use. This is either of `GREATER_THAN` or `LESS_THAN`.

func (GetAppSpecFunctionAlertOutput) Rule added in v4.13.0

The type of the alert to configure. Component app alert policies can be: `CPU_UTILIZATION`, `MEM_UTILIZATION`, or `RESTART_COUNT`.

func (GetAppSpecFunctionAlertOutput) ToGetAppSpecFunctionAlertOutput added in v4.13.0

func (o GetAppSpecFunctionAlertOutput) ToGetAppSpecFunctionAlertOutput() GetAppSpecFunctionAlertOutput

func (GetAppSpecFunctionAlertOutput) ToGetAppSpecFunctionAlertOutputWithContext added in v4.13.0

func (o GetAppSpecFunctionAlertOutput) ToGetAppSpecFunctionAlertOutputWithContext(ctx context.Context) GetAppSpecFunctionAlertOutput

func (GetAppSpecFunctionAlertOutput) Value added in v4.13.0

The threshold for the type of the warning.

func (GetAppSpecFunctionAlertOutput) Window added in v4.13.0

The time before alerts should be triggered. This is may be one of: `FIVE_MINUTES`, `TEN_MINUTES`, `THIRTY_MINUTES`, `ONE_HOUR`.

type GetAppSpecFunctionArgs added in v4.13.0

type GetAppSpecFunctionArgs struct {
	// Describes an alert policy for the component.
	Alerts GetAppSpecFunctionAlertArrayInput `pulumi:"alerts"`
	// The [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies of the app.
	//
	// Deprecated: Service level CORS rules are deprecated in favor of ingresses
	Cors GetAppSpecFunctionCorsPtrInput `pulumi:"cors"`
	// Describes an environment variable made available to an app competent.
	Envs GetAppSpecFunctionEnvArrayInput `pulumi:"envs"`
	// A Git repo to use as the component's source. The repository must be able to be cloned without authentication.  Only one of `git`, `github` or `gitlab`  may be set.
	Git GetAppSpecFunctionGitPtrInput `pulumi:"git"`
	// A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Github GetAppSpecFunctionGithubPtrInput `pulumi:"github"`
	// A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Gitlab GetAppSpecFunctionGitlabPtrInput `pulumi:"gitlab"`
	// Describes a log forwarding destination.
	LogDestinations GetAppSpecFunctionLogDestinationArrayInput `pulumi:"logDestinations"`
	// The name of the component.
	Name pulumi.StringInput `pulumi:"name"`
	// Deprecated: Service level routes are deprecated in favor of ingresses
	Routes GetAppSpecFunctionRouteArrayInput `pulumi:"routes"`
	// An optional path to the working directory to use for the build.
	SourceDir pulumi.StringPtrInput `pulumi:"sourceDir"`
}

func (GetAppSpecFunctionArgs) ElementType added in v4.13.0

func (GetAppSpecFunctionArgs) ElementType() reflect.Type

func (GetAppSpecFunctionArgs) ToGetAppSpecFunctionOutput added in v4.13.0

func (i GetAppSpecFunctionArgs) ToGetAppSpecFunctionOutput() GetAppSpecFunctionOutput

func (GetAppSpecFunctionArgs) ToGetAppSpecFunctionOutputWithContext added in v4.13.0

func (i GetAppSpecFunctionArgs) ToGetAppSpecFunctionOutputWithContext(ctx context.Context) GetAppSpecFunctionOutput

type GetAppSpecFunctionArray added in v4.13.0

type GetAppSpecFunctionArray []GetAppSpecFunctionInput

func (GetAppSpecFunctionArray) ElementType added in v4.13.0

func (GetAppSpecFunctionArray) ElementType() reflect.Type

func (GetAppSpecFunctionArray) ToGetAppSpecFunctionArrayOutput added in v4.13.0

func (i GetAppSpecFunctionArray) ToGetAppSpecFunctionArrayOutput() GetAppSpecFunctionArrayOutput

func (GetAppSpecFunctionArray) ToGetAppSpecFunctionArrayOutputWithContext added in v4.13.0

func (i GetAppSpecFunctionArray) ToGetAppSpecFunctionArrayOutputWithContext(ctx context.Context) GetAppSpecFunctionArrayOutput

type GetAppSpecFunctionArrayInput added in v4.13.0

type GetAppSpecFunctionArrayInput interface {
	pulumi.Input

	ToGetAppSpecFunctionArrayOutput() GetAppSpecFunctionArrayOutput
	ToGetAppSpecFunctionArrayOutputWithContext(context.Context) GetAppSpecFunctionArrayOutput
}

GetAppSpecFunctionArrayInput is an input type that accepts GetAppSpecFunctionArray and GetAppSpecFunctionArrayOutput values. You can construct a concrete instance of `GetAppSpecFunctionArrayInput` via:

GetAppSpecFunctionArray{ GetAppSpecFunctionArgs{...} }

type GetAppSpecFunctionArrayOutput added in v4.13.0

type GetAppSpecFunctionArrayOutput struct{ *pulumi.OutputState }

func (GetAppSpecFunctionArrayOutput) ElementType added in v4.13.0

func (GetAppSpecFunctionArrayOutput) Index added in v4.13.0

func (GetAppSpecFunctionArrayOutput) ToGetAppSpecFunctionArrayOutput added in v4.13.0

func (o GetAppSpecFunctionArrayOutput) ToGetAppSpecFunctionArrayOutput() GetAppSpecFunctionArrayOutput

func (GetAppSpecFunctionArrayOutput) ToGetAppSpecFunctionArrayOutputWithContext added in v4.13.0

func (o GetAppSpecFunctionArrayOutput) ToGetAppSpecFunctionArrayOutputWithContext(ctx context.Context) GetAppSpecFunctionArrayOutput

type GetAppSpecFunctionCors added in v4.13.0

type GetAppSpecFunctionCors struct {
	// Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is `include`. This configures the `Access-Control-Allow-Credentials` header.
	AllowCredentials *bool `pulumi:"allowCredentials"`
	// The set of allowed HTTP request headers. This configures the `Access-Control-Allow-Headers` header.
	AllowHeaders []string `pulumi:"allowHeaders"`
	// The set of allowed HTTP methods. This configures the `Access-Control-Allow-Methods` header.
	AllowMethods []string `pulumi:"allowMethods"`
	// The `Access-Control-Allow-Origin` can be
	AllowOrigins *GetAppSpecFunctionCorsAllowOrigins `pulumi:"allowOrigins"`
	// The set of HTTP response headers that browsers are allowed to access. This configures the `Access-Control-Expose-Headers` header.
	ExposeHeaders []string `pulumi:"exposeHeaders"`
	// An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: `5h30m`.
	MaxAge *string `pulumi:"maxAge"`
}

type GetAppSpecFunctionCorsAllowOrigins added in v4.13.0

type GetAppSpecFunctionCorsAllowOrigins struct {
	// The `Access-Control-Allow-Origin` header will be set to the client's origin only if the client's origin exactly matches the value you provide.
	Exact *string `pulumi:"exact"`
	// The `Access-Control-Allow-Origin` header will be set to the client's origin if the beginning of the client's origin matches the value you provide.
	Prefix *string `pulumi:"prefix"`
	// The `Access-Control-Allow-Origin` header will be set to the client's origin if the client’s origin matches the regex you provide, in [RE2 style syntax](https://github.com/google/re2/wiki/Syntax).
	Regex *string `pulumi:"regex"`
}

type GetAppSpecFunctionCorsAllowOriginsArgs added in v4.13.0

type GetAppSpecFunctionCorsAllowOriginsArgs struct {
	// The `Access-Control-Allow-Origin` header will be set to the client's origin only if the client's origin exactly matches the value you provide.
	Exact pulumi.StringPtrInput `pulumi:"exact"`
	// The `Access-Control-Allow-Origin` header will be set to the client's origin if the beginning of the client's origin matches the value you provide.
	Prefix pulumi.StringPtrInput `pulumi:"prefix"`
	// The `Access-Control-Allow-Origin` header will be set to the client's origin if the client’s origin matches the regex you provide, in [RE2 style syntax](https://github.com/google/re2/wiki/Syntax).
	Regex pulumi.StringPtrInput `pulumi:"regex"`
}

func (GetAppSpecFunctionCorsAllowOriginsArgs) ElementType added in v4.13.0

func (GetAppSpecFunctionCorsAllowOriginsArgs) ToGetAppSpecFunctionCorsAllowOriginsOutput added in v4.13.0

func (i GetAppSpecFunctionCorsAllowOriginsArgs) ToGetAppSpecFunctionCorsAllowOriginsOutput() GetAppSpecFunctionCorsAllowOriginsOutput

func (GetAppSpecFunctionCorsAllowOriginsArgs) ToGetAppSpecFunctionCorsAllowOriginsOutputWithContext added in v4.13.0

func (i GetAppSpecFunctionCorsAllowOriginsArgs) ToGetAppSpecFunctionCorsAllowOriginsOutputWithContext(ctx context.Context) GetAppSpecFunctionCorsAllowOriginsOutput

func (GetAppSpecFunctionCorsAllowOriginsArgs) ToGetAppSpecFunctionCorsAllowOriginsPtrOutput added in v4.13.0

func (i GetAppSpecFunctionCorsAllowOriginsArgs) ToGetAppSpecFunctionCorsAllowOriginsPtrOutput() GetAppSpecFunctionCorsAllowOriginsPtrOutput

func (GetAppSpecFunctionCorsAllowOriginsArgs) ToGetAppSpecFunctionCorsAllowOriginsPtrOutputWithContext added in v4.13.0

func (i GetAppSpecFunctionCorsAllowOriginsArgs) ToGetAppSpecFunctionCorsAllowOriginsPtrOutputWithContext(ctx context.Context) GetAppSpecFunctionCorsAllowOriginsPtrOutput

type GetAppSpecFunctionCorsAllowOriginsInput added in v4.13.0

type GetAppSpecFunctionCorsAllowOriginsInput interface {
	pulumi.Input

	ToGetAppSpecFunctionCorsAllowOriginsOutput() GetAppSpecFunctionCorsAllowOriginsOutput
	ToGetAppSpecFunctionCorsAllowOriginsOutputWithContext(context.Context) GetAppSpecFunctionCorsAllowOriginsOutput
}

GetAppSpecFunctionCorsAllowOriginsInput is an input type that accepts GetAppSpecFunctionCorsAllowOriginsArgs and GetAppSpecFunctionCorsAllowOriginsOutput values. You can construct a concrete instance of `GetAppSpecFunctionCorsAllowOriginsInput` via:

GetAppSpecFunctionCorsAllowOriginsArgs{...}

type GetAppSpecFunctionCorsAllowOriginsOutput added in v4.13.0

type GetAppSpecFunctionCorsAllowOriginsOutput struct{ *pulumi.OutputState }

func (GetAppSpecFunctionCorsAllowOriginsOutput) ElementType added in v4.13.0

func (GetAppSpecFunctionCorsAllowOriginsOutput) Exact added in v4.13.0

The `Access-Control-Allow-Origin` header will be set to the client's origin only if the client's origin exactly matches the value you provide.

func (GetAppSpecFunctionCorsAllowOriginsOutput) Prefix added in v4.13.0

The `Access-Control-Allow-Origin` header will be set to the client's origin if the beginning of the client's origin matches the value you provide.

func (GetAppSpecFunctionCorsAllowOriginsOutput) Regex added in v4.13.0

The `Access-Control-Allow-Origin` header will be set to the client's origin if the client’s origin matches the regex you provide, in [RE2 style syntax](https://github.com/google/re2/wiki/Syntax).

func (GetAppSpecFunctionCorsAllowOriginsOutput) ToGetAppSpecFunctionCorsAllowOriginsOutput added in v4.13.0

func (o GetAppSpecFunctionCorsAllowOriginsOutput) ToGetAppSpecFunctionCorsAllowOriginsOutput() GetAppSpecFunctionCorsAllowOriginsOutput

func (GetAppSpecFunctionCorsAllowOriginsOutput) ToGetAppSpecFunctionCorsAllowOriginsOutputWithContext added in v4.13.0

func (o GetAppSpecFunctionCorsAllowOriginsOutput) ToGetAppSpecFunctionCorsAllowOriginsOutputWithContext(ctx context.Context) GetAppSpecFunctionCorsAllowOriginsOutput

func (GetAppSpecFunctionCorsAllowOriginsOutput) ToGetAppSpecFunctionCorsAllowOriginsPtrOutput added in v4.13.0

func (o GetAppSpecFunctionCorsAllowOriginsOutput) ToGetAppSpecFunctionCorsAllowOriginsPtrOutput() GetAppSpecFunctionCorsAllowOriginsPtrOutput

func (GetAppSpecFunctionCorsAllowOriginsOutput) ToGetAppSpecFunctionCorsAllowOriginsPtrOutputWithContext added in v4.13.0

func (o GetAppSpecFunctionCorsAllowOriginsOutput) ToGetAppSpecFunctionCorsAllowOriginsPtrOutputWithContext(ctx context.Context) GetAppSpecFunctionCorsAllowOriginsPtrOutput

type GetAppSpecFunctionCorsAllowOriginsPtrInput added in v4.13.0

type GetAppSpecFunctionCorsAllowOriginsPtrInput interface {
	pulumi.Input

	ToGetAppSpecFunctionCorsAllowOriginsPtrOutput() GetAppSpecFunctionCorsAllowOriginsPtrOutput
	ToGetAppSpecFunctionCorsAllowOriginsPtrOutputWithContext(context.Context) GetAppSpecFunctionCorsAllowOriginsPtrOutput
}

GetAppSpecFunctionCorsAllowOriginsPtrInput is an input type that accepts GetAppSpecFunctionCorsAllowOriginsArgs, GetAppSpecFunctionCorsAllowOriginsPtr and GetAppSpecFunctionCorsAllowOriginsPtrOutput values. You can construct a concrete instance of `GetAppSpecFunctionCorsAllowOriginsPtrInput` via:

        GetAppSpecFunctionCorsAllowOriginsArgs{...}

or:

        nil

type GetAppSpecFunctionCorsAllowOriginsPtrOutput added in v4.13.0

type GetAppSpecFunctionCorsAllowOriginsPtrOutput struct{ *pulumi.OutputState }

func (GetAppSpecFunctionCorsAllowOriginsPtrOutput) Elem added in v4.13.0

func (GetAppSpecFunctionCorsAllowOriginsPtrOutput) ElementType added in v4.13.0

func (GetAppSpecFunctionCorsAllowOriginsPtrOutput) Exact added in v4.13.0

The `Access-Control-Allow-Origin` header will be set to the client's origin only if the client's origin exactly matches the value you provide.

func (GetAppSpecFunctionCorsAllowOriginsPtrOutput) Prefix added in v4.13.0

The `Access-Control-Allow-Origin` header will be set to the client's origin if the beginning of the client's origin matches the value you provide.

func (GetAppSpecFunctionCorsAllowOriginsPtrOutput) Regex added in v4.13.0

The `Access-Control-Allow-Origin` header will be set to the client's origin if the client’s origin matches the regex you provide, in [RE2 style syntax](https://github.com/google/re2/wiki/Syntax).

func (GetAppSpecFunctionCorsAllowOriginsPtrOutput) ToGetAppSpecFunctionCorsAllowOriginsPtrOutput added in v4.13.0

func (o GetAppSpecFunctionCorsAllowOriginsPtrOutput) ToGetAppSpecFunctionCorsAllowOriginsPtrOutput() GetAppSpecFunctionCorsAllowOriginsPtrOutput

func (GetAppSpecFunctionCorsAllowOriginsPtrOutput) ToGetAppSpecFunctionCorsAllowOriginsPtrOutputWithContext added in v4.13.0

func (o GetAppSpecFunctionCorsAllowOriginsPtrOutput) ToGetAppSpecFunctionCorsAllowOriginsPtrOutputWithContext(ctx context.Context) GetAppSpecFunctionCorsAllowOriginsPtrOutput

type GetAppSpecFunctionCorsArgs added in v4.13.0

type GetAppSpecFunctionCorsArgs struct {
	// Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is `include`. This configures the `Access-Control-Allow-Credentials` header.
	AllowCredentials pulumi.BoolPtrInput `pulumi:"allowCredentials"`
	// The set of allowed HTTP request headers. This configures the `Access-Control-Allow-Headers` header.
	AllowHeaders pulumi.StringArrayInput `pulumi:"allowHeaders"`
	// The set of allowed HTTP methods. This configures the `Access-Control-Allow-Methods` header.
	AllowMethods pulumi.StringArrayInput `pulumi:"allowMethods"`
	// The `Access-Control-Allow-Origin` can be
	AllowOrigins GetAppSpecFunctionCorsAllowOriginsPtrInput `pulumi:"allowOrigins"`
	// The set of HTTP response headers that browsers are allowed to access. This configures the `Access-Control-Expose-Headers` header.
	ExposeHeaders pulumi.StringArrayInput `pulumi:"exposeHeaders"`
	// An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: `5h30m`.
	MaxAge pulumi.StringPtrInput `pulumi:"maxAge"`
}

func (GetAppSpecFunctionCorsArgs) ElementType added in v4.13.0

func (GetAppSpecFunctionCorsArgs) ElementType() reflect.Type

func (GetAppSpecFunctionCorsArgs) ToGetAppSpecFunctionCorsOutput added in v4.13.0

func (i GetAppSpecFunctionCorsArgs) ToGetAppSpecFunctionCorsOutput() GetAppSpecFunctionCorsOutput

func (GetAppSpecFunctionCorsArgs) ToGetAppSpecFunctionCorsOutputWithContext added in v4.13.0

func (i GetAppSpecFunctionCorsArgs) ToGetAppSpecFunctionCorsOutputWithContext(ctx context.Context) GetAppSpecFunctionCorsOutput

func (GetAppSpecFunctionCorsArgs) ToGetAppSpecFunctionCorsPtrOutput added in v4.13.0

func (i GetAppSpecFunctionCorsArgs) ToGetAppSpecFunctionCorsPtrOutput() GetAppSpecFunctionCorsPtrOutput

func (GetAppSpecFunctionCorsArgs) ToGetAppSpecFunctionCorsPtrOutputWithContext added in v4.13.0

func (i GetAppSpecFunctionCorsArgs) ToGetAppSpecFunctionCorsPtrOutputWithContext(ctx context.Context) GetAppSpecFunctionCorsPtrOutput

type GetAppSpecFunctionCorsInput added in v4.13.0

type GetAppSpecFunctionCorsInput interface {
	pulumi.Input

	ToGetAppSpecFunctionCorsOutput() GetAppSpecFunctionCorsOutput
	ToGetAppSpecFunctionCorsOutputWithContext(context.Context) GetAppSpecFunctionCorsOutput
}

GetAppSpecFunctionCorsInput is an input type that accepts GetAppSpecFunctionCorsArgs and GetAppSpecFunctionCorsOutput values. You can construct a concrete instance of `GetAppSpecFunctionCorsInput` via:

GetAppSpecFunctionCorsArgs{...}

type GetAppSpecFunctionCorsOutput added in v4.13.0

type GetAppSpecFunctionCorsOutput struct{ *pulumi.OutputState }

func (GetAppSpecFunctionCorsOutput) AllowCredentials added in v4.13.0

func (o GetAppSpecFunctionCorsOutput) AllowCredentials() pulumi.BoolPtrOutput

Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is `include`. This configures the `Access-Control-Allow-Credentials` header.

func (GetAppSpecFunctionCorsOutput) AllowHeaders added in v4.13.0

The set of allowed HTTP request headers. This configures the `Access-Control-Allow-Headers` header.

func (GetAppSpecFunctionCorsOutput) AllowMethods added in v4.13.0

The set of allowed HTTP methods. This configures the `Access-Control-Allow-Methods` header.

func (GetAppSpecFunctionCorsOutput) AllowOrigins added in v4.13.0

The `Access-Control-Allow-Origin` can be

func (GetAppSpecFunctionCorsOutput) ElementType added in v4.13.0

func (GetAppSpecFunctionCorsOutput) ExposeHeaders added in v4.13.0

The set of HTTP response headers that browsers are allowed to access. This configures the `Access-Control-Expose-Headers` header.

func (GetAppSpecFunctionCorsOutput) MaxAge added in v4.13.0

An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: `5h30m`.

func (GetAppSpecFunctionCorsOutput) ToGetAppSpecFunctionCorsOutput added in v4.13.0

func (o GetAppSpecFunctionCorsOutput) ToGetAppSpecFunctionCorsOutput() GetAppSpecFunctionCorsOutput

func (GetAppSpecFunctionCorsOutput) ToGetAppSpecFunctionCorsOutputWithContext added in v4.13.0

func (o GetAppSpecFunctionCorsOutput) ToGetAppSpecFunctionCorsOutputWithContext(ctx context.Context) GetAppSpecFunctionCorsOutput

func (GetAppSpecFunctionCorsOutput) ToGetAppSpecFunctionCorsPtrOutput added in v4.13.0

func (o GetAppSpecFunctionCorsOutput) ToGetAppSpecFunctionCorsPtrOutput() GetAppSpecFunctionCorsPtrOutput

func (GetAppSpecFunctionCorsOutput) ToGetAppSpecFunctionCorsPtrOutputWithContext added in v4.13.0

func (o GetAppSpecFunctionCorsOutput) ToGetAppSpecFunctionCorsPtrOutputWithContext(ctx context.Context) GetAppSpecFunctionCorsPtrOutput

type GetAppSpecFunctionCorsPtrInput added in v4.13.0

type GetAppSpecFunctionCorsPtrInput interface {
	pulumi.Input

	ToGetAppSpecFunctionCorsPtrOutput() GetAppSpecFunctionCorsPtrOutput
	ToGetAppSpecFunctionCorsPtrOutputWithContext(context.Context) GetAppSpecFunctionCorsPtrOutput
}

GetAppSpecFunctionCorsPtrInput is an input type that accepts GetAppSpecFunctionCorsArgs, GetAppSpecFunctionCorsPtr and GetAppSpecFunctionCorsPtrOutput values. You can construct a concrete instance of `GetAppSpecFunctionCorsPtrInput` via:

        GetAppSpecFunctionCorsArgs{...}

or:

        nil

func GetAppSpecFunctionCorsPtr added in v4.13.0

func GetAppSpecFunctionCorsPtr(v *GetAppSpecFunctionCorsArgs) GetAppSpecFunctionCorsPtrInput

type GetAppSpecFunctionCorsPtrOutput added in v4.13.0

type GetAppSpecFunctionCorsPtrOutput struct{ *pulumi.OutputState }

func (GetAppSpecFunctionCorsPtrOutput) AllowCredentials added in v4.13.0

Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is `include`. This configures the `Access-Control-Allow-Credentials` header.

func (GetAppSpecFunctionCorsPtrOutput) AllowHeaders added in v4.13.0

The set of allowed HTTP request headers. This configures the `Access-Control-Allow-Headers` header.

func (GetAppSpecFunctionCorsPtrOutput) AllowMethods added in v4.13.0

The set of allowed HTTP methods. This configures the `Access-Control-Allow-Methods` header.

func (GetAppSpecFunctionCorsPtrOutput) AllowOrigins added in v4.13.0

The `Access-Control-Allow-Origin` can be

func (GetAppSpecFunctionCorsPtrOutput) Elem added in v4.13.0

func (GetAppSpecFunctionCorsPtrOutput) ElementType added in v4.13.0

func (GetAppSpecFunctionCorsPtrOutput) ExposeHeaders added in v4.13.0

The set of HTTP response headers that browsers are allowed to access. This configures the `Access-Control-Expose-Headers` header.

func (GetAppSpecFunctionCorsPtrOutput) MaxAge added in v4.13.0

An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: `5h30m`.

func (GetAppSpecFunctionCorsPtrOutput) ToGetAppSpecFunctionCorsPtrOutput added in v4.13.0

func (o GetAppSpecFunctionCorsPtrOutput) ToGetAppSpecFunctionCorsPtrOutput() GetAppSpecFunctionCorsPtrOutput

func (GetAppSpecFunctionCorsPtrOutput) ToGetAppSpecFunctionCorsPtrOutputWithContext added in v4.13.0

func (o GetAppSpecFunctionCorsPtrOutput) ToGetAppSpecFunctionCorsPtrOutputWithContext(ctx context.Context) GetAppSpecFunctionCorsPtrOutput

type GetAppSpecFunctionEnv added in v4.13.0

type GetAppSpecFunctionEnv struct {
	// The name of the environment variable.
	Key *string `pulumi:"key"`
	// The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).
	Scope *string `pulumi:"scope"`
	// The type of the environment variable, `GENERAL` or `SECRET`.
	Type string `pulumi:"type"`
	// The threshold for the type of the warning.
	Value *string `pulumi:"value"`
}

type GetAppSpecFunctionEnvArgs added in v4.13.0

type GetAppSpecFunctionEnvArgs struct {
	// The name of the environment variable.
	Key pulumi.StringPtrInput `pulumi:"key"`
	// The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).
	Scope pulumi.StringPtrInput `pulumi:"scope"`
	// The type of the environment variable, `GENERAL` or `SECRET`.
	Type pulumi.StringInput `pulumi:"type"`
	// The threshold for the type of the warning.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (GetAppSpecFunctionEnvArgs) ElementType added in v4.13.0

func (GetAppSpecFunctionEnvArgs) ElementType() reflect.Type

func (GetAppSpecFunctionEnvArgs) ToGetAppSpecFunctionEnvOutput added in v4.13.0

func (i GetAppSpecFunctionEnvArgs) ToGetAppSpecFunctionEnvOutput() GetAppSpecFunctionEnvOutput

func (GetAppSpecFunctionEnvArgs) ToGetAppSpecFunctionEnvOutputWithContext added in v4.13.0

func (i GetAppSpecFunctionEnvArgs) ToGetAppSpecFunctionEnvOutputWithContext(ctx context.Context) GetAppSpecFunctionEnvOutput

type GetAppSpecFunctionEnvArray added in v4.13.0

type GetAppSpecFunctionEnvArray []GetAppSpecFunctionEnvInput

func (GetAppSpecFunctionEnvArray) ElementType added in v4.13.0

func (GetAppSpecFunctionEnvArray) ElementType() reflect.Type

func (GetAppSpecFunctionEnvArray) ToGetAppSpecFunctionEnvArrayOutput added in v4.13.0

func (i GetAppSpecFunctionEnvArray) ToGetAppSpecFunctionEnvArrayOutput() GetAppSpecFunctionEnvArrayOutput

func (GetAppSpecFunctionEnvArray) ToGetAppSpecFunctionEnvArrayOutputWithContext added in v4.13.0

func (i GetAppSpecFunctionEnvArray) ToGetAppSpecFunctionEnvArrayOutputWithContext(ctx context.Context) GetAppSpecFunctionEnvArrayOutput

type GetAppSpecFunctionEnvArrayInput added in v4.13.0

type GetAppSpecFunctionEnvArrayInput interface {
	pulumi.Input

	ToGetAppSpecFunctionEnvArrayOutput() GetAppSpecFunctionEnvArrayOutput
	ToGetAppSpecFunctionEnvArrayOutputWithContext(context.Context) GetAppSpecFunctionEnvArrayOutput
}

GetAppSpecFunctionEnvArrayInput is an input type that accepts GetAppSpecFunctionEnvArray and GetAppSpecFunctionEnvArrayOutput values. You can construct a concrete instance of `GetAppSpecFunctionEnvArrayInput` via:

GetAppSpecFunctionEnvArray{ GetAppSpecFunctionEnvArgs{...} }

type GetAppSpecFunctionEnvArrayOutput added in v4.13.0

type GetAppSpecFunctionEnvArrayOutput struct{ *pulumi.OutputState }

func (GetAppSpecFunctionEnvArrayOutput) ElementType added in v4.13.0

func (GetAppSpecFunctionEnvArrayOutput) Index added in v4.13.0

func (GetAppSpecFunctionEnvArrayOutput) ToGetAppSpecFunctionEnvArrayOutput added in v4.13.0

func (o GetAppSpecFunctionEnvArrayOutput) ToGetAppSpecFunctionEnvArrayOutput() GetAppSpecFunctionEnvArrayOutput

func (GetAppSpecFunctionEnvArrayOutput) ToGetAppSpecFunctionEnvArrayOutputWithContext added in v4.13.0

func (o GetAppSpecFunctionEnvArrayOutput) ToGetAppSpecFunctionEnvArrayOutputWithContext(ctx context.Context) GetAppSpecFunctionEnvArrayOutput

type GetAppSpecFunctionEnvInput added in v4.13.0

type GetAppSpecFunctionEnvInput interface {
	pulumi.Input

	ToGetAppSpecFunctionEnvOutput() GetAppSpecFunctionEnvOutput
	ToGetAppSpecFunctionEnvOutputWithContext(context.Context) GetAppSpecFunctionEnvOutput
}

GetAppSpecFunctionEnvInput is an input type that accepts GetAppSpecFunctionEnvArgs and GetAppSpecFunctionEnvOutput values. You can construct a concrete instance of `GetAppSpecFunctionEnvInput` via:

GetAppSpecFunctionEnvArgs{...}

type GetAppSpecFunctionEnvOutput added in v4.13.0

type GetAppSpecFunctionEnvOutput struct{ *pulumi.OutputState }

func (GetAppSpecFunctionEnvOutput) ElementType added in v4.13.0

func (GetAppSpecFunctionEnvOutput) Key added in v4.13.0

The name of the environment variable.

func (GetAppSpecFunctionEnvOutput) Scope added in v4.13.0

The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).

func (GetAppSpecFunctionEnvOutput) ToGetAppSpecFunctionEnvOutput added in v4.13.0

func (o GetAppSpecFunctionEnvOutput) ToGetAppSpecFunctionEnvOutput() GetAppSpecFunctionEnvOutput

func (GetAppSpecFunctionEnvOutput) ToGetAppSpecFunctionEnvOutputWithContext added in v4.13.0

func (o GetAppSpecFunctionEnvOutput) ToGetAppSpecFunctionEnvOutputWithContext(ctx context.Context) GetAppSpecFunctionEnvOutput

func (GetAppSpecFunctionEnvOutput) Type added in v4.13.0

The type of the environment variable, `GENERAL` or `SECRET`.

func (GetAppSpecFunctionEnvOutput) Value added in v4.13.0

The threshold for the type of the warning.

type GetAppSpecFunctionGit added in v4.13.0

type GetAppSpecFunctionGit struct {
	// The name of the branch to use.
	Branch *string `pulumi:"branch"`
	// The clone URL of the repo.
	RepoCloneUrl *string `pulumi:"repoCloneUrl"`
}

type GetAppSpecFunctionGitArgs added in v4.13.0

type GetAppSpecFunctionGitArgs struct {
	// The name of the branch to use.
	Branch pulumi.StringPtrInput `pulumi:"branch"`
	// The clone URL of the repo.
	RepoCloneUrl pulumi.StringPtrInput `pulumi:"repoCloneUrl"`
}

func (GetAppSpecFunctionGitArgs) ElementType added in v4.13.0

func (GetAppSpecFunctionGitArgs) ElementType() reflect.Type

func (GetAppSpecFunctionGitArgs) ToGetAppSpecFunctionGitOutput added in v4.13.0

func (i GetAppSpecFunctionGitArgs) ToGetAppSpecFunctionGitOutput() GetAppSpecFunctionGitOutput

func (GetAppSpecFunctionGitArgs) ToGetAppSpecFunctionGitOutputWithContext added in v4.13.0

func (i GetAppSpecFunctionGitArgs) ToGetAppSpecFunctionGitOutputWithContext(ctx context.Context) GetAppSpecFunctionGitOutput

func (GetAppSpecFunctionGitArgs) ToGetAppSpecFunctionGitPtrOutput added in v4.13.0

func (i GetAppSpecFunctionGitArgs) ToGetAppSpecFunctionGitPtrOutput() GetAppSpecFunctionGitPtrOutput

func (GetAppSpecFunctionGitArgs) ToGetAppSpecFunctionGitPtrOutputWithContext added in v4.13.0

func (i GetAppSpecFunctionGitArgs) ToGetAppSpecFunctionGitPtrOutputWithContext(ctx context.Context) GetAppSpecFunctionGitPtrOutput

type GetAppSpecFunctionGitInput added in v4.13.0

type GetAppSpecFunctionGitInput interface {
	pulumi.Input

	ToGetAppSpecFunctionGitOutput() GetAppSpecFunctionGitOutput
	ToGetAppSpecFunctionGitOutputWithContext(context.Context) GetAppSpecFunctionGitOutput
}

GetAppSpecFunctionGitInput is an input type that accepts GetAppSpecFunctionGitArgs and GetAppSpecFunctionGitOutput values. You can construct a concrete instance of `GetAppSpecFunctionGitInput` via:

GetAppSpecFunctionGitArgs{...}

type GetAppSpecFunctionGitOutput added in v4.13.0

type GetAppSpecFunctionGitOutput struct{ *pulumi.OutputState }

func (GetAppSpecFunctionGitOutput) Branch added in v4.13.0

The name of the branch to use.

func (GetAppSpecFunctionGitOutput) ElementType added in v4.13.0

func (GetAppSpecFunctionGitOutput) RepoCloneUrl added in v4.13.0

The clone URL of the repo.

func (GetAppSpecFunctionGitOutput) ToGetAppSpecFunctionGitOutput added in v4.13.0

func (o GetAppSpecFunctionGitOutput) ToGetAppSpecFunctionGitOutput() GetAppSpecFunctionGitOutput

func (GetAppSpecFunctionGitOutput) ToGetAppSpecFunctionGitOutputWithContext added in v4.13.0

func (o GetAppSpecFunctionGitOutput) ToGetAppSpecFunctionGitOutputWithContext(ctx context.Context) GetAppSpecFunctionGitOutput

func (GetAppSpecFunctionGitOutput) ToGetAppSpecFunctionGitPtrOutput added in v4.13.0

func (o GetAppSpecFunctionGitOutput) ToGetAppSpecFunctionGitPtrOutput() GetAppSpecFunctionGitPtrOutput

func (GetAppSpecFunctionGitOutput) ToGetAppSpecFunctionGitPtrOutputWithContext added in v4.13.0

func (o GetAppSpecFunctionGitOutput) ToGetAppSpecFunctionGitPtrOutputWithContext(ctx context.Context) GetAppSpecFunctionGitPtrOutput

type GetAppSpecFunctionGitPtrInput added in v4.13.0

type GetAppSpecFunctionGitPtrInput interface {
	pulumi.Input

	ToGetAppSpecFunctionGitPtrOutput() GetAppSpecFunctionGitPtrOutput
	ToGetAppSpecFunctionGitPtrOutputWithContext(context.Context) GetAppSpecFunctionGitPtrOutput
}

GetAppSpecFunctionGitPtrInput is an input type that accepts GetAppSpecFunctionGitArgs, GetAppSpecFunctionGitPtr and GetAppSpecFunctionGitPtrOutput values. You can construct a concrete instance of `GetAppSpecFunctionGitPtrInput` via:

        GetAppSpecFunctionGitArgs{...}

or:

        nil

func GetAppSpecFunctionGitPtr added in v4.13.0

func GetAppSpecFunctionGitPtr(v *GetAppSpecFunctionGitArgs) GetAppSpecFunctionGitPtrInput

type GetAppSpecFunctionGitPtrOutput added in v4.13.0

type GetAppSpecFunctionGitPtrOutput struct{ *pulumi.OutputState }

func (GetAppSpecFunctionGitPtrOutput) Branch added in v4.13.0

The name of the branch to use.

func (GetAppSpecFunctionGitPtrOutput) Elem added in v4.13.0

func (GetAppSpecFunctionGitPtrOutput) ElementType added in v4.13.0

func (GetAppSpecFunctionGitPtrOutput) RepoCloneUrl added in v4.13.0

The clone URL of the repo.

func (GetAppSpecFunctionGitPtrOutput) ToGetAppSpecFunctionGitPtrOutput added in v4.13.0

func (o GetAppSpecFunctionGitPtrOutput) ToGetAppSpecFunctionGitPtrOutput() GetAppSpecFunctionGitPtrOutput

func (GetAppSpecFunctionGitPtrOutput) ToGetAppSpecFunctionGitPtrOutputWithContext added in v4.13.0

func (o GetAppSpecFunctionGitPtrOutput) ToGetAppSpecFunctionGitPtrOutputWithContext(ctx context.Context) GetAppSpecFunctionGitPtrOutput

type GetAppSpecFunctionGithub added in v4.13.0

type GetAppSpecFunctionGithub struct {
	// The name of the branch to use.
	Branch *string `pulumi:"branch"`
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPush *bool `pulumi:"deployOnPush"`
	// The name of the repo in the format `owner/repo`.
	Repo *string `pulumi:"repo"`
}

type GetAppSpecFunctionGithubArgs added in v4.13.0

type GetAppSpecFunctionGithubArgs struct {
	// The name of the branch to use.
	Branch pulumi.StringPtrInput `pulumi:"branch"`
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPush pulumi.BoolPtrInput `pulumi:"deployOnPush"`
	// The name of the repo in the format `owner/repo`.
	Repo pulumi.StringPtrInput `pulumi:"repo"`
}

func (GetAppSpecFunctionGithubArgs) ElementType added in v4.13.0

func (GetAppSpecFunctionGithubArgs) ToGetAppSpecFunctionGithubOutput added in v4.13.0

func (i GetAppSpecFunctionGithubArgs) ToGetAppSpecFunctionGithubOutput() GetAppSpecFunctionGithubOutput

func (GetAppSpecFunctionGithubArgs) ToGetAppSpecFunctionGithubOutputWithContext added in v4.13.0

func (i GetAppSpecFunctionGithubArgs) ToGetAppSpecFunctionGithubOutputWithContext(ctx context.Context) GetAppSpecFunctionGithubOutput

func (GetAppSpecFunctionGithubArgs) ToGetAppSpecFunctionGithubPtrOutput added in v4.13.0

func (i GetAppSpecFunctionGithubArgs) ToGetAppSpecFunctionGithubPtrOutput() GetAppSpecFunctionGithubPtrOutput

func (GetAppSpecFunctionGithubArgs) ToGetAppSpecFunctionGithubPtrOutputWithContext added in v4.13.0

func (i GetAppSpecFunctionGithubArgs) ToGetAppSpecFunctionGithubPtrOutputWithContext(ctx context.Context) GetAppSpecFunctionGithubPtrOutput

type GetAppSpecFunctionGithubInput added in v4.13.0

type GetAppSpecFunctionGithubInput interface {
	pulumi.Input

	ToGetAppSpecFunctionGithubOutput() GetAppSpecFunctionGithubOutput
	ToGetAppSpecFunctionGithubOutputWithContext(context.Context) GetAppSpecFunctionGithubOutput
}

GetAppSpecFunctionGithubInput is an input type that accepts GetAppSpecFunctionGithubArgs and GetAppSpecFunctionGithubOutput values. You can construct a concrete instance of `GetAppSpecFunctionGithubInput` via:

GetAppSpecFunctionGithubArgs{...}

type GetAppSpecFunctionGithubOutput added in v4.13.0

type GetAppSpecFunctionGithubOutput struct{ *pulumi.OutputState }

func (GetAppSpecFunctionGithubOutput) Branch added in v4.13.0

The name of the branch to use.

func (GetAppSpecFunctionGithubOutput) DeployOnPush added in v4.13.0

Whether to automatically deploy new commits made to the repo.

func (GetAppSpecFunctionGithubOutput) ElementType added in v4.13.0

func (GetAppSpecFunctionGithubOutput) Repo added in v4.13.0

The name of the repo in the format `owner/repo`.

func (GetAppSpecFunctionGithubOutput) ToGetAppSpecFunctionGithubOutput added in v4.13.0

func (o GetAppSpecFunctionGithubOutput) ToGetAppSpecFunctionGithubOutput() GetAppSpecFunctionGithubOutput

func (GetAppSpecFunctionGithubOutput) ToGetAppSpecFunctionGithubOutputWithContext added in v4.13.0

func (o GetAppSpecFunctionGithubOutput) ToGetAppSpecFunctionGithubOutputWithContext(ctx context.Context) GetAppSpecFunctionGithubOutput

func (GetAppSpecFunctionGithubOutput) ToGetAppSpecFunctionGithubPtrOutput added in v4.13.0

func (o GetAppSpecFunctionGithubOutput) ToGetAppSpecFunctionGithubPtrOutput() GetAppSpecFunctionGithubPtrOutput

func (GetAppSpecFunctionGithubOutput) ToGetAppSpecFunctionGithubPtrOutputWithContext added in v4.13.0

func (o GetAppSpecFunctionGithubOutput) ToGetAppSpecFunctionGithubPtrOutputWithContext(ctx context.Context) GetAppSpecFunctionGithubPtrOutput

type GetAppSpecFunctionGithubPtrInput added in v4.13.0

type GetAppSpecFunctionGithubPtrInput interface {
	pulumi.Input

	ToGetAppSpecFunctionGithubPtrOutput() GetAppSpecFunctionGithubPtrOutput
	ToGetAppSpecFunctionGithubPtrOutputWithContext(context.Context) GetAppSpecFunctionGithubPtrOutput
}

GetAppSpecFunctionGithubPtrInput is an input type that accepts GetAppSpecFunctionGithubArgs, GetAppSpecFunctionGithubPtr and GetAppSpecFunctionGithubPtrOutput values. You can construct a concrete instance of `GetAppSpecFunctionGithubPtrInput` via:

        GetAppSpecFunctionGithubArgs{...}

or:

        nil

func GetAppSpecFunctionGithubPtr added in v4.13.0

func GetAppSpecFunctionGithubPtr(v *GetAppSpecFunctionGithubArgs) GetAppSpecFunctionGithubPtrInput

type GetAppSpecFunctionGithubPtrOutput added in v4.13.0

type GetAppSpecFunctionGithubPtrOutput struct{ *pulumi.OutputState }

func (GetAppSpecFunctionGithubPtrOutput) Branch added in v4.13.0

The name of the branch to use.

func (GetAppSpecFunctionGithubPtrOutput) DeployOnPush added in v4.13.0

Whether to automatically deploy new commits made to the repo.

func (GetAppSpecFunctionGithubPtrOutput) Elem added in v4.13.0

func (GetAppSpecFunctionGithubPtrOutput) ElementType added in v4.13.0

func (GetAppSpecFunctionGithubPtrOutput) Repo added in v4.13.0

The name of the repo in the format `owner/repo`.

func (GetAppSpecFunctionGithubPtrOutput) ToGetAppSpecFunctionGithubPtrOutput added in v4.13.0

func (o GetAppSpecFunctionGithubPtrOutput) ToGetAppSpecFunctionGithubPtrOutput() GetAppSpecFunctionGithubPtrOutput

func (GetAppSpecFunctionGithubPtrOutput) ToGetAppSpecFunctionGithubPtrOutputWithContext added in v4.13.0

func (o GetAppSpecFunctionGithubPtrOutput) ToGetAppSpecFunctionGithubPtrOutputWithContext(ctx context.Context) GetAppSpecFunctionGithubPtrOutput

type GetAppSpecFunctionGitlab added in v4.13.0

type GetAppSpecFunctionGitlab struct {
	// The name of the branch to use.
	Branch *string `pulumi:"branch"`
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPush *bool `pulumi:"deployOnPush"`
	// The name of the repo in the format `owner/repo`.
	Repo *string `pulumi:"repo"`
}

type GetAppSpecFunctionGitlabArgs added in v4.13.0

type GetAppSpecFunctionGitlabArgs struct {
	// The name of the branch to use.
	Branch pulumi.StringPtrInput `pulumi:"branch"`
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPush pulumi.BoolPtrInput `pulumi:"deployOnPush"`
	// The name of the repo in the format `owner/repo`.
	Repo pulumi.StringPtrInput `pulumi:"repo"`
}

func (GetAppSpecFunctionGitlabArgs) ElementType added in v4.13.0

func (GetAppSpecFunctionGitlabArgs) ToGetAppSpecFunctionGitlabOutput added in v4.13.0

func (i GetAppSpecFunctionGitlabArgs) ToGetAppSpecFunctionGitlabOutput() GetAppSpecFunctionGitlabOutput

func (GetAppSpecFunctionGitlabArgs) ToGetAppSpecFunctionGitlabOutputWithContext added in v4.13.0

func (i GetAppSpecFunctionGitlabArgs) ToGetAppSpecFunctionGitlabOutputWithContext(ctx context.Context) GetAppSpecFunctionGitlabOutput

func (GetAppSpecFunctionGitlabArgs) ToGetAppSpecFunctionGitlabPtrOutput added in v4.13.0

func (i GetAppSpecFunctionGitlabArgs) ToGetAppSpecFunctionGitlabPtrOutput() GetAppSpecFunctionGitlabPtrOutput

func (GetAppSpecFunctionGitlabArgs) ToGetAppSpecFunctionGitlabPtrOutputWithContext added in v4.13.0

func (i GetAppSpecFunctionGitlabArgs) ToGetAppSpecFunctionGitlabPtrOutputWithContext(ctx context.Context) GetAppSpecFunctionGitlabPtrOutput

type GetAppSpecFunctionGitlabInput added in v4.13.0

type GetAppSpecFunctionGitlabInput interface {
	pulumi.Input

	ToGetAppSpecFunctionGitlabOutput() GetAppSpecFunctionGitlabOutput
	ToGetAppSpecFunctionGitlabOutputWithContext(context.Context) GetAppSpecFunctionGitlabOutput
}

GetAppSpecFunctionGitlabInput is an input type that accepts GetAppSpecFunctionGitlabArgs and GetAppSpecFunctionGitlabOutput values. You can construct a concrete instance of `GetAppSpecFunctionGitlabInput` via:

GetAppSpecFunctionGitlabArgs{...}

type GetAppSpecFunctionGitlabOutput added in v4.13.0

type GetAppSpecFunctionGitlabOutput struct{ *pulumi.OutputState }

func (GetAppSpecFunctionGitlabOutput) Branch added in v4.13.0

The name of the branch to use.

func (GetAppSpecFunctionGitlabOutput) DeployOnPush added in v4.13.0

Whether to automatically deploy new commits made to the repo.

func (GetAppSpecFunctionGitlabOutput) ElementType added in v4.13.0

func (GetAppSpecFunctionGitlabOutput) Repo added in v4.13.0

The name of the repo in the format `owner/repo`.

func (GetAppSpecFunctionGitlabOutput) ToGetAppSpecFunctionGitlabOutput added in v4.13.0

func (o GetAppSpecFunctionGitlabOutput) ToGetAppSpecFunctionGitlabOutput() GetAppSpecFunctionGitlabOutput

func (GetAppSpecFunctionGitlabOutput) ToGetAppSpecFunctionGitlabOutputWithContext added in v4.13.0

func (o GetAppSpecFunctionGitlabOutput) ToGetAppSpecFunctionGitlabOutputWithContext(ctx context.Context) GetAppSpecFunctionGitlabOutput

func (GetAppSpecFunctionGitlabOutput) ToGetAppSpecFunctionGitlabPtrOutput added in v4.13.0

func (o GetAppSpecFunctionGitlabOutput) ToGetAppSpecFunctionGitlabPtrOutput() GetAppSpecFunctionGitlabPtrOutput

func (GetAppSpecFunctionGitlabOutput) ToGetAppSpecFunctionGitlabPtrOutputWithContext added in v4.13.0

func (o GetAppSpecFunctionGitlabOutput) ToGetAppSpecFunctionGitlabPtrOutputWithContext(ctx context.Context) GetAppSpecFunctionGitlabPtrOutput

type GetAppSpecFunctionGitlabPtrInput added in v4.13.0

type GetAppSpecFunctionGitlabPtrInput interface {
	pulumi.Input

	ToGetAppSpecFunctionGitlabPtrOutput() GetAppSpecFunctionGitlabPtrOutput
	ToGetAppSpecFunctionGitlabPtrOutputWithContext(context.Context) GetAppSpecFunctionGitlabPtrOutput
}

GetAppSpecFunctionGitlabPtrInput is an input type that accepts GetAppSpecFunctionGitlabArgs, GetAppSpecFunctionGitlabPtr and GetAppSpecFunctionGitlabPtrOutput values. You can construct a concrete instance of `GetAppSpecFunctionGitlabPtrInput` via:

        GetAppSpecFunctionGitlabArgs{...}

or:

        nil

func GetAppSpecFunctionGitlabPtr added in v4.13.0

func GetAppSpecFunctionGitlabPtr(v *GetAppSpecFunctionGitlabArgs) GetAppSpecFunctionGitlabPtrInput

type GetAppSpecFunctionGitlabPtrOutput added in v4.13.0

type GetAppSpecFunctionGitlabPtrOutput struct{ *pulumi.OutputState }

func (GetAppSpecFunctionGitlabPtrOutput) Branch added in v4.13.0

The name of the branch to use.

func (GetAppSpecFunctionGitlabPtrOutput) DeployOnPush added in v4.13.0

Whether to automatically deploy new commits made to the repo.

func (GetAppSpecFunctionGitlabPtrOutput) Elem added in v4.13.0

func (GetAppSpecFunctionGitlabPtrOutput) ElementType added in v4.13.0

func (GetAppSpecFunctionGitlabPtrOutput) Repo added in v4.13.0

The name of the repo in the format `owner/repo`.

func (GetAppSpecFunctionGitlabPtrOutput) ToGetAppSpecFunctionGitlabPtrOutput added in v4.13.0

func (o GetAppSpecFunctionGitlabPtrOutput) ToGetAppSpecFunctionGitlabPtrOutput() GetAppSpecFunctionGitlabPtrOutput

func (GetAppSpecFunctionGitlabPtrOutput) ToGetAppSpecFunctionGitlabPtrOutputWithContext added in v4.13.0

func (o GetAppSpecFunctionGitlabPtrOutput) ToGetAppSpecFunctionGitlabPtrOutputWithContext(ctx context.Context) GetAppSpecFunctionGitlabPtrOutput

type GetAppSpecFunctionInput added in v4.13.0

type GetAppSpecFunctionInput interface {
	pulumi.Input

	ToGetAppSpecFunctionOutput() GetAppSpecFunctionOutput
	ToGetAppSpecFunctionOutputWithContext(context.Context) GetAppSpecFunctionOutput
}

GetAppSpecFunctionInput is an input type that accepts GetAppSpecFunctionArgs and GetAppSpecFunctionOutput values. You can construct a concrete instance of `GetAppSpecFunctionInput` via:

GetAppSpecFunctionArgs{...}

type GetAppSpecFunctionLogDestination added in v4.13.0

type GetAppSpecFunctionLogDestination struct {
	// Datadog configuration.
	Datadog *GetAppSpecFunctionLogDestinationDatadog `pulumi:"datadog"`
	// Logtail configuration.
	Logtail *GetAppSpecFunctionLogDestinationLogtail `pulumi:"logtail"`
	// The name of the component.
	Name string `pulumi:"name"`
	// Papertrail configuration.
	Papertrail *GetAppSpecFunctionLogDestinationPapertrail `pulumi:"papertrail"`
}

type GetAppSpecFunctionLogDestinationArgs added in v4.13.0

type GetAppSpecFunctionLogDestinationArgs struct {
	// Datadog configuration.
	Datadog GetAppSpecFunctionLogDestinationDatadogPtrInput `pulumi:"datadog"`
	// Logtail configuration.
	Logtail GetAppSpecFunctionLogDestinationLogtailPtrInput `pulumi:"logtail"`
	// The name of the component.
	Name pulumi.StringInput `pulumi:"name"`
	// Papertrail configuration.
	Papertrail GetAppSpecFunctionLogDestinationPapertrailPtrInput `pulumi:"papertrail"`
}

func (GetAppSpecFunctionLogDestinationArgs) ElementType added in v4.13.0

func (GetAppSpecFunctionLogDestinationArgs) ToGetAppSpecFunctionLogDestinationOutput added in v4.13.0

func (i GetAppSpecFunctionLogDestinationArgs) ToGetAppSpecFunctionLogDestinationOutput() GetAppSpecFunctionLogDestinationOutput

func (GetAppSpecFunctionLogDestinationArgs) ToGetAppSpecFunctionLogDestinationOutputWithContext added in v4.13.0

func (i GetAppSpecFunctionLogDestinationArgs) ToGetAppSpecFunctionLogDestinationOutputWithContext(ctx context.Context) GetAppSpecFunctionLogDestinationOutput

type GetAppSpecFunctionLogDestinationArray added in v4.13.0

type GetAppSpecFunctionLogDestinationArray []GetAppSpecFunctionLogDestinationInput

func (GetAppSpecFunctionLogDestinationArray) ElementType added in v4.13.0

func (GetAppSpecFunctionLogDestinationArray) ToGetAppSpecFunctionLogDestinationArrayOutput added in v4.13.0

func (i GetAppSpecFunctionLogDestinationArray) ToGetAppSpecFunctionLogDestinationArrayOutput() GetAppSpecFunctionLogDestinationArrayOutput

func (GetAppSpecFunctionLogDestinationArray) ToGetAppSpecFunctionLogDestinationArrayOutputWithContext added in v4.13.0

func (i GetAppSpecFunctionLogDestinationArray) ToGetAppSpecFunctionLogDestinationArrayOutputWithContext(ctx context.Context) GetAppSpecFunctionLogDestinationArrayOutput

type GetAppSpecFunctionLogDestinationArrayInput added in v4.13.0

type GetAppSpecFunctionLogDestinationArrayInput interface {
	pulumi.Input

	ToGetAppSpecFunctionLogDestinationArrayOutput() GetAppSpecFunctionLogDestinationArrayOutput
	ToGetAppSpecFunctionLogDestinationArrayOutputWithContext(context.Context) GetAppSpecFunctionLogDestinationArrayOutput
}

GetAppSpecFunctionLogDestinationArrayInput is an input type that accepts GetAppSpecFunctionLogDestinationArray and GetAppSpecFunctionLogDestinationArrayOutput values. You can construct a concrete instance of `GetAppSpecFunctionLogDestinationArrayInput` via:

GetAppSpecFunctionLogDestinationArray{ GetAppSpecFunctionLogDestinationArgs{...} }

type GetAppSpecFunctionLogDestinationArrayOutput added in v4.13.0

type GetAppSpecFunctionLogDestinationArrayOutput struct{ *pulumi.OutputState }

func (GetAppSpecFunctionLogDestinationArrayOutput) ElementType added in v4.13.0

func (GetAppSpecFunctionLogDestinationArrayOutput) Index added in v4.13.0

func (GetAppSpecFunctionLogDestinationArrayOutput) ToGetAppSpecFunctionLogDestinationArrayOutput added in v4.13.0

func (o GetAppSpecFunctionLogDestinationArrayOutput) ToGetAppSpecFunctionLogDestinationArrayOutput() GetAppSpecFunctionLogDestinationArrayOutput

func (GetAppSpecFunctionLogDestinationArrayOutput) ToGetAppSpecFunctionLogDestinationArrayOutputWithContext added in v4.13.0

func (o GetAppSpecFunctionLogDestinationArrayOutput) ToGetAppSpecFunctionLogDestinationArrayOutputWithContext(ctx context.Context) GetAppSpecFunctionLogDestinationArrayOutput

type GetAppSpecFunctionLogDestinationDatadog added in v4.13.0

type GetAppSpecFunctionLogDestinationDatadog struct {
	// Datadog API key.
	ApiKey string `pulumi:"apiKey"`
	// Datadog HTTP log intake endpoint.
	Endpoint *string `pulumi:"endpoint"`
}

type GetAppSpecFunctionLogDestinationDatadogArgs added in v4.13.0

type GetAppSpecFunctionLogDestinationDatadogArgs struct {
	// Datadog API key.
	ApiKey pulumi.StringInput `pulumi:"apiKey"`
	// Datadog HTTP log intake endpoint.
	Endpoint pulumi.StringPtrInput `pulumi:"endpoint"`
}

func (GetAppSpecFunctionLogDestinationDatadogArgs) ElementType added in v4.13.0

func (GetAppSpecFunctionLogDestinationDatadogArgs) ToGetAppSpecFunctionLogDestinationDatadogOutput added in v4.13.0

func (i GetAppSpecFunctionLogDestinationDatadogArgs) ToGetAppSpecFunctionLogDestinationDatadogOutput() GetAppSpecFunctionLogDestinationDatadogOutput

func (GetAppSpecFunctionLogDestinationDatadogArgs) ToGetAppSpecFunctionLogDestinationDatadogOutputWithContext added in v4.13.0

func (i GetAppSpecFunctionLogDestinationDatadogArgs) ToGetAppSpecFunctionLogDestinationDatadogOutputWithContext(ctx context.Context) GetAppSpecFunctionLogDestinationDatadogOutput

func (GetAppSpecFunctionLogDestinationDatadogArgs) ToGetAppSpecFunctionLogDestinationDatadogPtrOutput added in v4.13.0

func (i GetAppSpecFunctionLogDestinationDatadogArgs) ToGetAppSpecFunctionLogDestinationDatadogPtrOutput() GetAppSpecFunctionLogDestinationDatadogPtrOutput

func (GetAppSpecFunctionLogDestinationDatadogArgs) ToGetAppSpecFunctionLogDestinationDatadogPtrOutputWithContext added in v4.13.0

func (i GetAppSpecFunctionLogDestinationDatadogArgs) ToGetAppSpecFunctionLogDestinationDatadogPtrOutputWithContext(ctx context.Context) GetAppSpecFunctionLogDestinationDatadogPtrOutput

type GetAppSpecFunctionLogDestinationDatadogInput added in v4.13.0

type GetAppSpecFunctionLogDestinationDatadogInput interface {
	pulumi.Input

	ToGetAppSpecFunctionLogDestinationDatadogOutput() GetAppSpecFunctionLogDestinationDatadogOutput
	ToGetAppSpecFunctionLogDestinationDatadogOutputWithContext(context.Context) GetAppSpecFunctionLogDestinationDatadogOutput
}

GetAppSpecFunctionLogDestinationDatadogInput is an input type that accepts GetAppSpecFunctionLogDestinationDatadogArgs and GetAppSpecFunctionLogDestinationDatadogOutput values. You can construct a concrete instance of `GetAppSpecFunctionLogDestinationDatadogInput` via:

GetAppSpecFunctionLogDestinationDatadogArgs{...}

type GetAppSpecFunctionLogDestinationDatadogOutput added in v4.13.0

type GetAppSpecFunctionLogDestinationDatadogOutput struct{ *pulumi.OutputState }

func (GetAppSpecFunctionLogDestinationDatadogOutput) ApiKey added in v4.13.0

Datadog API key.

func (GetAppSpecFunctionLogDestinationDatadogOutput) ElementType added in v4.13.0

func (GetAppSpecFunctionLogDestinationDatadogOutput) Endpoint added in v4.13.0

Datadog HTTP log intake endpoint.

func (GetAppSpecFunctionLogDestinationDatadogOutput) ToGetAppSpecFunctionLogDestinationDatadogOutput added in v4.13.0

func (o GetAppSpecFunctionLogDestinationDatadogOutput) ToGetAppSpecFunctionLogDestinationDatadogOutput() GetAppSpecFunctionLogDestinationDatadogOutput

func (GetAppSpecFunctionLogDestinationDatadogOutput) ToGetAppSpecFunctionLogDestinationDatadogOutputWithContext added in v4.13.0

func (o GetAppSpecFunctionLogDestinationDatadogOutput) ToGetAppSpecFunctionLogDestinationDatadogOutputWithContext(ctx context.Context) GetAppSpecFunctionLogDestinationDatadogOutput

func (GetAppSpecFunctionLogDestinationDatadogOutput) ToGetAppSpecFunctionLogDestinationDatadogPtrOutput added in v4.13.0

func (o GetAppSpecFunctionLogDestinationDatadogOutput) ToGetAppSpecFunctionLogDestinationDatadogPtrOutput() GetAppSpecFunctionLogDestinationDatadogPtrOutput

func (GetAppSpecFunctionLogDestinationDatadogOutput) ToGetAppSpecFunctionLogDestinationDatadogPtrOutputWithContext added in v4.13.0

func (o GetAppSpecFunctionLogDestinationDatadogOutput) ToGetAppSpecFunctionLogDestinationDatadogPtrOutputWithContext(ctx context.Context) GetAppSpecFunctionLogDestinationDatadogPtrOutput

type GetAppSpecFunctionLogDestinationDatadogPtrInput added in v4.13.0

type GetAppSpecFunctionLogDestinationDatadogPtrInput interface {
	pulumi.Input

	ToGetAppSpecFunctionLogDestinationDatadogPtrOutput() GetAppSpecFunctionLogDestinationDatadogPtrOutput
	ToGetAppSpecFunctionLogDestinationDatadogPtrOutputWithContext(context.Context) GetAppSpecFunctionLogDestinationDatadogPtrOutput
}

GetAppSpecFunctionLogDestinationDatadogPtrInput is an input type that accepts GetAppSpecFunctionLogDestinationDatadogArgs, GetAppSpecFunctionLogDestinationDatadogPtr and GetAppSpecFunctionLogDestinationDatadogPtrOutput values. You can construct a concrete instance of `GetAppSpecFunctionLogDestinationDatadogPtrInput` via:

        GetAppSpecFunctionLogDestinationDatadogArgs{...}

or:

        nil

type GetAppSpecFunctionLogDestinationDatadogPtrOutput added in v4.13.0

type GetAppSpecFunctionLogDestinationDatadogPtrOutput struct{ *pulumi.OutputState }

func (GetAppSpecFunctionLogDestinationDatadogPtrOutput) ApiKey added in v4.13.0

Datadog API key.

func (GetAppSpecFunctionLogDestinationDatadogPtrOutput) Elem added in v4.13.0

func (GetAppSpecFunctionLogDestinationDatadogPtrOutput) ElementType added in v4.13.0

func (GetAppSpecFunctionLogDestinationDatadogPtrOutput) Endpoint added in v4.13.0

Datadog HTTP log intake endpoint.

func (GetAppSpecFunctionLogDestinationDatadogPtrOutput) ToGetAppSpecFunctionLogDestinationDatadogPtrOutput added in v4.13.0

func (o GetAppSpecFunctionLogDestinationDatadogPtrOutput) ToGetAppSpecFunctionLogDestinationDatadogPtrOutput() GetAppSpecFunctionLogDestinationDatadogPtrOutput

func (GetAppSpecFunctionLogDestinationDatadogPtrOutput) ToGetAppSpecFunctionLogDestinationDatadogPtrOutputWithContext added in v4.13.0

func (o GetAppSpecFunctionLogDestinationDatadogPtrOutput) ToGetAppSpecFunctionLogDestinationDatadogPtrOutputWithContext(ctx context.Context) GetAppSpecFunctionLogDestinationDatadogPtrOutput

type GetAppSpecFunctionLogDestinationInput added in v4.13.0

type GetAppSpecFunctionLogDestinationInput interface {
	pulumi.Input

	ToGetAppSpecFunctionLogDestinationOutput() GetAppSpecFunctionLogDestinationOutput
	ToGetAppSpecFunctionLogDestinationOutputWithContext(context.Context) GetAppSpecFunctionLogDestinationOutput
}

GetAppSpecFunctionLogDestinationInput is an input type that accepts GetAppSpecFunctionLogDestinationArgs and GetAppSpecFunctionLogDestinationOutput values. You can construct a concrete instance of `GetAppSpecFunctionLogDestinationInput` via:

GetAppSpecFunctionLogDestinationArgs{...}

type GetAppSpecFunctionLogDestinationLogtail added in v4.13.0

type GetAppSpecFunctionLogDestinationLogtail struct {
	// Logtail token.
	Token string `pulumi:"token"`
}

type GetAppSpecFunctionLogDestinationLogtailArgs added in v4.13.0

type GetAppSpecFunctionLogDestinationLogtailArgs struct {
	// Logtail token.
	Token pulumi.StringInput `pulumi:"token"`
}

func (GetAppSpecFunctionLogDestinationLogtailArgs) ElementType added in v4.13.0

func (GetAppSpecFunctionLogDestinationLogtailArgs) ToGetAppSpecFunctionLogDestinationLogtailOutput added in v4.13.0

func (i GetAppSpecFunctionLogDestinationLogtailArgs) ToGetAppSpecFunctionLogDestinationLogtailOutput() GetAppSpecFunctionLogDestinationLogtailOutput

func (GetAppSpecFunctionLogDestinationLogtailArgs) ToGetAppSpecFunctionLogDestinationLogtailOutputWithContext added in v4.13.0

func (i GetAppSpecFunctionLogDestinationLogtailArgs) ToGetAppSpecFunctionLogDestinationLogtailOutputWithContext(ctx context.Context) GetAppSpecFunctionLogDestinationLogtailOutput

func (GetAppSpecFunctionLogDestinationLogtailArgs) ToGetAppSpecFunctionLogDestinationLogtailPtrOutput added in v4.13.0

func (i GetAppSpecFunctionLogDestinationLogtailArgs) ToGetAppSpecFunctionLogDestinationLogtailPtrOutput() GetAppSpecFunctionLogDestinationLogtailPtrOutput

func (GetAppSpecFunctionLogDestinationLogtailArgs) ToGetAppSpecFunctionLogDestinationLogtailPtrOutputWithContext added in v4.13.0

func (i GetAppSpecFunctionLogDestinationLogtailArgs) ToGetAppSpecFunctionLogDestinationLogtailPtrOutputWithContext(ctx context.Context) GetAppSpecFunctionLogDestinationLogtailPtrOutput

type GetAppSpecFunctionLogDestinationLogtailInput added in v4.13.0

type GetAppSpecFunctionLogDestinationLogtailInput interface {
	pulumi.Input

	ToGetAppSpecFunctionLogDestinationLogtailOutput() GetAppSpecFunctionLogDestinationLogtailOutput
	ToGetAppSpecFunctionLogDestinationLogtailOutputWithContext(context.Context) GetAppSpecFunctionLogDestinationLogtailOutput
}

GetAppSpecFunctionLogDestinationLogtailInput is an input type that accepts GetAppSpecFunctionLogDestinationLogtailArgs and GetAppSpecFunctionLogDestinationLogtailOutput values. You can construct a concrete instance of `GetAppSpecFunctionLogDestinationLogtailInput` via:

GetAppSpecFunctionLogDestinationLogtailArgs{...}

type GetAppSpecFunctionLogDestinationLogtailOutput added in v4.13.0

type GetAppSpecFunctionLogDestinationLogtailOutput struct{ *pulumi.OutputState }

func (GetAppSpecFunctionLogDestinationLogtailOutput) ElementType added in v4.13.0

func (GetAppSpecFunctionLogDestinationLogtailOutput) ToGetAppSpecFunctionLogDestinationLogtailOutput added in v4.13.0

func (o GetAppSpecFunctionLogDestinationLogtailOutput) ToGetAppSpecFunctionLogDestinationLogtailOutput() GetAppSpecFunctionLogDestinationLogtailOutput

func (GetAppSpecFunctionLogDestinationLogtailOutput) ToGetAppSpecFunctionLogDestinationLogtailOutputWithContext added in v4.13.0

func (o GetAppSpecFunctionLogDestinationLogtailOutput) ToGetAppSpecFunctionLogDestinationLogtailOutputWithContext(ctx context.Context) GetAppSpecFunctionLogDestinationLogtailOutput

func (GetAppSpecFunctionLogDestinationLogtailOutput) ToGetAppSpecFunctionLogDestinationLogtailPtrOutput added in v4.13.0

func (o GetAppSpecFunctionLogDestinationLogtailOutput) ToGetAppSpecFunctionLogDestinationLogtailPtrOutput() GetAppSpecFunctionLogDestinationLogtailPtrOutput

func (GetAppSpecFunctionLogDestinationLogtailOutput) ToGetAppSpecFunctionLogDestinationLogtailPtrOutputWithContext added in v4.13.0

func (o GetAppSpecFunctionLogDestinationLogtailOutput) ToGetAppSpecFunctionLogDestinationLogtailPtrOutputWithContext(ctx context.Context) GetAppSpecFunctionLogDestinationLogtailPtrOutput

func (GetAppSpecFunctionLogDestinationLogtailOutput) Token added in v4.13.0

Logtail token.

type GetAppSpecFunctionLogDestinationLogtailPtrInput added in v4.13.0

type GetAppSpecFunctionLogDestinationLogtailPtrInput interface {
	pulumi.Input

	ToGetAppSpecFunctionLogDestinationLogtailPtrOutput() GetAppSpecFunctionLogDestinationLogtailPtrOutput
	ToGetAppSpecFunctionLogDestinationLogtailPtrOutputWithContext(context.Context) GetAppSpecFunctionLogDestinationLogtailPtrOutput
}

GetAppSpecFunctionLogDestinationLogtailPtrInput is an input type that accepts GetAppSpecFunctionLogDestinationLogtailArgs, GetAppSpecFunctionLogDestinationLogtailPtr and GetAppSpecFunctionLogDestinationLogtailPtrOutput values. You can construct a concrete instance of `GetAppSpecFunctionLogDestinationLogtailPtrInput` via:

        GetAppSpecFunctionLogDestinationLogtailArgs{...}

or:

        nil

type GetAppSpecFunctionLogDestinationLogtailPtrOutput added in v4.13.0

type GetAppSpecFunctionLogDestinationLogtailPtrOutput struct{ *pulumi.OutputState }

func (GetAppSpecFunctionLogDestinationLogtailPtrOutput) Elem added in v4.13.0

func (GetAppSpecFunctionLogDestinationLogtailPtrOutput) ElementType added in v4.13.0

func (GetAppSpecFunctionLogDestinationLogtailPtrOutput) ToGetAppSpecFunctionLogDestinationLogtailPtrOutput added in v4.13.0

func (o GetAppSpecFunctionLogDestinationLogtailPtrOutput) ToGetAppSpecFunctionLogDestinationLogtailPtrOutput() GetAppSpecFunctionLogDestinationLogtailPtrOutput

func (GetAppSpecFunctionLogDestinationLogtailPtrOutput) ToGetAppSpecFunctionLogDestinationLogtailPtrOutputWithContext added in v4.13.0

func (o GetAppSpecFunctionLogDestinationLogtailPtrOutput) ToGetAppSpecFunctionLogDestinationLogtailPtrOutputWithContext(ctx context.Context) GetAppSpecFunctionLogDestinationLogtailPtrOutput

func (GetAppSpecFunctionLogDestinationLogtailPtrOutput) Token added in v4.13.0

Logtail token.

type GetAppSpecFunctionLogDestinationOutput added in v4.13.0

type GetAppSpecFunctionLogDestinationOutput struct{ *pulumi.OutputState }

func (GetAppSpecFunctionLogDestinationOutput) Datadog added in v4.13.0

Datadog configuration.

func (GetAppSpecFunctionLogDestinationOutput) ElementType added in v4.13.0

func (GetAppSpecFunctionLogDestinationOutput) Logtail added in v4.13.0

Logtail configuration.

func (GetAppSpecFunctionLogDestinationOutput) Name added in v4.13.0

The name of the component.

func (GetAppSpecFunctionLogDestinationOutput) Papertrail added in v4.13.0

Papertrail configuration.

func (GetAppSpecFunctionLogDestinationOutput) ToGetAppSpecFunctionLogDestinationOutput added in v4.13.0

func (o GetAppSpecFunctionLogDestinationOutput) ToGetAppSpecFunctionLogDestinationOutput() GetAppSpecFunctionLogDestinationOutput

func (GetAppSpecFunctionLogDestinationOutput) ToGetAppSpecFunctionLogDestinationOutputWithContext added in v4.13.0

func (o GetAppSpecFunctionLogDestinationOutput) ToGetAppSpecFunctionLogDestinationOutputWithContext(ctx context.Context) GetAppSpecFunctionLogDestinationOutput

type GetAppSpecFunctionLogDestinationPapertrail added in v4.13.0

type GetAppSpecFunctionLogDestinationPapertrail struct {
	// Datadog HTTP log intake endpoint.
	Endpoint string `pulumi:"endpoint"`
}

type GetAppSpecFunctionLogDestinationPapertrailArgs added in v4.13.0

type GetAppSpecFunctionLogDestinationPapertrailArgs struct {
	// Datadog HTTP log intake endpoint.
	Endpoint pulumi.StringInput `pulumi:"endpoint"`
}

func (GetAppSpecFunctionLogDestinationPapertrailArgs) ElementType added in v4.13.0

func (GetAppSpecFunctionLogDestinationPapertrailArgs) ToGetAppSpecFunctionLogDestinationPapertrailOutput added in v4.13.0

func (i GetAppSpecFunctionLogDestinationPapertrailArgs) ToGetAppSpecFunctionLogDestinationPapertrailOutput() GetAppSpecFunctionLogDestinationPapertrailOutput

func (GetAppSpecFunctionLogDestinationPapertrailArgs) ToGetAppSpecFunctionLogDestinationPapertrailOutputWithContext added in v4.13.0

func (i GetAppSpecFunctionLogDestinationPapertrailArgs) ToGetAppSpecFunctionLogDestinationPapertrailOutputWithContext(ctx context.Context) GetAppSpecFunctionLogDestinationPapertrailOutput

func (GetAppSpecFunctionLogDestinationPapertrailArgs) ToGetAppSpecFunctionLogDestinationPapertrailPtrOutput added in v4.13.0

func (i GetAppSpecFunctionLogDestinationPapertrailArgs) ToGetAppSpecFunctionLogDestinationPapertrailPtrOutput() GetAppSpecFunctionLogDestinationPapertrailPtrOutput

func (GetAppSpecFunctionLogDestinationPapertrailArgs) ToGetAppSpecFunctionLogDestinationPapertrailPtrOutputWithContext added in v4.13.0

func (i GetAppSpecFunctionLogDestinationPapertrailArgs) ToGetAppSpecFunctionLogDestinationPapertrailPtrOutputWithContext(ctx context.Context) GetAppSpecFunctionLogDestinationPapertrailPtrOutput

type GetAppSpecFunctionLogDestinationPapertrailInput added in v4.13.0

type GetAppSpecFunctionLogDestinationPapertrailInput interface {
	pulumi.Input

	ToGetAppSpecFunctionLogDestinationPapertrailOutput() GetAppSpecFunctionLogDestinationPapertrailOutput
	ToGetAppSpecFunctionLogDestinationPapertrailOutputWithContext(context.Context) GetAppSpecFunctionLogDestinationPapertrailOutput
}

GetAppSpecFunctionLogDestinationPapertrailInput is an input type that accepts GetAppSpecFunctionLogDestinationPapertrailArgs and GetAppSpecFunctionLogDestinationPapertrailOutput values. You can construct a concrete instance of `GetAppSpecFunctionLogDestinationPapertrailInput` via:

GetAppSpecFunctionLogDestinationPapertrailArgs{...}

type GetAppSpecFunctionLogDestinationPapertrailOutput added in v4.13.0

type GetAppSpecFunctionLogDestinationPapertrailOutput struct{ *pulumi.OutputState }

func (GetAppSpecFunctionLogDestinationPapertrailOutput) ElementType added in v4.13.0

func (GetAppSpecFunctionLogDestinationPapertrailOutput) Endpoint added in v4.13.0

Datadog HTTP log intake endpoint.

func (GetAppSpecFunctionLogDestinationPapertrailOutput) ToGetAppSpecFunctionLogDestinationPapertrailOutput added in v4.13.0

func (o GetAppSpecFunctionLogDestinationPapertrailOutput) ToGetAppSpecFunctionLogDestinationPapertrailOutput() GetAppSpecFunctionLogDestinationPapertrailOutput

func (GetAppSpecFunctionLogDestinationPapertrailOutput) ToGetAppSpecFunctionLogDestinationPapertrailOutputWithContext added in v4.13.0

func (o GetAppSpecFunctionLogDestinationPapertrailOutput) ToGetAppSpecFunctionLogDestinationPapertrailOutputWithContext(ctx context.Context) GetAppSpecFunctionLogDestinationPapertrailOutput

func (GetAppSpecFunctionLogDestinationPapertrailOutput) ToGetAppSpecFunctionLogDestinationPapertrailPtrOutput added in v4.13.0

func (o GetAppSpecFunctionLogDestinationPapertrailOutput) ToGetAppSpecFunctionLogDestinationPapertrailPtrOutput() GetAppSpecFunctionLogDestinationPapertrailPtrOutput

func (GetAppSpecFunctionLogDestinationPapertrailOutput) ToGetAppSpecFunctionLogDestinationPapertrailPtrOutputWithContext added in v4.13.0

func (o GetAppSpecFunctionLogDestinationPapertrailOutput) ToGetAppSpecFunctionLogDestinationPapertrailPtrOutputWithContext(ctx context.Context) GetAppSpecFunctionLogDestinationPapertrailPtrOutput

type GetAppSpecFunctionLogDestinationPapertrailPtrInput added in v4.13.0

type GetAppSpecFunctionLogDestinationPapertrailPtrInput interface {
	pulumi.Input

	ToGetAppSpecFunctionLogDestinationPapertrailPtrOutput() GetAppSpecFunctionLogDestinationPapertrailPtrOutput
	ToGetAppSpecFunctionLogDestinationPapertrailPtrOutputWithContext(context.Context) GetAppSpecFunctionLogDestinationPapertrailPtrOutput
}

GetAppSpecFunctionLogDestinationPapertrailPtrInput is an input type that accepts GetAppSpecFunctionLogDestinationPapertrailArgs, GetAppSpecFunctionLogDestinationPapertrailPtr and GetAppSpecFunctionLogDestinationPapertrailPtrOutput values. You can construct a concrete instance of `GetAppSpecFunctionLogDestinationPapertrailPtrInput` via:

        GetAppSpecFunctionLogDestinationPapertrailArgs{...}

or:

        nil

type GetAppSpecFunctionLogDestinationPapertrailPtrOutput added in v4.13.0

type GetAppSpecFunctionLogDestinationPapertrailPtrOutput struct{ *pulumi.OutputState }

func (GetAppSpecFunctionLogDestinationPapertrailPtrOutput) Elem added in v4.13.0

func (GetAppSpecFunctionLogDestinationPapertrailPtrOutput) ElementType added in v4.13.0

func (GetAppSpecFunctionLogDestinationPapertrailPtrOutput) Endpoint added in v4.13.0

Datadog HTTP log intake endpoint.

func (GetAppSpecFunctionLogDestinationPapertrailPtrOutput) ToGetAppSpecFunctionLogDestinationPapertrailPtrOutput added in v4.13.0

func (o GetAppSpecFunctionLogDestinationPapertrailPtrOutput) ToGetAppSpecFunctionLogDestinationPapertrailPtrOutput() GetAppSpecFunctionLogDestinationPapertrailPtrOutput

func (GetAppSpecFunctionLogDestinationPapertrailPtrOutput) ToGetAppSpecFunctionLogDestinationPapertrailPtrOutputWithContext added in v4.13.0

func (o GetAppSpecFunctionLogDestinationPapertrailPtrOutput) ToGetAppSpecFunctionLogDestinationPapertrailPtrOutputWithContext(ctx context.Context) GetAppSpecFunctionLogDestinationPapertrailPtrOutput

type GetAppSpecFunctionOutput added in v4.13.0

type GetAppSpecFunctionOutput struct{ *pulumi.OutputState }

func (GetAppSpecFunctionOutput) Alerts added in v4.13.0

Describes an alert policy for the component.

func (GetAppSpecFunctionOutput) Cors deprecated added in v4.13.0

The [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies of the app.

Deprecated: Service level CORS rules are deprecated in favor of ingresses

func (GetAppSpecFunctionOutput) ElementType added in v4.13.0

func (GetAppSpecFunctionOutput) ElementType() reflect.Type

func (GetAppSpecFunctionOutput) Envs added in v4.13.0

Describes an environment variable made available to an app competent.

func (GetAppSpecFunctionOutput) Git added in v4.13.0

A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of `git`, `github` or `gitlab` may be set.

func (GetAppSpecFunctionOutput) Github added in v4.13.0

A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.

func (GetAppSpecFunctionOutput) Gitlab added in v4.13.0

A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.

func (GetAppSpecFunctionOutput) LogDestinations added in v4.13.0

Describes a log forwarding destination.

func (GetAppSpecFunctionOutput) Name added in v4.13.0

The name of the component.

func (GetAppSpecFunctionOutput) Routes deprecated added in v4.13.0

Deprecated: Service level routes are deprecated in favor of ingresses

func (GetAppSpecFunctionOutput) SourceDir added in v4.13.0

An optional path to the working directory to use for the build.

func (GetAppSpecFunctionOutput) ToGetAppSpecFunctionOutput added in v4.13.0

func (o GetAppSpecFunctionOutput) ToGetAppSpecFunctionOutput() GetAppSpecFunctionOutput

func (GetAppSpecFunctionOutput) ToGetAppSpecFunctionOutputWithContext added in v4.13.0

func (o GetAppSpecFunctionOutput) ToGetAppSpecFunctionOutputWithContext(ctx context.Context) GetAppSpecFunctionOutput

type GetAppSpecFunctionRoute added in v4.13.0

type GetAppSpecFunctionRoute struct {
	// Paths must start with `/` and must be unique within the app.
	Path *string `pulumi:"path"`
	// An optional flag to preserve the path that is forwarded to the backend service.
	PreservePathPrefix *bool `pulumi:"preservePathPrefix"`
}

type GetAppSpecFunctionRouteArgs added in v4.13.0

type GetAppSpecFunctionRouteArgs struct {
	// Paths must start with `/` and must be unique within the app.
	Path pulumi.StringPtrInput `pulumi:"path"`
	// An optional flag to preserve the path that is forwarded to the backend service.
	PreservePathPrefix pulumi.BoolPtrInput `pulumi:"preservePathPrefix"`
}

func (GetAppSpecFunctionRouteArgs) ElementType added in v4.13.0

func (GetAppSpecFunctionRouteArgs) ToGetAppSpecFunctionRouteOutput added in v4.13.0

func (i GetAppSpecFunctionRouteArgs) ToGetAppSpecFunctionRouteOutput() GetAppSpecFunctionRouteOutput

func (GetAppSpecFunctionRouteArgs) ToGetAppSpecFunctionRouteOutputWithContext added in v4.13.0

func (i GetAppSpecFunctionRouteArgs) ToGetAppSpecFunctionRouteOutputWithContext(ctx context.Context) GetAppSpecFunctionRouteOutput

type GetAppSpecFunctionRouteArray added in v4.13.0

type GetAppSpecFunctionRouteArray []GetAppSpecFunctionRouteInput

func (GetAppSpecFunctionRouteArray) ElementType added in v4.13.0

func (GetAppSpecFunctionRouteArray) ToGetAppSpecFunctionRouteArrayOutput added in v4.13.0

func (i GetAppSpecFunctionRouteArray) ToGetAppSpecFunctionRouteArrayOutput() GetAppSpecFunctionRouteArrayOutput

func (GetAppSpecFunctionRouteArray) ToGetAppSpecFunctionRouteArrayOutputWithContext added in v4.13.0

func (i GetAppSpecFunctionRouteArray) ToGetAppSpecFunctionRouteArrayOutputWithContext(ctx context.Context) GetAppSpecFunctionRouteArrayOutput

type GetAppSpecFunctionRouteArrayInput added in v4.13.0

type GetAppSpecFunctionRouteArrayInput interface {
	pulumi.Input

	ToGetAppSpecFunctionRouteArrayOutput() GetAppSpecFunctionRouteArrayOutput
	ToGetAppSpecFunctionRouteArrayOutputWithContext(context.Context) GetAppSpecFunctionRouteArrayOutput
}

GetAppSpecFunctionRouteArrayInput is an input type that accepts GetAppSpecFunctionRouteArray and GetAppSpecFunctionRouteArrayOutput values. You can construct a concrete instance of `GetAppSpecFunctionRouteArrayInput` via:

GetAppSpecFunctionRouteArray{ GetAppSpecFunctionRouteArgs{...} }

type GetAppSpecFunctionRouteArrayOutput added in v4.13.0

type GetAppSpecFunctionRouteArrayOutput struct{ *pulumi.OutputState }

func (GetAppSpecFunctionRouteArrayOutput) ElementType added in v4.13.0

func (GetAppSpecFunctionRouteArrayOutput) Index added in v4.13.0

func (GetAppSpecFunctionRouteArrayOutput) ToGetAppSpecFunctionRouteArrayOutput added in v4.13.0

func (o GetAppSpecFunctionRouteArrayOutput) ToGetAppSpecFunctionRouteArrayOutput() GetAppSpecFunctionRouteArrayOutput

func (GetAppSpecFunctionRouteArrayOutput) ToGetAppSpecFunctionRouteArrayOutputWithContext added in v4.13.0

func (o GetAppSpecFunctionRouteArrayOutput) ToGetAppSpecFunctionRouteArrayOutputWithContext(ctx context.Context) GetAppSpecFunctionRouteArrayOutput

type GetAppSpecFunctionRouteInput added in v4.13.0

type GetAppSpecFunctionRouteInput interface {
	pulumi.Input

	ToGetAppSpecFunctionRouteOutput() GetAppSpecFunctionRouteOutput
	ToGetAppSpecFunctionRouteOutputWithContext(context.Context) GetAppSpecFunctionRouteOutput
}

GetAppSpecFunctionRouteInput is an input type that accepts GetAppSpecFunctionRouteArgs and GetAppSpecFunctionRouteOutput values. You can construct a concrete instance of `GetAppSpecFunctionRouteInput` via:

GetAppSpecFunctionRouteArgs{...}

type GetAppSpecFunctionRouteOutput added in v4.13.0

type GetAppSpecFunctionRouteOutput struct{ *pulumi.OutputState }

func (GetAppSpecFunctionRouteOutput) ElementType added in v4.13.0

func (GetAppSpecFunctionRouteOutput) Path added in v4.13.0

Paths must start with `/` and must be unique within the app.

func (GetAppSpecFunctionRouteOutput) PreservePathPrefix added in v4.13.0

func (o GetAppSpecFunctionRouteOutput) PreservePathPrefix() pulumi.BoolPtrOutput

An optional flag to preserve the path that is forwarded to the backend service.

func (GetAppSpecFunctionRouteOutput) ToGetAppSpecFunctionRouteOutput added in v4.13.0

func (o GetAppSpecFunctionRouteOutput) ToGetAppSpecFunctionRouteOutput() GetAppSpecFunctionRouteOutput

func (GetAppSpecFunctionRouteOutput) ToGetAppSpecFunctionRouteOutputWithContext added in v4.13.0

func (o GetAppSpecFunctionRouteOutput) ToGetAppSpecFunctionRouteOutputWithContext(ctx context.Context) GetAppSpecFunctionRouteOutput

type GetAppSpecIngress added in v4.23.0

type GetAppSpecIngress struct {
	// The type of the alert to configure. Component app alert policies can be: `CPU_UTILIZATION`, `MEM_UTILIZATION`, or `RESTART_COUNT`.
	Rules []GetAppSpecIngressRule `pulumi:"rules"`
}

type GetAppSpecIngressArgs added in v4.23.0

type GetAppSpecIngressArgs struct {
	// The type of the alert to configure. Component app alert policies can be: `CPU_UTILIZATION`, `MEM_UTILIZATION`, or `RESTART_COUNT`.
	Rules GetAppSpecIngressRuleArrayInput `pulumi:"rules"`
}

func (GetAppSpecIngressArgs) ElementType added in v4.23.0

func (GetAppSpecIngressArgs) ElementType() reflect.Type

func (GetAppSpecIngressArgs) ToGetAppSpecIngressOutput added in v4.23.0

func (i GetAppSpecIngressArgs) ToGetAppSpecIngressOutput() GetAppSpecIngressOutput

func (GetAppSpecIngressArgs) ToGetAppSpecIngressOutputWithContext added in v4.23.0

func (i GetAppSpecIngressArgs) ToGetAppSpecIngressOutputWithContext(ctx context.Context) GetAppSpecIngressOutput

type GetAppSpecIngressInput added in v4.23.0

type GetAppSpecIngressInput interface {
	pulumi.Input

	ToGetAppSpecIngressOutput() GetAppSpecIngressOutput
	ToGetAppSpecIngressOutputWithContext(context.Context) GetAppSpecIngressOutput
}

GetAppSpecIngressInput is an input type that accepts GetAppSpecIngressArgs and GetAppSpecIngressOutput values. You can construct a concrete instance of `GetAppSpecIngressInput` via:

GetAppSpecIngressArgs{...}

type GetAppSpecIngressOutput added in v4.23.0

type GetAppSpecIngressOutput struct{ *pulumi.OutputState }

func (GetAppSpecIngressOutput) ElementType added in v4.23.0

func (GetAppSpecIngressOutput) ElementType() reflect.Type

func (GetAppSpecIngressOutput) Rules added in v4.23.0

The type of the alert to configure. Component app alert policies can be: `CPU_UTILIZATION`, `MEM_UTILIZATION`, or `RESTART_COUNT`.

func (GetAppSpecIngressOutput) ToGetAppSpecIngressOutput added in v4.23.0

func (o GetAppSpecIngressOutput) ToGetAppSpecIngressOutput() GetAppSpecIngressOutput

func (GetAppSpecIngressOutput) ToGetAppSpecIngressOutputWithContext added in v4.23.0

func (o GetAppSpecIngressOutput) ToGetAppSpecIngressOutputWithContext(ctx context.Context) GetAppSpecIngressOutput

type GetAppSpecIngressRule added in v4.23.0

type GetAppSpecIngressRule struct {
	Component GetAppSpecIngressRuleComponent `pulumi:"component"`
	// The [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies of the app.
	Cors     GetAppSpecIngressRuleCors      `pulumi:"cors"`
	Match    GetAppSpecIngressRuleMatch     `pulumi:"match"`
	Redirect *GetAppSpecIngressRuleRedirect `pulumi:"redirect"`
}

type GetAppSpecIngressRuleArgs added in v4.23.0

type GetAppSpecIngressRuleArgs struct {
	Component GetAppSpecIngressRuleComponentInput `pulumi:"component"`
	// The [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies of the app.
	Cors     GetAppSpecIngressRuleCorsInput        `pulumi:"cors"`
	Match    GetAppSpecIngressRuleMatchInput       `pulumi:"match"`
	Redirect GetAppSpecIngressRuleRedirectPtrInput `pulumi:"redirect"`
}

func (GetAppSpecIngressRuleArgs) ElementType added in v4.23.0

func (GetAppSpecIngressRuleArgs) ElementType() reflect.Type

func (GetAppSpecIngressRuleArgs) ToGetAppSpecIngressRuleOutput added in v4.23.0

func (i GetAppSpecIngressRuleArgs) ToGetAppSpecIngressRuleOutput() GetAppSpecIngressRuleOutput

func (GetAppSpecIngressRuleArgs) ToGetAppSpecIngressRuleOutputWithContext added in v4.23.0

func (i GetAppSpecIngressRuleArgs) ToGetAppSpecIngressRuleOutputWithContext(ctx context.Context) GetAppSpecIngressRuleOutput

type GetAppSpecIngressRuleArray added in v4.23.0

type GetAppSpecIngressRuleArray []GetAppSpecIngressRuleInput

func (GetAppSpecIngressRuleArray) ElementType added in v4.23.0

func (GetAppSpecIngressRuleArray) ElementType() reflect.Type

func (GetAppSpecIngressRuleArray) ToGetAppSpecIngressRuleArrayOutput added in v4.23.0

func (i GetAppSpecIngressRuleArray) ToGetAppSpecIngressRuleArrayOutput() GetAppSpecIngressRuleArrayOutput

func (GetAppSpecIngressRuleArray) ToGetAppSpecIngressRuleArrayOutputWithContext added in v4.23.0

func (i GetAppSpecIngressRuleArray) ToGetAppSpecIngressRuleArrayOutputWithContext(ctx context.Context) GetAppSpecIngressRuleArrayOutput

type GetAppSpecIngressRuleArrayInput added in v4.23.0

type GetAppSpecIngressRuleArrayInput interface {
	pulumi.Input

	ToGetAppSpecIngressRuleArrayOutput() GetAppSpecIngressRuleArrayOutput
	ToGetAppSpecIngressRuleArrayOutputWithContext(context.Context) GetAppSpecIngressRuleArrayOutput
}

GetAppSpecIngressRuleArrayInput is an input type that accepts GetAppSpecIngressRuleArray and GetAppSpecIngressRuleArrayOutput values. You can construct a concrete instance of `GetAppSpecIngressRuleArrayInput` via:

GetAppSpecIngressRuleArray{ GetAppSpecIngressRuleArgs{...} }

type GetAppSpecIngressRuleArrayOutput added in v4.23.0

type GetAppSpecIngressRuleArrayOutput struct{ *pulumi.OutputState }

func (GetAppSpecIngressRuleArrayOutput) ElementType added in v4.23.0

func (GetAppSpecIngressRuleArrayOutput) Index added in v4.23.0

func (GetAppSpecIngressRuleArrayOutput) ToGetAppSpecIngressRuleArrayOutput added in v4.23.0

func (o GetAppSpecIngressRuleArrayOutput) ToGetAppSpecIngressRuleArrayOutput() GetAppSpecIngressRuleArrayOutput

func (GetAppSpecIngressRuleArrayOutput) ToGetAppSpecIngressRuleArrayOutputWithContext added in v4.23.0

func (o GetAppSpecIngressRuleArrayOutput) ToGetAppSpecIngressRuleArrayOutputWithContext(ctx context.Context) GetAppSpecIngressRuleArrayOutput

type GetAppSpecIngressRuleComponent added in v4.23.0

type GetAppSpecIngressRuleComponent struct {
	// The name of the component.
	Name string `pulumi:"name"`
	// An optional flag to preserve the path that is forwarded to the backend service.
	PreservePathPrefix bool   `pulumi:"preservePathPrefix"`
	Rewrite            string `pulumi:"rewrite"`
}

type GetAppSpecIngressRuleComponentArgs added in v4.23.0

type GetAppSpecIngressRuleComponentArgs struct {
	// The name of the component.
	Name pulumi.StringInput `pulumi:"name"`
	// An optional flag to preserve the path that is forwarded to the backend service.
	PreservePathPrefix pulumi.BoolInput   `pulumi:"preservePathPrefix"`
	Rewrite            pulumi.StringInput `pulumi:"rewrite"`
}

func (GetAppSpecIngressRuleComponentArgs) ElementType added in v4.23.0

func (GetAppSpecIngressRuleComponentArgs) ToGetAppSpecIngressRuleComponentOutput added in v4.23.0

func (i GetAppSpecIngressRuleComponentArgs) ToGetAppSpecIngressRuleComponentOutput() GetAppSpecIngressRuleComponentOutput

func (GetAppSpecIngressRuleComponentArgs) ToGetAppSpecIngressRuleComponentOutputWithContext added in v4.23.0

func (i GetAppSpecIngressRuleComponentArgs) ToGetAppSpecIngressRuleComponentOutputWithContext(ctx context.Context) GetAppSpecIngressRuleComponentOutput

type GetAppSpecIngressRuleComponentInput added in v4.23.0

type GetAppSpecIngressRuleComponentInput interface {
	pulumi.Input

	ToGetAppSpecIngressRuleComponentOutput() GetAppSpecIngressRuleComponentOutput
	ToGetAppSpecIngressRuleComponentOutputWithContext(context.Context) GetAppSpecIngressRuleComponentOutput
}

GetAppSpecIngressRuleComponentInput is an input type that accepts GetAppSpecIngressRuleComponentArgs and GetAppSpecIngressRuleComponentOutput values. You can construct a concrete instance of `GetAppSpecIngressRuleComponentInput` via:

GetAppSpecIngressRuleComponentArgs{...}

type GetAppSpecIngressRuleComponentOutput added in v4.23.0

type GetAppSpecIngressRuleComponentOutput struct{ *pulumi.OutputState }

func (GetAppSpecIngressRuleComponentOutput) ElementType added in v4.23.0

func (GetAppSpecIngressRuleComponentOutput) Name added in v4.23.0

The name of the component.

func (GetAppSpecIngressRuleComponentOutput) PreservePathPrefix added in v4.23.0

An optional flag to preserve the path that is forwarded to the backend service.

func (GetAppSpecIngressRuleComponentOutput) Rewrite added in v4.23.0

func (GetAppSpecIngressRuleComponentOutput) ToGetAppSpecIngressRuleComponentOutput added in v4.23.0

func (o GetAppSpecIngressRuleComponentOutput) ToGetAppSpecIngressRuleComponentOutput() GetAppSpecIngressRuleComponentOutput

func (GetAppSpecIngressRuleComponentOutput) ToGetAppSpecIngressRuleComponentOutputWithContext added in v4.23.0

func (o GetAppSpecIngressRuleComponentOutput) ToGetAppSpecIngressRuleComponentOutputWithContext(ctx context.Context) GetAppSpecIngressRuleComponentOutput

type GetAppSpecIngressRuleCors added in v4.23.0

type GetAppSpecIngressRuleCors struct {
	// Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is `include`. This configures the `Access-Control-Allow-Credentials` header.
	AllowCredentials *bool `pulumi:"allowCredentials"`
	// The set of allowed HTTP request headers. This configures the `Access-Control-Allow-Headers` header.
	AllowHeaders []string `pulumi:"allowHeaders"`
	// The set of allowed HTTP methods. This configures the `Access-Control-Allow-Methods` header.
	AllowMethods []string `pulumi:"allowMethods"`
	// The `Access-Control-Allow-Origin` can be
	AllowOrigins *GetAppSpecIngressRuleCorsAllowOrigins `pulumi:"allowOrigins"`
	// The set of HTTP response headers that browsers are allowed to access. This configures the `Access-Control-Expose-Headers` header.
	ExposeHeaders []string `pulumi:"exposeHeaders"`
	// An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: `5h30m`.
	MaxAge *string `pulumi:"maxAge"`
}

type GetAppSpecIngressRuleCorsAllowOrigins added in v4.23.0

type GetAppSpecIngressRuleCorsAllowOrigins struct {
	// The `Access-Control-Allow-Origin` header will be set to the client's origin only if the client's origin exactly matches the value you provide.
	Exact *string `pulumi:"exact"`
	// The `Access-Control-Allow-Origin` header will be set to the client's origin if the beginning of the client's origin matches the value you provide.
	Prefix *string `pulumi:"prefix"`
	// The `Access-Control-Allow-Origin` header will be set to the client's origin if the client’s origin matches the regex you provide, in [RE2 style syntax](https://github.com/google/re2/wiki/Syntax).
	Regex *string `pulumi:"regex"`
}

type GetAppSpecIngressRuleCorsAllowOriginsArgs added in v4.23.0

type GetAppSpecIngressRuleCorsAllowOriginsArgs struct {
	// The `Access-Control-Allow-Origin` header will be set to the client's origin only if the client's origin exactly matches the value you provide.
	Exact pulumi.StringPtrInput `pulumi:"exact"`
	// The `Access-Control-Allow-Origin` header will be set to the client's origin if the beginning of the client's origin matches the value you provide.
	Prefix pulumi.StringPtrInput `pulumi:"prefix"`
	// The `Access-Control-Allow-Origin` header will be set to the client's origin if the client’s origin matches the regex you provide, in [RE2 style syntax](https://github.com/google/re2/wiki/Syntax).
	Regex pulumi.StringPtrInput `pulumi:"regex"`
}

func (GetAppSpecIngressRuleCorsAllowOriginsArgs) ElementType added in v4.23.0

func (GetAppSpecIngressRuleCorsAllowOriginsArgs) ToGetAppSpecIngressRuleCorsAllowOriginsOutput added in v4.23.0

func (i GetAppSpecIngressRuleCorsAllowOriginsArgs) ToGetAppSpecIngressRuleCorsAllowOriginsOutput() GetAppSpecIngressRuleCorsAllowOriginsOutput

func (GetAppSpecIngressRuleCorsAllowOriginsArgs) ToGetAppSpecIngressRuleCorsAllowOriginsOutputWithContext added in v4.23.0

func (i GetAppSpecIngressRuleCorsAllowOriginsArgs) ToGetAppSpecIngressRuleCorsAllowOriginsOutputWithContext(ctx context.Context) GetAppSpecIngressRuleCorsAllowOriginsOutput

func (GetAppSpecIngressRuleCorsAllowOriginsArgs) ToGetAppSpecIngressRuleCorsAllowOriginsPtrOutput added in v4.23.0

func (i GetAppSpecIngressRuleCorsAllowOriginsArgs) ToGetAppSpecIngressRuleCorsAllowOriginsPtrOutput() GetAppSpecIngressRuleCorsAllowOriginsPtrOutput

func (GetAppSpecIngressRuleCorsAllowOriginsArgs) ToGetAppSpecIngressRuleCorsAllowOriginsPtrOutputWithContext added in v4.23.0

func (i GetAppSpecIngressRuleCorsAllowOriginsArgs) ToGetAppSpecIngressRuleCorsAllowOriginsPtrOutputWithContext(ctx context.Context) GetAppSpecIngressRuleCorsAllowOriginsPtrOutput

type GetAppSpecIngressRuleCorsAllowOriginsInput added in v4.23.0

type GetAppSpecIngressRuleCorsAllowOriginsInput interface {
	pulumi.Input

	ToGetAppSpecIngressRuleCorsAllowOriginsOutput() GetAppSpecIngressRuleCorsAllowOriginsOutput
	ToGetAppSpecIngressRuleCorsAllowOriginsOutputWithContext(context.Context) GetAppSpecIngressRuleCorsAllowOriginsOutput
}

GetAppSpecIngressRuleCorsAllowOriginsInput is an input type that accepts GetAppSpecIngressRuleCorsAllowOriginsArgs and GetAppSpecIngressRuleCorsAllowOriginsOutput values. You can construct a concrete instance of `GetAppSpecIngressRuleCorsAllowOriginsInput` via:

GetAppSpecIngressRuleCorsAllowOriginsArgs{...}

type GetAppSpecIngressRuleCorsAllowOriginsOutput added in v4.23.0

type GetAppSpecIngressRuleCorsAllowOriginsOutput struct{ *pulumi.OutputState }

func (GetAppSpecIngressRuleCorsAllowOriginsOutput) ElementType added in v4.23.0

func (GetAppSpecIngressRuleCorsAllowOriginsOutput) Exact added in v4.23.0

The `Access-Control-Allow-Origin` header will be set to the client's origin only if the client's origin exactly matches the value you provide.

func (GetAppSpecIngressRuleCorsAllowOriginsOutput) Prefix added in v4.23.0

The `Access-Control-Allow-Origin` header will be set to the client's origin if the beginning of the client's origin matches the value you provide.

func (GetAppSpecIngressRuleCorsAllowOriginsOutput) Regex added in v4.23.0

The `Access-Control-Allow-Origin` header will be set to the client's origin if the client’s origin matches the regex you provide, in [RE2 style syntax](https://github.com/google/re2/wiki/Syntax).

func (GetAppSpecIngressRuleCorsAllowOriginsOutput) ToGetAppSpecIngressRuleCorsAllowOriginsOutput added in v4.23.0

func (o GetAppSpecIngressRuleCorsAllowOriginsOutput) ToGetAppSpecIngressRuleCorsAllowOriginsOutput() GetAppSpecIngressRuleCorsAllowOriginsOutput

func (GetAppSpecIngressRuleCorsAllowOriginsOutput) ToGetAppSpecIngressRuleCorsAllowOriginsOutputWithContext added in v4.23.0

func (o GetAppSpecIngressRuleCorsAllowOriginsOutput) ToGetAppSpecIngressRuleCorsAllowOriginsOutputWithContext(ctx context.Context) GetAppSpecIngressRuleCorsAllowOriginsOutput

func (GetAppSpecIngressRuleCorsAllowOriginsOutput) ToGetAppSpecIngressRuleCorsAllowOriginsPtrOutput added in v4.23.0

func (o GetAppSpecIngressRuleCorsAllowOriginsOutput) ToGetAppSpecIngressRuleCorsAllowOriginsPtrOutput() GetAppSpecIngressRuleCorsAllowOriginsPtrOutput

func (GetAppSpecIngressRuleCorsAllowOriginsOutput) ToGetAppSpecIngressRuleCorsAllowOriginsPtrOutputWithContext added in v4.23.0

func (o GetAppSpecIngressRuleCorsAllowOriginsOutput) ToGetAppSpecIngressRuleCorsAllowOriginsPtrOutputWithContext(ctx context.Context) GetAppSpecIngressRuleCorsAllowOriginsPtrOutput

type GetAppSpecIngressRuleCorsAllowOriginsPtrInput added in v4.23.0

type GetAppSpecIngressRuleCorsAllowOriginsPtrInput interface {
	pulumi.Input

	ToGetAppSpecIngressRuleCorsAllowOriginsPtrOutput() GetAppSpecIngressRuleCorsAllowOriginsPtrOutput
	ToGetAppSpecIngressRuleCorsAllowOriginsPtrOutputWithContext(context.Context) GetAppSpecIngressRuleCorsAllowOriginsPtrOutput
}

GetAppSpecIngressRuleCorsAllowOriginsPtrInput is an input type that accepts GetAppSpecIngressRuleCorsAllowOriginsArgs, GetAppSpecIngressRuleCorsAllowOriginsPtr and GetAppSpecIngressRuleCorsAllowOriginsPtrOutput values. You can construct a concrete instance of `GetAppSpecIngressRuleCorsAllowOriginsPtrInput` via:

        GetAppSpecIngressRuleCorsAllowOriginsArgs{...}

or:

        nil

type GetAppSpecIngressRuleCorsAllowOriginsPtrOutput added in v4.23.0

type GetAppSpecIngressRuleCorsAllowOriginsPtrOutput struct{ *pulumi.OutputState }

func (GetAppSpecIngressRuleCorsAllowOriginsPtrOutput) Elem added in v4.23.0

func (GetAppSpecIngressRuleCorsAllowOriginsPtrOutput) ElementType added in v4.23.0

func (GetAppSpecIngressRuleCorsAllowOriginsPtrOutput) Exact added in v4.23.0

The `Access-Control-Allow-Origin` header will be set to the client's origin only if the client's origin exactly matches the value you provide.

func (GetAppSpecIngressRuleCorsAllowOriginsPtrOutput) Prefix added in v4.23.0

The `Access-Control-Allow-Origin` header will be set to the client's origin if the beginning of the client's origin matches the value you provide.

func (GetAppSpecIngressRuleCorsAllowOriginsPtrOutput) Regex added in v4.23.0

The `Access-Control-Allow-Origin` header will be set to the client's origin if the client’s origin matches the regex you provide, in [RE2 style syntax](https://github.com/google/re2/wiki/Syntax).

func (GetAppSpecIngressRuleCorsAllowOriginsPtrOutput) ToGetAppSpecIngressRuleCorsAllowOriginsPtrOutput added in v4.23.0

func (o GetAppSpecIngressRuleCorsAllowOriginsPtrOutput) ToGetAppSpecIngressRuleCorsAllowOriginsPtrOutput() GetAppSpecIngressRuleCorsAllowOriginsPtrOutput

func (GetAppSpecIngressRuleCorsAllowOriginsPtrOutput) ToGetAppSpecIngressRuleCorsAllowOriginsPtrOutputWithContext added in v4.23.0

func (o GetAppSpecIngressRuleCorsAllowOriginsPtrOutput) ToGetAppSpecIngressRuleCorsAllowOriginsPtrOutputWithContext(ctx context.Context) GetAppSpecIngressRuleCorsAllowOriginsPtrOutput

type GetAppSpecIngressRuleCorsArgs added in v4.23.0

type GetAppSpecIngressRuleCorsArgs struct {
	// Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is `include`. This configures the `Access-Control-Allow-Credentials` header.
	AllowCredentials pulumi.BoolPtrInput `pulumi:"allowCredentials"`
	// The set of allowed HTTP request headers. This configures the `Access-Control-Allow-Headers` header.
	AllowHeaders pulumi.StringArrayInput `pulumi:"allowHeaders"`
	// The set of allowed HTTP methods. This configures the `Access-Control-Allow-Methods` header.
	AllowMethods pulumi.StringArrayInput `pulumi:"allowMethods"`
	// The `Access-Control-Allow-Origin` can be
	AllowOrigins GetAppSpecIngressRuleCorsAllowOriginsPtrInput `pulumi:"allowOrigins"`
	// The set of HTTP response headers that browsers are allowed to access. This configures the `Access-Control-Expose-Headers` header.
	ExposeHeaders pulumi.StringArrayInput `pulumi:"exposeHeaders"`
	// An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: `5h30m`.
	MaxAge pulumi.StringPtrInput `pulumi:"maxAge"`
}

func (GetAppSpecIngressRuleCorsArgs) ElementType added in v4.23.0

func (GetAppSpecIngressRuleCorsArgs) ToGetAppSpecIngressRuleCorsOutput added in v4.23.0

func (i GetAppSpecIngressRuleCorsArgs) ToGetAppSpecIngressRuleCorsOutput() GetAppSpecIngressRuleCorsOutput

func (GetAppSpecIngressRuleCorsArgs) ToGetAppSpecIngressRuleCorsOutputWithContext added in v4.23.0

func (i GetAppSpecIngressRuleCorsArgs) ToGetAppSpecIngressRuleCorsOutputWithContext(ctx context.Context) GetAppSpecIngressRuleCorsOutput

type GetAppSpecIngressRuleCorsInput added in v4.23.0

type GetAppSpecIngressRuleCorsInput interface {
	pulumi.Input

	ToGetAppSpecIngressRuleCorsOutput() GetAppSpecIngressRuleCorsOutput
	ToGetAppSpecIngressRuleCorsOutputWithContext(context.Context) GetAppSpecIngressRuleCorsOutput
}

GetAppSpecIngressRuleCorsInput is an input type that accepts GetAppSpecIngressRuleCorsArgs and GetAppSpecIngressRuleCorsOutput values. You can construct a concrete instance of `GetAppSpecIngressRuleCorsInput` via:

GetAppSpecIngressRuleCorsArgs{...}

type GetAppSpecIngressRuleCorsOutput added in v4.23.0

type GetAppSpecIngressRuleCorsOutput struct{ *pulumi.OutputState }

func (GetAppSpecIngressRuleCorsOutput) AllowCredentials added in v4.23.0

Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is `include`. This configures the `Access-Control-Allow-Credentials` header.

func (GetAppSpecIngressRuleCorsOutput) AllowHeaders added in v4.23.0

The set of allowed HTTP request headers. This configures the `Access-Control-Allow-Headers` header.

func (GetAppSpecIngressRuleCorsOutput) AllowMethods added in v4.23.0

The set of allowed HTTP methods. This configures the `Access-Control-Allow-Methods` header.

func (GetAppSpecIngressRuleCorsOutput) AllowOrigins added in v4.23.0

The `Access-Control-Allow-Origin` can be

func (GetAppSpecIngressRuleCorsOutput) ElementType added in v4.23.0

func (GetAppSpecIngressRuleCorsOutput) ExposeHeaders added in v4.23.0

The set of HTTP response headers that browsers are allowed to access. This configures the `Access-Control-Expose-Headers` header.

func (GetAppSpecIngressRuleCorsOutput) MaxAge added in v4.23.0

An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: `5h30m`.

func (GetAppSpecIngressRuleCorsOutput) ToGetAppSpecIngressRuleCorsOutput added in v4.23.0

func (o GetAppSpecIngressRuleCorsOutput) ToGetAppSpecIngressRuleCorsOutput() GetAppSpecIngressRuleCorsOutput

func (GetAppSpecIngressRuleCorsOutput) ToGetAppSpecIngressRuleCorsOutputWithContext added in v4.23.0

func (o GetAppSpecIngressRuleCorsOutput) ToGetAppSpecIngressRuleCorsOutputWithContext(ctx context.Context) GetAppSpecIngressRuleCorsOutput

type GetAppSpecIngressRuleInput added in v4.23.0

type GetAppSpecIngressRuleInput interface {
	pulumi.Input

	ToGetAppSpecIngressRuleOutput() GetAppSpecIngressRuleOutput
	ToGetAppSpecIngressRuleOutputWithContext(context.Context) GetAppSpecIngressRuleOutput
}

GetAppSpecIngressRuleInput is an input type that accepts GetAppSpecIngressRuleArgs and GetAppSpecIngressRuleOutput values. You can construct a concrete instance of `GetAppSpecIngressRuleInput` via:

GetAppSpecIngressRuleArgs{...}

type GetAppSpecIngressRuleMatch added in v4.23.0

type GetAppSpecIngressRuleMatch struct {
	// Paths must start with `/` and must be unique within the app.
	Path GetAppSpecIngressRuleMatchPath `pulumi:"path"`
}

type GetAppSpecIngressRuleMatchArgs added in v4.23.0

type GetAppSpecIngressRuleMatchArgs struct {
	// Paths must start with `/` and must be unique within the app.
	Path GetAppSpecIngressRuleMatchPathInput `pulumi:"path"`
}

func (GetAppSpecIngressRuleMatchArgs) ElementType added in v4.23.0

func (GetAppSpecIngressRuleMatchArgs) ToGetAppSpecIngressRuleMatchOutput added in v4.23.0

func (i GetAppSpecIngressRuleMatchArgs) ToGetAppSpecIngressRuleMatchOutput() GetAppSpecIngressRuleMatchOutput

func (GetAppSpecIngressRuleMatchArgs) ToGetAppSpecIngressRuleMatchOutputWithContext added in v4.23.0

func (i GetAppSpecIngressRuleMatchArgs) ToGetAppSpecIngressRuleMatchOutputWithContext(ctx context.Context) GetAppSpecIngressRuleMatchOutput

type GetAppSpecIngressRuleMatchInput added in v4.23.0

type GetAppSpecIngressRuleMatchInput interface {
	pulumi.Input

	ToGetAppSpecIngressRuleMatchOutput() GetAppSpecIngressRuleMatchOutput
	ToGetAppSpecIngressRuleMatchOutputWithContext(context.Context) GetAppSpecIngressRuleMatchOutput
}

GetAppSpecIngressRuleMatchInput is an input type that accepts GetAppSpecIngressRuleMatchArgs and GetAppSpecIngressRuleMatchOutput values. You can construct a concrete instance of `GetAppSpecIngressRuleMatchInput` via:

GetAppSpecIngressRuleMatchArgs{...}

type GetAppSpecIngressRuleMatchOutput added in v4.23.0

type GetAppSpecIngressRuleMatchOutput struct{ *pulumi.OutputState }

func (GetAppSpecIngressRuleMatchOutput) ElementType added in v4.23.0

func (GetAppSpecIngressRuleMatchOutput) Path added in v4.23.0

Paths must start with `/` and must be unique within the app.

func (GetAppSpecIngressRuleMatchOutput) ToGetAppSpecIngressRuleMatchOutput added in v4.23.0

func (o GetAppSpecIngressRuleMatchOutput) ToGetAppSpecIngressRuleMatchOutput() GetAppSpecIngressRuleMatchOutput

func (GetAppSpecIngressRuleMatchOutput) ToGetAppSpecIngressRuleMatchOutputWithContext added in v4.23.0

func (o GetAppSpecIngressRuleMatchOutput) ToGetAppSpecIngressRuleMatchOutputWithContext(ctx context.Context) GetAppSpecIngressRuleMatchOutput

type GetAppSpecIngressRuleMatchPath added in v4.23.0

type GetAppSpecIngressRuleMatchPath struct {
	// The `Access-Control-Allow-Origin` header will be set to the client's origin if the beginning of the client's origin matches the value you provide.
	Prefix string `pulumi:"prefix"`
}

type GetAppSpecIngressRuleMatchPathArgs added in v4.23.0

type GetAppSpecIngressRuleMatchPathArgs struct {
	// The `Access-Control-Allow-Origin` header will be set to the client's origin if the beginning of the client's origin matches the value you provide.
	Prefix pulumi.StringInput `pulumi:"prefix"`
}

func (GetAppSpecIngressRuleMatchPathArgs) ElementType added in v4.23.0

func (GetAppSpecIngressRuleMatchPathArgs) ToGetAppSpecIngressRuleMatchPathOutput added in v4.23.0

func (i GetAppSpecIngressRuleMatchPathArgs) ToGetAppSpecIngressRuleMatchPathOutput() GetAppSpecIngressRuleMatchPathOutput

func (GetAppSpecIngressRuleMatchPathArgs) ToGetAppSpecIngressRuleMatchPathOutputWithContext added in v4.23.0

func (i GetAppSpecIngressRuleMatchPathArgs) ToGetAppSpecIngressRuleMatchPathOutputWithContext(ctx context.Context) GetAppSpecIngressRuleMatchPathOutput

type GetAppSpecIngressRuleMatchPathInput added in v4.23.0

type GetAppSpecIngressRuleMatchPathInput interface {
	pulumi.Input

	ToGetAppSpecIngressRuleMatchPathOutput() GetAppSpecIngressRuleMatchPathOutput
	ToGetAppSpecIngressRuleMatchPathOutputWithContext(context.Context) GetAppSpecIngressRuleMatchPathOutput
}

GetAppSpecIngressRuleMatchPathInput is an input type that accepts GetAppSpecIngressRuleMatchPathArgs and GetAppSpecIngressRuleMatchPathOutput values. You can construct a concrete instance of `GetAppSpecIngressRuleMatchPathInput` via:

GetAppSpecIngressRuleMatchPathArgs{...}

type GetAppSpecIngressRuleMatchPathOutput added in v4.23.0

type GetAppSpecIngressRuleMatchPathOutput struct{ *pulumi.OutputState }

func (GetAppSpecIngressRuleMatchPathOutput) ElementType added in v4.23.0

func (GetAppSpecIngressRuleMatchPathOutput) Prefix added in v4.23.0

The `Access-Control-Allow-Origin` header will be set to the client's origin if the beginning of the client's origin matches the value you provide.

func (GetAppSpecIngressRuleMatchPathOutput) ToGetAppSpecIngressRuleMatchPathOutput added in v4.23.0

func (o GetAppSpecIngressRuleMatchPathOutput) ToGetAppSpecIngressRuleMatchPathOutput() GetAppSpecIngressRuleMatchPathOutput

func (GetAppSpecIngressRuleMatchPathOutput) ToGetAppSpecIngressRuleMatchPathOutputWithContext added in v4.23.0

func (o GetAppSpecIngressRuleMatchPathOutput) ToGetAppSpecIngressRuleMatchPathOutputWithContext(ctx context.Context) GetAppSpecIngressRuleMatchPathOutput

type GetAppSpecIngressRuleOutput added in v4.23.0

type GetAppSpecIngressRuleOutput struct{ *pulumi.OutputState }

func (GetAppSpecIngressRuleOutput) Component added in v4.23.0

func (GetAppSpecIngressRuleOutput) Cors added in v4.23.0

The [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies of the app.

func (GetAppSpecIngressRuleOutput) ElementType added in v4.23.0

func (GetAppSpecIngressRuleOutput) Match added in v4.23.0

func (GetAppSpecIngressRuleOutput) Redirect added in v4.23.0

func (GetAppSpecIngressRuleOutput) ToGetAppSpecIngressRuleOutput added in v4.23.0

func (o GetAppSpecIngressRuleOutput) ToGetAppSpecIngressRuleOutput() GetAppSpecIngressRuleOutput

func (GetAppSpecIngressRuleOutput) ToGetAppSpecIngressRuleOutputWithContext added in v4.23.0

func (o GetAppSpecIngressRuleOutput) ToGetAppSpecIngressRuleOutputWithContext(ctx context.Context) GetAppSpecIngressRuleOutput

type GetAppSpecIngressRuleRedirect added in v4.23.0

type GetAppSpecIngressRuleRedirect struct {
	Authority    *string `pulumi:"authority"`
	Port         *int    `pulumi:"port"`
	RedirectCode *int    `pulumi:"redirectCode"`
	Scheme       *string `pulumi:"scheme"`
	Uri          *string `pulumi:"uri"`
}

type GetAppSpecIngressRuleRedirectArgs added in v4.23.0

type GetAppSpecIngressRuleRedirectArgs struct {
	Authority    pulumi.StringPtrInput `pulumi:"authority"`
	Port         pulumi.IntPtrInput    `pulumi:"port"`
	RedirectCode pulumi.IntPtrInput    `pulumi:"redirectCode"`
	Scheme       pulumi.StringPtrInput `pulumi:"scheme"`
	Uri          pulumi.StringPtrInput `pulumi:"uri"`
}

func (GetAppSpecIngressRuleRedirectArgs) ElementType added in v4.23.0

func (GetAppSpecIngressRuleRedirectArgs) ToGetAppSpecIngressRuleRedirectOutput added in v4.23.0

func (i GetAppSpecIngressRuleRedirectArgs) ToGetAppSpecIngressRuleRedirectOutput() GetAppSpecIngressRuleRedirectOutput

func (GetAppSpecIngressRuleRedirectArgs) ToGetAppSpecIngressRuleRedirectOutputWithContext added in v4.23.0

func (i GetAppSpecIngressRuleRedirectArgs) ToGetAppSpecIngressRuleRedirectOutputWithContext(ctx context.Context) GetAppSpecIngressRuleRedirectOutput

func (GetAppSpecIngressRuleRedirectArgs) ToGetAppSpecIngressRuleRedirectPtrOutput added in v4.23.0

func (i GetAppSpecIngressRuleRedirectArgs) ToGetAppSpecIngressRuleRedirectPtrOutput() GetAppSpecIngressRuleRedirectPtrOutput

func (GetAppSpecIngressRuleRedirectArgs) ToGetAppSpecIngressRuleRedirectPtrOutputWithContext added in v4.23.0

func (i GetAppSpecIngressRuleRedirectArgs) ToGetAppSpecIngressRuleRedirectPtrOutputWithContext(ctx context.Context) GetAppSpecIngressRuleRedirectPtrOutput

type GetAppSpecIngressRuleRedirectInput added in v4.23.0

type GetAppSpecIngressRuleRedirectInput interface {
	pulumi.Input

	ToGetAppSpecIngressRuleRedirectOutput() GetAppSpecIngressRuleRedirectOutput
	ToGetAppSpecIngressRuleRedirectOutputWithContext(context.Context) GetAppSpecIngressRuleRedirectOutput
}

GetAppSpecIngressRuleRedirectInput is an input type that accepts GetAppSpecIngressRuleRedirectArgs and GetAppSpecIngressRuleRedirectOutput values. You can construct a concrete instance of `GetAppSpecIngressRuleRedirectInput` via:

GetAppSpecIngressRuleRedirectArgs{...}

type GetAppSpecIngressRuleRedirectOutput added in v4.23.0

type GetAppSpecIngressRuleRedirectOutput struct{ *pulumi.OutputState }

func (GetAppSpecIngressRuleRedirectOutput) Authority added in v4.23.0

func (GetAppSpecIngressRuleRedirectOutput) ElementType added in v4.23.0

func (GetAppSpecIngressRuleRedirectOutput) Port added in v4.23.0

func (GetAppSpecIngressRuleRedirectOutput) RedirectCode added in v4.23.0

func (GetAppSpecIngressRuleRedirectOutput) Scheme added in v4.23.0

func (GetAppSpecIngressRuleRedirectOutput) ToGetAppSpecIngressRuleRedirectOutput added in v4.23.0

func (o GetAppSpecIngressRuleRedirectOutput) ToGetAppSpecIngressRuleRedirectOutput() GetAppSpecIngressRuleRedirectOutput

func (GetAppSpecIngressRuleRedirectOutput) ToGetAppSpecIngressRuleRedirectOutputWithContext added in v4.23.0

func (o GetAppSpecIngressRuleRedirectOutput) ToGetAppSpecIngressRuleRedirectOutputWithContext(ctx context.Context) GetAppSpecIngressRuleRedirectOutput

func (GetAppSpecIngressRuleRedirectOutput) ToGetAppSpecIngressRuleRedirectPtrOutput added in v4.23.0

func (o GetAppSpecIngressRuleRedirectOutput) ToGetAppSpecIngressRuleRedirectPtrOutput() GetAppSpecIngressRuleRedirectPtrOutput

func (GetAppSpecIngressRuleRedirectOutput) ToGetAppSpecIngressRuleRedirectPtrOutputWithContext added in v4.23.0

func (o GetAppSpecIngressRuleRedirectOutput) ToGetAppSpecIngressRuleRedirectPtrOutputWithContext(ctx context.Context) GetAppSpecIngressRuleRedirectPtrOutput

func (GetAppSpecIngressRuleRedirectOutput) Uri added in v4.23.0

type GetAppSpecIngressRuleRedirectPtrInput added in v4.23.0

type GetAppSpecIngressRuleRedirectPtrInput interface {
	pulumi.Input

	ToGetAppSpecIngressRuleRedirectPtrOutput() GetAppSpecIngressRuleRedirectPtrOutput
	ToGetAppSpecIngressRuleRedirectPtrOutputWithContext(context.Context) GetAppSpecIngressRuleRedirectPtrOutput
}

GetAppSpecIngressRuleRedirectPtrInput is an input type that accepts GetAppSpecIngressRuleRedirectArgs, GetAppSpecIngressRuleRedirectPtr and GetAppSpecIngressRuleRedirectPtrOutput values. You can construct a concrete instance of `GetAppSpecIngressRuleRedirectPtrInput` via:

        GetAppSpecIngressRuleRedirectArgs{...}

or:

        nil

type GetAppSpecIngressRuleRedirectPtrOutput added in v4.23.0

type GetAppSpecIngressRuleRedirectPtrOutput struct{ *pulumi.OutputState }

func (GetAppSpecIngressRuleRedirectPtrOutput) Authority added in v4.23.0

func (GetAppSpecIngressRuleRedirectPtrOutput) Elem added in v4.23.0

func (GetAppSpecIngressRuleRedirectPtrOutput) ElementType added in v4.23.0

func (GetAppSpecIngressRuleRedirectPtrOutput) Port added in v4.23.0

func (GetAppSpecIngressRuleRedirectPtrOutput) RedirectCode added in v4.23.0

func (GetAppSpecIngressRuleRedirectPtrOutput) Scheme added in v4.23.0

func (GetAppSpecIngressRuleRedirectPtrOutput) ToGetAppSpecIngressRuleRedirectPtrOutput added in v4.23.0

func (o GetAppSpecIngressRuleRedirectPtrOutput) ToGetAppSpecIngressRuleRedirectPtrOutput() GetAppSpecIngressRuleRedirectPtrOutput

func (GetAppSpecIngressRuleRedirectPtrOutput) ToGetAppSpecIngressRuleRedirectPtrOutputWithContext added in v4.23.0

func (o GetAppSpecIngressRuleRedirectPtrOutput) ToGetAppSpecIngressRuleRedirectPtrOutputWithContext(ctx context.Context) GetAppSpecIngressRuleRedirectPtrOutput

func (GetAppSpecIngressRuleRedirectPtrOutput) Uri added in v4.23.0

type GetAppSpecInput

type GetAppSpecInput interface {
	pulumi.Input

	ToGetAppSpecOutput() GetAppSpecOutput
	ToGetAppSpecOutputWithContext(context.Context) GetAppSpecOutput
}

GetAppSpecInput is an input type that accepts GetAppSpecArgs and GetAppSpecOutput values. You can construct a concrete instance of `GetAppSpecInput` via:

GetAppSpecArgs{...}

type GetAppSpecJob

type GetAppSpecJob struct {
	// Describes an alert policy for the component.
	Alerts []GetAppSpecJobAlert `pulumi:"alerts"`
	// An optional build command to run while building this component from source.
	BuildCommand *string `pulumi:"buildCommand"`
	// The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
	DockerfilePath *string `pulumi:"dockerfilePath"`
	// An environment slug describing the type of this app.
	EnvironmentSlug *string `pulumi:"environmentSlug"`
	// Describes an environment variable made available to an app competent.
	Envs []GetAppSpecJobEnv `pulumi:"envs"`
	// A Git repo to use as the component's source. The repository must be able to be cloned without authentication.  Only one of `git`, `github` or `gitlab`  may be set.
	Git *GetAppSpecJobGit `pulumi:"git"`
	// A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Github *GetAppSpecJobGithub `pulumi:"github"`
	// A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Gitlab *GetAppSpecJobGitlab `pulumi:"gitlab"`
	// An image to use as the component's source. Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Image *GetAppSpecJobImage `pulumi:"image"`
	// The amount of instances that this component should be scaled to.
	InstanceCount *int `pulumi:"instanceCount"`
	// The instance size to use for this component.
	InstanceSizeSlug *string `pulumi:"instanceSizeSlug"`
	// The type of job and when it will be run during the deployment process. It may be one of:
	Kind *string `pulumi:"kind"`
	// Describes a log forwarding destination.
	LogDestinations []GetAppSpecJobLogDestination `pulumi:"logDestinations"`
	// The name of the component.
	Name string `pulumi:"name"`
	// An optional run command to override the component's default.
	RunCommand *string `pulumi:"runCommand"`
	// An optional path to the working directory to use for the build.
	SourceDir *string `pulumi:"sourceDir"`
}

type GetAppSpecJobAlert added in v4.12.0

type GetAppSpecJobAlert struct {
	// Determines whether or not the alert is disabled (default: `false`).
	Disabled *bool `pulumi:"disabled"`
	// The operator to use. This is either of `GREATER_THAN` or `LESS_THAN`.
	Operator string `pulumi:"operator"`
	// The type of the alert to configure. Component app alert policies can be: `CPU_UTILIZATION`, `MEM_UTILIZATION`, or `RESTART_COUNT`.
	Rule string `pulumi:"rule"`
	// The threshold for the type of the warning.
	Value float64 `pulumi:"value"`
	// The time before alerts should be triggered. This is may be one of: `FIVE_MINUTES`, `TEN_MINUTES`, `THIRTY_MINUTES`, `ONE_HOUR`.
	Window string `pulumi:"window"`
}

type GetAppSpecJobAlertArgs added in v4.12.0

type GetAppSpecJobAlertArgs struct {
	// Determines whether or not the alert is disabled (default: `false`).
	Disabled pulumi.BoolPtrInput `pulumi:"disabled"`
	// The operator to use. This is either of `GREATER_THAN` or `LESS_THAN`.
	Operator pulumi.StringInput `pulumi:"operator"`
	// The type of the alert to configure. Component app alert policies can be: `CPU_UTILIZATION`, `MEM_UTILIZATION`, or `RESTART_COUNT`.
	Rule pulumi.StringInput `pulumi:"rule"`
	// The threshold for the type of the warning.
	Value pulumi.Float64Input `pulumi:"value"`
	// The time before alerts should be triggered. This is may be one of: `FIVE_MINUTES`, `TEN_MINUTES`, `THIRTY_MINUTES`, `ONE_HOUR`.
	Window pulumi.StringInput `pulumi:"window"`
}

func (GetAppSpecJobAlertArgs) ElementType added in v4.12.0

func (GetAppSpecJobAlertArgs) ElementType() reflect.Type

func (GetAppSpecJobAlertArgs) ToGetAppSpecJobAlertOutput added in v4.12.0

func (i GetAppSpecJobAlertArgs) ToGetAppSpecJobAlertOutput() GetAppSpecJobAlertOutput

func (GetAppSpecJobAlertArgs) ToGetAppSpecJobAlertOutputWithContext added in v4.12.0

func (i GetAppSpecJobAlertArgs) ToGetAppSpecJobAlertOutputWithContext(ctx context.Context) GetAppSpecJobAlertOutput

type GetAppSpecJobAlertArray added in v4.12.0

type GetAppSpecJobAlertArray []GetAppSpecJobAlertInput

func (GetAppSpecJobAlertArray) ElementType added in v4.12.0

func (GetAppSpecJobAlertArray) ElementType() reflect.Type

func (GetAppSpecJobAlertArray) ToGetAppSpecJobAlertArrayOutput added in v4.12.0

func (i GetAppSpecJobAlertArray) ToGetAppSpecJobAlertArrayOutput() GetAppSpecJobAlertArrayOutput

func (GetAppSpecJobAlertArray) ToGetAppSpecJobAlertArrayOutputWithContext added in v4.12.0

func (i GetAppSpecJobAlertArray) ToGetAppSpecJobAlertArrayOutputWithContext(ctx context.Context) GetAppSpecJobAlertArrayOutput

type GetAppSpecJobAlertArrayInput added in v4.12.0

type GetAppSpecJobAlertArrayInput interface {
	pulumi.Input

	ToGetAppSpecJobAlertArrayOutput() GetAppSpecJobAlertArrayOutput
	ToGetAppSpecJobAlertArrayOutputWithContext(context.Context) GetAppSpecJobAlertArrayOutput
}

GetAppSpecJobAlertArrayInput is an input type that accepts GetAppSpecJobAlertArray and GetAppSpecJobAlertArrayOutput values. You can construct a concrete instance of `GetAppSpecJobAlertArrayInput` via:

GetAppSpecJobAlertArray{ GetAppSpecJobAlertArgs{...} }

type GetAppSpecJobAlertArrayOutput added in v4.12.0

type GetAppSpecJobAlertArrayOutput struct{ *pulumi.OutputState }

func (GetAppSpecJobAlertArrayOutput) ElementType added in v4.12.0

func (GetAppSpecJobAlertArrayOutput) Index added in v4.12.0

func (GetAppSpecJobAlertArrayOutput) ToGetAppSpecJobAlertArrayOutput added in v4.12.0

func (o GetAppSpecJobAlertArrayOutput) ToGetAppSpecJobAlertArrayOutput() GetAppSpecJobAlertArrayOutput

func (GetAppSpecJobAlertArrayOutput) ToGetAppSpecJobAlertArrayOutputWithContext added in v4.12.0

func (o GetAppSpecJobAlertArrayOutput) ToGetAppSpecJobAlertArrayOutputWithContext(ctx context.Context) GetAppSpecJobAlertArrayOutput

type GetAppSpecJobAlertInput added in v4.12.0

type GetAppSpecJobAlertInput interface {
	pulumi.Input

	ToGetAppSpecJobAlertOutput() GetAppSpecJobAlertOutput
	ToGetAppSpecJobAlertOutputWithContext(context.Context) GetAppSpecJobAlertOutput
}

GetAppSpecJobAlertInput is an input type that accepts GetAppSpecJobAlertArgs and GetAppSpecJobAlertOutput values. You can construct a concrete instance of `GetAppSpecJobAlertInput` via:

GetAppSpecJobAlertArgs{...}

type GetAppSpecJobAlertOutput added in v4.12.0

type GetAppSpecJobAlertOutput struct{ *pulumi.OutputState }

func (GetAppSpecJobAlertOutput) Disabled added in v4.12.0

Determines whether or not the alert is disabled (default: `false`).

func (GetAppSpecJobAlertOutput) ElementType added in v4.12.0

func (GetAppSpecJobAlertOutput) ElementType() reflect.Type

func (GetAppSpecJobAlertOutput) Operator added in v4.12.0

The operator to use. This is either of `GREATER_THAN` or `LESS_THAN`.

func (GetAppSpecJobAlertOutput) Rule added in v4.12.0

The type of the alert to configure. Component app alert policies can be: `CPU_UTILIZATION`, `MEM_UTILIZATION`, or `RESTART_COUNT`.

func (GetAppSpecJobAlertOutput) ToGetAppSpecJobAlertOutput added in v4.12.0

func (o GetAppSpecJobAlertOutput) ToGetAppSpecJobAlertOutput() GetAppSpecJobAlertOutput

func (GetAppSpecJobAlertOutput) ToGetAppSpecJobAlertOutputWithContext added in v4.12.0

func (o GetAppSpecJobAlertOutput) ToGetAppSpecJobAlertOutputWithContext(ctx context.Context) GetAppSpecJobAlertOutput

func (GetAppSpecJobAlertOutput) Value added in v4.12.0

The threshold for the type of the warning.

func (GetAppSpecJobAlertOutput) Window added in v4.12.0

The time before alerts should be triggered. This is may be one of: `FIVE_MINUTES`, `TEN_MINUTES`, `THIRTY_MINUTES`, `ONE_HOUR`.

type GetAppSpecJobArgs

type GetAppSpecJobArgs struct {
	// Describes an alert policy for the component.
	Alerts GetAppSpecJobAlertArrayInput `pulumi:"alerts"`
	// An optional build command to run while building this component from source.
	BuildCommand pulumi.StringPtrInput `pulumi:"buildCommand"`
	// The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
	DockerfilePath pulumi.StringPtrInput `pulumi:"dockerfilePath"`
	// An environment slug describing the type of this app.
	EnvironmentSlug pulumi.StringPtrInput `pulumi:"environmentSlug"`
	// Describes an environment variable made available to an app competent.
	Envs GetAppSpecJobEnvArrayInput `pulumi:"envs"`
	// A Git repo to use as the component's source. The repository must be able to be cloned without authentication.  Only one of `git`, `github` or `gitlab`  may be set.
	Git GetAppSpecJobGitPtrInput `pulumi:"git"`
	// A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Github GetAppSpecJobGithubPtrInput `pulumi:"github"`
	// A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Gitlab GetAppSpecJobGitlabPtrInput `pulumi:"gitlab"`
	// An image to use as the component's source. Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Image GetAppSpecJobImagePtrInput `pulumi:"image"`
	// The amount of instances that this component should be scaled to.
	InstanceCount pulumi.IntPtrInput `pulumi:"instanceCount"`
	// The instance size to use for this component.
	InstanceSizeSlug pulumi.StringPtrInput `pulumi:"instanceSizeSlug"`
	// The type of job and when it will be run during the deployment process. It may be one of:
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// Describes a log forwarding destination.
	LogDestinations GetAppSpecJobLogDestinationArrayInput `pulumi:"logDestinations"`
	// The name of the component.
	Name pulumi.StringInput `pulumi:"name"`
	// An optional run command to override the component's default.
	RunCommand pulumi.StringPtrInput `pulumi:"runCommand"`
	// An optional path to the working directory to use for the build.
	SourceDir pulumi.StringPtrInput `pulumi:"sourceDir"`
}

func (GetAppSpecJobArgs) ElementType

func (GetAppSpecJobArgs) ElementType() reflect.Type

func (GetAppSpecJobArgs) ToGetAppSpecJobOutput

func (i GetAppSpecJobArgs) ToGetAppSpecJobOutput() GetAppSpecJobOutput

func (GetAppSpecJobArgs) ToGetAppSpecJobOutputWithContext

func (i GetAppSpecJobArgs) ToGetAppSpecJobOutputWithContext(ctx context.Context) GetAppSpecJobOutput

type GetAppSpecJobArray

type GetAppSpecJobArray []GetAppSpecJobInput

func (GetAppSpecJobArray) ElementType

func (GetAppSpecJobArray) ElementType() reflect.Type

func (GetAppSpecJobArray) ToGetAppSpecJobArrayOutput

func (i GetAppSpecJobArray) ToGetAppSpecJobArrayOutput() GetAppSpecJobArrayOutput

func (GetAppSpecJobArray) ToGetAppSpecJobArrayOutputWithContext

func (i GetAppSpecJobArray) ToGetAppSpecJobArrayOutputWithContext(ctx context.Context) GetAppSpecJobArrayOutput

type GetAppSpecJobArrayInput

type GetAppSpecJobArrayInput interface {
	pulumi.Input

	ToGetAppSpecJobArrayOutput() GetAppSpecJobArrayOutput
	ToGetAppSpecJobArrayOutputWithContext(context.Context) GetAppSpecJobArrayOutput
}

GetAppSpecJobArrayInput is an input type that accepts GetAppSpecJobArray and GetAppSpecJobArrayOutput values. You can construct a concrete instance of `GetAppSpecJobArrayInput` via:

GetAppSpecJobArray{ GetAppSpecJobArgs{...} }

type GetAppSpecJobArrayOutput

type GetAppSpecJobArrayOutput struct{ *pulumi.OutputState }

func (GetAppSpecJobArrayOutput) ElementType

func (GetAppSpecJobArrayOutput) ElementType() reflect.Type

func (GetAppSpecJobArrayOutput) Index

func (GetAppSpecJobArrayOutput) ToGetAppSpecJobArrayOutput

func (o GetAppSpecJobArrayOutput) ToGetAppSpecJobArrayOutput() GetAppSpecJobArrayOutput

func (GetAppSpecJobArrayOutput) ToGetAppSpecJobArrayOutputWithContext

func (o GetAppSpecJobArrayOutput) ToGetAppSpecJobArrayOutputWithContext(ctx context.Context) GetAppSpecJobArrayOutput

type GetAppSpecJobEnv

type GetAppSpecJobEnv struct {
	// The name of the environment variable.
	Key *string `pulumi:"key"`
	// The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).
	Scope *string `pulumi:"scope"`
	// The type of the environment variable, `GENERAL` or `SECRET`.
	Type string `pulumi:"type"`
	// The threshold for the type of the warning.
	Value *string `pulumi:"value"`
}

type GetAppSpecJobEnvArgs

type GetAppSpecJobEnvArgs struct {
	// The name of the environment variable.
	Key pulumi.StringPtrInput `pulumi:"key"`
	// The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).
	Scope pulumi.StringPtrInput `pulumi:"scope"`
	// The type of the environment variable, `GENERAL` or `SECRET`.
	Type pulumi.StringInput `pulumi:"type"`
	// The threshold for the type of the warning.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (GetAppSpecJobEnvArgs) ElementType

func (GetAppSpecJobEnvArgs) ElementType() reflect.Type

func (GetAppSpecJobEnvArgs) ToGetAppSpecJobEnvOutput

func (i GetAppSpecJobEnvArgs) ToGetAppSpecJobEnvOutput() GetAppSpecJobEnvOutput

func (GetAppSpecJobEnvArgs) ToGetAppSpecJobEnvOutputWithContext

func (i GetAppSpecJobEnvArgs) ToGetAppSpecJobEnvOutputWithContext(ctx context.Context) GetAppSpecJobEnvOutput

type GetAppSpecJobEnvArray

type GetAppSpecJobEnvArray []GetAppSpecJobEnvInput

func (GetAppSpecJobEnvArray) ElementType

func (GetAppSpecJobEnvArray) ElementType() reflect.Type

func (GetAppSpecJobEnvArray) ToGetAppSpecJobEnvArrayOutput

func (i GetAppSpecJobEnvArray) ToGetAppSpecJobEnvArrayOutput() GetAppSpecJobEnvArrayOutput

func (GetAppSpecJobEnvArray) ToGetAppSpecJobEnvArrayOutputWithContext

func (i GetAppSpecJobEnvArray) ToGetAppSpecJobEnvArrayOutputWithContext(ctx context.Context) GetAppSpecJobEnvArrayOutput

type GetAppSpecJobEnvArrayInput

type GetAppSpecJobEnvArrayInput interface {
	pulumi.Input

	ToGetAppSpecJobEnvArrayOutput() GetAppSpecJobEnvArrayOutput
	ToGetAppSpecJobEnvArrayOutputWithContext(context.Context) GetAppSpecJobEnvArrayOutput
}

GetAppSpecJobEnvArrayInput is an input type that accepts GetAppSpecJobEnvArray and GetAppSpecJobEnvArrayOutput values. You can construct a concrete instance of `GetAppSpecJobEnvArrayInput` via:

GetAppSpecJobEnvArray{ GetAppSpecJobEnvArgs{...} }

type GetAppSpecJobEnvArrayOutput

type GetAppSpecJobEnvArrayOutput struct{ *pulumi.OutputState }

func (GetAppSpecJobEnvArrayOutput) ElementType

func (GetAppSpecJobEnvArrayOutput) Index

func (GetAppSpecJobEnvArrayOutput) ToGetAppSpecJobEnvArrayOutput

func (o GetAppSpecJobEnvArrayOutput) ToGetAppSpecJobEnvArrayOutput() GetAppSpecJobEnvArrayOutput

func (GetAppSpecJobEnvArrayOutput) ToGetAppSpecJobEnvArrayOutputWithContext

func (o GetAppSpecJobEnvArrayOutput) ToGetAppSpecJobEnvArrayOutputWithContext(ctx context.Context) GetAppSpecJobEnvArrayOutput

type GetAppSpecJobEnvInput

type GetAppSpecJobEnvInput interface {
	pulumi.Input

	ToGetAppSpecJobEnvOutput() GetAppSpecJobEnvOutput
	ToGetAppSpecJobEnvOutputWithContext(context.Context) GetAppSpecJobEnvOutput
}

GetAppSpecJobEnvInput is an input type that accepts GetAppSpecJobEnvArgs and GetAppSpecJobEnvOutput values. You can construct a concrete instance of `GetAppSpecJobEnvInput` via:

GetAppSpecJobEnvArgs{...}

type GetAppSpecJobEnvOutput

type GetAppSpecJobEnvOutput struct{ *pulumi.OutputState }

func (GetAppSpecJobEnvOutput) ElementType

func (GetAppSpecJobEnvOutput) ElementType() reflect.Type

func (GetAppSpecJobEnvOutput) Key

The name of the environment variable.

func (GetAppSpecJobEnvOutput) Scope

The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).

func (GetAppSpecJobEnvOutput) ToGetAppSpecJobEnvOutput

func (o GetAppSpecJobEnvOutput) ToGetAppSpecJobEnvOutput() GetAppSpecJobEnvOutput

func (GetAppSpecJobEnvOutput) ToGetAppSpecJobEnvOutputWithContext

func (o GetAppSpecJobEnvOutput) ToGetAppSpecJobEnvOutputWithContext(ctx context.Context) GetAppSpecJobEnvOutput

func (GetAppSpecJobEnvOutput) Type

The type of the environment variable, `GENERAL` or `SECRET`.

func (GetAppSpecJobEnvOutput) Value

The threshold for the type of the warning.

type GetAppSpecJobGit

type GetAppSpecJobGit struct {
	// The name of the branch to use.
	Branch *string `pulumi:"branch"`
	// The clone URL of the repo.
	RepoCloneUrl *string `pulumi:"repoCloneUrl"`
}

type GetAppSpecJobGitArgs

type GetAppSpecJobGitArgs struct {
	// The name of the branch to use.
	Branch pulumi.StringPtrInput `pulumi:"branch"`
	// The clone URL of the repo.
	RepoCloneUrl pulumi.StringPtrInput `pulumi:"repoCloneUrl"`
}

func (GetAppSpecJobGitArgs) ElementType

func (GetAppSpecJobGitArgs) ElementType() reflect.Type

func (GetAppSpecJobGitArgs) ToGetAppSpecJobGitOutput

func (i GetAppSpecJobGitArgs) ToGetAppSpecJobGitOutput() GetAppSpecJobGitOutput

func (GetAppSpecJobGitArgs) ToGetAppSpecJobGitOutputWithContext

func (i GetAppSpecJobGitArgs) ToGetAppSpecJobGitOutputWithContext(ctx context.Context) GetAppSpecJobGitOutput

func (GetAppSpecJobGitArgs) ToGetAppSpecJobGitPtrOutput

func (i GetAppSpecJobGitArgs) ToGetAppSpecJobGitPtrOutput() GetAppSpecJobGitPtrOutput

func (GetAppSpecJobGitArgs) ToGetAppSpecJobGitPtrOutputWithContext

func (i GetAppSpecJobGitArgs) ToGetAppSpecJobGitPtrOutputWithContext(ctx context.Context) GetAppSpecJobGitPtrOutput

type GetAppSpecJobGitInput

type GetAppSpecJobGitInput interface {
	pulumi.Input

	ToGetAppSpecJobGitOutput() GetAppSpecJobGitOutput
	ToGetAppSpecJobGitOutputWithContext(context.Context) GetAppSpecJobGitOutput
}

GetAppSpecJobGitInput is an input type that accepts GetAppSpecJobGitArgs and GetAppSpecJobGitOutput values. You can construct a concrete instance of `GetAppSpecJobGitInput` via:

GetAppSpecJobGitArgs{...}

type GetAppSpecJobGitOutput

type GetAppSpecJobGitOutput struct{ *pulumi.OutputState }

func (GetAppSpecJobGitOutput) Branch

The name of the branch to use.

func (GetAppSpecJobGitOutput) ElementType

func (GetAppSpecJobGitOutput) ElementType() reflect.Type

func (GetAppSpecJobGitOutput) RepoCloneUrl

The clone URL of the repo.

func (GetAppSpecJobGitOutput) ToGetAppSpecJobGitOutput

func (o GetAppSpecJobGitOutput) ToGetAppSpecJobGitOutput() GetAppSpecJobGitOutput

func (GetAppSpecJobGitOutput) ToGetAppSpecJobGitOutputWithContext

func (o GetAppSpecJobGitOutput) ToGetAppSpecJobGitOutputWithContext(ctx context.Context) GetAppSpecJobGitOutput

func (GetAppSpecJobGitOutput) ToGetAppSpecJobGitPtrOutput

func (o GetAppSpecJobGitOutput) ToGetAppSpecJobGitPtrOutput() GetAppSpecJobGitPtrOutput

func (GetAppSpecJobGitOutput) ToGetAppSpecJobGitPtrOutputWithContext

func (o GetAppSpecJobGitOutput) ToGetAppSpecJobGitPtrOutputWithContext(ctx context.Context) GetAppSpecJobGitPtrOutput

type GetAppSpecJobGitPtrInput

type GetAppSpecJobGitPtrInput interface {
	pulumi.Input

	ToGetAppSpecJobGitPtrOutput() GetAppSpecJobGitPtrOutput
	ToGetAppSpecJobGitPtrOutputWithContext(context.Context) GetAppSpecJobGitPtrOutput
}

GetAppSpecJobGitPtrInput is an input type that accepts GetAppSpecJobGitArgs, GetAppSpecJobGitPtr and GetAppSpecJobGitPtrOutput values. You can construct a concrete instance of `GetAppSpecJobGitPtrInput` via:

        GetAppSpecJobGitArgs{...}

or:

        nil

type GetAppSpecJobGitPtrOutput

type GetAppSpecJobGitPtrOutput struct{ *pulumi.OutputState }

func (GetAppSpecJobGitPtrOutput) Branch

The name of the branch to use.

func (GetAppSpecJobGitPtrOutput) Elem

func (GetAppSpecJobGitPtrOutput) ElementType

func (GetAppSpecJobGitPtrOutput) ElementType() reflect.Type

func (GetAppSpecJobGitPtrOutput) RepoCloneUrl

The clone URL of the repo.

func (GetAppSpecJobGitPtrOutput) ToGetAppSpecJobGitPtrOutput

func (o GetAppSpecJobGitPtrOutput) ToGetAppSpecJobGitPtrOutput() GetAppSpecJobGitPtrOutput

func (GetAppSpecJobGitPtrOutput) ToGetAppSpecJobGitPtrOutputWithContext

func (o GetAppSpecJobGitPtrOutput) ToGetAppSpecJobGitPtrOutputWithContext(ctx context.Context) GetAppSpecJobGitPtrOutput

type GetAppSpecJobGithub

type GetAppSpecJobGithub struct {
	// The name of the branch to use.
	Branch *string `pulumi:"branch"`
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPush *bool `pulumi:"deployOnPush"`
	// The name of the repo in the format `owner/repo`.
	Repo *string `pulumi:"repo"`
}

type GetAppSpecJobGithubArgs

type GetAppSpecJobGithubArgs struct {
	// The name of the branch to use.
	Branch pulumi.StringPtrInput `pulumi:"branch"`
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPush pulumi.BoolPtrInput `pulumi:"deployOnPush"`
	// The name of the repo in the format `owner/repo`.
	Repo pulumi.StringPtrInput `pulumi:"repo"`
}

func (GetAppSpecJobGithubArgs) ElementType

func (GetAppSpecJobGithubArgs) ElementType() reflect.Type

func (GetAppSpecJobGithubArgs) ToGetAppSpecJobGithubOutput

func (i GetAppSpecJobGithubArgs) ToGetAppSpecJobGithubOutput() GetAppSpecJobGithubOutput

func (GetAppSpecJobGithubArgs) ToGetAppSpecJobGithubOutputWithContext

func (i GetAppSpecJobGithubArgs) ToGetAppSpecJobGithubOutputWithContext(ctx context.Context) GetAppSpecJobGithubOutput

func (GetAppSpecJobGithubArgs) ToGetAppSpecJobGithubPtrOutput

func (i GetAppSpecJobGithubArgs) ToGetAppSpecJobGithubPtrOutput() GetAppSpecJobGithubPtrOutput

func (GetAppSpecJobGithubArgs) ToGetAppSpecJobGithubPtrOutputWithContext

func (i GetAppSpecJobGithubArgs) ToGetAppSpecJobGithubPtrOutputWithContext(ctx context.Context) GetAppSpecJobGithubPtrOutput

type GetAppSpecJobGithubInput

type GetAppSpecJobGithubInput interface {
	pulumi.Input

	ToGetAppSpecJobGithubOutput() GetAppSpecJobGithubOutput
	ToGetAppSpecJobGithubOutputWithContext(context.Context) GetAppSpecJobGithubOutput
}

GetAppSpecJobGithubInput is an input type that accepts GetAppSpecJobGithubArgs and GetAppSpecJobGithubOutput values. You can construct a concrete instance of `GetAppSpecJobGithubInput` via:

GetAppSpecJobGithubArgs{...}

type GetAppSpecJobGithubOutput

type GetAppSpecJobGithubOutput struct{ *pulumi.OutputState }

func (GetAppSpecJobGithubOutput) Branch

The name of the branch to use.

func (GetAppSpecJobGithubOutput) DeployOnPush

Whether to automatically deploy new commits made to the repo.

func (GetAppSpecJobGithubOutput) ElementType

func (GetAppSpecJobGithubOutput) ElementType() reflect.Type

func (GetAppSpecJobGithubOutput) Repo

The name of the repo in the format `owner/repo`.

func (GetAppSpecJobGithubOutput) ToGetAppSpecJobGithubOutput

func (o GetAppSpecJobGithubOutput) ToGetAppSpecJobGithubOutput() GetAppSpecJobGithubOutput

func (GetAppSpecJobGithubOutput) ToGetAppSpecJobGithubOutputWithContext

func (o GetAppSpecJobGithubOutput) ToGetAppSpecJobGithubOutputWithContext(ctx context.Context) GetAppSpecJobGithubOutput

func (GetAppSpecJobGithubOutput) ToGetAppSpecJobGithubPtrOutput

func (o GetAppSpecJobGithubOutput) ToGetAppSpecJobGithubPtrOutput() GetAppSpecJobGithubPtrOutput

func (GetAppSpecJobGithubOutput) ToGetAppSpecJobGithubPtrOutputWithContext

func (o GetAppSpecJobGithubOutput) ToGetAppSpecJobGithubPtrOutputWithContext(ctx context.Context) GetAppSpecJobGithubPtrOutput

type GetAppSpecJobGithubPtrInput

type GetAppSpecJobGithubPtrInput interface {
	pulumi.Input

	ToGetAppSpecJobGithubPtrOutput() GetAppSpecJobGithubPtrOutput
	ToGetAppSpecJobGithubPtrOutputWithContext(context.Context) GetAppSpecJobGithubPtrOutput
}

GetAppSpecJobGithubPtrInput is an input type that accepts GetAppSpecJobGithubArgs, GetAppSpecJobGithubPtr and GetAppSpecJobGithubPtrOutput values. You can construct a concrete instance of `GetAppSpecJobGithubPtrInput` via:

        GetAppSpecJobGithubArgs{...}

or:

        nil

type GetAppSpecJobGithubPtrOutput

type GetAppSpecJobGithubPtrOutput struct{ *pulumi.OutputState }

func (GetAppSpecJobGithubPtrOutput) Branch

The name of the branch to use.

func (GetAppSpecJobGithubPtrOutput) DeployOnPush

Whether to automatically deploy new commits made to the repo.

func (GetAppSpecJobGithubPtrOutput) Elem

func (GetAppSpecJobGithubPtrOutput) ElementType

func (GetAppSpecJobGithubPtrOutput) Repo

The name of the repo in the format `owner/repo`.

func (GetAppSpecJobGithubPtrOutput) ToGetAppSpecJobGithubPtrOutput

func (o GetAppSpecJobGithubPtrOutput) ToGetAppSpecJobGithubPtrOutput() GetAppSpecJobGithubPtrOutput

func (GetAppSpecJobGithubPtrOutput) ToGetAppSpecJobGithubPtrOutputWithContext

func (o GetAppSpecJobGithubPtrOutput) ToGetAppSpecJobGithubPtrOutputWithContext(ctx context.Context) GetAppSpecJobGithubPtrOutput

type GetAppSpecJobGitlab

type GetAppSpecJobGitlab struct {
	// The name of the branch to use.
	Branch *string `pulumi:"branch"`
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPush *bool `pulumi:"deployOnPush"`
	// The name of the repo in the format `owner/repo`.
	Repo *string `pulumi:"repo"`
}

type GetAppSpecJobGitlabArgs

type GetAppSpecJobGitlabArgs struct {
	// The name of the branch to use.
	Branch pulumi.StringPtrInput `pulumi:"branch"`
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPush pulumi.BoolPtrInput `pulumi:"deployOnPush"`
	// The name of the repo in the format `owner/repo`.
	Repo pulumi.StringPtrInput `pulumi:"repo"`
}

func (GetAppSpecJobGitlabArgs) ElementType

func (GetAppSpecJobGitlabArgs) ElementType() reflect.Type

func (GetAppSpecJobGitlabArgs) ToGetAppSpecJobGitlabOutput

func (i GetAppSpecJobGitlabArgs) ToGetAppSpecJobGitlabOutput() GetAppSpecJobGitlabOutput

func (GetAppSpecJobGitlabArgs) ToGetAppSpecJobGitlabOutputWithContext

func (i GetAppSpecJobGitlabArgs) ToGetAppSpecJobGitlabOutputWithContext(ctx context.Context) GetAppSpecJobGitlabOutput

func (GetAppSpecJobGitlabArgs) ToGetAppSpecJobGitlabPtrOutput

func (i GetAppSpecJobGitlabArgs) ToGetAppSpecJobGitlabPtrOutput() GetAppSpecJobGitlabPtrOutput

func (GetAppSpecJobGitlabArgs) ToGetAppSpecJobGitlabPtrOutputWithContext

func (i GetAppSpecJobGitlabArgs) ToGetAppSpecJobGitlabPtrOutputWithContext(ctx context.Context) GetAppSpecJobGitlabPtrOutput

type GetAppSpecJobGitlabInput

type GetAppSpecJobGitlabInput interface {
	pulumi.Input

	ToGetAppSpecJobGitlabOutput() GetAppSpecJobGitlabOutput
	ToGetAppSpecJobGitlabOutputWithContext(context.Context) GetAppSpecJobGitlabOutput
}

GetAppSpecJobGitlabInput is an input type that accepts GetAppSpecJobGitlabArgs and GetAppSpecJobGitlabOutput values. You can construct a concrete instance of `GetAppSpecJobGitlabInput` via:

GetAppSpecJobGitlabArgs{...}

type GetAppSpecJobGitlabOutput

type GetAppSpecJobGitlabOutput struct{ *pulumi.OutputState }

func (GetAppSpecJobGitlabOutput) Branch

The name of the branch to use.

func (GetAppSpecJobGitlabOutput) DeployOnPush

Whether to automatically deploy new commits made to the repo.

func (GetAppSpecJobGitlabOutput) ElementType

func (GetAppSpecJobGitlabOutput) ElementType() reflect.Type

func (GetAppSpecJobGitlabOutput) Repo

The name of the repo in the format `owner/repo`.

func (GetAppSpecJobGitlabOutput) ToGetAppSpecJobGitlabOutput

func (o GetAppSpecJobGitlabOutput) ToGetAppSpecJobGitlabOutput() GetAppSpecJobGitlabOutput

func (GetAppSpecJobGitlabOutput) ToGetAppSpecJobGitlabOutputWithContext

func (o GetAppSpecJobGitlabOutput) ToGetAppSpecJobGitlabOutputWithContext(ctx context.Context) GetAppSpecJobGitlabOutput

func (GetAppSpecJobGitlabOutput) ToGetAppSpecJobGitlabPtrOutput

func (o GetAppSpecJobGitlabOutput) ToGetAppSpecJobGitlabPtrOutput() GetAppSpecJobGitlabPtrOutput

func (GetAppSpecJobGitlabOutput) ToGetAppSpecJobGitlabPtrOutputWithContext

func (o GetAppSpecJobGitlabOutput) ToGetAppSpecJobGitlabPtrOutputWithContext(ctx context.Context) GetAppSpecJobGitlabPtrOutput

type GetAppSpecJobGitlabPtrInput

type GetAppSpecJobGitlabPtrInput interface {
	pulumi.Input

	ToGetAppSpecJobGitlabPtrOutput() GetAppSpecJobGitlabPtrOutput
	ToGetAppSpecJobGitlabPtrOutputWithContext(context.Context) GetAppSpecJobGitlabPtrOutput
}

GetAppSpecJobGitlabPtrInput is an input type that accepts GetAppSpecJobGitlabArgs, GetAppSpecJobGitlabPtr and GetAppSpecJobGitlabPtrOutput values. You can construct a concrete instance of `GetAppSpecJobGitlabPtrInput` via:

        GetAppSpecJobGitlabArgs{...}

or:

        nil

type GetAppSpecJobGitlabPtrOutput

type GetAppSpecJobGitlabPtrOutput struct{ *pulumi.OutputState }

func (GetAppSpecJobGitlabPtrOutput) Branch

The name of the branch to use.

func (GetAppSpecJobGitlabPtrOutput) DeployOnPush

Whether to automatically deploy new commits made to the repo.

func (GetAppSpecJobGitlabPtrOutput) Elem

func (GetAppSpecJobGitlabPtrOutput) ElementType

func (GetAppSpecJobGitlabPtrOutput) Repo

The name of the repo in the format `owner/repo`.

func (GetAppSpecJobGitlabPtrOutput) ToGetAppSpecJobGitlabPtrOutput

func (o GetAppSpecJobGitlabPtrOutput) ToGetAppSpecJobGitlabPtrOutput() GetAppSpecJobGitlabPtrOutput

func (GetAppSpecJobGitlabPtrOutput) ToGetAppSpecJobGitlabPtrOutputWithContext

func (o GetAppSpecJobGitlabPtrOutput) ToGetAppSpecJobGitlabPtrOutputWithContext(ctx context.Context) GetAppSpecJobGitlabPtrOutput

type GetAppSpecJobImage

type GetAppSpecJobImage struct {
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPushes []GetAppSpecJobImageDeployOnPush `pulumi:"deployOnPushes"`
	// The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.
	Registry *string `pulumi:"registry"`
	// Access credentials for third-party registries
	RegistryCredentials *string `pulumi:"registryCredentials"`
	// The registry type. One of `DOCR` (DigitalOcean container registry) or `DOCKER_HUB`.
	RegistryType string `pulumi:"registryType"`
	// The repository name.
	Repository string `pulumi:"repository"`
	// The repository tag. Defaults to `latest` if not provided.
	Tag *string `pulumi:"tag"`
}

type GetAppSpecJobImageArgs

type GetAppSpecJobImageArgs struct {
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPushes GetAppSpecJobImageDeployOnPushArrayInput `pulumi:"deployOnPushes"`
	// The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.
	Registry pulumi.StringPtrInput `pulumi:"registry"`
	// Access credentials for third-party registries
	RegistryCredentials pulumi.StringPtrInput `pulumi:"registryCredentials"`
	// The registry type. One of `DOCR` (DigitalOcean container registry) or `DOCKER_HUB`.
	RegistryType pulumi.StringInput `pulumi:"registryType"`
	// The repository name.
	Repository pulumi.StringInput `pulumi:"repository"`
	// The repository tag. Defaults to `latest` if not provided.
	Tag pulumi.StringPtrInput `pulumi:"tag"`
}

func (GetAppSpecJobImageArgs) ElementType

func (GetAppSpecJobImageArgs) ElementType() reflect.Type

func (GetAppSpecJobImageArgs) ToGetAppSpecJobImageOutput

func (i GetAppSpecJobImageArgs) ToGetAppSpecJobImageOutput() GetAppSpecJobImageOutput

func (GetAppSpecJobImageArgs) ToGetAppSpecJobImageOutputWithContext

func (i GetAppSpecJobImageArgs) ToGetAppSpecJobImageOutputWithContext(ctx context.Context) GetAppSpecJobImageOutput

func (GetAppSpecJobImageArgs) ToGetAppSpecJobImagePtrOutput

func (i GetAppSpecJobImageArgs) ToGetAppSpecJobImagePtrOutput() GetAppSpecJobImagePtrOutput

func (GetAppSpecJobImageArgs) ToGetAppSpecJobImagePtrOutputWithContext

func (i GetAppSpecJobImageArgs) ToGetAppSpecJobImagePtrOutputWithContext(ctx context.Context) GetAppSpecJobImagePtrOutput

type GetAppSpecJobImageDeployOnPush added in v4.16.0

type GetAppSpecJobImageDeployOnPush struct {
	// Whether to automatically deploy images pushed to DOCR.
	Enabled *bool `pulumi:"enabled"`
}

type GetAppSpecJobImageDeployOnPushArgs added in v4.16.0

type GetAppSpecJobImageDeployOnPushArgs struct {
	// Whether to automatically deploy images pushed to DOCR.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
}

func (GetAppSpecJobImageDeployOnPushArgs) ElementType added in v4.16.0

func (GetAppSpecJobImageDeployOnPushArgs) ToGetAppSpecJobImageDeployOnPushOutput added in v4.16.0

func (i GetAppSpecJobImageDeployOnPushArgs) ToGetAppSpecJobImageDeployOnPushOutput() GetAppSpecJobImageDeployOnPushOutput

func (GetAppSpecJobImageDeployOnPushArgs) ToGetAppSpecJobImageDeployOnPushOutputWithContext added in v4.16.0

func (i GetAppSpecJobImageDeployOnPushArgs) ToGetAppSpecJobImageDeployOnPushOutputWithContext(ctx context.Context) GetAppSpecJobImageDeployOnPushOutput

type GetAppSpecJobImageDeployOnPushArray added in v4.16.0

type GetAppSpecJobImageDeployOnPushArray []GetAppSpecJobImageDeployOnPushInput

func (GetAppSpecJobImageDeployOnPushArray) ElementType added in v4.16.0

func (GetAppSpecJobImageDeployOnPushArray) ToGetAppSpecJobImageDeployOnPushArrayOutput added in v4.16.0

func (i GetAppSpecJobImageDeployOnPushArray) ToGetAppSpecJobImageDeployOnPushArrayOutput() GetAppSpecJobImageDeployOnPushArrayOutput

func (GetAppSpecJobImageDeployOnPushArray) ToGetAppSpecJobImageDeployOnPushArrayOutputWithContext added in v4.16.0

func (i GetAppSpecJobImageDeployOnPushArray) ToGetAppSpecJobImageDeployOnPushArrayOutputWithContext(ctx context.Context) GetAppSpecJobImageDeployOnPushArrayOutput

type GetAppSpecJobImageDeployOnPushArrayInput added in v4.16.0

type GetAppSpecJobImageDeployOnPushArrayInput interface {
	pulumi.Input

	ToGetAppSpecJobImageDeployOnPushArrayOutput() GetAppSpecJobImageDeployOnPushArrayOutput
	ToGetAppSpecJobImageDeployOnPushArrayOutputWithContext(context.Context) GetAppSpecJobImageDeployOnPushArrayOutput
}

GetAppSpecJobImageDeployOnPushArrayInput is an input type that accepts GetAppSpecJobImageDeployOnPushArray and GetAppSpecJobImageDeployOnPushArrayOutput values. You can construct a concrete instance of `GetAppSpecJobImageDeployOnPushArrayInput` via:

GetAppSpecJobImageDeployOnPushArray{ GetAppSpecJobImageDeployOnPushArgs{...} }

type GetAppSpecJobImageDeployOnPushArrayOutput added in v4.16.0

type GetAppSpecJobImageDeployOnPushArrayOutput struct{ *pulumi.OutputState }

func (GetAppSpecJobImageDeployOnPushArrayOutput) ElementType added in v4.16.0

func (GetAppSpecJobImageDeployOnPushArrayOutput) Index added in v4.16.0

func (GetAppSpecJobImageDeployOnPushArrayOutput) ToGetAppSpecJobImageDeployOnPushArrayOutput added in v4.16.0

func (o GetAppSpecJobImageDeployOnPushArrayOutput) ToGetAppSpecJobImageDeployOnPushArrayOutput() GetAppSpecJobImageDeployOnPushArrayOutput

func (GetAppSpecJobImageDeployOnPushArrayOutput) ToGetAppSpecJobImageDeployOnPushArrayOutputWithContext added in v4.16.0

func (o GetAppSpecJobImageDeployOnPushArrayOutput) ToGetAppSpecJobImageDeployOnPushArrayOutputWithContext(ctx context.Context) GetAppSpecJobImageDeployOnPushArrayOutput

type GetAppSpecJobImageDeployOnPushInput added in v4.16.0

type GetAppSpecJobImageDeployOnPushInput interface {
	pulumi.Input

	ToGetAppSpecJobImageDeployOnPushOutput() GetAppSpecJobImageDeployOnPushOutput
	ToGetAppSpecJobImageDeployOnPushOutputWithContext(context.Context) GetAppSpecJobImageDeployOnPushOutput
}

GetAppSpecJobImageDeployOnPushInput is an input type that accepts GetAppSpecJobImageDeployOnPushArgs and GetAppSpecJobImageDeployOnPushOutput values. You can construct a concrete instance of `GetAppSpecJobImageDeployOnPushInput` via:

GetAppSpecJobImageDeployOnPushArgs{...}

type GetAppSpecJobImageDeployOnPushOutput added in v4.16.0

type GetAppSpecJobImageDeployOnPushOutput struct{ *pulumi.OutputState }

func (GetAppSpecJobImageDeployOnPushOutput) ElementType added in v4.16.0

func (GetAppSpecJobImageDeployOnPushOutput) Enabled added in v4.16.0

Whether to automatically deploy images pushed to DOCR.

func (GetAppSpecJobImageDeployOnPushOutput) ToGetAppSpecJobImageDeployOnPushOutput added in v4.16.0

func (o GetAppSpecJobImageDeployOnPushOutput) ToGetAppSpecJobImageDeployOnPushOutput() GetAppSpecJobImageDeployOnPushOutput

func (GetAppSpecJobImageDeployOnPushOutput) ToGetAppSpecJobImageDeployOnPushOutputWithContext added in v4.16.0

func (o GetAppSpecJobImageDeployOnPushOutput) ToGetAppSpecJobImageDeployOnPushOutputWithContext(ctx context.Context) GetAppSpecJobImageDeployOnPushOutput

type GetAppSpecJobImageInput

type GetAppSpecJobImageInput interface {
	pulumi.Input

	ToGetAppSpecJobImageOutput() GetAppSpecJobImageOutput
	ToGetAppSpecJobImageOutputWithContext(context.Context) GetAppSpecJobImageOutput
}

GetAppSpecJobImageInput is an input type that accepts GetAppSpecJobImageArgs and GetAppSpecJobImageOutput values. You can construct a concrete instance of `GetAppSpecJobImageInput` via:

GetAppSpecJobImageArgs{...}

type GetAppSpecJobImageOutput

type GetAppSpecJobImageOutput struct{ *pulumi.OutputState }

func (GetAppSpecJobImageOutput) DeployOnPushes added in v4.16.0

Whether to automatically deploy new commits made to the repo.

func (GetAppSpecJobImageOutput) ElementType

func (GetAppSpecJobImageOutput) ElementType() reflect.Type

func (GetAppSpecJobImageOutput) Registry

The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.

func (GetAppSpecJobImageOutput) RegistryCredentials added in v4.28.0

func (o GetAppSpecJobImageOutput) RegistryCredentials() pulumi.StringPtrOutput

Access credentials for third-party registries

func (GetAppSpecJobImageOutput) RegistryType

func (o GetAppSpecJobImageOutput) RegistryType() pulumi.StringOutput

The registry type. One of `DOCR` (DigitalOcean container registry) or `DOCKER_HUB`.

func (GetAppSpecJobImageOutput) Repository

The repository name.

func (GetAppSpecJobImageOutput) Tag

The repository tag. Defaults to `latest` if not provided.

func (GetAppSpecJobImageOutput) ToGetAppSpecJobImageOutput

func (o GetAppSpecJobImageOutput) ToGetAppSpecJobImageOutput() GetAppSpecJobImageOutput

func (GetAppSpecJobImageOutput) ToGetAppSpecJobImageOutputWithContext

func (o GetAppSpecJobImageOutput) ToGetAppSpecJobImageOutputWithContext(ctx context.Context) GetAppSpecJobImageOutput

func (GetAppSpecJobImageOutput) ToGetAppSpecJobImagePtrOutput

func (o GetAppSpecJobImageOutput) ToGetAppSpecJobImagePtrOutput() GetAppSpecJobImagePtrOutput

func (GetAppSpecJobImageOutput) ToGetAppSpecJobImagePtrOutputWithContext

func (o GetAppSpecJobImageOutput) ToGetAppSpecJobImagePtrOutputWithContext(ctx context.Context) GetAppSpecJobImagePtrOutput

type GetAppSpecJobImagePtrInput

type GetAppSpecJobImagePtrInput interface {
	pulumi.Input

	ToGetAppSpecJobImagePtrOutput() GetAppSpecJobImagePtrOutput
	ToGetAppSpecJobImagePtrOutputWithContext(context.Context) GetAppSpecJobImagePtrOutput
}

GetAppSpecJobImagePtrInput is an input type that accepts GetAppSpecJobImageArgs, GetAppSpecJobImagePtr and GetAppSpecJobImagePtrOutput values. You can construct a concrete instance of `GetAppSpecJobImagePtrInput` via:

        GetAppSpecJobImageArgs{...}

or:

        nil

type GetAppSpecJobImagePtrOutput

type GetAppSpecJobImagePtrOutput struct{ *pulumi.OutputState }

func (GetAppSpecJobImagePtrOutput) DeployOnPushes added in v4.16.0

Whether to automatically deploy new commits made to the repo.

func (GetAppSpecJobImagePtrOutput) Elem

func (GetAppSpecJobImagePtrOutput) ElementType

func (GetAppSpecJobImagePtrOutput) Registry

The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.

func (GetAppSpecJobImagePtrOutput) RegistryCredentials added in v4.28.0

func (o GetAppSpecJobImagePtrOutput) RegistryCredentials() pulumi.StringPtrOutput

Access credentials for third-party registries

func (GetAppSpecJobImagePtrOutput) RegistryType

The registry type. One of `DOCR` (DigitalOcean container registry) or `DOCKER_HUB`.

func (GetAppSpecJobImagePtrOutput) Repository

The repository name.

func (GetAppSpecJobImagePtrOutput) Tag

The repository tag. Defaults to `latest` if not provided.

func (GetAppSpecJobImagePtrOutput) ToGetAppSpecJobImagePtrOutput

func (o GetAppSpecJobImagePtrOutput) ToGetAppSpecJobImagePtrOutput() GetAppSpecJobImagePtrOutput

func (GetAppSpecJobImagePtrOutput) ToGetAppSpecJobImagePtrOutputWithContext

func (o GetAppSpecJobImagePtrOutput) ToGetAppSpecJobImagePtrOutputWithContext(ctx context.Context) GetAppSpecJobImagePtrOutput

type GetAppSpecJobInput

type GetAppSpecJobInput interface {
	pulumi.Input

	ToGetAppSpecJobOutput() GetAppSpecJobOutput
	ToGetAppSpecJobOutputWithContext(context.Context) GetAppSpecJobOutput
}

GetAppSpecJobInput is an input type that accepts GetAppSpecJobArgs and GetAppSpecJobOutput values. You can construct a concrete instance of `GetAppSpecJobInput` via:

GetAppSpecJobArgs{...}

type GetAppSpecJobLogDestination added in v4.12.0

type GetAppSpecJobLogDestination struct {
	// Datadog configuration.
	Datadog *GetAppSpecJobLogDestinationDatadog `pulumi:"datadog"`
	// Logtail configuration.
	Logtail *GetAppSpecJobLogDestinationLogtail `pulumi:"logtail"`
	// The name of the component.
	Name string `pulumi:"name"`
	// Papertrail configuration.
	Papertrail *GetAppSpecJobLogDestinationPapertrail `pulumi:"papertrail"`
}

type GetAppSpecJobLogDestinationArgs added in v4.12.0

type GetAppSpecJobLogDestinationArgs struct {
	// Datadog configuration.
	Datadog GetAppSpecJobLogDestinationDatadogPtrInput `pulumi:"datadog"`
	// Logtail configuration.
	Logtail GetAppSpecJobLogDestinationLogtailPtrInput `pulumi:"logtail"`
	// The name of the component.
	Name pulumi.StringInput `pulumi:"name"`
	// Papertrail configuration.
	Papertrail GetAppSpecJobLogDestinationPapertrailPtrInput `pulumi:"papertrail"`
}

func (GetAppSpecJobLogDestinationArgs) ElementType added in v4.12.0

func (GetAppSpecJobLogDestinationArgs) ToGetAppSpecJobLogDestinationOutput added in v4.12.0

func (i GetAppSpecJobLogDestinationArgs) ToGetAppSpecJobLogDestinationOutput() GetAppSpecJobLogDestinationOutput

func (GetAppSpecJobLogDestinationArgs) ToGetAppSpecJobLogDestinationOutputWithContext added in v4.12.0

func (i GetAppSpecJobLogDestinationArgs) ToGetAppSpecJobLogDestinationOutputWithContext(ctx context.Context) GetAppSpecJobLogDestinationOutput

type GetAppSpecJobLogDestinationArray added in v4.12.0

type GetAppSpecJobLogDestinationArray []GetAppSpecJobLogDestinationInput

func (GetAppSpecJobLogDestinationArray) ElementType added in v4.12.0

func (GetAppSpecJobLogDestinationArray) ToGetAppSpecJobLogDestinationArrayOutput added in v4.12.0

func (i GetAppSpecJobLogDestinationArray) ToGetAppSpecJobLogDestinationArrayOutput() GetAppSpecJobLogDestinationArrayOutput

func (GetAppSpecJobLogDestinationArray) ToGetAppSpecJobLogDestinationArrayOutputWithContext added in v4.12.0

func (i GetAppSpecJobLogDestinationArray) ToGetAppSpecJobLogDestinationArrayOutputWithContext(ctx context.Context) GetAppSpecJobLogDestinationArrayOutput

type GetAppSpecJobLogDestinationArrayInput added in v4.12.0

type GetAppSpecJobLogDestinationArrayInput interface {
	pulumi.Input

	ToGetAppSpecJobLogDestinationArrayOutput() GetAppSpecJobLogDestinationArrayOutput
	ToGetAppSpecJobLogDestinationArrayOutputWithContext(context.Context) GetAppSpecJobLogDestinationArrayOutput
}

GetAppSpecJobLogDestinationArrayInput is an input type that accepts GetAppSpecJobLogDestinationArray and GetAppSpecJobLogDestinationArrayOutput values. You can construct a concrete instance of `GetAppSpecJobLogDestinationArrayInput` via:

GetAppSpecJobLogDestinationArray{ GetAppSpecJobLogDestinationArgs{...} }

type GetAppSpecJobLogDestinationArrayOutput added in v4.12.0

type GetAppSpecJobLogDestinationArrayOutput struct{ *pulumi.OutputState }

func (GetAppSpecJobLogDestinationArrayOutput) ElementType added in v4.12.0

func (GetAppSpecJobLogDestinationArrayOutput) Index added in v4.12.0

func (GetAppSpecJobLogDestinationArrayOutput) ToGetAppSpecJobLogDestinationArrayOutput added in v4.12.0

func (o GetAppSpecJobLogDestinationArrayOutput) ToGetAppSpecJobLogDestinationArrayOutput() GetAppSpecJobLogDestinationArrayOutput

func (GetAppSpecJobLogDestinationArrayOutput) ToGetAppSpecJobLogDestinationArrayOutputWithContext added in v4.12.0

func (o GetAppSpecJobLogDestinationArrayOutput) ToGetAppSpecJobLogDestinationArrayOutputWithContext(ctx context.Context) GetAppSpecJobLogDestinationArrayOutput

type GetAppSpecJobLogDestinationDatadog added in v4.12.0

type GetAppSpecJobLogDestinationDatadog struct {
	// Datadog API key.
	ApiKey string `pulumi:"apiKey"`
	// Datadog HTTP log intake endpoint.
	Endpoint *string `pulumi:"endpoint"`
}

type GetAppSpecJobLogDestinationDatadogArgs added in v4.12.0

type GetAppSpecJobLogDestinationDatadogArgs struct {
	// Datadog API key.
	ApiKey pulumi.StringInput `pulumi:"apiKey"`
	// Datadog HTTP log intake endpoint.
	Endpoint pulumi.StringPtrInput `pulumi:"endpoint"`
}

func (GetAppSpecJobLogDestinationDatadogArgs) ElementType added in v4.12.0

func (GetAppSpecJobLogDestinationDatadogArgs) ToGetAppSpecJobLogDestinationDatadogOutput added in v4.12.0

func (i GetAppSpecJobLogDestinationDatadogArgs) ToGetAppSpecJobLogDestinationDatadogOutput() GetAppSpecJobLogDestinationDatadogOutput

func (GetAppSpecJobLogDestinationDatadogArgs) ToGetAppSpecJobLogDestinationDatadogOutputWithContext added in v4.12.0

func (i GetAppSpecJobLogDestinationDatadogArgs) ToGetAppSpecJobLogDestinationDatadogOutputWithContext(ctx context.Context) GetAppSpecJobLogDestinationDatadogOutput

func (GetAppSpecJobLogDestinationDatadogArgs) ToGetAppSpecJobLogDestinationDatadogPtrOutput added in v4.12.0

func (i GetAppSpecJobLogDestinationDatadogArgs) ToGetAppSpecJobLogDestinationDatadogPtrOutput() GetAppSpecJobLogDestinationDatadogPtrOutput

func (GetAppSpecJobLogDestinationDatadogArgs) ToGetAppSpecJobLogDestinationDatadogPtrOutputWithContext added in v4.12.0

func (i GetAppSpecJobLogDestinationDatadogArgs) ToGetAppSpecJobLogDestinationDatadogPtrOutputWithContext(ctx context.Context) GetAppSpecJobLogDestinationDatadogPtrOutput

type GetAppSpecJobLogDestinationDatadogInput added in v4.12.0

type GetAppSpecJobLogDestinationDatadogInput interface {
	pulumi.Input

	ToGetAppSpecJobLogDestinationDatadogOutput() GetAppSpecJobLogDestinationDatadogOutput
	ToGetAppSpecJobLogDestinationDatadogOutputWithContext(context.Context) GetAppSpecJobLogDestinationDatadogOutput
}

GetAppSpecJobLogDestinationDatadogInput is an input type that accepts GetAppSpecJobLogDestinationDatadogArgs and GetAppSpecJobLogDestinationDatadogOutput values. You can construct a concrete instance of `GetAppSpecJobLogDestinationDatadogInput` via:

GetAppSpecJobLogDestinationDatadogArgs{...}

type GetAppSpecJobLogDestinationDatadogOutput added in v4.12.0

type GetAppSpecJobLogDestinationDatadogOutput struct{ *pulumi.OutputState }

func (GetAppSpecJobLogDestinationDatadogOutput) ApiKey added in v4.12.0

Datadog API key.

func (GetAppSpecJobLogDestinationDatadogOutput) ElementType added in v4.12.0

func (GetAppSpecJobLogDestinationDatadogOutput) Endpoint added in v4.12.0

Datadog HTTP log intake endpoint.

func (GetAppSpecJobLogDestinationDatadogOutput) ToGetAppSpecJobLogDestinationDatadogOutput added in v4.12.0

func (o GetAppSpecJobLogDestinationDatadogOutput) ToGetAppSpecJobLogDestinationDatadogOutput() GetAppSpecJobLogDestinationDatadogOutput

func (GetAppSpecJobLogDestinationDatadogOutput) ToGetAppSpecJobLogDestinationDatadogOutputWithContext added in v4.12.0

func (o GetAppSpecJobLogDestinationDatadogOutput) ToGetAppSpecJobLogDestinationDatadogOutputWithContext(ctx context.Context) GetAppSpecJobLogDestinationDatadogOutput

func (GetAppSpecJobLogDestinationDatadogOutput) ToGetAppSpecJobLogDestinationDatadogPtrOutput added in v4.12.0

func (o GetAppSpecJobLogDestinationDatadogOutput) ToGetAppSpecJobLogDestinationDatadogPtrOutput() GetAppSpecJobLogDestinationDatadogPtrOutput

func (GetAppSpecJobLogDestinationDatadogOutput) ToGetAppSpecJobLogDestinationDatadogPtrOutputWithContext added in v4.12.0

func (o GetAppSpecJobLogDestinationDatadogOutput) ToGetAppSpecJobLogDestinationDatadogPtrOutputWithContext(ctx context.Context) GetAppSpecJobLogDestinationDatadogPtrOutput

type GetAppSpecJobLogDestinationDatadogPtrInput added in v4.12.0

type GetAppSpecJobLogDestinationDatadogPtrInput interface {
	pulumi.Input

	ToGetAppSpecJobLogDestinationDatadogPtrOutput() GetAppSpecJobLogDestinationDatadogPtrOutput
	ToGetAppSpecJobLogDestinationDatadogPtrOutputWithContext(context.Context) GetAppSpecJobLogDestinationDatadogPtrOutput
}

GetAppSpecJobLogDestinationDatadogPtrInput is an input type that accepts GetAppSpecJobLogDestinationDatadogArgs, GetAppSpecJobLogDestinationDatadogPtr and GetAppSpecJobLogDestinationDatadogPtrOutput values. You can construct a concrete instance of `GetAppSpecJobLogDestinationDatadogPtrInput` via:

        GetAppSpecJobLogDestinationDatadogArgs{...}

or:

        nil

type GetAppSpecJobLogDestinationDatadogPtrOutput added in v4.12.0

type GetAppSpecJobLogDestinationDatadogPtrOutput struct{ *pulumi.OutputState }

func (GetAppSpecJobLogDestinationDatadogPtrOutput) ApiKey added in v4.12.0

Datadog API key.

func (GetAppSpecJobLogDestinationDatadogPtrOutput) Elem added in v4.12.0

func (GetAppSpecJobLogDestinationDatadogPtrOutput) ElementType added in v4.12.0

func (GetAppSpecJobLogDestinationDatadogPtrOutput) Endpoint added in v4.12.0

Datadog HTTP log intake endpoint.

func (GetAppSpecJobLogDestinationDatadogPtrOutput) ToGetAppSpecJobLogDestinationDatadogPtrOutput added in v4.12.0

func (o GetAppSpecJobLogDestinationDatadogPtrOutput) ToGetAppSpecJobLogDestinationDatadogPtrOutput() GetAppSpecJobLogDestinationDatadogPtrOutput

func (GetAppSpecJobLogDestinationDatadogPtrOutput) ToGetAppSpecJobLogDestinationDatadogPtrOutputWithContext added in v4.12.0

func (o GetAppSpecJobLogDestinationDatadogPtrOutput) ToGetAppSpecJobLogDestinationDatadogPtrOutputWithContext(ctx context.Context) GetAppSpecJobLogDestinationDatadogPtrOutput

type GetAppSpecJobLogDestinationInput added in v4.12.0

type GetAppSpecJobLogDestinationInput interface {
	pulumi.Input

	ToGetAppSpecJobLogDestinationOutput() GetAppSpecJobLogDestinationOutput
	ToGetAppSpecJobLogDestinationOutputWithContext(context.Context) GetAppSpecJobLogDestinationOutput
}

GetAppSpecJobLogDestinationInput is an input type that accepts GetAppSpecJobLogDestinationArgs and GetAppSpecJobLogDestinationOutput values. You can construct a concrete instance of `GetAppSpecJobLogDestinationInput` via:

GetAppSpecJobLogDestinationArgs{...}

type GetAppSpecJobLogDestinationLogtail added in v4.12.0

type GetAppSpecJobLogDestinationLogtail struct {
	// Logtail token.
	Token string `pulumi:"token"`
}

type GetAppSpecJobLogDestinationLogtailArgs added in v4.12.0

type GetAppSpecJobLogDestinationLogtailArgs struct {
	// Logtail token.
	Token pulumi.StringInput `pulumi:"token"`
}

func (GetAppSpecJobLogDestinationLogtailArgs) ElementType added in v4.12.0

func (GetAppSpecJobLogDestinationLogtailArgs) ToGetAppSpecJobLogDestinationLogtailOutput added in v4.12.0

func (i GetAppSpecJobLogDestinationLogtailArgs) ToGetAppSpecJobLogDestinationLogtailOutput() GetAppSpecJobLogDestinationLogtailOutput

func (GetAppSpecJobLogDestinationLogtailArgs) ToGetAppSpecJobLogDestinationLogtailOutputWithContext added in v4.12.0

func (i GetAppSpecJobLogDestinationLogtailArgs) ToGetAppSpecJobLogDestinationLogtailOutputWithContext(ctx context.Context) GetAppSpecJobLogDestinationLogtailOutput

func (GetAppSpecJobLogDestinationLogtailArgs) ToGetAppSpecJobLogDestinationLogtailPtrOutput added in v4.12.0

func (i GetAppSpecJobLogDestinationLogtailArgs) ToGetAppSpecJobLogDestinationLogtailPtrOutput() GetAppSpecJobLogDestinationLogtailPtrOutput

func (GetAppSpecJobLogDestinationLogtailArgs) ToGetAppSpecJobLogDestinationLogtailPtrOutputWithContext added in v4.12.0

func (i GetAppSpecJobLogDestinationLogtailArgs) ToGetAppSpecJobLogDestinationLogtailPtrOutputWithContext(ctx context.Context) GetAppSpecJobLogDestinationLogtailPtrOutput

type GetAppSpecJobLogDestinationLogtailInput added in v4.12.0

type GetAppSpecJobLogDestinationLogtailInput interface {
	pulumi.Input

	ToGetAppSpecJobLogDestinationLogtailOutput() GetAppSpecJobLogDestinationLogtailOutput
	ToGetAppSpecJobLogDestinationLogtailOutputWithContext(context.Context) GetAppSpecJobLogDestinationLogtailOutput
}

GetAppSpecJobLogDestinationLogtailInput is an input type that accepts GetAppSpecJobLogDestinationLogtailArgs and GetAppSpecJobLogDestinationLogtailOutput values. You can construct a concrete instance of `GetAppSpecJobLogDestinationLogtailInput` via:

GetAppSpecJobLogDestinationLogtailArgs{...}

type GetAppSpecJobLogDestinationLogtailOutput added in v4.12.0

type GetAppSpecJobLogDestinationLogtailOutput struct{ *pulumi.OutputState }

func (GetAppSpecJobLogDestinationLogtailOutput) ElementType added in v4.12.0

func (GetAppSpecJobLogDestinationLogtailOutput) ToGetAppSpecJobLogDestinationLogtailOutput added in v4.12.0

func (o GetAppSpecJobLogDestinationLogtailOutput) ToGetAppSpecJobLogDestinationLogtailOutput() GetAppSpecJobLogDestinationLogtailOutput

func (GetAppSpecJobLogDestinationLogtailOutput) ToGetAppSpecJobLogDestinationLogtailOutputWithContext added in v4.12.0

func (o GetAppSpecJobLogDestinationLogtailOutput) ToGetAppSpecJobLogDestinationLogtailOutputWithContext(ctx context.Context) GetAppSpecJobLogDestinationLogtailOutput

func (GetAppSpecJobLogDestinationLogtailOutput) ToGetAppSpecJobLogDestinationLogtailPtrOutput added in v4.12.0

func (o GetAppSpecJobLogDestinationLogtailOutput) ToGetAppSpecJobLogDestinationLogtailPtrOutput() GetAppSpecJobLogDestinationLogtailPtrOutput

func (GetAppSpecJobLogDestinationLogtailOutput) ToGetAppSpecJobLogDestinationLogtailPtrOutputWithContext added in v4.12.0

func (o GetAppSpecJobLogDestinationLogtailOutput) ToGetAppSpecJobLogDestinationLogtailPtrOutputWithContext(ctx context.Context) GetAppSpecJobLogDestinationLogtailPtrOutput

func (GetAppSpecJobLogDestinationLogtailOutput) Token added in v4.12.0

Logtail token.

type GetAppSpecJobLogDestinationLogtailPtrInput added in v4.12.0

type GetAppSpecJobLogDestinationLogtailPtrInput interface {
	pulumi.Input

	ToGetAppSpecJobLogDestinationLogtailPtrOutput() GetAppSpecJobLogDestinationLogtailPtrOutput
	ToGetAppSpecJobLogDestinationLogtailPtrOutputWithContext(context.Context) GetAppSpecJobLogDestinationLogtailPtrOutput
}

GetAppSpecJobLogDestinationLogtailPtrInput is an input type that accepts GetAppSpecJobLogDestinationLogtailArgs, GetAppSpecJobLogDestinationLogtailPtr and GetAppSpecJobLogDestinationLogtailPtrOutput values. You can construct a concrete instance of `GetAppSpecJobLogDestinationLogtailPtrInput` via:

        GetAppSpecJobLogDestinationLogtailArgs{...}

or:

        nil

type GetAppSpecJobLogDestinationLogtailPtrOutput added in v4.12.0

type GetAppSpecJobLogDestinationLogtailPtrOutput struct{ *pulumi.OutputState }

func (GetAppSpecJobLogDestinationLogtailPtrOutput) Elem added in v4.12.0

func (GetAppSpecJobLogDestinationLogtailPtrOutput) ElementType added in v4.12.0

func (GetAppSpecJobLogDestinationLogtailPtrOutput) ToGetAppSpecJobLogDestinationLogtailPtrOutput added in v4.12.0

func (o GetAppSpecJobLogDestinationLogtailPtrOutput) ToGetAppSpecJobLogDestinationLogtailPtrOutput() GetAppSpecJobLogDestinationLogtailPtrOutput

func (GetAppSpecJobLogDestinationLogtailPtrOutput) ToGetAppSpecJobLogDestinationLogtailPtrOutputWithContext added in v4.12.0

func (o GetAppSpecJobLogDestinationLogtailPtrOutput) ToGetAppSpecJobLogDestinationLogtailPtrOutputWithContext(ctx context.Context) GetAppSpecJobLogDestinationLogtailPtrOutput

func (GetAppSpecJobLogDestinationLogtailPtrOutput) Token added in v4.12.0

Logtail token.

type GetAppSpecJobLogDestinationOutput added in v4.12.0

type GetAppSpecJobLogDestinationOutput struct{ *pulumi.OutputState }

func (GetAppSpecJobLogDestinationOutput) Datadog added in v4.12.0

Datadog configuration.

func (GetAppSpecJobLogDestinationOutput) ElementType added in v4.12.0

func (GetAppSpecJobLogDestinationOutput) Logtail added in v4.12.0

Logtail configuration.

func (GetAppSpecJobLogDestinationOutput) Name added in v4.12.0

The name of the component.

func (GetAppSpecJobLogDestinationOutput) Papertrail added in v4.12.0

Papertrail configuration.

func (GetAppSpecJobLogDestinationOutput) ToGetAppSpecJobLogDestinationOutput added in v4.12.0

func (o GetAppSpecJobLogDestinationOutput) ToGetAppSpecJobLogDestinationOutput() GetAppSpecJobLogDestinationOutput

func (GetAppSpecJobLogDestinationOutput) ToGetAppSpecJobLogDestinationOutputWithContext added in v4.12.0

func (o GetAppSpecJobLogDestinationOutput) ToGetAppSpecJobLogDestinationOutputWithContext(ctx context.Context) GetAppSpecJobLogDestinationOutput

type GetAppSpecJobLogDestinationPapertrail added in v4.12.0

type GetAppSpecJobLogDestinationPapertrail struct {
	// Datadog HTTP log intake endpoint.
	Endpoint string `pulumi:"endpoint"`
}

type GetAppSpecJobLogDestinationPapertrailArgs added in v4.12.0

type GetAppSpecJobLogDestinationPapertrailArgs struct {
	// Datadog HTTP log intake endpoint.
	Endpoint pulumi.StringInput `pulumi:"endpoint"`
}

func (GetAppSpecJobLogDestinationPapertrailArgs) ElementType added in v4.12.0

func (GetAppSpecJobLogDestinationPapertrailArgs) ToGetAppSpecJobLogDestinationPapertrailOutput added in v4.12.0

func (i GetAppSpecJobLogDestinationPapertrailArgs) ToGetAppSpecJobLogDestinationPapertrailOutput() GetAppSpecJobLogDestinationPapertrailOutput

func (GetAppSpecJobLogDestinationPapertrailArgs) ToGetAppSpecJobLogDestinationPapertrailOutputWithContext added in v4.12.0

func (i GetAppSpecJobLogDestinationPapertrailArgs) ToGetAppSpecJobLogDestinationPapertrailOutputWithContext(ctx context.Context) GetAppSpecJobLogDestinationPapertrailOutput

func (GetAppSpecJobLogDestinationPapertrailArgs) ToGetAppSpecJobLogDestinationPapertrailPtrOutput added in v4.12.0

func (i GetAppSpecJobLogDestinationPapertrailArgs) ToGetAppSpecJobLogDestinationPapertrailPtrOutput() GetAppSpecJobLogDestinationPapertrailPtrOutput

func (GetAppSpecJobLogDestinationPapertrailArgs) ToGetAppSpecJobLogDestinationPapertrailPtrOutputWithContext added in v4.12.0

func (i GetAppSpecJobLogDestinationPapertrailArgs) ToGetAppSpecJobLogDestinationPapertrailPtrOutputWithContext(ctx context.Context) GetAppSpecJobLogDestinationPapertrailPtrOutput

type GetAppSpecJobLogDestinationPapertrailInput added in v4.12.0

type GetAppSpecJobLogDestinationPapertrailInput interface {
	pulumi.Input

	ToGetAppSpecJobLogDestinationPapertrailOutput() GetAppSpecJobLogDestinationPapertrailOutput
	ToGetAppSpecJobLogDestinationPapertrailOutputWithContext(context.Context) GetAppSpecJobLogDestinationPapertrailOutput
}

GetAppSpecJobLogDestinationPapertrailInput is an input type that accepts GetAppSpecJobLogDestinationPapertrailArgs and GetAppSpecJobLogDestinationPapertrailOutput values. You can construct a concrete instance of `GetAppSpecJobLogDestinationPapertrailInput` via:

GetAppSpecJobLogDestinationPapertrailArgs{...}

type GetAppSpecJobLogDestinationPapertrailOutput added in v4.12.0

type GetAppSpecJobLogDestinationPapertrailOutput struct{ *pulumi.OutputState }

func (GetAppSpecJobLogDestinationPapertrailOutput) ElementType added in v4.12.0

func (GetAppSpecJobLogDestinationPapertrailOutput) Endpoint added in v4.12.0

Datadog HTTP log intake endpoint.

func (GetAppSpecJobLogDestinationPapertrailOutput) ToGetAppSpecJobLogDestinationPapertrailOutput added in v4.12.0

func (o GetAppSpecJobLogDestinationPapertrailOutput) ToGetAppSpecJobLogDestinationPapertrailOutput() GetAppSpecJobLogDestinationPapertrailOutput

func (GetAppSpecJobLogDestinationPapertrailOutput) ToGetAppSpecJobLogDestinationPapertrailOutputWithContext added in v4.12.0

func (o GetAppSpecJobLogDestinationPapertrailOutput) ToGetAppSpecJobLogDestinationPapertrailOutputWithContext(ctx context.Context) GetAppSpecJobLogDestinationPapertrailOutput

func (GetAppSpecJobLogDestinationPapertrailOutput) ToGetAppSpecJobLogDestinationPapertrailPtrOutput added in v4.12.0

func (o GetAppSpecJobLogDestinationPapertrailOutput) ToGetAppSpecJobLogDestinationPapertrailPtrOutput() GetAppSpecJobLogDestinationPapertrailPtrOutput

func (GetAppSpecJobLogDestinationPapertrailOutput) ToGetAppSpecJobLogDestinationPapertrailPtrOutputWithContext added in v4.12.0

func (o GetAppSpecJobLogDestinationPapertrailOutput) ToGetAppSpecJobLogDestinationPapertrailPtrOutputWithContext(ctx context.Context) GetAppSpecJobLogDestinationPapertrailPtrOutput

type GetAppSpecJobLogDestinationPapertrailPtrInput added in v4.12.0

type GetAppSpecJobLogDestinationPapertrailPtrInput interface {
	pulumi.Input

	ToGetAppSpecJobLogDestinationPapertrailPtrOutput() GetAppSpecJobLogDestinationPapertrailPtrOutput
	ToGetAppSpecJobLogDestinationPapertrailPtrOutputWithContext(context.Context) GetAppSpecJobLogDestinationPapertrailPtrOutput
}

GetAppSpecJobLogDestinationPapertrailPtrInput is an input type that accepts GetAppSpecJobLogDestinationPapertrailArgs, GetAppSpecJobLogDestinationPapertrailPtr and GetAppSpecJobLogDestinationPapertrailPtrOutput values. You can construct a concrete instance of `GetAppSpecJobLogDestinationPapertrailPtrInput` via:

        GetAppSpecJobLogDestinationPapertrailArgs{...}

or:

        nil

type GetAppSpecJobLogDestinationPapertrailPtrOutput added in v4.12.0

type GetAppSpecJobLogDestinationPapertrailPtrOutput struct{ *pulumi.OutputState }

func (GetAppSpecJobLogDestinationPapertrailPtrOutput) Elem added in v4.12.0

func (GetAppSpecJobLogDestinationPapertrailPtrOutput) ElementType added in v4.12.0

func (GetAppSpecJobLogDestinationPapertrailPtrOutput) Endpoint added in v4.12.0

Datadog HTTP log intake endpoint.

func (GetAppSpecJobLogDestinationPapertrailPtrOutput) ToGetAppSpecJobLogDestinationPapertrailPtrOutput added in v4.12.0

func (o GetAppSpecJobLogDestinationPapertrailPtrOutput) ToGetAppSpecJobLogDestinationPapertrailPtrOutput() GetAppSpecJobLogDestinationPapertrailPtrOutput

func (GetAppSpecJobLogDestinationPapertrailPtrOutput) ToGetAppSpecJobLogDestinationPapertrailPtrOutputWithContext added in v4.12.0

func (o GetAppSpecJobLogDestinationPapertrailPtrOutput) ToGetAppSpecJobLogDestinationPapertrailPtrOutputWithContext(ctx context.Context) GetAppSpecJobLogDestinationPapertrailPtrOutput

type GetAppSpecJobOutput

type GetAppSpecJobOutput struct{ *pulumi.OutputState }

func (GetAppSpecJobOutput) Alerts added in v4.12.0

Describes an alert policy for the component.

func (GetAppSpecJobOutput) BuildCommand

func (o GetAppSpecJobOutput) BuildCommand() pulumi.StringPtrOutput

An optional build command to run while building this component from source.

func (GetAppSpecJobOutput) DockerfilePath

func (o GetAppSpecJobOutput) DockerfilePath() pulumi.StringPtrOutput

The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.

func (GetAppSpecJobOutput) ElementType

func (GetAppSpecJobOutput) ElementType() reflect.Type

func (GetAppSpecJobOutput) EnvironmentSlug

func (o GetAppSpecJobOutput) EnvironmentSlug() pulumi.StringPtrOutput

An environment slug describing the type of this app.

func (GetAppSpecJobOutput) Envs

Describes an environment variable made available to an app competent.

func (GetAppSpecJobOutput) Git

A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of `git`, `github` or `gitlab` may be set.

func (GetAppSpecJobOutput) Github

A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.

func (GetAppSpecJobOutput) Gitlab

A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.

func (GetAppSpecJobOutput) Image

An image to use as the component's source. Only one of `git`, `github`, `gitlab`, or `image` may be set.

func (GetAppSpecJobOutput) InstanceCount

func (o GetAppSpecJobOutput) InstanceCount() pulumi.IntPtrOutput

The amount of instances that this component should be scaled to.

func (GetAppSpecJobOutput) InstanceSizeSlug

func (o GetAppSpecJobOutput) InstanceSizeSlug() pulumi.StringPtrOutput

The instance size to use for this component.

func (GetAppSpecJobOutput) Kind

The type of job and when it will be run during the deployment process. It may be one of:

func (GetAppSpecJobOutput) LogDestinations added in v4.12.0

Describes a log forwarding destination.

func (GetAppSpecJobOutput) Name

The name of the component.

func (GetAppSpecJobOutput) RunCommand

An optional run command to override the component's default.

func (GetAppSpecJobOutput) SourceDir

An optional path to the working directory to use for the build.

func (GetAppSpecJobOutput) ToGetAppSpecJobOutput

func (o GetAppSpecJobOutput) ToGetAppSpecJobOutput() GetAppSpecJobOutput

func (GetAppSpecJobOutput) ToGetAppSpecJobOutputWithContext

func (o GetAppSpecJobOutput) ToGetAppSpecJobOutputWithContext(ctx context.Context) GetAppSpecJobOutput

type GetAppSpecOutput

type GetAppSpecOutput struct{ *pulumi.OutputState }

func (GetAppSpecOutput) Alerts added in v4.12.0

Describes an alert policy for the component.

func (GetAppSpecOutput) Databases

func (GetAppSpecOutput) Domain added in v4.18.0

func (GetAppSpecOutput) Domains deprecated

Deprecated: This attribute has been replaced by `domain` which supports additional functionality.

func (GetAppSpecOutput) ElementType

func (GetAppSpecOutput) ElementType() reflect.Type

func (GetAppSpecOutput) Envs

Describes an environment variable made available to an app competent.

func (GetAppSpecOutput) Features added in v4.24.0

List of features which is applied to the app

func (GetAppSpecOutput) Functions added in v4.13.0

func (GetAppSpecOutput) Ingress added in v4.23.0

func (GetAppSpecOutput) Jobs

func (GetAppSpecOutput) Name

The name of the component.

func (GetAppSpecOutput) Region

The slug for the DigitalOcean data center region hosting the app

func (GetAppSpecOutput) Services

func (GetAppSpecOutput) StaticSites

func (GetAppSpecOutput) ToGetAppSpecOutput

func (o GetAppSpecOutput) ToGetAppSpecOutput() GetAppSpecOutput

func (GetAppSpecOutput) ToGetAppSpecOutputWithContext

func (o GetAppSpecOutput) ToGetAppSpecOutputWithContext(ctx context.Context) GetAppSpecOutput

func (GetAppSpecOutput) Workers

type GetAppSpecService

type GetAppSpecService struct {
	// Describes an alert policy for the component.
	Alerts []GetAppSpecServiceAlert `pulumi:"alerts"`
	// An optional build command to run while building this component from source.
	BuildCommand *string `pulumi:"buildCommand"`
	// The [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies of the app.
	//
	// Deprecated: Service level CORS rules are deprecated in favor of ingresses
	Cors *GetAppSpecServiceCors `pulumi:"cors"`
	// The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
	DockerfilePath *string `pulumi:"dockerfilePath"`
	// An environment slug describing the type of this app.
	EnvironmentSlug *string `pulumi:"environmentSlug"`
	// Describes an environment variable made available to an app competent.
	Envs []GetAppSpecServiceEnv `pulumi:"envs"`
	// A Git repo to use as the component's source. The repository must be able to be cloned without authentication.  Only one of `git`, `github` or `gitlab`  may be set.
	Git *GetAppSpecServiceGit `pulumi:"git"`
	// A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Github *GetAppSpecServiceGithub `pulumi:"github"`
	// A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Gitlab *GetAppSpecServiceGitlab `pulumi:"gitlab"`
	// A health check to determine the availability of this component.
	HealthCheck *GetAppSpecServiceHealthCheck `pulumi:"healthCheck"`
	// The internal port on which this service's run command will listen.
	HttpPort int `pulumi:"httpPort"`
	// An image to use as the component's source. Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Image *GetAppSpecServiceImage `pulumi:"image"`
	// The amount of instances that this component should be scaled to.
	InstanceCount *int `pulumi:"instanceCount"`
	// The instance size to use for this component.
	InstanceSizeSlug *string `pulumi:"instanceSizeSlug"`
	// A list of ports on which this service will listen for internal traffic.
	InternalPorts []int `pulumi:"internalPorts"`
	// Describes a log forwarding destination.
	LogDestinations []GetAppSpecServiceLogDestination `pulumi:"logDestinations"`
	// The name of the component.
	Name string `pulumi:"name"`
	// Deprecated: Service level routes are deprecated in favor of ingresses
	Routes []GetAppSpecServiceRoute `pulumi:"routes"`
	// An optional run command to override the component's default.
	RunCommand string `pulumi:"runCommand"`
	// An optional path to the working directory to use for the build.
	SourceDir *string `pulumi:"sourceDir"`
}

type GetAppSpecServiceAlert added in v4.12.0

type GetAppSpecServiceAlert struct {
	// Determines whether or not the alert is disabled (default: `false`).
	Disabled *bool `pulumi:"disabled"`
	// The operator to use. This is either of `GREATER_THAN` or `LESS_THAN`.
	Operator string `pulumi:"operator"`
	// The type of the alert to configure. Component app alert policies can be: `CPU_UTILIZATION`, `MEM_UTILIZATION`, or `RESTART_COUNT`.
	Rule string `pulumi:"rule"`
	// The threshold for the type of the warning.
	Value float64 `pulumi:"value"`
	// The time before alerts should be triggered. This is may be one of: `FIVE_MINUTES`, `TEN_MINUTES`, `THIRTY_MINUTES`, `ONE_HOUR`.
	Window string `pulumi:"window"`
}

type GetAppSpecServiceAlertArgs added in v4.12.0

type GetAppSpecServiceAlertArgs struct {
	// Determines whether or not the alert is disabled (default: `false`).
	Disabled pulumi.BoolPtrInput `pulumi:"disabled"`
	// The operator to use. This is either of `GREATER_THAN` or `LESS_THAN`.
	Operator pulumi.StringInput `pulumi:"operator"`
	// The type of the alert to configure. Component app alert policies can be: `CPU_UTILIZATION`, `MEM_UTILIZATION`, or `RESTART_COUNT`.
	Rule pulumi.StringInput `pulumi:"rule"`
	// The threshold for the type of the warning.
	Value pulumi.Float64Input `pulumi:"value"`
	// The time before alerts should be triggered. This is may be one of: `FIVE_MINUTES`, `TEN_MINUTES`, `THIRTY_MINUTES`, `ONE_HOUR`.
	Window pulumi.StringInput `pulumi:"window"`
}

func (GetAppSpecServiceAlertArgs) ElementType added in v4.12.0

func (GetAppSpecServiceAlertArgs) ElementType() reflect.Type

func (GetAppSpecServiceAlertArgs) ToGetAppSpecServiceAlertOutput added in v4.12.0

func (i GetAppSpecServiceAlertArgs) ToGetAppSpecServiceAlertOutput() GetAppSpecServiceAlertOutput

func (GetAppSpecServiceAlertArgs) ToGetAppSpecServiceAlertOutputWithContext added in v4.12.0

func (i GetAppSpecServiceAlertArgs) ToGetAppSpecServiceAlertOutputWithContext(ctx context.Context) GetAppSpecServiceAlertOutput

type GetAppSpecServiceAlertArray added in v4.12.0

type GetAppSpecServiceAlertArray []GetAppSpecServiceAlertInput

func (GetAppSpecServiceAlertArray) ElementType added in v4.12.0

func (GetAppSpecServiceAlertArray) ToGetAppSpecServiceAlertArrayOutput added in v4.12.0

func (i GetAppSpecServiceAlertArray) ToGetAppSpecServiceAlertArrayOutput() GetAppSpecServiceAlertArrayOutput

func (GetAppSpecServiceAlertArray) ToGetAppSpecServiceAlertArrayOutputWithContext added in v4.12.0

func (i GetAppSpecServiceAlertArray) ToGetAppSpecServiceAlertArrayOutputWithContext(ctx context.Context) GetAppSpecServiceAlertArrayOutput

type GetAppSpecServiceAlertArrayInput added in v4.12.0

type GetAppSpecServiceAlertArrayInput interface {
	pulumi.Input

	ToGetAppSpecServiceAlertArrayOutput() GetAppSpecServiceAlertArrayOutput
	ToGetAppSpecServiceAlertArrayOutputWithContext(context.Context) GetAppSpecServiceAlertArrayOutput
}

GetAppSpecServiceAlertArrayInput is an input type that accepts GetAppSpecServiceAlertArray and GetAppSpecServiceAlertArrayOutput values. You can construct a concrete instance of `GetAppSpecServiceAlertArrayInput` via:

GetAppSpecServiceAlertArray{ GetAppSpecServiceAlertArgs{...} }

type GetAppSpecServiceAlertArrayOutput added in v4.12.0

type GetAppSpecServiceAlertArrayOutput struct{ *pulumi.OutputState }

func (GetAppSpecServiceAlertArrayOutput) ElementType added in v4.12.0

func (GetAppSpecServiceAlertArrayOutput) Index added in v4.12.0

func (GetAppSpecServiceAlertArrayOutput) ToGetAppSpecServiceAlertArrayOutput added in v4.12.0

func (o GetAppSpecServiceAlertArrayOutput) ToGetAppSpecServiceAlertArrayOutput() GetAppSpecServiceAlertArrayOutput

func (GetAppSpecServiceAlertArrayOutput) ToGetAppSpecServiceAlertArrayOutputWithContext added in v4.12.0

func (o GetAppSpecServiceAlertArrayOutput) ToGetAppSpecServiceAlertArrayOutputWithContext(ctx context.Context) GetAppSpecServiceAlertArrayOutput

type GetAppSpecServiceAlertInput added in v4.12.0

type GetAppSpecServiceAlertInput interface {
	pulumi.Input

	ToGetAppSpecServiceAlertOutput() GetAppSpecServiceAlertOutput
	ToGetAppSpecServiceAlertOutputWithContext(context.Context) GetAppSpecServiceAlertOutput
}

GetAppSpecServiceAlertInput is an input type that accepts GetAppSpecServiceAlertArgs and GetAppSpecServiceAlertOutput values. You can construct a concrete instance of `GetAppSpecServiceAlertInput` via:

GetAppSpecServiceAlertArgs{...}

type GetAppSpecServiceAlertOutput added in v4.12.0

type GetAppSpecServiceAlertOutput struct{ *pulumi.OutputState }

func (GetAppSpecServiceAlertOutput) Disabled added in v4.12.0

Determines whether or not the alert is disabled (default: `false`).

func (GetAppSpecServiceAlertOutput) ElementType added in v4.12.0

func (GetAppSpecServiceAlertOutput) Operator added in v4.12.0

The operator to use. This is either of `GREATER_THAN` or `LESS_THAN`.

func (GetAppSpecServiceAlertOutput) Rule added in v4.12.0

The type of the alert to configure. Component app alert policies can be: `CPU_UTILIZATION`, `MEM_UTILIZATION`, or `RESTART_COUNT`.

func (GetAppSpecServiceAlertOutput) ToGetAppSpecServiceAlertOutput added in v4.12.0

func (o GetAppSpecServiceAlertOutput) ToGetAppSpecServiceAlertOutput() GetAppSpecServiceAlertOutput

func (GetAppSpecServiceAlertOutput) ToGetAppSpecServiceAlertOutputWithContext added in v4.12.0

func (o GetAppSpecServiceAlertOutput) ToGetAppSpecServiceAlertOutputWithContext(ctx context.Context) GetAppSpecServiceAlertOutput

func (GetAppSpecServiceAlertOutput) Value added in v4.12.0

The threshold for the type of the warning.

func (GetAppSpecServiceAlertOutput) Window added in v4.12.0

The time before alerts should be triggered. This is may be one of: `FIVE_MINUTES`, `TEN_MINUTES`, `THIRTY_MINUTES`, `ONE_HOUR`.

type GetAppSpecServiceArgs

type GetAppSpecServiceArgs struct {
	// Describes an alert policy for the component.
	Alerts GetAppSpecServiceAlertArrayInput `pulumi:"alerts"`
	// An optional build command to run while building this component from source.
	BuildCommand pulumi.StringPtrInput `pulumi:"buildCommand"`
	// The [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies of the app.
	//
	// Deprecated: Service level CORS rules are deprecated in favor of ingresses
	Cors GetAppSpecServiceCorsPtrInput `pulumi:"cors"`
	// The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
	DockerfilePath pulumi.StringPtrInput `pulumi:"dockerfilePath"`
	// An environment slug describing the type of this app.
	EnvironmentSlug pulumi.StringPtrInput `pulumi:"environmentSlug"`
	// Describes an environment variable made available to an app competent.
	Envs GetAppSpecServiceEnvArrayInput `pulumi:"envs"`
	// A Git repo to use as the component's source. The repository must be able to be cloned without authentication.  Only one of `git`, `github` or `gitlab`  may be set.
	Git GetAppSpecServiceGitPtrInput `pulumi:"git"`
	// A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Github GetAppSpecServiceGithubPtrInput `pulumi:"github"`
	// A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Gitlab GetAppSpecServiceGitlabPtrInput `pulumi:"gitlab"`
	// A health check to determine the availability of this component.
	HealthCheck GetAppSpecServiceHealthCheckPtrInput `pulumi:"healthCheck"`
	// The internal port on which this service's run command will listen.
	HttpPort pulumi.IntInput `pulumi:"httpPort"`
	// An image to use as the component's source. Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Image GetAppSpecServiceImagePtrInput `pulumi:"image"`
	// The amount of instances that this component should be scaled to.
	InstanceCount pulumi.IntPtrInput `pulumi:"instanceCount"`
	// The instance size to use for this component.
	InstanceSizeSlug pulumi.StringPtrInput `pulumi:"instanceSizeSlug"`
	// A list of ports on which this service will listen for internal traffic.
	InternalPorts pulumi.IntArrayInput `pulumi:"internalPorts"`
	// Describes a log forwarding destination.
	LogDestinations GetAppSpecServiceLogDestinationArrayInput `pulumi:"logDestinations"`
	// The name of the component.
	Name pulumi.StringInput `pulumi:"name"`
	// Deprecated: Service level routes are deprecated in favor of ingresses
	Routes GetAppSpecServiceRouteArrayInput `pulumi:"routes"`
	// An optional run command to override the component's default.
	RunCommand pulumi.StringInput `pulumi:"runCommand"`
	// An optional path to the working directory to use for the build.
	SourceDir pulumi.StringPtrInput `pulumi:"sourceDir"`
}

func (GetAppSpecServiceArgs) ElementType

func (GetAppSpecServiceArgs) ElementType() reflect.Type

func (GetAppSpecServiceArgs) ToGetAppSpecServiceOutput

func (i GetAppSpecServiceArgs) ToGetAppSpecServiceOutput() GetAppSpecServiceOutput

func (GetAppSpecServiceArgs) ToGetAppSpecServiceOutputWithContext

func (i GetAppSpecServiceArgs) ToGetAppSpecServiceOutputWithContext(ctx context.Context) GetAppSpecServiceOutput

type GetAppSpecServiceArray

type GetAppSpecServiceArray []GetAppSpecServiceInput

func (GetAppSpecServiceArray) ElementType

func (GetAppSpecServiceArray) ElementType() reflect.Type

func (GetAppSpecServiceArray) ToGetAppSpecServiceArrayOutput

func (i GetAppSpecServiceArray) ToGetAppSpecServiceArrayOutput() GetAppSpecServiceArrayOutput

func (GetAppSpecServiceArray) ToGetAppSpecServiceArrayOutputWithContext

func (i GetAppSpecServiceArray) ToGetAppSpecServiceArrayOutputWithContext(ctx context.Context) GetAppSpecServiceArrayOutput

type GetAppSpecServiceArrayInput

type GetAppSpecServiceArrayInput interface {
	pulumi.Input

	ToGetAppSpecServiceArrayOutput() GetAppSpecServiceArrayOutput
	ToGetAppSpecServiceArrayOutputWithContext(context.Context) GetAppSpecServiceArrayOutput
}

GetAppSpecServiceArrayInput is an input type that accepts GetAppSpecServiceArray and GetAppSpecServiceArrayOutput values. You can construct a concrete instance of `GetAppSpecServiceArrayInput` via:

GetAppSpecServiceArray{ GetAppSpecServiceArgs{...} }

type GetAppSpecServiceArrayOutput

type GetAppSpecServiceArrayOutput struct{ *pulumi.OutputState }

func (GetAppSpecServiceArrayOutput) ElementType

func (GetAppSpecServiceArrayOutput) Index

func (GetAppSpecServiceArrayOutput) ToGetAppSpecServiceArrayOutput

func (o GetAppSpecServiceArrayOutput) ToGetAppSpecServiceArrayOutput() GetAppSpecServiceArrayOutput

func (GetAppSpecServiceArrayOutput) ToGetAppSpecServiceArrayOutputWithContext

func (o GetAppSpecServiceArrayOutput) ToGetAppSpecServiceArrayOutputWithContext(ctx context.Context) GetAppSpecServiceArrayOutput

type GetAppSpecServiceCors added in v4.7.0

type GetAppSpecServiceCors struct {
	// Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is `include`. This configures the `Access-Control-Allow-Credentials` header.
	AllowCredentials *bool `pulumi:"allowCredentials"`
	// The set of allowed HTTP request headers. This configures the `Access-Control-Allow-Headers` header.
	AllowHeaders []string `pulumi:"allowHeaders"`
	// The set of allowed HTTP methods. This configures the `Access-Control-Allow-Methods` header.
	AllowMethods []string `pulumi:"allowMethods"`
	// The `Access-Control-Allow-Origin` can be
	AllowOrigins *GetAppSpecServiceCorsAllowOrigins `pulumi:"allowOrigins"`
	// The set of HTTP response headers that browsers are allowed to access. This configures the `Access-Control-Expose-Headers` header.
	ExposeHeaders []string `pulumi:"exposeHeaders"`
	// An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: `5h30m`.
	MaxAge *string `pulumi:"maxAge"`
}

type GetAppSpecServiceCorsAllowOrigins added in v4.7.0

type GetAppSpecServiceCorsAllowOrigins struct {
	// The `Access-Control-Allow-Origin` header will be set to the client's origin only if the client's origin exactly matches the value you provide.
	Exact *string `pulumi:"exact"`
	// The `Access-Control-Allow-Origin` header will be set to the client's origin if the beginning of the client's origin matches the value you provide.
	Prefix *string `pulumi:"prefix"`
	// The `Access-Control-Allow-Origin` header will be set to the client's origin if the client’s origin matches the regex you provide, in [RE2 style syntax](https://github.com/google/re2/wiki/Syntax).
	Regex *string `pulumi:"regex"`
}

type GetAppSpecServiceCorsAllowOriginsArgs added in v4.7.0

type GetAppSpecServiceCorsAllowOriginsArgs struct {
	// The `Access-Control-Allow-Origin` header will be set to the client's origin only if the client's origin exactly matches the value you provide.
	Exact pulumi.StringPtrInput `pulumi:"exact"`
	// The `Access-Control-Allow-Origin` header will be set to the client's origin if the beginning of the client's origin matches the value you provide.
	Prefix pulumi.StringPtrInput `pulumi:"prefix"`
	// The `Access-Control-Allow-Origin` header will be set to the client's origin if the client’s origin matches the regex you provide, in [RE2 style syntax](https://github.com/google/re2/wiki/Syntax).
	Regex pulumi.StringPtrInput `pulumi:"regex"`
}

func (GetAppSpecServiceCorsAllowOriginsArgs) ElementType added in v4.7.0

func (GetAppSpecServiceCorsAllowOriginsArgs) ToGetAppSpecServiceCorsAllowOriginsOutput added in v4.7.0

func (i GetAppSpecServiceCorsAllowOriginsArgs) ToGetAppSpecServiceCorsAllowOriginsOutput() GetAppSpecServiceCorsAllowOriginsOutput

func (GetAppSpecServiceCorsAllowOriginsArgs) ToGetAppSpecServiceCorsAllowOriginsOutputWithContext added in v4.7.0

func (i GetAppSpecServiceCorsAllowOriginsArgs) ToGetAppSpecServiceCorsAllowOriginsOutputWithContext(ctx context.Context) GetAppSpecServiceCorsAllowOriginsOutput

func (GetAppSpecServiceCorsAllowOriginsArgs) ToGetAppSpecServiceCorsAllowOriginsPtrOutput added in v4.7.0

func (i GetAppSpecServiceCorsAllowOriginsArgs) ToGetAppSpecServiceCorsAllowOriginsPtrOutput() GetAppSpecServiceCorsAllowOriginsPtrOutput

func (GetAppSpecServiceCorsAllowOriginsArgs) ToGetAppSpecServiceCorsAllowOriginsPtrOutputWithContext added in v4.7.0

func (i GetAppSpecServiceCorsAllowOriginsArgs) ToGetAppSpecServiceCorsAllowOriginsPtrOutputWithContext(ctx context.Context) GetAppSpecServiceCorsAllowOriginsPtrOutput

type GetAppSpecServiceCorsAllowOriginsInput added in v4.7.0

type GetAppSpecServiceCorsAllowOriginsInput interface {
	pulumi.Input

	ToGetAppSpecServiceCorsAllowOriginsOutput() GetAppSpecServiceCorsAllowOriginsOutput
	ToGetAppSpecServiceCorsAllowOriginsOutputWithContext(context.Context) GetAppSpecServiceCorsAllowOriginsOutput
}

GetAppSpecServiceCorsAllowOriginsInput is an input type that accepts GetAppSpecServiceCorsAllowOriginsArgs and GetAppSpecServiceCorsAllowOriginsOutput values. You can construct a concrete instance of `GetAppSpecServiceCorsAllowOriginsInput` via:

GetAppSpecServiceCorsAllowOriginsArgs{...}

type GetAppSpecServiceCorsAllowOriginsOutput added in v4.7.0

type GetAppSpecServiceCorsAllowOriginsOutput struct{ *pulumi.OutputState }

func (GetAppSpecServiceCorsAllowOriginsOutput) ElementType added in v4.7.0

func (GetAppSpecServiceCorsAllowOriginsOutput) Exact added in v4.7.0

The `Access-Control-Allow-Origin` header will be set to the client's origin only if the client's origin exactly matches the value you provide.

func (GetAppSpecServiceCorsAllowOriginsOutput) Prefix added in v4.7.0

The `Access-Control-Allow-Origin` header will be set to the client's origin if the beginning of the client's origin matches the value you provide.

func (GetAppSpecServiceCorsAllowOriginsOutput) Regex added in v4.7.0

The `Access-Control-Allow-Origin` header will be set to the client's origin if the client’s origin matches the regex you provide, in [RE2 style syntax](https://github.com/google/re2/wiki/Syntax).

func (GetAppSpecServiceCorsAllowOriginsOutput) ToGetAppSpecServiceCorsAllowOriginsOutput added in v4.7.0

func (o GetAppSpecServiceCorsAllowOriginsOutput) ToGetAppSpecServiceCorsAllowOriginsOutput() GetAppSpecServiceCorsAllowOriginsOutput

func (GetAppSpecServiceCorsAllowOriginsOutput) ToGetAppSpecServiceCorsAllowOriginsOutputWithContext added in v4.7.0

func (o GetAppSpecServiceCorsAllowOriginsOutput) ToGetAppSpecServiceCorsAllowOriginsOutputWithContext(ctx context.Context) GetAppSpecServiceCorsAllowOriginsOutput

func (GetAppSpecServiceCorsAllowOriginsOutput) ToGetAppSpecServiceCorsAllowOriginsPtrOutput added in v4.7.0

func (o GetAppSpecServiceCorsAllowOriginsOutput) ToGetAppSpecServiceCorsAllowOriginsPtrOutput() GetAppSpecServiceCorsAllowOriginsPtrOutput

func (GetAppSpecServiceCorsAllowOriginsOutput) ToGetAppSpecServiceCorsAllowOriginsPtrOutputWithContext added in v4.7.0

func (o GetAppSpecServiceCorsAllowOriginsOutput) ToGetAppSpecServiceCorsAllowOriginsPtrOutputWithContext(ctx context.Context) GetAppSpecServiceCorsAllowOriginsPtrOutput

type GetAppSpecServiceCorsAllowOriginsPtrInput added in v4.7.0

type GetAppSpecServiceCorsAllowOriginsPtrInput interface {
	pulumi.Input

	ToGetAppSpecServiceCorsAllowOriginsPtrOutput() GetAppSpecServiceCorsAllowOriginsPtrOutput
	ToGetAppSpecServiceCorsAllowOriginsPtrOutputWithContext(context.Context) GetAppSpecServiceCorsAllowOriginsPtrOutput
}

GetAppSpecServiceCorsAllowOriginsPtrInput is an input type that accepts GetAppSpecServiceCorsAllowOriginsArgs, GetAppSpecServiceCorsAllowOriginsPtr and GetAppSpecServiceCorsAllowOriginsPtrOutput values. You can construct a concrete instance of `GetAppSpecServiceCorsAllowOriginsPtrInput` via:

        GetAppSpecServiceCorsAllowOriginsArgs{...}

or:

        nil

type GetAppSpecServiceCorsAllowOriginsPtrOutput added in v4.7.0

type GetAppSpecServiceCorsAllowOriginsPtrOutput struct{ *pulumi.OutputState }

func (GetAppSpecServiceCorsAllowOriginsPtrOutput) Elem added in v4.7.0

func (GetAppSpecServiceCorsAllowOriginsPtrOutput) ElementType added in v4.7.0

func (GetAppSpecServiceCorsAllowOriginsPtrOutput) Exact added in v4.7.0

The `Access-Control-Allow-Origin` header will be set to the client's origin only if the client's origin exactly matches the value you provide.

func (GetAppSpecServiceCorsAllowOriginsPtrOutput) Prefix added in v4.7.0

The `Access-Control-Allow-Origin` header will be set to the client's origin if the beginning of the client's origin matches the value you provide.

func (GetAppSpecServiceCorsAllowOriginsPtrOutput) Regex added in v4.7.0

The `Access-Control-Allow-Origin` header will be set to the client's origin if the client’s origin matches the regex you provide, in [RE2 style syntax](https://github.com/google/re2/wiki/Syntax).

func (GetAppSpecServiceCorsAllowOriginsPtrOutput) ToGetAppSpecServiceCorsAllowOriginsPtrOutput added in v4.7.0

func (o GetAppSpecServiceCorsAllowOriginsPtrOutput) ToGetAppSpecServiceCorsAllowOriginsPtrOutput() GetAppSpecServiceCorsAllowOriginsPtrOutput

func (GetAppSpecServiceCorsAllowOriginsPtrOutput) ToGetAppSpecServiceCorsAllowOriginsPtrOutputWithContext added in v4.7.0

func (o GetAppSpecServiceCorsAllowOriginsPtrOutput) ToGetAppSpecServiceCorsAllowOriginsPtrOutputWithContext(ctx context.Context) GetAppSpecServiceCorsAllowOriginsPtrOutput

type GetAppSpecServiceCorsArgs added in v4.7.0

type GetAppSpecServiceCorsArgs struct {
	// Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is `include`. This configures the `Access-Control-Allow-Credentials` header.
	AllowCredentials pulumi.BoolPtrInput `pulumi:"allowCredentials"`
	// The set of allowed HTTP request headers. This configures the `Access-Control-Allow-Headers` header.
	AllowHeaders pulumi.StringArrayInput `pulumi:"allowHeaders"`
	// The set of allowed HTTP methods. This configures the `Access-Control-Allow-Methods` header.
	AllowMethods pulumi.StringArrayInput `pulumi:"allowMethods"`
	// The `Access-Control-Allow-Origin` can be
	AllowOrigins GetAppSpecServiceCorsAllowOriginsPtrInput `pulumi:"allowOrigins"`
	// The set of HTTP response headers that browsers are allowed to access. This configures the `Access-Control-Expose-Headers` header.
	ExposeHeaders pulumi.StringArrayInput `pulumi:"exposeHeaders"`
	// An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: `5h30m`.
	MaxAge pulumi.StringPtrInput `pulumi:"maxAge"`
}

func (GetAppSpecServiceCorsArgs) ElementType added in v4.7.0

func (GetAppSpecServiceCorsArgs) ElementType() reflect.Type

func (GetAppSpecServiceCorsArgs) ToGetAppSpecServiceCorsOutput added in v4.7.0

func (i GetAppSpecServiceCorsArgs) ToGetAppSpecServiceCorsOutput() GetAppSpecServiceCorsOutput

func (GetAppSpecServiceCorsArgs) ToGetAppSpecServiceCorsOutputWithContext added in v4.7.0

func (i GetAppSpecServiceCorsArgs) ToGetAppSpecServiceCorsOutputWithContext(ctx context.Context) GetAppSpecServiceCorsOutput

func (GetAppSpecServiceCorsArgs) ToGetAppSpecServiceCorsPtrOutput added in v4.7.0

func (i GetAppSpecServiceCorsArgs) ToGetAppSpecServiceCorsPtrOutput() GetAppSpecServiceCorsPtrOutput

func (GetAppSpecServiceCorsArgs) ToGetAppSpecServiceCorsPtrOutputWithContext added in v4.7.0

func (i GetAppSpecServiceCorsArgs) ToGetAppSpecServiceCorsPtrOutputWithContext(ctx context.Context) GetAppSpecServiceCorsPtrOutput

type GetAppSpecServiceCorsInput added in v4.7.0

type GetAppSpecServiceCorsInput interface {
	pulumi.Input

	ToGetAppSpecServiceCorsOutput() GetAppSpecServiceCorsOutput
	ToGetAppSpecServiceCorsOutputWithContext(context.Context) GetAppSpecServiceCorsOutput
}

GetAppSpecServiceCorsInput is an input type that accepts GetAppSpecServiceCorsArgs and GetAppSpecServiceCorsOutput values. You can construct a concrete instance of `GetAppSpecServiceCorsInput` via:

GetAppSpecServiceCorsArgs{...}

type GetAppSpecServiceCorsOutput added in v4.7.0

type GetAppSpecServiceCorsOutput struct{ *pulumi.OutputState }

func (GetAppSpecServiceCorsOutput) AllowCredentials added in v4.7.0

func (o GetAppSpecServiceCorsOutput) AllowCredentials() pulumi.BoolPtrOutput

Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is `include`. This configures the `Access-Control-Allow-Credentials` header.

func (GetAppSpecServiceCorsOutput) AllowHeaders added in v4.7.0

The set of allowed HTTP request headers. This configures the `Access-Control-Allow-Headers` header.

func (GetAppSpecServiceCorsOutput) AllowMethods added in v4.7.0

The set of allowed HTTP methods. This configures the `Access-Control-Allow-Methods` header.

func (GetAppSpecServiceCorsOutput) AllowOrigins added in v4.7.0

The `Access-Control-Allow-Origin` can be

func (GetAppSpecServiceCorsOutput) ElementType added in v4.7.0

func (GetAppSpecServiceCorsOutput) ExposeHeaders added in v4.7.0

The set of HTTP response headers that browsers are allowed to access. This configures the `Access-Control-Expose-Headers` header.

func (GetAppSpecServiceCorsOutput) MaxAge added in v4.7.0

An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: `5h30m`.

func (GetAppSpecServiceCorsOutput) ToGetAppSpecServiceCorsOutput added in v4.7.0

func (o GetAppSpecServiceCorsOutput) ToGetAppSpecServiceCorsOutput() GetAppSpecServiceCorsOutput

func (GetAppSpecServiceCorsOutput) ToGetAppSpecServiceCorsOutputWithContext added in v4.7.0

func (o GetAppSpecServiceCorsOutput) ToGetAppSpecServiceCorsOutputWithContext(ctx context.Context) GetAppSpecServiceCorsOutput

func (GetAppSpecServiceCorsOutput) ToGetAppSpecServiceCorsPtrOutput added in v4.7.0

func (o GetAppSpecServiceCorsOutput) ToGetAppSpecServiceCorsPtrOutput() GetAppSpecServiceCorsPtrOutput

func (GetAppSpecServiceCorsOutput) ToGetAppSpecServiceCorsPtrOutputWithContext added in v4.7.0

func (o GetAppSpecServiceCorsOutput) ToGetAppSpecServiceCorsPtrOutputWithContext(ctx context.Context) GetAppSpecServiceCorsPtrOutput

type GetAppSpecServiceCorsPtrInput added in v4.7.0

type GetAppSpecServiceCorsPtrInput interface {
	pulumi.Input

	ToGetAppSpecServiceCorsPtrOutput() GetAppSpecServiceCorsPtrOutput
	ToGetAppSpecServiceCorsPtrOutputWithContext(context.Context) GetAppSpecServiceCorsPtrOutput
}

GetAppSpecServiceCorsPtrInput is an input type that accepts GetAppSpecServiceCorsArgs, GetAppSpecServiceCorsPtr and GetAppSpecServiceCorsPtrOutput values. You can construct a concrete instance of `GetAppSpecServiceCorsPtrInput` via:

        GetAppSpecServiceCorsArgs{...}

or:

        nil

func GetAppSpecServiceCorsPtr added in v4.7.0

func GetAppSpecServiceCorsPtr(v *GetAppSpecServiceCorsArgs) GetAppSpecServiceCorsPtrInput

type GetAppSpecServiceCorsPtrOutput added in v4.7.0

type GetAppSpecServiceCorsPtrOutput struct{ *pulumi.OutputState }

func (GetAppSpecServiceCorsPtrOutput) AllowCredentials added in v4.7.0

Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is `include`. This configures the `Access-Control-Allow-Credentials` header.

func (GetAppSpecServiceCorsPtrOutput) AllowHeaders added in v4.7.0

The set of allowed HTTP request headers. This configures the `Access-Control-Allow-Headers` header.

func (GetAppSpecServiceCorsPtrOutput) AllowMethods added in v4.7.0

The set of allowed HTTP methods. This configures the `Access-Control-Allow-Methods` header.

func (GetAppSpecServiceCorsPtrOutput) AllowOrigins added in v4.7.0

The `Access-Control-Allow-Origin` can be

func (GetAppSpecServiceCorsPtrOutput) Elem added in v4.7.0

func (GetAppSpecServiceCorsPtrOutput) ElementType added in v4.7.0

func (GetAppSpecServiceCorsPtrOutput) ExposeHeaders added in v4.7.0

The set of HTTP response headers that browsers are allowed to access. This configures the `Access-Control-Expose-Headers` header.

func (GetAppSpecServiceCorsPtrOutput) MaxAge added in v4.7.0

An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: `5h30m`.

func (GetAppSpecServiceCorsPtrOutput) ToGetAppSpecServiceCorsPtrOutput added in v4.7.0

func (o GetAppSpecServiceCorsPtrOutput) ToGetAppSpecServiceCorsPtrOutput() GetAppSpecServiceCorsPtrOutput

func (GetAppSpecServiceCorsPtrOutput) ToGetAppSpecServiceCorsPtrOutputWithContext added in v4.7.0

func (o GetAppSpecServiceCorsPtrOutput) ToGetAppSpecServiceCorsPtrOutputWithContext(ctx context.Context) GetAppSpecServiceCorsPtrOutput

type GetAppSpecServiceEnv

type GetAppSpecServiceEnv struct {
	// The name of the environment variable.
	Key *string `pulumi:"key"`
	// The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).
	Scope *string `pulumi:"scope"`
	// The type of the environment variable, `GENERAL` or `SECRET`.
	Type string `pulumi:"type"`
	// The threshold for the type of the warning.
	Value *string `pulumi:"value"`
}

type GetAppSpecServiceEnvArgs

type GetAppSpecServiceEnvArgs struct {
	// The name of the environment variable.
	Key pulumi.StringPtrInput `pulumi:"key"`
	// The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).
	Scope pulumi.StringPtrInput `pulumi:"scope"`
	// The type of the environment variable, `GENERAL` or `SECRET`.
	Type pulumi.StringInput `pulumi:"type"`
	// The threshold for the type of the warning.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (GetAppSpecServiceEnvArgs) ElementType

func (GetAppSpecServiceEnvArgs) ElementType() reflect.Type

func (GetAppSpecServiceEnvArgs) ToGetAppSpecServiceEnvOutput

func (i GetAppSpecServiceEnvArgs) ToGetAppSpecServiceEnvOutput() GetAppSpecServiceEnvOutput

func (GetAppSpecServiceEnvArgs) ToGetAppSpecServiceEnvOutputWithContext

func (i GetAppSpecServiceEnvArgs) ToGetAppSpecServiceEnvOutputWithContext(ctx context.Context) GetAppSpecServiceEnvOutput

type GetAppSpecServiceEnvArray

type GetAppSpecServiceEnvArray []GetAppSpecServiceEnvInput

func (GetAppSpecServiceEnvArray) ElementType

func (GetAppSpecServiceEnvArray) ElementType() reflect.Type

func (GetAppSpecServiceEnvArray) ToGetAppSpecServiceEnvArrayOutput

func (i GetAppSpecServiceEnvArray) ToGetAppSpecServiceEnvArrayOutput() GetAppSpecServiceEnvArrayOutput

func (GetAppSpecServiceEnvArray) ToGetAppSpecServiceEnvArrayOutputWithContext

func (i GetAppSpecServiceEnvArray) ToGetAppSpecServiceEnvArrayOutputWithContext(ctx context.Context) GetAppSpecServiceEnvArrayOutput

type GetAppSpecServiceEnvArrayInput

type GetAppSpecServiceEnvArrayInput interface {
	pulumi.Input

	ToGetAppSpecServiceEnvArrayOutput() GetAppSpecServiceEnvArrayOutput
	ToGetAppSpecServiceEnvArrayOutputWithContext(context.Context) GetAppSpecServiceEnvArrayOutput
}

GetAppSpecServiceEnvArrayInput is an input type that accepts GetAppSpecServiceEnvArray and GetAppSpecServiceEnvArrayOutput values. You can construct a concrete instance of `GetAppSpecServiceEnvArrayInput` via:

GetAppSpecServiceEnvArray{ GetAppSpecServiceEnvArgs{...} }

type GetAppSpecServiceEnvArrayOutput

type GetAppSpecServiceEnvArrayOutput struct{ *pulumi.OutputState }

func (GetAppSpecServiceEnvArrayOutput) ElementType

func (GetAppSpecServiceEnvArrayOutput) Index

func (GetAppSpecServiceEnvArrayOutput) ToGetAppSpecServiceEnvArrayOutput

func (o GetAppSpecServiceEnvArrayOutput) ToGetAppSpecServiceEnvArrayOutput() GetAppSpecServiceEnvArrayOutput

func (GetAppSpecServiceEnvArrayOutput) ToGetAppSpecServiceEnvArrayOutputWithContext

func (o GetAppSpecServiceEnvArrayOutput) ToGetAppSpecServiceEnvArrayOutputWithContext(ctx context.Context) GetAppSpecServiceEnvArrayOutput

type GetAppSpecServiceEnvInput

type GetAppSpecServiceEnvInput interface {
	pulumi.Input

	ToGetAppSpecServiceEnvOutput() GetAppSpecServiceEnvOutput
	ToGetAppSpecServiceEnvOutputWithContext(context.Context) GetAppSpecServiceEnvOutput
}

GetAppSpecServiceEnvInput is an input type that accepts GetAppSpecServiceEnvArgs and GetAppSpecServiceEnvOutput values. You can construct a concrete instance of `GetAppSpecServiceEnvInput` via:

GetAppSpecServiceEnvArgs{...}

type GetAppSpecServiceEnvOutput

type GetAppSpecServiceEnvOutput struct{ *pulumi.OutputState }

func (GetAppSpecServiceEnvOutput) ElementType

func (GetAppSpecServiceEnvOutput) ElementType() reflect.Type

func (GetAppSpecServiceEnvOutput) Key

The name of the environment variable.

func (GetAppSpecServiceEnvOutput) Scope

The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).

func (GetAppSpecServiceEnvOutput) ToGetAppSpecServiceEnvOutput

func (o GetAppSpecServiceEnvOutput) ToGetAppSpecServiceEnvOutput() GetAppSpecServiceEnvOutput

func (GetAppSpecServiceEnvOutput) ToGetAppSpecServiceEnvOutputWithContext

func (o GetAppSpecServiceEnvOutput) ToGetAppSpecServiceEnvOutputWithContext(ctx context.Context) GetAppSpecServiceEnvOutput

func (GetAppSpecServiceEnvOutput) Type

The type of the environment variable, `GENERAL` or `SECRET`.

func (GetAppSpecServiceEnvOutput) Value

The threshold for the type of the warning.

type GetAppSpecServiceGit

type GetAppSpecServiceGit struct {
	// The name of the branch to use.
	Branch *string `pulumi:"branch"`
	// The clone URL of the repo.
	RepoCloneUrl *string `pulumi:"repoCloneUrl"`
}

type GetAppSpecServiceGitArgs

type GetAppSpecServiceGitArgs struct {
	// The name of the branch to use.
	Branch pulumi.StringPtrInput `pulumi:"branch"`
	// The clone URL of the repo.
	RepoCloneUrl pulumi.StringPtrInput `pulumi:"repoCloneUrl"`
}

func (GetAppSpecServiceGitArgs) ElementType

func (GetAppSpecServiceGitArgs) ElementType() reflect.Type

func (GetAppSpecServiceGitArgs) ToGetAppSpecServiceGitOutput

func (i GetAppSpecServiceGitArgs) ToGetAppSpecServiceGitOutput() GetAppSpecServiceGitOutput

func (GetAppSpecServiceGitArgs) ToGetAppSpecServiceGitOutputWithContext

func (i GetAppSpecServiceGitArgs) ToGetAppSpecServiceGitOutputWithContext(ctx context.Context) GetAppSpecServiceGitOutput

func (GetAppSpecServiceGitArgs) ToGetAppSpecServiceGitPtrOutput

func (i GetAppSpecServiceGitArgs) ToGetAppSpecServiceGitPtrOutput() GetAppSpecServiceGitPtrOutput

func (GetAppSpecServiceGitArgs) ToGetAppSpecServiceGitPtrOutputWithContext

func (i GetAppSpecServiceGitArgs) ToGetAppSpecServiceGitPtrOutputWithContext(ctx context.Context) GetAppSpecServiceGitPtrOutput

type GetAppSpecServiceGitInput

type GetAppSpecServiceGitInput interface {
	pulumi.Input

	ToGetAppSpecServiceGitOutput() GetAppSpecServiceGitOutput
	ToGetAppSpecServiceGitOutputWithContext(context.Context) GetAppSpecServiceGitOutput
}

GetAppSpecServiceGitInput is an input type that accepts GetAppSpecServiceGitArgs and GetAppSpecServiceGitOutput values. You can construct a concrete instance of `GetAppSpecServiceGitInput` via:

GetAppSpecServiceGitArgs{...}

type GetAppSpecServiceGitOutput

type GetAppSpecServiceGitOutput struct{ *pulumi.OutputState }

func (GetAppSpecServiceGitOutput) Branch

The name of the branch to use.

func (GetAppSpecServiceGitOutput) ElementType

func (GetAppSpecServiceGitOutput) ElementType() reflect.Type

func (GetAppSpecServiceGitOutput) RepoCloneUrl

The clone URL of the repo.

func (GetAppSpecServiceGitOutput) ToGetAppSpecServiceGitOutput

func (o GetAppSpecServiceGitOutput) ToGetAppSpecServiceGitOutput() GetAppSpecServiceGitOutput

func (GetAppSpecServiceGitOutput) ToGetAppSpecServiceGitOutputWithContext

func (o GetAppSpecServiceGitOutput) ToGetAppSpecServiceGitOutputWithContext(ctx context.Context) GetAppSpecServiceGitOutput

func (GetAppSpecServiceGitOutput) ToGetAppSpecServiceGitPtrOutput

func (o GetAppSpecServiceGitOutput) ToGetAppSpecServiceGitPtrOutput() GetAppSpecServiceGitPtrOutput

func (GetAppSpecServiceGitOutput) ToGetAppSpecServiceGitPtrOutputWithContext

func (o GetAppSpecServiceGitOutput) ToGetAppSpecServiceGitPtrOutputWithContext(ctx context.Context) GetAppSpecServiceGitPtrOutput

type GetAppSpecServiceGitPtrInput

type GetAppSpecServiceGitPtrInput interface {
	pulumi.Input

	ToGetAppSpecServiceGitPtrOutput() GetAppSpecServiceGitPtrOutput
	ToGetAppSpecServiceGitPtrOutputWithContext(context.Context) GetAppSpecServiceGitPtrOutput
}

GetAppSpecServiceGitPtrInput is an input type that accepts GetAppSpecServiceGitArgs, GetAppSpecServiceGitPtr and GetAppSpecServiceGitPtrOutput values. You can construct a concrete instance of `GetAppSpecServiceGitPtrInput` via:

        GetAppSpecServiceGitArgs{...}

or:

        nil

type GetAppSpecServiceGitPtrOutput

type GetAppSpecServiceGitPtrOutput struct{ *pulumi.OutputState }

func (GetAppSpecServiceGitPtrOutput) Branch

The name of the branch to use.

func (GetAppSpecServiceGitPtrOutput) Elem

func (GetAppSpecServiceGitPtrOutput) ElementType

func (GetAppSpecServiceGitPtrOutput) RepoCloneUrl

The clone URL of the repo.

func (GetAppSpecServiceGitPtrOutput) ToGetAppSpecServiceGitPtrOutput

func (o GetAppSpecServiceGitPtrOutput) ToGetAppSpecServiceGitPtrOutput() GetAppSpecServiceGitPtrOutput

func (GetAppSpecServiceGitPtrOutput) ToGetAppSpecServiceGitPtrOutputWithContext

func (o GetAppSpecServiceGitPtrOutput) ToGetAppSpecServiceGitPtrOutputWithContext(ctx context.Context) GetAppSpecServiceGitPtrOutput

type GetAppSpecServiceGithub

type GetAppSpecServiceGithub struct {
	// The name of the branch to use.
	Branch *string `pulumi:"branch"`
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPush *bool `pulumi:"deployOnPush"`
	// The name of the repo in the format `owner/repo`.
	Repo *string `pulumi:"repo"`
}

type GetAppSpecServiceGithubArgs

type GetAppSpecServiceGithubArgs struct {
	// The name of the branch to use.
	Branch pulumi.StringPtrInput `pulumi:"branch"`
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPush pulumi.BoolPtrInput `pulumi:"deployOnPush"`
	// The name of the repo in the format `owner/repo`.
	Repo pulumi.StringPtrInput `pulumi:"repo"`
}

func (GetAppSpecServiceGithubArgs) ElementType

func (GetAppSpecServiceGithubArgs) ToGetAppSpecServiceGithubOutput

func (i GetAppSpecServiceGithubArgs) ToGetAppSpecServiceGithubOutput() GetAppSpecServiceGithubOutput

func (GetAppSpecServiceGithubArgs) ToGetAppSpecServiceGithubOutputWithContext

func (i GetAppSpecServiceGithubArgs) ToGetAppSpecServiceGithubOutputWithContext(ctx context.Context) GetAppSpecServiceGithubOutput

func (GetAppSpecServiceGithubArgs) ToGetAppSpecServiceGithubPtrOutput

func (i GetAppSpecServiceGithubArgs) ToGetAppSpecServiceGithubPtrOutput() GetAppSpecServiceGithubPtrOutput

func (GetAppSpecServiceGithubArgs) ToGetAppSpecServiceGithubPtrOutputWithContext

func (i GetAppSpecServiceGithubArgs) ToGetAppSpecServiceGithubPtrOutputWithContext(ctx context.Context) GetAppSpecServiceGithubPtrOutput

type GetAppSpecServiceGithubInput

type GetAppSpecServiceGithubInput interface {
	pulumi.Input

	ToGetAppSpecServiceGithubOutput() GetAppSpecServiceGithubOutput
	ToGetAppSpecServiceGithubOutputWithContext(context.Context) GetAppSpecServiceGithubOutput
}

GetAppSpecServiceGithubInput is an input type that accepts GetAppSpecServiceGithubArgs and GetAppSpecServiceGithubOutput values. You can construct a concrete instance of `GetAppSpecServiceGithubInput` via:

GetAppSpecServiceGithubArgs{...}

type GetAppSpecServiceGithubOutput

type GetAppSpecServiceGithubOutput struct{ *pulumi.OutputState }

func (GetAppSpecServiceGithubOutput) Branch

The name of the branch to use.

func (GetAppSpecServiceGithubOutput) DeployOnPush

Whether to automatically deploy new commits made to the repo.

func (GetAppSpecServiceGithubOutput) ElementType

func (GetAppSpecServiceGithubOutput) Repo

The name of the repo in the format `owner/repo`.

func (GetAppSpecServiceGithubOutput) ToGetAppSpecServiceGithubOutput

func (o GetAppSpecServiceGithubOutput) ToGetAppSpecServiceGithubOutput() GetAppSpecServiceGithubOutput

func (GetAppSpecServiceGithubOutput) ToGetAppSpecServiceGithubOutputWithContext

func (o GetAppSpecServiceGithubOutput) ToGetAppSpecServiceGithubOutputWithContext(ctx context.Context) GetAppSpecServiceGithubOutput

func (GetAppSpecServiceGithubOutput) ToGetAppSpecServiceGithubPtrOutput

func (o GetAppSpecServiceGithubOutput) ToGetAppSpecServiceGithubPtrOutput() GetAppSpecServiceGithubPtrOutput

func (GetAppSpecServiceGithubOutput) ToGetAppSpecServiceGithubPtrOutputWithContext

func (o GetAppSpecServiceGithubOutput) ToGetAppSpecServiceGithubPtrOutputWithContext(ctx context.Context) GetAppSpecServiceGithubPtrOutput

type GetAppSpecServiceGithubPtrInput

type GetAppSpecServiceGithubPtrInput interface {
	pulumi.Input

	ToGetAppSpecServiceGithubPtrOutput() GetAppSpecServiceGithubPtrOutput
	ToGetAppSpecServiceGithubPtrOutputWithContext(context.Context) GetAppSpecServiceGithubPtrOutput
}

GetAppSpecServiceGithubPtrInput is an input type that accepts GetAppSpecServiceGithubArgs, GetAppSpecServiceGithubPtr and GetAppSpecServiceGithubPtrOutput values. You can construct a concrete instance of `GetAppSpecServiceGithubPtrInput` via:

        GetAppSpecServiceGithubArgs{...}

or:

        nil

type GetAppSpecServiceGithubPtrOutput

type GetAppSpecServiceGithubPtrOutput struct{ *pulumi.OutputState }

func (GetAppSpecServiceGithubPtrOutput) Branch

The name of the branch to use.

func (GetAppSpecServiceGithubPtrOutput) DeployOnPush

Whether to automatically deploy new commits made to the repo.

func (GetAppSpecServiceGithubPtrOutput) Elem

func (GetAppSpecServiceGithubPtrOutput) ElementType

func (GetAppSpecServiceGithubPtrOutput) Repo

The name of the repo in the format `owner/repo`.

func (GetAppSpecServiceGithubPtrOutput) ToGetAppSpecServiceGithubPtrOutput

func (o GetAppSpecServiceGithubPtrOutput) ToGetAppSpecServiceGithubPtrOutput() GetAppSpecServiceGithubPtrOutput

func (GetAppSpecServiceGithubPtrOutput) ToGetAppSpecServiceGithubPtrOutputWithContext

func (o GetAppSpecServiceGithubPtrOutput) ToGetAppSpecServiceGithubPtrOutputWithContext(ctx context.Context) GetAppSpecServiceGithubPtrOutput

type GetAppSpecServiceGitlab

type GetAppSpecServiceGitlab struct {
	// The name of the branch to use.
	Branch *string `pulumi:"branch"`
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPush *bool `pulumi:"deployOnPush"`
	// The name of the repo in the format `owner/repo`.
	Repo *string `pulumi:"repo"`
}

type GetAppSpecServiceGitlabArgs

type GetAppSpecServiceGitlabArgs struct {
	// The name of the branch to use.
	Branch pulumi.StringPtrInput `pulumi:"branch"`
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPush pulumi.BoolPtrInput `pulumi:"deployOnPush"`
	// The name of the repo in the format `owner/repo`.
	Repo pulumi.StringPtrInput `pulumi:"repo"`
}

func (GetAppSpecServiceGitlabArgs) ElementType

func (GetAppSpecServiceGitlabArgs) ToGetAppSpecServiceGitlabOutput

func (i GetAppSpecServiceGitlabArgs) ToGetAppSpecServiceGitlabOutput() GetAppSpecServiceGitlabOutput

func (GetAppSpecServiceGitlabArgs) ToGetAppSpecServiceGitlabOutputWithContext

func (i GetAppSpecServiceGitlabArgs) ToGetAppSpecServiceGitlabOutputWithContext(ctx context.Context) GetAppSpecServiceGitlabOutput

func (GetAppSpecServiceGitlabArgs) ToGetAppSpecServiceGitlabPtrOutput

func (i GetAppSpecServiceGitlabArgs) ToGetAppSpecServiceGitlabPtrOutput() GetAppSpecServiceGitlabPtrOutput

func (GetAppSpecServiceGitlabArgs) ToGetAppSpecServiceGitlabPtrOutputWithContext

func (i GetAppSpecServiceGitlabArgs) ToGetAppSpecServiceGitlabPtrOutputWithContext(ctx context.Context) GetAppSpecServiceGitlabPtrOutput

type GetAppSpecServiceGitlabInput

type GetAppSpecServiceGitlabInput interface {
	pulumi.Input

	ToGetAppSpecServiceGitlabOutput() GetAppSpecServiceGitlabOutput
	ToGetAppSpecServiceGitlabOutputWithContext(context.Context) GetAppSpecServiceGitlabOutput
}

GetAppSpecServiceGitlabInput is an input type that accepts GetAppSpecServiceGitlabArgs and GetAppSpecServiceGitlabOutput values. You can construct a concrete instance of `GetAppSpecServiceGitlabInput` via:

GetAppSpecServiceGitlabArgs{...}

type GetAppSpecServiceGitlabOutput

type GetAppSpecServiceGitlabOutput struct{ *pulumi.OutputState }

func (GetAppSpecServiceGitlabOutput) Branch

The name of the branch to use.

func (GetAppSpecServiceGitlabOutput) DeployOnPush

Whether to automatically deploy new commits made to the repo.

func (GetAppSpecServiceGitlabOutput) ElementType

func (GetAppSpecServiceGitlabOutput) Repo

The name of the repo in the format `owner/repo`.

func (GetAppSpecServiceGitlabOutput) ToGetAppSpecServiceGitlabOutput

func (o GetAppSpecServiceGitlabOutput) ToGetAppSpecServiceGitlabOutput() GetAppSpecServiceGitlabOutput

func (GetAppSpecServiceGitlabOutput) ToGetAppSpecServiceGitlabOutputWithContext

func (o GetAppSpecServiceGitlabOutput) ToGetAppSpecServiceGitlabOutputWithContext(ctx context.Context) GetAppSpecServiceGitlabOutput

func (GetAppSpecServiceGitlabOutput) ToGetAppSpecServiceGitlabPtrOutput

func (o GetAppSpecServiceGitlabOutput) ToGetAppSpecServiceGitlabPtrOutput() GetAppSpecServiceGitlabPtrOutput

func (GetAppSpecServiceGitlabOutput) ToGetAppSpecServiceGitlabPtrOutputWithContext

func (o GetAppSpecServiceGitlabOutput) ToGetAppSpecServiceGitlabPtrOutputWithContext(ctx context.Context) GetAppSpecServiceGitlabPtrOutput

type GetAppSpecServiceGitlabPtrInput

type GetAppSpecServiceGitlabPtrInput interface {
	pulumi.Input

	ToGetAppSpecServiceGitlabPtrOutput() GetAppSpecServiceGitlabPtrOutput
	ToGetAppSpecServiceGitlabPtrOutputWithContext(context.Context) GetAppSpecServiceGitlabPtrOutput
}

GetAppSpecServiceGitlabPtrInput is an input type that accepts GetAppSpecServiceGitlabArgs, GetAppSpecServiceGitlabPtr and GetAppSpecServiceGitlabPtrOutput values. You can construct a concrete instance of `GetAppSpecServiceGitlabPtrInput` via:

        GetAppSpecServiceGitlabArgs{...}

or:

        nil

type GetAppSpecServiceGitlabPtrOutput

type GetAppSpecServiceGitlabPtrOutput struct{ *pulumi.OutputState }

func (GetAppSpecServiceGitlabPtrOutput) Branch

The name of the branch to use.

func (GetAppSpecServiceGitlabPtrOutput) DeployOnPush

Whether to automatically deploy new commits made to the repo.

func (GetAppSpecServiceGitlabPtrOutput) Elem

func (GetAppSpecServiceGitlabPtrOutput) ElementType

func (GetAppSpecServiceGitlabPtrOutput) Repo

The name of the repo in the format `owner/repo`.

func (GetAppSpecServiceGitlabPtrOutput) ToGetAppSpecServiceGitlabPtrOutput

func (o GetAppSpecServiceGitlabPtrOutput) ToGetAppSpecServiceGitlabPtrOutput() GetAppSpecServiceGitlabPtrOutput

func (GetAppSpecServiceGitlabPtrOutput) ToGetAppSpecServiceGitlabPtrOutputWithContext

func (o GetAppSpecServiceGitlabPtrOutput) ToGetAppSpecServiceGitlabPtrOutputWithContext(ctx context.Context) GetAppSpecServiceGitlabPtrOutput

type GetAppSpecServiceHealthCheck

type GetAppSpecServiceHealthCheck struct {
	// The number of failed health checks before considered unhealthy.
	FailureThreshold *int `pulumi:"failureThreshold"`
	// The route path used for the HTTP health check ping.
	HttpPath *string `pulumi:"httpPath"`
	// The number of seconds to wait before beginning health checks.
	InitialDelaySeconds *int `pulumi:"initialDelaySeconds"`
	// The number of seconds to wait between health checks.
	PeriodSeconds *int `pulumi:"periodSeconds"`
	// The port on which the health check will be performed. If not set, the health check will be performed on the component's http_port.
	Port *int `pulumi:"port"`
	// The number of successful health checks before considered healthy.
	SuccessThreshold *int `pulumi:"successThreshold"`
	// The number of seconds after which the check times out.
	TimeoutSeconds *int `pulumi:"timeoutSeconds"`
}

type GetAppSpecServiceHealthCheckArgs

type GetAppSpecServiceHealthCheckArgs struct {
	// The number of failed health checks before considered unhealthy.
	FailureThreshold pulumi.IntPtrInput `pulumi:"failureThreshold"`
	// The route path used for the HTTP health check ping.
	HttpPath pulumi.StringPtrInput `pulumi:"httpPath"`
	// The number of seconds to wait before beginning health checks.
	InitialDelaySeconds pulumi.IntPtrInput `pulumi:"initialDelaySeconds"`
	// The number of seconds to wait between health checks.
	PeriodSeconds pulumi.IntPtrInput `pulumi:"periodSeconds"`
	// The port on which the health check will be performed. If not set, the health check will be performed on the component's http_port.
	Port pulumi.IntPtrInput `pulumi:"port"`
	// The number of successful health checks before considered healthy.
	SuccessThreshold pulumi.IntPtrInput `pulumi:"successThreshold"`
	// The number of seconds after which the check times out.
	TimeoutSeconds pulumi.IntPtrInput `pulumi:"timeoutSeconds"`
}

func (GetAppSpecServiceHealthCheckArgs) ElementType

func (GetAppSpecServiceHealthCheckArgs) ToGetAppSpecServiceHealthCheckOutput

func (i GetAppSpecServiceHealthCheckArgs) ToGetAppSpecServiceHealthCheckOutput() GetAppSpecServiceHealthCheckOutput

func (GetAppSpecServiceHealthCheckArgs) ToGetAppSpecServiceHealthCheckOutputWithContext

func (i GetAppSpecServiceHealthCheckArgs) ToGetAppSpecServiceHealthCheckOutputWithContext(ctx context.Context) GetAppSpecServiceHealthCheckOutput

func (GetAppSpecServiceHealthCheckArgs) ToGetAppSpecServiceHealthCheckPtrOutput

func (i GetAppSpecServiceHealthCheckArgs) ToGetAppSpecServiceHealthCheckPtrOutput() GetAppSpecServiceHealthCheckPtrOutput

func (GetAppSpecServiceHealthCheckArgs) ToGetAppSpecServiceHealthCheckPtrOutputWithContext

func (i GetAppSpecServiceHealthCheckArgs) ToGetAppSpecServiceHealthCheckPtrOutputWithContext(ctx context.Context) GetAppSpecServiceHealthCheckPtrOutput

type GetAppSpecServiceHealthCheckInput

type GetAppSpecServiceHealthCheckInput interface {
	pulumi.Input

	ToGetAppSpecServiceHealthCheckOutput() GetAppSpecServiceHealthCheckOutput
	ToGetAppSpecServiceHealthCheckOutputWithContext(context.Context) GetAppSpecServiceHealthCheckOutput
}

GetAppSpecServiceHealthCheckInput is an input type that accepts GetAppSpecServiceHealthCheckArgs and GetAppSpecServiceHealthCheckOutput values. You can construct a concrete instance of `GetAppSpecServiceHealthCheckInput` via:

GetAppSpecServiceHealthCheckArgs{...}

type GetAppSpecServiceHealthCheckOutput

type GetAppSpecServiceHealthCheckOutput struct{ *pulumi.OutputState }

func (GetAppSpecServiceHealthCheckOutput) ElementType

func (GetAppSpecServiceHealthCheckOutput) FailureThreshold

The number of failed health checks before considered unhealthy.

func (GetAppSpecServiceHealthCheckOutput) HttpPath

The route path used for the HTTP health check ping.

func (GetAppSpecServiceHealthCheckOutput) InitialDelaySeconds

func (o GetAppSpecServiceHealthCheckOutput) InitialDelaySeconds() pulumi.IntPtrOutput

The number of seconds to wait before beginning health checks.

func (GetAppSpecServiceHealthCheckOutput) PeriodSeconds

The number of seconds to wait between health checks.

func (GetAppSpecServiceHealthCheckOutput) Port added in v4.25.0

The port on which the health check will be performed. If not set, the health check will be performed on the component's http_port.

func (GetAppSpecServiceHealthCheckOutput) SuccessThreshold

The number of successful health checks before considered healthy.

func (GetAppSpecServiceHealthCheckOutput) TimeoutSeconds

The number of seconds after which the check times out.

func (GetAppSpecServiceHealthCheckOutput) ToGetAppSpecServiceHealthCheckOutput

func (o GetAppSpecServiceHealthCheckOutput) ToGetAppSpecServiceHealthCheckOutput() GetAppSpecServiceHealthCheckOutput

func (GetAppSpecServiceHealthCheckOutput) ToGetAppSpecServiceHealthCheckOutputWithContext

func (o GetAppSpecServiceHealthCheckOutput) ToGetAppSpecServiceHealthCheckOutputWithContext(ctx context.Context) GetAppSpecServiceHealthCheckOutput

func (GetAppSpecServiceHealthCheckOutput) ToGetAppSpecServiceHealthCheckPtrOutput

func (o GetAppSpecServiceHealthCheckOutput) ToGetAppSpecServiceHealthCheckPtrOutput() GetAppSpecServiceHealthCheckPtrOutput

func (GetAppSpecServiceHealthCheckOutput) ToGetAppSpecServiceHealthCheckPtrOutputWithContext

func (o GetAppSpecServiceHealthCheckOutput) ToGetAppSpecServiceHealthCheckPtrOutputWithContext(ctx context.Context) GetAppSpecServiceHealthCheckPtrOutput

type GetAppSpecServiceHealthCheckPtrInput

type GetAppSpecServiceHealthCheckPtrInput interface {
	pulumi.Input

	ToGetAppSpecServiceHealthCheckPtrOutput() GetAppSpecServiceHealthCheckPtrOutput
	ToGetAppSpecServiceHealthCheckPtrOutputWithContext(context.Context) GetAppSpecServiceHealthCheckPtrOutput
}

GetAppSpecServiceHealthCheckPtrInput is an input type that accepts GetAppSpecServiceHealthCheckArgs, GetAppSpecServiceHealthCheckPtr and GetAppSpecServiceHealthCheckPtrOutput values. You can construct a concrete instance of `GetAppSpecServiceHealthCheckPtrInput` via:

        GetAppSpecServiceHealthCheckArgs{...}

or:

        nil

type GetAppSpecServiceHealthCheckPtrOutput

type GetAppSpecServiceHealthCheckPtrOutput struct{ *pulumi.OutputState }

func (GetAppSpecServiceHealthCheckPtrOutput) Elem

func (GetAppSpecServiceHealthCheckPtrOutput) ElementType

func (GetAppSpecServiceHealthCheckPtrOutput) FailureThreshold

The number of failed health checks before considered unhealthy.

func (GetAppSpecServiceHealthCheckPtrOutput) HttpPath

The route path used for the HTTP health check ping.

func (GetAppSpecServiceHealthCheckPtrOutput) InitialDelaySeconds

The number of seconds to wait before beginning health checks.

func (GetAppSpecServiceHealthCheckPtrOutput) PeriodSeconds

The number of seconds to wait between health checks.

func (GetAppSpecServiceHealthCheckPtrOutput) Port added in v4.25.0

The port on which the health check will be performed. If not set, the health check will be performed on the component's http_port.

func (GetAppSpecServiceHealthCheckPtrOutput) SuccessThreshold

The number of successful health checks before considered healthy.

func (GetAppSpecServiceHealthCheckPtrOutput) TimeoutSeconds

The number of seconds after which the check times out.

func (GetAppSpecServiceHealthCheckPtrOutput) ToGetAppSpecServiceHealthCheckPtrOutput

func (o GetAppSpecServiceHealthCheckPtrOutput) ToGetAppSpecServiceHealthCheckPtrOutput() GetAppSpecServiceHealthCheckPtrOutput

func (GetAppSpecServiceHealthCheckPtrOutput) ToGetAppSpecServiceHealthCheckPtrOutputWithContext

func (o GetAppSpecServiceHealthCheckPtrOutput) ToGetAppSpecServiceHealthCheckPtrOutputWithContext(ctx context.Context) GetAppSpecServiceHealthCheckPtrOutput

type GetAppSpecServiceImage

type GetAppSpecServiceImage struct {
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPushes []GetAppSpecServiceImageDeployOnPush `pulumi:"deployOnPushes"`
	// The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.
	Registry *string `pulumi:"registry"`
	// Access credentials for third-party registries
	RegistryCredentials *string `pulumi:"registryCredentials"`
	// The registry type. One of `DOCR` (DigitalOcean container registry) or `DOCKER_HUB`.
	RegistryType string `pulumi:"registryType"`
	// The repository name.
	Repository string `pulumi:"repository"`
	// The repository tag. Defaults to `latest` if not provided.
	Tag *string `pulumi:"tag"`
}

type GetAppSpecServiceImageArgs

type GetAppSpecServiceImageArgs struct {
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPushes GetAppSpecServiceImageDeployOnPushArrayInput `pulumi:"deployOnPushes"`
	// The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.
	Registry pulumi.StringPtrInput `pulumi:"registry"`
	// Access credentials for third-party registries
	RegistryCredentials pulumi.StringPtrInput `pulumi:"registryCredentials"`
	// The registry type. One of `DOCR` (DigitalOcean container registry) or `DOCKER_HUB`.
	RegistryType pulumi.StringInput `pulumi:"registryType"`
	// The repository name.
	Repository pulumi.StringInput `pulumi:"repository"`
	// The repository tag. Defaults to `latest` if not provided.
	Tag pulumi.StringPtrInput `pulumi:"tag"`
}

func (GetAppSpecServiceImageArgs) ElementType

func (GetAppSpecServiceImageArgs) ElementType() reflect.Type

func (GetAppSpecServiceImageArgs) ToGetAppSpecServiceImageOutput

func (i GetAppSpecServiceImageArgs) ToGetAppSpecServiceImageOutput() GetAppSpecServiceImageOutput

func (GetAppSpecServiceImageArgs) ToGetAppSpecServiceImageOutputWithContext

func (i GetAppSpecServiceImageArgs) ToGetAppSpecServiceImageOutputWithContext(ctx context.Context) GetAppSpecServiceImageOutput

func (GetAppSpecServiceImageArgs) ToGetAppSpecServiceImagePtrOutput

func (i GetAppSpecServiceImageArgs) ToGetAppSpecServiceImagePtrOutput() GetAppSpecServiceImagePtrOutput

func (GetAppSpecServiceImageArgs) ToGetAppSpecServiceImagePtrOutputWithContext

func (i GetAppSpecServiceImageArgs) ToGetAppSpecServiceImagePtrOutputWithContext(ctx context.Context) GetAppSpecServiceImagePtrOutput

type GetAppSpecServiceImageDeployOnPush added in v4.16.0

type GetAppSpecServiceImageDeployOnPush struct {
	// Whether to automatically deploy images pushed to DOCR.
	Enabled *bool `pulumi:"enabled"`
}

type GetAppSpecServiceImageDeployOnPushArgs added in v4.16.0

type GetAppSpecServiceImageDeployOnPushArgs struct {
	// Whether to automatically deploy images pushed to DOCR.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
}

func (GetAppSpecServiceImageDeployOnPushArgs) ElementType added in v4.16.0

func (GetAppSpecServiceImageDeployOnPushArgs) ToGetAppSpecServiceImageDeployOnPushOutput added in v4.16.0

func (i GetAppSpecServiceImageDeployOnPushArgs) ToGetAppSpecServiceImageDeployOnPushOutput() GetAppSpecServiceImageDeployOnPushOutput

func (GetAppSpecServiceImageDeployOnPushArgs) ToGetAppSpecServiceImageDeployOnPushOutputWithContext added in v4.16.0

func (i GetAppSpecServiceImageDeployOnPushArgs) ToGetAppSpecServiceImageDeployOnPushOutputWithContext(ctx context.Context) GetAppSpecServiceImageDeployOnPushOutput

type GetAppSpecServiceImageDeployOnPushArray added in v4.16.0

type GetAppSpecServiceImageDeployOnPushArray []GetAppSpecServiceImageDeployOnPushInput

func (GetAppSpecServiceImageDeployOnPushArray) ElementType added in v4.16.0

func (GetAppSpecServiceImageDeployOnPushArray) ToGetAppSpecServiceImageDeployOnPushArrayOutput added in v4.16.0

func (i GetAppSpecServiceImageDeployOnPushArray) ToGetAppSpecServiceImageDeployOnPushArrayOutput() GetAppSpecServiceImageDeployOnPushArrayOutput

func (GetAppSpecServiceImageDeployOnPushArray) ToGetAppSpecServiceImageDeployOnPushArrayOutputWithContext added in v4.16.0

func (i GetAppSpecServiceImageDeployOnPushArray) ToGetAppSpecServiceImageDeployOnPushArrayOutputWithContext(ctx context.Context) GetAppSpecServiceImageDeployOnPushArrayOutput

type GetAppSpecServiceImageDeployOnPushArrayInput added in v4.16.0

type GetAppSpecServiceImageDeployOnPushArrayInput interface {
	pulumi.Input

	ToGetAppSpecServiceImageDeployOnPushArrayOutput() GetAppSpecServiceImageDeployOnPushArrayOutput
	ToGetAppSpecServiceImageDeployOnPushArrayOutputWithContext(context.Context) GetAppSpecServiceImageDeployOnPushArrayOutput
}

GetAppSpecServiceImageDeployOnPushArrayInput is an input type that accepts GetAppSpecServiceImageDeployOnPushArray and GetAppSpecServiceImageDeployOnPushArrayOutput values. You can construct a concrete instance of `GetAppSpecServiceImageDeployOnPushArrayInput` via:

GetAppSpecServiceImageDeployOnPushArray{ GetAppSpecServiceImageDeployOnPushArgs{...} }

type GetAppSpecServiceImageDeployOnPushArrayOutput added in v4.16.0

type GetAppSpecServiceImageDeployOnPushArrayOutput struct{ *pulumi.OutputState }

func (GetAppSpecServiceImageDeployOnPushArrayOutput) ElementType added in v4.16.0

func (GetAppSpecServiceImageDeployOnPushArrayOutput) Index added in v4.16.0

func (GetAppSpecServiceImageDeployOnPushArrayOutput) ToGetAppSpecServiceImageDeployOnPushArrayOutput added in v4.16.0

func (o GetAppSpecServiceImageDeployOnPushArrayOutput) ToGetAppSpecServiceImageDeployOnPushArrayOutput() GetAppSpecServiceImageDeployOnPushArrayOutput

func (GetAppSpecServiceImageDeployOnPushArrayOutput) ToGetAppSpecServiceImageDeployOnPushArrayOutputWithContext added in v4.16.0

func (o GetAppSpecServiceImageDeployOnPushArrayOutput) ToGetAppSpecServiceImageDeployOnPushArrayOutputWithContext(ctx context.Context) GetAppSpecServiceImageDeployOnPushArrayOutput

type GetAppSpecServiceImageDeployOnPushInput added in v4.16.0

type GetAppSpecServiceImageDeployOnPushInput interface {
	pulumi.Input

	ToGetAppSpecServiceImageDeployOnPushOutput() GetAppSpecServiceImageDeployOnPushOutput
	ToGetAppSpecServiceImageDeployOnPushOutputWithContext(context.Context) GetAppSpecServiceImageDeployOnPushOutput
}

GetAppSpecServiceImageDeployOnPushInput is an input type that accepts GetAppSpecServiceImageDeployOnPushArgs and GetAppSpecServiceImageDeployOnPushOutput values. You can construct a concrete instance of `GetAppSpecServiceImageDeployOnPushInput` via:

GetAppSpecServiceImageDeployOnPushArgs{...}

type GetAppSpecServiceImageDeployOnPushOutput added in v4.16.0

type GetAppSpecServiceImageDeployOnPushOutput struct{ *pulumi.OutputState }

func (GetAppSpecServiceImageDeployOnPushOutput) ElementType added in v4.16.0

func (GetAppSpecServiceImageDeployOnPushOutput) Enabled added in v4.16.0

Whether to automatically deploy images pushed to DOCR.

func (GetAppSpecServiceImageDeployOnPushOutput) ToGetAppSpecServiceImageDeployOnPushOutput added in v4.16.0

func (o GetAppSpecServiceImageDeployOnPushOutput) ToGetAppSpecServiceImageDeployOnPushOutput() GetAppSpecServiceImageDeployOnPushOutput

func (GetAppSpecServiceImageDeployOnPushOutput) ToGetAppSpecServiceImageDeployOnPushOutputWithContext added in v4.16.0

func (o GetAppSpecServiceImageDeployOnPushOutput) ToGetAppSpecServiceImageDeployOnPushOutputWithContext(ctx context.Context) GetAppSpecServiceImageDeployOnPushOutput

type GetAppSpecServiceImageInput

type GetAppSpecServiceImageInput interface {
	pulumi.Input

	ToGetAppSpecServiceImageOutput() GetAppSpecServiceImageOutput
	ToGetAppSpecServiceImageOutputWithContext(context.Context) GetAppSpecServiceImageOutput
}

GetAppSpecServiceImageInput is an input type that accepts GetAppSpecServiceImageArgs and GetAppSpecServiceImageOutput values. You can construct a concrete instance of `GetAppSpecServiceImageInput` via:

GetAppSpecServiceImageArgs{...}

type GetAppSpecServiceImageOutput

type GetAppSpecServiceImageOutput struct{ *pulumi.OutputState }

func (GetAppSpecServiceImageOutput) DeployOnPushes added in v4.16.0

Whether to automatically deploy new commits made to the repo.

func (GetAppSpecServiceImageOutput) ElementType

func (GetAppSpecServiceImageOutput) Registry

The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.

func (GetAppSpecServiceImageOutput) RegistryCredentials added in v4.28.0

func (o GetAppSpecServiceImageOutput) RegistryCredentials() pulumi.StringPtrOutput

Access credentials for third-party registries

func (GetAppSpecServiceImageOutput) RegistryType

The registry type. One of `DOCR` (DigitalOcean container registry) or `DOCKER_HUB`.

func (GetAppSpecServiceImageOutput) Repository

The repository name.

func (GetAppSpecServiceImageOutput) Tag

The repository tag. Defaults to `latest` if not provided.

func (GetAppSpecServiceImageOutput) ToGetAppSpecServiceImageOutput

func (o GetAppSpecServiceImageOutput) ToGetAppSpecServiceImageOutput() GetAppSpecServiceImageOutput

func (GetAppSpecServiceImageOutput) ToGetAppSpecServiceImageOutputWithContext

func (o GetAppSpecServiceImageOutput) ToGetAppSpecServiceImageOutputWithContext(ctx context.Context) GetAppSpecServiceImageOutput

func (GetAppSpecServiceImageOutput) ToGetAppSpecServiceImagePtrOutput

func (o GetAppSpecServiceImageOutput) ToGetAppSpecServiceImagePtrOutput() GetAppSpecServiceImagePtrOutput

func (GetAppSpecServiceImageOutput) ToGetAppSpecServiceImagePtrOutputWithContext

func (o GetAppSpecServiceImageOutput) ToGetAppSpecServiceImagePtrOutputWithContext(ctx context.Context) GetAppSpecServiceImagePtrOutput

type GetAppSpecServiceImagePtrInput

type GetAppSpecServiceImagePtrInput interface {
	pulumi.Input

	ToGetAppSpecServiceImagePtrOutput() GetAppSpecServiceImagePtrOutput
	ToGetAppSpecServiceImagePtrOutputWithContext(context.Context) GetAppSpecServiceImagePtrOutput
}

GetAppSpecServiceImagePtrInput is an input type that accepts GetAppSpecServiceImageArgs, GetAppSpecServiceImagePtr and GetAppSpecServiceImagePtrOutput values. You can construct a concrete instance of `GetAppSpecServiceImagePtrInput` via:

        GetAppSpecServiceImageArgs{...}

or:

        nil

type GetAppSpecServiceImagePtrOutput

type GetAppSpecServiceImagePtrOutput struct{ *pulumi.OutputState }

func (GetAppSpecServiceImagePtrOutput) DeployOnPushes added in v4.16.0

Whether to automatically deploy new commits made to the repo.

func (GetAppSpecServiceImagePtrOutput) Elem

func (GetAppSpecServiceImagePtrOutput) ElementType

func (GetAppSpecServiceImagePtrOutput) Registry

The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.

func (GetAppSpecServiceImagePtrOutput) RegistryCredentials added in v4.28.0

func (o GetAppSpecServiceImagePtrOutput) RegistryCredentials() pulumi.StringPtrOutput

Access credentials for third-party registries

func (GetAppSpecServiceImagePtrOutput) RegistryType

The registry type. One of `DOCR` (DigitalOcean container registry) or `DOCKER_HUB`.

func (GetAppSpecServiceImagePtrOutput) Repository

The repository name.

func (GetAppSpecServiceImagePtrOutput) Tag

The repository tag. Defaults to `latest` if not provided.

func (GetAppSpecServiceImagePtrOutput) ToGetAppSpecServiceImagePtrOutput

func (o GetAppSpecServiceImagePtrOutput) ToGetAppSpecServiceImagePtrOutput() GetAppSpecServiceImagePtrOutput

func (GetAppSpecServiceImagePtrOutput) ToGetAppSpecServiceImagePtrOutputWithContext

func (o GetAppSpecServiceImagePtrOutput) ToGetAppSpecServiceImagePtrOutputWithContext(ctx context.Context) GetAppSpecServiceImagePtrOutput

type GetAppSpecServiceInput

type GetAppSpecServiceInput interface {
	pulumi.Input

	ToGetAppSpecServiceOutput() GetAppSpecServiceOutput
	ToGetAppSpecServiceOutputWithContext(context.Context) GetAppSpecServiceOutput
}

GetAppSpecServiceInput is an input type that accepts GetAppSpecServiceArgs and GetAppSpecServiceOutput values. You can construct a concrete instance of `GetAppSpecServiceInput` via:

GetAppSpecServiceArgs{...}

type GetAppSpecServiceLogDestination added in v4.12.0

type GetAppSpecServiceLogDestination struct {
	// Datadog configuration.
	Datadog *GetAppSpecServiceLogDestinationDatadog `pulumi:"datadog"`
	// Logtail configuration.
	Logtail *GetAppSpecServiceLogDestinationLogtail `pulumi:"logtail"`
	// The name of the component.
	Name string `pulumi:"name"`
	// Papertrail configuration.
	Papertrail *GetAppSpecServiceLogDestinationPapertrail `pulumi:"papertrail"`
}

type GetAppSpecServiceLogDestinationArgs added in v4.12.0

type GetAppSpecServiceLogDestinationArgs struct {
	// Datadog configuration.
	Datadog GetAppSpecServiceLogDestinationDatadogPtrInput `pulumi:"datadog"`
	// Logtail configuration.
	Logtail GetAppSpecServiceLogDestinationLogtailPtrInput `pulumi:"logtail"`
	// The name of the component.
	Name pulumi.StringInput `pulumi:"name"`
	// Papertrail configuration.
	Papertrail GetAppSpecServiceLogDestinationPapertrailPtrInput `pulumi:"papertrail"`
}

func (GetAppSpecServiceLogDestinationArgs) ElementType added in v4.12.0

func (GetAppSpecServiceLogDestinationArgs) ToGetAppSpecServiceLogDestinationOutput added in v4.12.0

func (i GetAppSpecServiceLogDestinationArgs) ToGetAppSpecServiceLogDestinationOutput() GetAppSpecServiceLogDestinationOutput

func (GetAppSpecServiceLogDestinationArgs) ToGetAppSpecServiceLogDestinationOutputWithContext added in v4.12.0

func (i GetAppSpecServiceLogDestinationArgs) ToGetAppSpecServiceLogDestinationOutputWithContext(ctx context.Context) GetAppSpecServiceLogDestinationOutput

type GetAppSpecServiceLogDestinationArray added in v4.12.0

type GetAppSpecServiceLogDestinationArray []GetAppSpecServiceLogDestinationInput

func (GetAppSpecServiceLogDestinationArray) ElementType added in v4.12.0

func (GetAppSpecServiceLogDestinationArray) ToGetAppSpecServiceLogDestinationArrayOutput added in v4.12.0

func (i GetAppSpecServiceLogDestinationArray) ToGetAppSpecServiceLogDestinationArrayOutput() GetAppSpecServiceLogDestinationArrayOutput

func (GetAppSpecServiceLogDestinationArray) ToGetAppSpecServiceLogDestinationArrayOutputWithContext added in v4.12.0

func (i GetAppSpecServiceLogDestinationArray) ToGetAppSpecServiceLogDestinationArrayOutputWithContext(ctx context.Context) GetAppSpecServiceLogDestinationArrayOutput

type GetAppSpecServiceLogDestinationArrayInput added in v4.12.0

type GetAppSpecServiceLogDestinationArrayInput interface {
	pulumi.Input

	ToGetAppSpecServiceLogDestinationArrayOutput() GetAppSpecServiceLogDestinationArrayOutput
	ToGetAppSpecServiceLogDestinationArrayOutputWithContext(context.Context) GetAppSpecServiceLogDestinationArrayOutput
}

GetAppSpecServiceLogDestinationArrayInput is an input type that accepts GetAppSpecServiceLogDestinationArray and GetAppSpecServiceLogDestinationArrayOutput values. You can construct a concrete instance of `GetAppSpecServiceLogDestinationArrayInput` via:

GetAppSpecServiceLogDestinationArray{ GetAppSpecServiceLogDestinationArgs{...} }

type GetAppSpecServiceLogDestinationArrayOutput added in v4.12.0

type GetAppSpecServiceLogDestinationArrayOutput struct{ *pulumi.OutputState }

func (GetAppSpecServiceLogDestinationArrayOutput) ElementType added in v4.12.0

func (GetAppSpecServiceLogDestinationArrayOutput) Index added in v4.12.0

func (GetAppSpecServiceLogDestinationArrayOutput) ToGetAppSpecServiceLogDestinationArrayOutput added in v4.12.0

func (o GetAppSpecServiceLogDestinationArrayOutput) ToGetAppSpecServiceLogDestinationArrayOutput() GetAppSpecServiceLogDestinationArrayOutput

func (GetAppSpecServiceLogDestinationArrayOutput) ToGetAppSpecServiceLogDestinationArrayOutputWithContext added in v4.12.0

func (o GetAppSpecServiceLogDestinationArrayOutput) ToGetAppSpecServiceLogDestinationArrayOutputWithContext(ctx context.Context) GetAppSpecServiceLogDestinationArrayOutput

type GetAppSpecServiceLogDestinationDatadog added in v4.12.0

type GetAppSpecServiceLogDestinationDatadog struct {
	// Datadog API key.
	ApiKey string `pulumi:"apiKey"`
	// Datadog HTTP log intake endpoint.
	Endpoint *string `pulumi:"endpoint"`
}

type GetAppSpecServiceLogDestinationDatadogArgs added in v4.12.0

type GetAppSpecServiceLogDestinationDatadogArgs struct {
	// Datadog API key.
	ApiKey pulumi.StringInput `pulumi:"apiKey"`
	// Datadog HTTP log intake endpoint.
	Endpoint pulumi.StringPtrInput `pulumi:"endpoint"`
}

func (GetAppSpecServiceLogDestinationDatadogArgs) ElementType added in v4.12.0

func (GetAppSpecServiceLogDestinationDatadogArgs) ToGetAppSpecServiceLogDestinationDatadogOutput added in v4.12.0

func (i GetAppSpecServiceLogDestinationDatadogArgs) ToGetAppSpecServiceLogDestinationDatadogOutput() GetAppSpecServiceLogDestinationDatadogOutput

func (GetAppSpecServiceLogDestinationDatadogArgs) ToGetAppSpecServiceLogDestinationDatadogOutputWithContext added in v4.12.0

func (i GetAppSpecServiceLogDestinationDatadogArgs) ToGetAppSpecServiceLogDestinationDatadogOutputWithContext(ctx context.Context) GetAppSpecServiceLogDestinationDatadogOutput

func (GetAppSpecServiceLogDestinationDatadogArgs) ToGetAppSpecServiceLogDestinationDatadogPtrOutput added in v4.12.0

func (i GetAppSpecServiceLogDestinationDatadogArgs) ToGetAppSpecServiceLogDestinationDatadogPtrOutput() GetAppSpecServiceLogDestinationDatadogPtrOutput

func (GetAppSpecServiceLogDestinationDatadogArgs) ToGetAppSpecServiceLogDestinationDatadogPtrOutputWithContext added in v4.12.0

func (i GetAppSpecServiceLogDestinationDatadogArgs) ToGetAppSpecServiceLogDestinationDatadogPtrOutputWithContext(ctx context.Context) GetAppSpecServiceLogDestinationDatadogPtrOutput

type GetAppSpecServiceLogDestinationDatadogInput added in v4.12.0

type GetAppSpecServiceLogDestinationDatadogInput interface {
	pulumi.Input

	ToGetAppSpecServiceLogDestinationDatadogOutput() GetAppSpecServiceLogDestinationDatadogOutput
	ToGetAppSpecServiceLogDestinationDatadogOutputWithContext(context.Context) GetAppSpecServiceLogDestinationDatadogOutput
}

GetAppSpecServiceLogDestinationDatadogInput is an input type that accepts GetAppSpecServiceLogDestinationDatadogArgs and GetAppSpecServiceLogDestinationDatadogOutput values. You can construct a concrete instance of `GetAppSpecServiceLogDestinationDatadogInput` via:

GetAppSpecServiceLogDestinationDatadogArgs{...}

type GetAppSpecServiceLogDestinationDatadogOutput added in v4.12.0

type GetAppSpecServiceLogDestinationDatadogOutput struct{ *pulumi.OutputState }

func (GetAppSpecServiceLogDestinationDatadogOutput) ApiKey added in v4.12.0

Datadog API key.

func (GetAppSpecServiceLogDestinationDatadogOutput) ElementType added in v4.12.0

func (GetAppSpecServiceLogDestinationDatadogOutput) Endpoint added in v4.12.0

Datadog HTTP log intake endpoint.

func (GetAppSpecServiceLogDestinationDatadogOutput) ToGetAppSpecServiceLogDestinationDatadogOutput added in v4.12.0

func (o GetAppSpecServiceLogDestinationDatadogOutput) ToGetAppSpecServiceLogDestinationDatadogOutput() GetAppSpecServiceLogDestinationDatadogOutput

func (GetAppSpecServiceLogDestinationDatadogOutput) ToGetAppSpecServiceLogDestinationDatadogOutputWithContext added in v4.12.0

func (o GetAppSpecServiceLogDestinationDatadogOutput) ToGetAppSpecServiceLogDestinationDatadogOutputWithContext(ctx context.Context) GetAppSpecServiceLogDestinationDatadogOutput

func (GetAppSpecServiceLogDestinationDatadogOutput) ToGetAppSpecServiceLogDestinationDatadogPtrOutput added in v4.12.0

func (o GetAppSpecServiceLogDestinationDatadogOutput) ToGetAppSpecServiceLogDestinationDatadogPtrOutput() GetAppSpecServiceLogDestinationDatadogPtrOutput

func (GetAppSpecServiceLogDestinationDatadogOutput) ToGetAppSpecServiceLogDestinationDatadogPtrOutputWithContext added in v4.12.0

func (o GetAppSpecServiceLogDestinationDatadogOutput) ToGetAppSpecServiceLogDestinationDatadogPtrOutputWithContext(ctx context.Context) GetAppSpecServiceLogDestinationDatadogPtrOutput

type GetAppSpecServiceLogDestinationDatadogPtrInput added in v4.12.0

type GetAppSpecServiceLogDestinationDatadogPtrInput interface {
	pulumi.Input

	ToGetAppSpecServiceLogDestinationDatadogPtrOutput() GetAppSpecServiceLogDestinationDatadogPtrOutput
	ToGetAppSpecServiceLogDestinationDatadogPtrOutputWithContext(context.Context) GetAppSpecServiceLogDestinationDatadogPtrOutput
}

GetAppSpecServiceLogDestinationDatadogPtrInput is an input type that accepts GetAppSpecServiceLogDestinationDatadogArgs, GetAppSpecServiceLogDestinationDatadogPtr and GetAppSpecServiceLogDestinationDatadogPtrOutput values. You can construct a concrete instance of `GetAppSpecServiceLogDestinationDatadogPtrInput` via:

        GetAppSpecServiceLogDestinationDatadogArgs{...}

or:

        nil

type GetAppSpecServiceLogDestinationDatadogPtrOutput added in v4.12.0

type GetAppSpecServiceLogDestinationDatadogPtrOutput struct{ *pulumi.OutputState }

func (GetAppSpecServiceLogDestinationDatadogPtrOutput) ApiKey added in v4.12.0

Datadog API key.

func (GetAppSpecServiceLogDestinationDatadogPtrOutput) Elem added in v4.12.0

func (GetAppSpecServiceLogDestinationDatadogPtrOutput) ElementType added in v4.12.0

func (GetAppSpecServiceLogDestinationDatadogPtrOutput) Endpoint added in v4.12.0

Datadog HTTP log intake endpoint.

func (GetAppSpecServiceLogDestinationDatadogPtrOutput) ToGetAppSpecServiceLogDestinationDatadogPtrOutput added in v4.12.0

func (o GetAppSpecServiceLogDestinationDatadogPtrOutput) ToGetAppSpecServiceLogDestinationDatadogPtrOutput() GetAppSpecServiceLogDestinationDatadogPtrOutput

func (GetAppSpecServiceLogDestinationDatadogPtrOutput) ToGetAppSpecServiceLogDestinationDatadogPtrOutputWithContext added in v4.12.0

func (o GetAppSpecServiceLogDestinationDatadogPtrOutput) ToGetAppSpecServiceLogDestinationDatadogPtrOutputWithContext(ctx context.Context) GetAppSpecServiceLogDestinationDatadogPtrOutput

type GetAppSpecServiceLogDestinationInput added in v4.12.0

type GetAppSpecServiceLogDestinationInput interface {
	pulumi.Input

	ToGetAppSpecServiceLogDestinationOutput() GetAppSpecServiceLogDestinationOutput
	ToGetAppSpecServiceLogDestinationOutputWithContext(context.Context) GetAppSpecServiceLogDestinationOutput
}

GetAppSpecServiceLogDestinationInput is an input type that accepts GetAppSpecServiceLogDestinationArgs and GetAppSpecServiceLogDestinationOutput values. You can construct a concrete instance of `GetAppSpecServiceLogDestinationInput` via:

GetAppSpecServiceLogDestinationArgs{...}

type GetAppSpecServiceLogDestinationLogtail added in v4.12.0

type GetAppSpecServiceLogDestinationLogtail struct {
	// Logtail token.
	Token string `pulumi:"token"`
}

type GetAppSpecServiceLogDestinationLogtailArgs added in v4.12.0

type GetAppSpecServiceLogDestinationLogtailArgs struct {
	// Logtail token.
	Token pulumi.StringInput `pulumi:"token"`
}

func (GetAppSpecServiceLogDestinationLogtailArgs) ElementType added in v4.12.0

func (GetAppSpecServiceLogDestinationLogtailArgs) ToGetAppSpecServiceLogDestinationLogtailOutput added in v4.12.0

func (i GetAppSpecServiceLogDestinationLogtailArgs) ToGetAppSpecServiceLogDestinationLogtailOutput() GetAppSpecServiceLogDestinationLogtailOutput

func (GetAppSpecServiceLogDestinationLogtailArgs) ToGetAppSpecServiceLogDestinationLogtailOutputWithContext added in v4.12.0

func (i GetAppSpecServiceLogDestinationLogtailArgs) ToGetAppSpecServiceLogDestinationLogtailOutputWithContext(ctx context.Context) GetAppSpecServiceLogDestinationLogtailOutput

func (GetAppSpecServiceLogDestinationLogtailArgs) ToGetAppSpecServiceLogDestinationLogtailPtrOutput added in v4.12.0

func (i GetAppSpecServiceLogDestinationLogtailArgs) ToGetAppSpecServiceLogDestinationLogtailPtrOutput() GetAppSpecServiceLogDestinationLogtailPtrOutput

func (GetAppSpecServiceLogDestinationLogtailArgs) ToGetAppSpecServiceLogDestinationLogtailPtrOutputWithContext added in v4.12.0

func (i GetAppSpecServiceLogDestinationLogtailArgs) ToGetAppSpecServiceLogDestinationLogtailPtrOutputWithContext(ctx context.Context) GetAppSpecServiceLogDestinationLogtailPtrOutput

type GetAppSpecServiceLogDestinationLogtailInput added in v4.12.0

type GetAppSpecServiceLogDestinationLogtailInput interface {
	pulumi.Input

	ToGetAppSpecServiceLogDestinationLogtailOutput() GetAppSpecServiceLogDestinationLogtailOutput
	ToGetAppSpecServiceLogDestinationLogtailOutputWithContext(context.Context) GetAppSpecServiceLogDestinationLogtailOutput
}

GetAppSpecServiceLogDestinationLogtailInput is an input type that accepts GetAppSpecServiceLogDestinationLogtailArgs and GetAppSpecServiceLogDestinationLogtailOutput values. You can construct a concrete instance of `GetAppSpecServiceLogDestinationLogtailInput` via:

GetAppSpecServiceLogDestinationLogtailArgs{...}

type GetAppSpecServiceLogDestinationLogtailOutput added in v4.12.0

type GetAppSpecServiceLogDestinationLogtailOutput struct{ *pulumi.OutputState }

func (GetAppSpecServiceLogDestinationLogtailOutput) ElementType added in v4.12.0

func (GetAppSpecServiceLogDestinationLogtailOutput) ToGetAppSpecServiceLogDestinationLogtailOutput added in v4.12.0

func (o GetAppSpecServiceLogDestinationLogtailOutput) ToGetAppSpecServiceLogDestinationLogtailOutput() GetAppSpecServiceLogDestinationLogtailOutput

func (GetAppSpecServiceLogDestinationLogtailOutput) ToGetAppSpecServiceLogDestinationLogtailOutputWithContext added in v4.12.0

func (o GetAppSpecServiceLogDestinationLogtailOutput) ToGetAppSpecServiceLogDestinationLogtailOutputWithContext(ctx context.Context) GetAppSpecServiceLogDestinationLogtailOutput

func (GetAppSpecServiceLogDestinationLogtailOutput) ToGetAppSpecServiceLogDestinationLogtailPtrOutput added in v4.12.0

func (o GetAppSpecServiceLogDestinationLogtailOutput) ToGetAppSpecServiceLogDestinationLogtailPtrOutput() GetAppSpecServiceLogDestinationLogtailPtrOutput

func (GetAppSpecServiceLogDestinationLogtailOutput) ToGetAppSpecServiceLogDestinationLogtailPtrOutputWithContext added in v4.12.0

func (o GetAppSpecServiceLogDestinationLogtailOutput) ToGetAppSpecServiceLogDestinationLogtailPtrOutputWithContext(ctx context.Context) GetAppSpecServiceLogDestinationLogtailPtrOutput

func (GetAppSpecServiceLogDestinationLogtailOutput) Token added in v4.12.0

Logtail token.

type GetAppSpecServiceLogDestinationLogtailPtrInput added in v4.12.0

type GetAppSpecServiceLogDestinationLogtailPtrInput interface {
	pulumi.Input

	ToGetAppSpecServiceLogDestinationLogtailPtrOutput() GetAppSpecServiceLogDestinationLogtailPtrOutput
	ToGetAppSpecServiceLogDestinationLogtailPtrOutputWithContext(context.Context) GetAppSpecServiceLogDestinationLogtailPtrOutput
}

GetAppSpecServiceLogDestinationLogtailPtrInput is an input type that accepts GetAppSpecServiceLogDestinationLogtailArgs, GetAppSpecServiceLogDestinationLogtailPtr and GetAppSpecServiceLogDestinationLogtailPtrOutput values. You can construct a concrete instance of `GetAppSpecServiceLogDestinationLogtailPtrInput` via:

        GetAppSpecServiceLogDestinationLogtailArgs{...}

or:

        nil

type GetAppSpecServiceLogDestinationLogtailPtrOutput added in v4.12.0

type GetAppSpecServiceLogDestinationLogtailPtrOutput struct{ *pulumi.OutputState }

func (GetAppSpecServiceLogDestinationLogtailPtrOutput) Elem added in v4.12.0

func (GetAppSpecServiceLogDestinationLogtailPtrOutput) ElementType added in v4.12.0

func (GetAppSpecServiceLogDestinationLogtailPtrOutput) ToGetAppSpecServiceLogDestinationLogtailPtrOutput added in v4.12.0

func (o GetAppSpecServiceLogDestinationLogtailPtrOutput) ToGetAppSpecServiceLogDestinationLogtailPtrOutput() GetAppSpecServiceLogDestinationLogtailPtrOutput

func (GetAppSpecServiceLogDestinationLogtailPtrOutput) ToGetAppSpecServiceLogDestinationLogtailPtrOutputWithContext added in v4.12.0

func (o GetAppSpecServiceLogDestinationLogtailPtrOutput) ToGetAppSpecServiceLogDestinationLogtailPtrOutputWithContext(ctx context.Context) GetAppSpecServiceLogDestinationLogtailPtrOutput

func (GetAppSpecServiceLogDestinationLogtailPtrOutput) Token added in v4.12.0

Logtail token.

type GetAppSpecServiceLogDestinationOutput added in v4.12.0

type GetAppSpecServiceLogDestinationOutput struct{ *pulumi.OutputState }

func (GetAppSpecServiceLogDestinationOutput) Datadog added in v4.12.0

Datadog configuration.

func (GetAppSpecServiceLogDestinationOutput) ElementType added in v4.12.0

func (GetAppSpecServiceLogDestinationOutput) Logtail added in v4.12.0

Logtail configuration.

func (GetAppSpecServiceLogDestinationOutput) Name added in v4.12.0

The name of the component.

func (GetAppSpecServiceLogDestinationOutput) Papertrail added in v4.12.0

Papertrail configuration.

func (GetAppSpecServiceLogDestinationOutput) ToGetAppSpecServiceLogDestinationOutput added in v4.12.0

func (o GetAppSpecServiceLogDestinationOutput) ToGetAppSpecServiceLogDestinationOutput() GetAppSpecServiceLogDestinationOutput

func (GetAppSpecServiceLogDestinationOutput) ToGetAppSpecServiceLogDestinationOutputWithContext added in v4.12.0

func (o GetAppSpecServiceLogDestinationOutput) ToGetAppSpecServiceLogDestinationOutputWithContext(ctx context.Context) GetAppSpecServiceLogDestinationOutput

type GetAppSpecServiceLogDestinationPapertrail added in v4.12.0

type GetAppSpecServiceLogDestinationPapertrail struct {
	// Datadog HTTP log intake endpoint.
	Endpoint string `pulumi:"endpoint"`
}

type GetAppSpecServiceLogDestinationPapertrailArgs added in v4.12.0

type GetAppSpecServiceLogDestinationPapertrailArgs struct {
	// Datadog HTTP log intake endpoint.
	Endpoint pulumi.StringInput `pulumi:"endpoint"`
}

func (GetAppSpecServiceLogDestinationPapertrailArgs) ElementType added in v4.12.0

func (GetAppSpecServiceLogDestinationPapertrailArgs) ToGetAppSpecServiceLogDestinationPapertrailOutput added in v4.12.0

func (i GetAppSpecServiceLogDestinationPapertrailArgs) ToGetAppSpecServiceLogDestinationPapertrailOutput() GetAppSpecServiceLogDestinationPapertrailOutput

func (GetAppSpecServiceLogDestinationPapertrailArgs) ToGetAppSpecServiceLogDestinationPapertrailOutputWithContext added in v4.12.0

func (i GetAppSpecServiceLogDestinationPapertrailArgs) ToGetAppSpecServiceLogDestinationPapertrailOutputWithContext(ctx context.Context) GetAppSpecServiceLogDestinationPapertrailOutput

func (GetAppSpecServiceLogDestinationPapertrailArgs) ToGetAppSpecServiceLogDestinationPapertrailPtrOutput added in v4.12.0

func (i GetAppSpecServiceLogDestinationPapertrailArgs) ToGetAppSpecServiceLogDestinationPapertrailPtrOutput() GetAppSpecServiceLogDestinationPapertrailPtrOutput

func (GetAppSpecServiceLogDestinationPapertrailArgs) ToGetAppSpecServiceLogDestinationPapertrailPtrOutputWithContext added in v4.12.0

func (i GetAppSpecServiceLogDestinationPapertrailArgs) ToGetAppSpecServiceLogDestinationPapertrailPtrOutputWithContext(ctx context.Context) GetAppSpecServiceLogDestinationPapertrailPtrOutput

type GetAppSpecServiceLogDestinationPapertrailInput added in v4.12.0

type GetAppSpecServiceLogDestinationPapertrailInput interface {
	pulumi.Input

	ToGetAppSpecServiceLogDestinationPapertrailOutput() GetAppSpecServiceLogDestinationPapertrailOutput
	ToGetAppSpecServiceLogDestinationPapertrailOutputWithContext(context.Context) GetAppSpecServiceLogDestinationPapertrailOutput
}

GetAppSpecServiceLogDestinationPapertrailInput is an input type that accepts GetAppSpecServiceLogDestinationPapertrailArgs and GetAppSpecServiceLogDestinationPapertrailOutput values. You can construct a concrete instance of `GetAppSpecServiceLogDestinationPapertrailInput` via:

GetAppSpecServiceLogDestinationPapertrailArgs{...}

type GetAppSpecServiceLogDestinationPapertrailOutput added in v4.12.0

type GetAppSpecServiceLogDestinationPapertrailOutput struct{ *pulumi.OutputState }

func (GetAppSpecServiceLogDestinationPapertrailOutput) ElementType added in v4.12.0

func (GetAppSpecServiceLogDestinationPapertrailOutput) Endpoint added in v4.12.0

Datadog HTTP log intake endpoint.

func (GetAppSpecServiceLogDestinationPapertrailOutput) ToGetAppSpecServiceLogDestinationPapertrailOutput added in v4.12.0

func (o GetAppSpecServiceLogDestinationPapertrailOutput) ToGetAppSpecServiceLogDestinationPapertrailOutput() GetAppSpecServiceLogDestinationPapertrailOutput

func (GetAppSpecServiceLogDestinationPapertrailOutput) ToGetAppSpecServiceLogDestinationPapertrailOutputWithContext added in v4.12.0

func (o GetAppSpecServiceLogDestinationPapertrailOutput) ToGetAppSpecServiceLogDestinationPapertrailOutputWithContext(ctx context.Context) GetAppSpecServiceLogDestinationPapertrailOutput

func (GetAppSpecServiceLogDestinationPapertrailOutput) ToGetAppSpecServiceLogDestinationPapertrailPtrOutput added in v4.12.0

func (o GetAppSpecServiceLogDestinationPapertrailOutput) ToGetAppSpecServiceLogDestinationPapertrailPtrOutput() GetAppSpecServiceLogDestinationPapertrailPtrOutput

func (GetAppSpecServiceLogDestinationPapertrailOutput) ToGetAppSpecServiceLogDestinationPapertrailPtrOutputWithContext added in v4.12.0

func (o GetAppSpecServiceLogDestinationPapertrailOutput) ToGetAppSpecServiceLogDestinationPapertrailPtrOutputWithContext(ctx context.Context) GetAppSpecServiceLogDestinationPapertrailPtrOutput

type GetAppSpecServiceLogDestinationPapertrailPtrInput added in v4.12.0

type GetAppSpecServiceLogDestinationPapertrailPtrInput interface {
	pulumi.Input

	ToGetAppSpecServiceLogDestinationPapertrailPtrOutput() GetAppSpecServiceLogDestinationPapertrailPtrOutput
	ToGetAppSpecServiceLogDestinationPapertrailPtrOutputWithContext(context.Context) GetAppSpecServiceLogDestinationPapertrailPtrOutput
}

GetAppSpecServiceLogDestinationPapertrailPtrInput is an input type that accepts GetAppSpecServiceLogDestinationPapertrailArgs, GetAppSpecServiceLogDestinationPapertrailPtr and GetAppSpecServiceLogDestinationPapertrailPtrOutput values. You can construct a concrete instance of `GetAppSpecServiceLogDestinationPapertrailPtrInput` via:

        GetAppSpecServiceLogDestinationPapertrailArgs{...}

or:

        nil

type GetAppSpecServiceLogDestinationPapertrailPtrOutput added in v4.12.0

type GetAppSpecServiceLogDestinationPapertrailPtrOutput struct{ *pulumi.OutputState }

func (GetAppSpecServiceLogDestinationPapertrailPtrOutput) Elem added in v4.12.0

func (GetAppSpecServiceLogDestinationPapertrailPtrOutput) ElementType added in v4.12.0

func (GetAppSpecServiceLogDestinationPapertrailPtrOutput) Endpoint added in v4.12.0

Datadog HTTP log intake endpoint.

func (GetAppSpecServiceLogDestinationPapertrailPtrOutput) ToGetAppSpecServiceLogDestinationPapertrailPtrOutput added in v4.12.0

func (o GetAppSpecServiceLogDestinationPapertrailPtrOutput) ToGetAppSpecServiceLogDestinationPapertrailPtrOutput() GetAppSpecServiceLogDestinationPapertrailPtrOutput

func (GetAppSpecServiceLogDestinationPapertrailPtrOutput) ToGetAppSpecServiceLogDestinationPapertrailPtrOutputWithContext added in v4.12.0

func (o GetAppSpecServiceLogDestinationPapertrailPtrOutput) ToGetAppSpecServiceLogDestinationPapertrailPtrOutputWithContext(ctx context.Context) GetAppSpecServiceLogDestinationPapertrailPtrOutput

type GetAppSpecServiceOutput

type GetAppSpecServiceOutput struct{ *pulumi.OutputState }

func (GetAppSpecServiceOutput) Alerts added in v4.12.0

Describes an alert policy for the component.

func (GetAppSpecServiceOutput) BuildCommand

An optional build command to run while building this component from source.

func (GetAppSpecServiceOutput) Cors deprecated added in v4.7.0

The [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies of the app.

Deprecated: Service level CORS rules are deprecated in favor of ingresses

func (GetAppSpecServiceOutput) DockerfilePath

func (o GetAppSpecServiceOutput) DockerfilePath() pulumi.StringPtrOutput

The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.

func (GetAppSpecServiceOutput) ElementType

func (GetAppSpecServiceOutput) ElementType() reflect.Type

func (GetAppSpecServiceOutput) EnvironmentSlug

func (o GetAppSpecServiceOutput) EnvironmentSlug() pulumi.StringPtrOutput

An environment slug describing the type of this app.

func (GetAppSpecServiceOutput) Envs

Describes an environment variable made available to an app competent.

func (GetAppSpecServiceOutput) Git

A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of `git`, `github` or `gitlab` may be set.

func (GetAppSpecServiceOutput) Github

A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.

func (GetAppSpecServiceOutput) Gitlab

A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.

func (GetAppSpecServiceOutput) HealthCheck

A health check to determine the availability of this component.

func (GetAppSpecServiceOutput) HttpPort

The internal port on which this service's run command will listen.

func (GetAppSpecServiceOutput) Image

An image to use as the component's source. Only one of `git`, `github`, `gitlab`, or `image` may be set.

func (GetAppSpecServiceOutput) InstanceCount

func (o GetAppSpecServiceOutput) InstanceCount() pulumi.IntPtrOutput

The amount of instances that this component should be scaled to.

func (GetAppSpecServiceOutput) InstanceSizeSlug

func (o GetAppSpecServiceOutput) InstanceSizeSlug() pulumi.StringPtrOutput

The instance size to use for this component.

func (GetAppSpecServiceOutput) InternalPorts

func (o GetAppSpecServiceOutput) InternalPorts() pulumi.IntArrayOutput

A list of ports on which this service will listen for internal traffic.

func (GetAppSpecServiceOutput) LogDestinations added in v4.12.0

Describes a log forwarding destination.

func (GetAppSpecServiceOutput) Name

The name of the component.

func (GetAppSpecServiceOutput) Routes deprecated

Deprecated: Service level routes are deprecated in favor of ingresses

func (GetAppSpecServiceOutput) RunCommand

An optional run command to override the component's default.

func (GetAppSpecServiceOutput) SourceDir

An optional path to the working directory to use for the build.

func (GetAppSpecServiceOutput) ToGetAppSpecServiceOutput

func (o GetAppSpecServiceOutput) ToGetAppSpecServiceOutput() GetAppSpecServiceOutput

func (GetAppSpecServiceOutput) ToGetAppSpecServiceOutputWithContext

func (o GetAppSpecServiceOutput) ToGetAppSpecServiceOutputWithContext(ctx context.Context) GetAppSpecServiceOutput

type GetAppSpecServiceRoute

type GetAppSpecServiceRoute struct {
	// Paths must start with `/` and must be unique within the app.
	Path *string `pulumi:"path"`
	// An optional flag to preserve the path that is forwarded to the backend service.
	PreservePathPrefix *bool `pulumi:"preservePathPrefix"`
}

type GetAppSpecServiceRouteArgs

type GetAppSpecServiceRouteArgs struct {
	// Paths must start with `/` and must be unique within the app.
	Path pulumi.StringPtrInput `pulumi:"path"`
	// An optional flag to preserve the path that is forwarded to the backend service.
	PreservePathPrefix pulumi.BoolPtrInput `pulumi:"preservePathPrefix"`
}

func (GetAppSpecServiceRouteArgs) ElementType

func (GetAppSpecServiceRouteArgs) ElementType() reflect.Type

func (GetAppSpecServiceRouteArgs) ToGetAppSpecServiceRouteOutput

func (i GetAppSpecServiceRouteArgs) ToGetAppSpecServiceRouteOutput() GetAppSpecServiceRouteOutput

func (GetAppSpecServiceRouteArgs) ToGetAppSpecServiceRouteOutputWithContext

func (i GetAppSpecServiceRouteArgs) ToGetAppSpecServiceRouteOutputWithContext(ctx context.Context) GetAppSpecServiceRouteOutput

type GetAppSpecServiceRouteArray

type GetAppSpecServiceRouteArray []GetAppSpecServiceRouteInput

func (GetAppSpecServiceRouteArray) ElementType

func (GetAppSpecServiceRouteArray) ToGetAppSpecServiceRouteArrayOutput

func (i GetAppSpecServiceRouteArray) ToGetAppSpecServiceRouteArrayOutput() GetAppSpecServiceRouteArrayOutput

func (GetAppSpecServiceRouteArray) ToGetAppSpecServiceRouteArrayOutputWithContext

func (i GetAppSpecServiceRouteArray) ToGetAppSpecServiceRouteArrayOutputWithContext(ctx context.Context) GetAppSpecServiceRouteArrayOutput

type GetAppSpecServiceRouteArrayInput

type GetAppSpecServiceRouteArrayInput interface {
	pulumi.Input

	ToGetAppSpecServiceRouteArrayOutput() GetAppSpecServiceRouteArrayOutput
	ToGetAppSpecServiceRouteArrayOutputWithContext(context.Context) GetAppSpecServiceRouteArrayOutput
}

GetAppSpecServiceRouteArrayInput is an input type that accepts GetAppSpecServiceRouteArray and GetAppSpecServiceRouteArrayOutput values. You can construct a concrete instance of `GetAppSpecServiceRouteArrayInput` via:

GetAppSpecServiceRouteArray{ GetAppSpecServiceRouteArgs{...} }

type GetAppSpecServiceRouteArrayOutput

type GetAppSpecServiceRouteArrayOutput struct{ *pulumi.OutputState }

func (GetAppSpecServiceRouteArrayOutput) ElementType

func (GetAppSpecServiceRouteArrayOutput) Index

func (GetAppSpecServiceRouteArrayOutput) ToGetAppSpecServiceRouteArrayOutput

func (o GetAppSpecServiceRouteArrayOutput) ToGetAppSpecServiceRouteArrayOutput() GetAppSpecServiceRouteArrayOutput

func (GetAppSpecServiceRouteArrayOutput) ToGetAppSpecServiceRouteArrayOutputWithContext

func (o GetAppSpecServiceRouteArrayOutput) ToGetAppSpecServiceRouteArrayOutputWithContext(ctx context.Context) GetAppSpecServiceRouteArrayOutput

type GetAppSpecServiceRouteInput

type GetAppSpecServiceRouteInput interface {
	pulumi.Input

	ToGetAppSpecServiceRouteOutput() GetAppSpecServiceRouteOutput
	ToGetAppSpecServiceRouteOutputWithContext(context.Context) GetAppSpecServiceRouteOutput
}

GetAppSpecServiceRouteInput is an input type that accepts GetAppSpecServiceRouteArgs and GetAppSpecServiceRouteOutput values. You can construct a concrete instance of `GetAppSpecServiceRouteInput` via:

GetAppSpecServiceRouteArgs{...}

type GetAppSpecServiceRouteOutput

type GetAppSpecServiceRouteOutput struct{ *pulumi.OutputState }

func (GetAppSpecServiceRouteOutput) ElementType

func (GetAppSpecServiceRouteOutput) Path

Paths must start with `/` and must be unique within the app.

func (GetAppSpecServiceRouteOutput) PreservePathPrefix added in v4.11.0

func (o GetAppSpecServiceRouteOutput) PreservePathPrefix() pulumi.BoolPtrOutput

An optional flag to preserve the path that is forwarded to the backend service.

func (GetAppSpecServiceRouteOutput) ToGetAppSpecServiceRouteOutput

func (o GetAppSpecServiceRouteOutput) ToGetAppSpecServiceRouteOutput() GetAppSpecServiceRouteOutput

func (GetAppSpecServiceRouteOutput) ToGetAppSpecServiceRouteOutputWithContext

func (o GetAppSpecServiceRouteOutput) ToGetAppSpecServiceRouteOutputWithContext(ctx context.Context) GetAppSpecServiceRouteOutput

type GetAppSpecStaticSite

type GetAppSpecStaticSite struct {
	// An optional build command to run while building this component from source.
	BuildCommand *string `pulumi:"buildCommand"`
	// The name of the document to use as the fallback for any requests to documents that are not found when serving this static site.
	CatchallDocument *string `pulumi:"catchallDocument"`
	// The [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies of the app.
	//
	// Deprecated: Service level CORS rules are deprecated in favor of ingresses
	Cors *GetAppSpecStaticSiteCors `pulumi:"cors"`
	// The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
	DockerfilePath *string `pulumi:"dockerfilePath"`
	// An environment slug describing the type of this app.
	EnvironmentSlug *string `pulumi:"environmentSlug"`
	// Describes an environment variable made available to an app competent.
	Envs []GetAppSpecStaticSiteEnv `pulumi:"envs"`
	// The name of the error document to use when serving this static site.
	ErrorDocument *string `pulumi:"errorDocument"`
	// A Git repo to use as the component's source. The repository must be able to be cloned without authentication.  Only one of `git`, `github` or `gitlab`  may be set.
	Git *GetAppSpecStaticSiteGit `pulumi:"git"`
	// A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Github *GetAppSpecStaticSiteGithub `pulumi:"github"`
	// A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Gitlab *GetAppSpecStaticSiteGitlab `pulumi:"gitlab"`
	// The name of the index document to use when serving this static site.
	IndexDocument *string `pulumi:"indexDocument"`
	// The name of the component.
	Name string `pulumi:"name"`
	// An optional path to where the built assets will be located, relative to the build context. If not set, App Platform will automatically scan for these directory names: `_static`, `dist`, `public`.
	OutputDir *string `pulumi:"outputDir"`
	// Deprecated: Service level routes are deprecated in favor of ingresses
	Routes []GetAppSpecStaticSiteRoute `pulumi:"routes"`
	// An optional path to the working directory to use for the build.
	SourceDir *string `pulumi:"sourceDir"`
}

type GetAppSpecStaticSiteArgs

type GetAppSpecStaticSiteArgs struct {
	// An optional build command to run while building this component from source.
	BuildCommand pulumi.StringPtrInput `pulumi:"buildCommand"`
	// The name of the document to use as the fallback for any requests to documents that are not found when serving this static site.
	CatchallDocument pulumi.StringPtrInput `pulumi:"catchallDocument"`
	// The [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies of the app.
	//
	// Deprecated: Service level CORS rules are deprecated in favor of ingresses
	Cors GetAppSpecStaticSiteCorsPtrInput `pulumi:"cors"`
	// The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
	DockerfilePath pulumi.StringPtrInput `pulumi:"dockerfilePath"`
	// An environment slug describing the type of this app.
	EnvironmentSlug pulumi.StringPtrInput `pulumi:"environmentSlug"`
	// Describes an environment variable made available to an app competent.
	Envs GetAppSpecStaticSiteEnvArrayInput `pulumi:"envs"`
	// The name of the error document to use when serving this static site.
	ErrorDocument pulumi.StringPtrInput `pulumi:"errorDocument"`
	// A Git repo to use as the component's source. The repository must be able to be cloned without authentication.  Only one of `git`, `github` or `gitlab`  may be set.
	Git GetAppSpecStaticSiteGitPtrInput `pulumi:"git"`
	// A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Github GetAppSpecStaticSiteGithubPtrInput `pulumi:"github"`
	// A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Gitlab GetAppSpecStaticSiteGitlabPtrInput `pulumi:"gitlab"`
	// The name of the index document to use when serving this static site.
	IndexDocument pulumi.StringPtrInput `pulumi:"indexDocument"`
	// The name of the component.
	Name pulumi.StringInput `pulumi:"name"`
	// An optional path to where the built assets will be located, relative to the build context. If not set, App Platform will automatically scan for these directory names: `_static`, `dist`, `public`.
	OutputDir pulumi.StringPtrInput `pulumi:"outputDir"`
	// Deprecated: Service level routes are deprecated in favor of ingresses
	Routes GetAppSpecStaticSiteRouteArrayInput `pulumi:"routes"`
	// An optional path to the working directory to use for the build.
	SourceDir pulumi.StringPtrInput `pulumi:"sourceDir"`
}

func (GetAppSpecStaticSiteArgs) ElementType

func (GetAppSpecStaticSiteArgs) ElementType() reflect.Type

func (GetAppSpecStaticSiteArgs) ToGetAppSpecStaticSiteOutput

func (i GetAppSpecStaticSiteArgs) ToGetAppSpecStaticSiteOutput() GetAppSpecStaticSiteOutput

func (GetAppSpecStaticSiteArgs) ToGetAppSpecStaticSiteOutputWithContext

func (i GetAppSpecStaticSiteArgs) ToGetAppSpecStaticSiteOutputWithContext(ctx context.Context) GetAppSpecStaticSiteOutput

type GetAppSpecStaticSiteArray

type GetAppSpecStaticSiteArray []GetAppSpecStaticSiteInput

func (GetAppSpecStaticSiteArray) ElementType

func (GetAppSpecStaticSiteArray) ElementType() reflect.Type

func (GetAppSpecStaticSiteArray) ToGetAppSpecStaticSiteArrayOutput

func (i GetAppSpecStaticSiteArray) ToGetAppSpecStaticSiteArrayOutput() GetAppSpecStaticSiteArrayOutput

func (GetAppSpecStaticSiteArray) ToGetAppSpecStaticSiteArrayOutputWithContext

func (i GetAppSpecStaticSiteArray) ToGetAppSpecStaticSiteArrayOutputWithContext(ctx context.Context) GetAppSpecStaticSiteArrayOutput

type GetAppSpecStaticSiteArrayInput

type GetAppSpecStaticSiteArrayInput interface {
	pulumi.Input

	ToGetAppSpecStaticSiteArrayOutput() GetAppSpecStaticSiteArrayOutput
	ToGetAppSpecStaticSiteArrayOutputWithContext(context.Context) GetAppSpecStaticSiteArrayOutput
}

GetAppSpecStaticSiteArrayInput is an input type that accepts GetAppSpecStaticSiteArray and GetAppSpecStaticSiteArrayOutput values. You can construct a concrete instance of `GetAppSpecStaticSiteArrayInput` via:

GetAppSpecStaticSiteArray{ GetAppSpecStaticSiteArgs{...} }

type GetAppSpecStaticSiteArrayOutput

type GetAppSpecStaticSiteArrayOutput struct{ *pulumi.OutputState }

func (GetAppSpecStaticSiteArrayOutput) ElementType

func (GetAppSpecStaticSiteArrayOutput) Index

func (GetAppSpecStaticSiteArrayOutput) ToGetAppSpecStaticSiteArrayOutput

func (o GetAppSpecStaticSiteArrayOutput) ToGetAppSpecStaticSiteArrayOutput() GetAppSpecStaticSiteArrayOutput

func (GetAppSpecStaticSiteArrayOutput) ToGetAppSpecStaticSiteArrayOutputWithContext

func (o GetAppSpecStaticSiteArrayOutput) ToGetAppSpecStaticSiteArrayOutputWithContext(ctx context.Context) GetAppSpecStaticSiteArrayOutput

type GetAppSpecStaticSiteCors added in v4.7.0

type GetAppSpecStaticSiteCors struct {
	// Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is `include`. This configures the `Access-Control-Allow-Credentials` header.
	AllowCredentials *bool `pulumi:"allowCredentials"`
	// The set of allowed HTTP request headers. This configures the `Access-Control-Allow-Headers` header.
	AllowHeaders []string `pulumi:"allowHeaders"`
	// The set of allowed HTTP methods. This configures the `Access-Control-Allow-Methods` header.
	AllowMethods []string `pulumi:"allowMethods"`
	// The `Access-Control-Allow-Origin` can be
	AllowOrigins *GetAppSpecStaticSiteCorsAllowOrigins `pulumi:"allowOrigins"`
	// The set of HTTP response headers that browsers are allowed to access. This configures the `Access-Control-Expose-Headers` header.
	ExposeHeaders []string `pulumi:"exposeHeaders"`
	// An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: `5h30m`.
	MaxAge *string `pulumi:"maxAge"`
}

type GetAppSpecStaticSiteCorsAllowOrigins added in v4.7.0

type GetAppSpecStaticSiteCorsAllowOrigins struct {
	// The `Access-Control-Allow-Origin` header will be set to the client's origin only if the client's origin exactly matches the value you provide.
	Exact *string `pulumi:"exact"`
	// The `Access-Control-Allow-Origin` header will be set to the client's origin if the beginning of the client's origin matches the value you provide.
	Prefix *string `pulumi:"prefix"`
	// The `Access-Control-Allow-Origin` header will be set to the client's origin if the client’s origin matches the regex you provide, in [RE2 style syntax](https://github.com/google/re2/wiki/Syntax).
	Regex *string `pulumi:"regex"`
}

type GetAppSpecStaticSiteCorsAllowOriginsArgs added in v4.7.0

type GetAppSpecStaticSiteCorsAllowOriginsArgs struct {
	// The `Access-Control-Allow-Origin` header will be set to the client's origin only if the client's origin exactly matches the value you provide.
	Exact pulumi.StringPtrInput `pulumi:"exact"`
	// The `Access-Control-Allow-Origin` header will be set to the client's origin if the beginning of the client's origin matches the value you provide.
	Prefix pulumi.StringPtrInput `pulumi:"prefix"`
	// The `Access-Control-Allow-Origin` header will be set to the client's origin if the client’s origin matches the regex you provide, in [RE2 style syntax](https://github.com/google/re2/wiki/Syntax).
	Regex pulumi.StringPtrInput `pulumi:"regex"`
}

func (GetAppSpecStaticSiteCorsAllowOriginsArgs) ElementType added in v4.7.0

func (GetAppSpecStaticSiteCorsAllowOriginsArgs) ToGetAppSpecStaticSiteCorsAllowOriginsOutput added in v4.7.0

func (i GetAppSpecStaticSiteCorsAllowOriginsArgs) ToGetAppSpecStaticSiteCorsAllowOriginsOutput() GetAppSpecStaticSiteCorsAllowOriginsOutput

func (GetAppSpecStaticSiteCorsAllowOriginsArgs) ToGetAppSpecStaticSiteCorsAllowOriginsOutputWithContext added in v4.7.0

func (i GetAppSpecStaticSiteCorsAllowOriginsArgs) ToGetAppSpecStaticSiteCorsAllowOriginsOutputWithContext(ctx context.Context) GetAppSpecStaticSiteCorsAllowOriginsOutput

func (GetAppSpecStaticSiteCorsAllowOriginsArgs) ToGetAppSpecStaticSiteCorsAllowOriginsPtrOutput added in v4.7.0

func (i GetAppSpecStaticSiteCorsAllowOriginsArgs) ToGetAppSpecStaticSiteCorsAllowOriginsPtrOutput() GetAppSpecStaticSiteCorsAllowOriginsPtrOutput

func (GetAppSpecStaticSiteCorsAllowOriginsArgs) ToGetAppSpecStaticSiteCorsAllowOriginsPtrOutputWithContext added in v4.7.0

func (i GetAppSpecStaticSiteCorsAllowOriginsArgs) ToGetAppSpecStaticSiteCorsAllowOriginsPtrOutputWithContext(ctx context.Context) GetAppSpecStaticSiteCorsAllowOriginsPtrOutput

type GetAppSpecStaticSiteCorsAllowOriginsInput added in v4.7.0

type GetAppSpecStaticSiteCorsAllowOriginsInput interface {
	pulumi.Input

	ToGetAppSpecStaticSiteCorsAllowOriginsOutput() GetAppSpecStaticSiteCorsAllowOriginsOutput
	ToGetAppSpecStaticSiteCorsAllowOriginsOutputWithContext(context.Context) GetAppSpecStaticSiteCorsAllowOriginsOutput
}

GetAppSpecStaticSiteCorsAllowOriginsInput is an input type that accepts GetAppSpecStaticSiteCorsAllowOriginsArgs and GetAppSpecStaticSiteCorsAllowOriginsOutput values. You can construct a concrete instance of `GetAppSpecStaticSiteCorsAllowOriginsInput` via:

GetAppSpecStaticSiteCorsAllowOriginsArgs{...}

type GetAppSpecStaticSiteCorsAllowOriginsOutput added in v4.7.0

type GetAppSpecStaticSiteCorsAllowOriginsOutput struct{ *pulumi.OutputState }

func (GetAppSpecStaticSiteCorsAllowOriginsOutput) ElementType added in v4.7.0

func (GetAppSpecStaticSiteCorsAllowOriginsOutput) Exact added in v4.7.0

The `Access-Control-Allow-Origin` header will be set to the client's origin only if the client's origin exactly matches the value you provide.

func (GetAppSpecStaticSiteCorsAllowOriginsOutput) Prefix added in v4.7.0

The `Access-Control-Allow-Origin` header will be set to the client's origin if the beginning of the client's origin matches the value you provide.

func (GetAppSpecStaticSiteCorsAllowOriginsOutput) Regex added in v4.7.0

The `Access-Control-Allow-Origin` header will be set to the client's origin if the client’s origin matches the regex you provide, in [RE2 style syntax](https://github.com/google/re2/wiki/Syntax).

func (GetAppSpecStaticSiteCorsAllowOriginsOutput) ToGetAppSpecStaticSiteCorsAllowOriginsOutput added in v4.7.0

func (o GetAppSpecStaticSiteCorsAllowOriginsOutput) ToGetAppSpecStaticSiteCorsAllowOriginsOutput() GetAppSpecStaticSiteCorsAllowOriginsOutput

func (GetAppSpecStaticSiteCorsAllowOriginsOutput) ToGetAppSpecStaticSiteCorsAllowOriginsOutputWithContext added in v4.7.0

func (o GetAppSpecStaticSiteCorsAllowOriginsOutput) ToGetAppSpecStaticSiteCorsAllowOriginsOutputWithContext(ctx context.Context) GetAppSpecStaticSiteCorsAllowOriginsOutput

func (GetAppSpecStaticSiteCorsAllowOriginsOutput) ToGetAppSpecStaticSiteCorsAllowOriginsPtrOutput added in v4.7.0

func (o GetAppSpecStaticSiteCorsAllowOriginsOutput) ToGetAppSpecStaticSiteCorsAllowOriginsPtrOutput() GetAppSpecStaticSiteCorsAllowOriginsPtrOutput

func (GetAppSpecStaticSiteCorsAllowOriginsOutput) ToGetAppSpecStaticSiteCorsAllowOriginsPtrOutputWithContext added in v4.7.0

func (o GetAppSpecStaticSiteCorsAllowOriginsOutput) ToGetAppSpecStaticSiteCorsAllowOriginsPtrOutputWithContext(ctx context.Context) GetAppSpecStaticSiteCorsAllowOriginsPtrOutput

type GetAppSpecStaticSiteCorsAllowOriginsPtrInput added in v4.7.0

type GetAppSpecStaticSiteCorsAllowOriginsPtrInput interface {
	pulumi.Input

	ToGetAppSpecStaticSiteCorsAllowOriginsPtrOutput() GetAppSpecStaticSiteCorsAllowOriginsPtrOutput
	ToGetAppSpecStaticSiteCorsAllowOriginsPtrOutputWithContext(context.Context) GetAppSpecStaticSiteCorsAllowOriginsPtrOutput
}

GetAppSpecStaticSiteCorsAllowOriginsPtrInput is an input type that accepts GetAppSpecStaticSiteCorsAllowOriginsArgs, GetAppSpecStaticSiteCorsAllowOriginsPtr and GetAppSpecStaticSiteCorsAllowOriginsPtrOutput values. You can construct a concrete instance of `GetAppSpecStaticSiteCorsAllowOriginsPtrInput` via:

        GetAppSpecStaticSiteCorsAllowOriginsArgs{...}

or:

        nil

type GetAppSpecStaticSiteCorsAllowOriginsPtrOutput added in v4.7.0

type GetAppSpecStaticSiteCorsAllowOriginsPtrOutput struct{ *pulumi.OutputState }

func (GetAppSpecStaticSiteCorsAllowOriginsPtrOutput) Elem added in v4.7.0

func (GetAppSpecStaticSiteCorsAllowOriginsPtrOutput) ElementType added in v4.7.0

func (GetAppSpecStaticSiteCorsAllowOriginsPtrOutput) Exact added in v4.7.0

The `Access-Control-Allow-Origin` header will be set to the client's origin only if the client's origin exactly matches the value you provide.

func (GetAppSpecStaticSiteCorsAllowOriginsPtrOutput) Prefix added in v4.7.0

The `Access-Control-Allow-Origin` header will be set to the client's origin if the beginning of the client's origin matches the value you provide.

func (GetAppSpecStaticSiteCorsAllowOriginsPtrOutput) Regex added in v4.7.0

The `Access-Control-Allow-Origin` header will be set to the client's origin if the client’s origin matches the regex you provide, in [RE2 style syntax](https://github.com/google/re2/wiki/Syntax).

func (GetAppSpecStaticSiteCorsAllowOriginsPtrOutput) ToGetAppSpecStaticSiteCorsAllowOriginsPtrOutput added in v4.7.0

func (o GetAppSpecStaticSiteCorsAllowOriginsPtrOutput) ToGetAppSpecStaticSiteCorsAllowOriginsPtrOutput() GetAppSpecStaticSiteCorsAllowOriginsPtrOutput

func (GetAppSpecStaticSiteCorsAllowOriginsPtrOutput) ToGetAppSpecStaticSiteCorsAllowOriginsPtrOutputWithContext added in v4.7.0

func (o GetAppSpecStaticSiteCorsAllowOriginsPtrOutput) ToGetAppSpecStaticSiteCorsAllowOriginsPtrOutputWithContext(ctx context.Context) GetAppSpecStaticSiteCorsAllowOriginsPtrOutput

type GetAppSpecStaticSiteCorsArgs added in v4.7.0

type GetAppSpecStaticSiteCorsArgs struct {
	// Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is `include`. This configures the `Access-Control-Allow-Credentials` header.
	AllowCredentials pulumi.BoolPtrInput `pulumi:"allowCredentials"`
	// The set of allowed HTTP request headers. This configures the `Access-Control-Allow-Headers` header.
	AllowHeaders pulumi.StringArrayInput `pulumi:"allowHeaders"`
	// The set of allowed HTTP methods. This configures the `Access-Control-Allow-Methods` header.
	AllowMethods pulumi.StringArrayInput `pulumi:"allowMethods"`
	// The `Access-Control-Allow-Origin` can be
	AllowOrigins GetAppSpecStaticSiteCorsAllowOriginsPtrInput `pulumi:"allowOrigins"`
	// The set of HTTP response headers that browsers are allowed to access. This configures the `Access-Control-Expose-Headers` header.
	ExposeHeaders pulumi.StringArrayInput `pulumi:"exposeHeaders"`
	// An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: `5h30m`.
	MaxAge pulumi.StringPtrInput `pulumi:"maxAge"`
}

func (GetAppSpecStaticSiteCorsArgs) ElementType added in v4.7.0

func (GetAppSpecStaticSiteCorsArgs) ToGetAppSpecStaticSiteCorsOutput added in v4.7.0

func (i GetAppSpecStaticSiteCorsArgs) ToGetAppSpecStaticSiteCorsOutput() GetAppSpecStaticSiteCorsOutput

func (GetAppSpecStaticSiteCorsArgs) ToGetAppSpecStaticSiteCorsOutputWithContext added in v4.7.0

func (i GetAppSpecStaticSiteCorsArgs) ToGetAppSpecStaticSiteCorsOutputWithContext(ctx context.Context) GetAppSpecStaticSiteCorsOutput

func (GetAppSpecStaticSiteCorsArgs) ToGetAppSpecStaticSiteCorsPtrOutput added in v4.7.0

func (i GetAppSpecStaticSiteCorsArgs) ToGetAppSpecStaticSiteCorsPtrOutput() GetAppSpecStaticSiteCorsPtrOutput

func (GetAppSpecStaticSiteCorsArgs) ToGetAppSpecStaticSiteCorsPtrOutputWithContext added in v4.7.0

func (i GetAppSpecStaticSiteCorsArgs) ToGetAppSpecStaticSiteCorsPtrOutputWithContext(ctx context.Context) GetAppSpecStaticSiteCorsPtrOutput

type GetAppSpecStaticSiteCorsInput added in v4.7.0

type GetAppSpecStaticSiteCorsInput interface {
	pulumi.Input

	ToGetAppSpecStaticSiteCorsOutput() GetAppSpecStaticSiteCorsOutput
	ToGetAppSpecStaticSiteCorsOutputWithContext(context.Context) GetAppSpecStaticSiteCorsOutput
}

GetAppSpecStaticSiteCorsInput is an input type that accepts GetAppSpecStaticSiteCorsArgs and GetAppSpecStaticSiteCorsOutput values. You can construct a concrete instance of `GetAppSpecStaticSiteCorsInput` via:

GetAppSpecStaticSiteCorsArgs{...}

type GetAppSpecStaticSiteCorsOutput added in v4.7.0

type GetAppSpecStaticSiteCorsOutput struct{ *pulumi.OutputState }

func (GetAppSpecStaticSiteCorsOutput) AllowCredentials added in v4.7.0

Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is `include`. This configures the `Access-Control-Allow-Credentials` header.

func (GetAppSpecStaticSiteCorsOutput) AllowHeaders added in v4.7.0

The set of allowed HTTP request headers. This configures the `Access-Control-Allow-Headers` header.

func (GetAppSpecStaticSiteCorsOutput) AllowMethods added in v4.7.0

The set of allowed HTTP methods. This configures the `Access-Control-Allow-Methods` header.

func (GetAppSpecStaticSiteCorsOutput) AllowOrigins added in v4.7.0

The `Access-Control-Allow-Origin` can be

func (GetAppSpecStaticSiteCorsOutput) ElementType added in v4.7.0

func (GetAppSpecStaticSiteCorsOutput) ExposeHeaders added in v4.7.0

The set of HTTP response headers that browsers are allowed to access. This configures the `Access-Control-Expose-Headers` header.

func (GetAppSpecStaticSiteCorsOutput) MaxAge added in v4.7.0

An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: `5h30m`.

func (GetAppSpecStaticSiteCorsOutput) ToGetAppSpecStaticSiteCorsOutput added in v4.7.0

func (o GetAppSpecStaticSiteCorsOutput) ToGetAppSpecStaticSiteCorsOutput() GetAppSpecStaticSiteCorsOutput

func (GetAppSpecStaticSiteCorsOutput) ToGetAppSpecStaticSiteCorsOutputWithContext added in v4.7.0

func (o GetAppSpecStaticSiteCorsOutput) ToGetAppSpecStaticSiteCorsOutputWithContext(ctx context.Context) GetAppSpecStaticSiteCorsOutput

func (GetAppSpecStaticSiteCorsOutput) ToGetAppSpecStaticSiteCorsPtrOutput added in v4.7.0

func (o GetAppSpecStaticSiteCorsOutput) ToGetAppSpecStaticSiteCorsPtrOutput() GetAppSpecStaticSiteCorsPtrOutput

func (GetAppSpecStaticSiteCorsOutput) ToGetAppSpecStaticSiteCorsPtrOutputWithContext added in v4.7.0

func (o GetAppSpecStaticSiteCorsOutput) ToGetAppSpecStaticSiteCorsPtrOutputWithContext(ctx context.Context) GetAppSpecStaticSiteCorsPtrOutput

type GetAppSpecStaticSiteCorsPtrInput added in v4.7.0

type GetAppSpecStaticSiteCorsPtrInput interface {
	pulumi.Input

	ToGetAppSpecStaticSiteCorsPtrOutput() GetAppSpecStaticSiteCorsPtrOutput
	ToGetAppSpecStaticSiteCorsPtrOutputWithContext(context.Context) GetAppSpecStaticSiteCorsPtrOutput
}

GetAppSpecStaticSiteCorsPtrInput is an input type that accepts GetAppSpecStaticSiteCorsArgs, GetAppSpecStaticSiteCorsPtr and GetAppSpecStaticSiteCorsPtrOutput values. You can construct a concrete instance of `GetAppSpecStaticSiteCorsPtrInput` via:

        GetAppSpecStaticSiteCorsArgs{...}

or:

        nil

func GetAppSpecStaticSiteCorsPtr added in v4.7.0

func GetAppSpecStaticSiteCorsPtr(v *GetAppSpecStaticSiteCorsArgs) GetAppSpecStaticSiteCorsPtrInput

type GetAppSpecStaticSiteCorsPtrOutput added in v4.7.0

type GetAppSpecStaticSiteCorsPtrOutput struct{ *pulumi.OutputState }

func (GetAppSpecStaticSiteCorsPtrOutput) AllowCredentials added in v4.7.0

Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is `include`. This configures the `Access-Control-Allow-Credentials` header.

func (GetAppSpecStaticSiteCorsPtrOutput) AllowHeaders added in v4.7.0

The set of allowed HTTP request headers. This configures the `Access-Control-Allow-Headers` header.

func (GetAppSpecStaticSiteCorsPtrOutput) AllowMethods added in v4.7.0

The set of allowed HTTP methods. This configures the `Access-Control-Allow-Methods` header.

func (GetAppSpecStaticSiteCorsPtrOutput) AllowOrigins added in v4.7.0

The `Access-Control-Allow-Origin` can be

func (GetAppSpecStaticSiteCorsPtrOutput) Elem added in v4.7.0

func (GetAppSpecStaticSiteCorsPtrOutput) ElementType added in v4.7.0

func (GetAppSpecStaticSiteCorsPtrOutput) ExposeHeaders added in v4.7.0

The set of HTTP response headers that browsers are allowed to access. This configures the `Access-Control-Expose-Headers` header.

func (GetAppSpecStaticSiteCorsPtrOutput) MaxAge added in v4.7.0

An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: `5h30m`.

func (GetAppSpecStaticSiteCorsPtrOutput) ToGetAppSpecStaticSiteCorsPtrOutput added in v4.7.0

func (o GetAppSpecStaticSiteCorsPtrOutput) ToGetAppSpecStaticSiteCorsPtrOutput() GetAppSpecStaticSiteCorsPtrOutput

func (GetAppSpecStaticSiteCorsPtrOutput) ToGetAppSpecStaticSiteCorsPtrOutputWithContext added in v4.7.0

func (o GetAppSpecStaticSiteCorsPtrOutput) ToGetAppSpecStaticSiteCorsPtrOutputWithContext(ctx context.Context) GetAppSpecStaticSiteCorsPtrOutput

type GetAppSpecStaticSiteEnv

type GetAppSpecStaticSiteEnv struct {
	// The name of the environment variable.
	Key *string `pulumi:"key"`
	// The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).
	Scope *string `pulumi:"scope"`
	// The type of the environment variable, `GENERAL` or `SECRET`.
	Type string `pulumi:"type"`
	// The threshold for the type of the warning.
	Value *string `pulumi:"value"`
}

type GetAppSpecStaticSiteEnvArgs

type GetAppSpecStaticSiteEnvArgs struct {
	// The name of the environment variable.
	Key pulumi.StringPtrInput `pulumi:"key"`
	// The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).
	Scope pulumi.StringPtrInput `pulumi:"scope"`
	// The type of the environment variable, `GENERAL` or `SECRET`.
	Type pulumi.StringInput `pulumi:"type"`
	// The threshold for the type of the warning.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (GetAppSpecStaticSiteEnvArgs) ElementType

func (GetAppSpecStaticSiteEnvArgs) ToGetAppSpecStaticSiteEnvOutput

func (i GetAppSpecStaticSiteEnvArgs) ToGetAppSpecStaticSiteEnvOutput() GetAppSpecStaticSiteEnvOutput

func (GetAppSpecStaticSiteEnvArgs) ToGetAppSpecStaticSiteEnvOutputWithContext

func (i GetAppSpecStaticSiteEnvArgs) ToGetAppSpecStaticSiteEnvOutputWithContext(ctx context.Context) GetAppSpecStaticSiteEnvOutput

type GetAppSpecStaticSiteEnvArray

type GetAppSpecStaticSiteEnvArray []GetAppSpecStaticSiteEnvInput

func (GetAppSpecStaticSiteEnvArray) ElementType

func (GetAppSpecStaticSiteEnvArray) ToGetAppSpecStaticSiteEnvArrayOutput

func (i GetAppSpecStaticSiteEnvArray) ToGetAppSpecStaticSiteEnvArrayOutput() GetAppSpecStaticSiteEnvArrayOutput

func (GetAppSpecStaticSiteEnvArray) ToGetAppSpecStaticSiteEnvArrayOutputWithContext

func (i GetAppSpecStaticSiteEnvArray) ToGetAppSpecStaticSiteEnvArrayOutputWithContext(ctx context.Context) GetAppSpecStaticSiteEnvArrayOutput

type GetAppSpecStaticSiteEnvArrayInput

type GetAppSpecStaticSiteEnvArrayInput interface {
	pulumi.Input

	ToGetAppSpecStaticSiteEnvArrayOutput() GetAppSpecStaticSiteEnvArrayOutput
	ToGetAppSpecStaticSiteEnvArrayOutputWithContext(context.Context) GetAppSpecStaticSiteEnvArrayOutput
}

GetAppSpecStaticSiteEnvArrayInput is an input type that accepts GetAppSpecStaticSiteEnvArray and GetAppSpecStaticSiteEnvArrayOutput values. You can construct a concrete instance of `GetAppSpecStaticSiteEnvArrayInput` via:

GetAppSpecStaticSiteEnvArray{ GetAppSpecStaticSiteEnvArgs{...} }

type GetAppSpecStaticSiteEnvArrayOutput

type GetAppSpecStaticSiteEnvArrayOutput struct{ *pulumi.OutputState }

func (GetAppSpecStaticSiteEnvArrayOutput) ElementType

func (GetAppSpecStaticSiteEnvArrayOutput) Index

func (GetAppSpecStaticSiteEnvArrayOutput) ToGetAppSpecStaticSiteEnvArrayOutput

func (o GetAppSpecStaticSiteEnvArrayOutput) ToGetAppSpecStaticSiteEnvArrayOutput() GetAppSpecStaticSiteEnvArrayOutput

func (GetAppSpecStaticSiteEnvArrayOutput) ToGetAppSpecStaticSiteEnvArrayOutputWithContext

func (o GetAppSpecStaticSiteEnvArrayOutput) ToGetAppSpecStaticSiteEnvArrayOutputWithContext(ctx context.Context) GetAppSpecStaticSiteEnvArrayOutput

type GetAppSpecStaticSiteEnvInput

type GetAppSpecStaticSiteEnvInput interface {
	pulumi.Input

	ToGetAppSpecStaticSiteEnvOutput() GetAppSpecStaticSiteEnvOutput
	ToGetAppSpecStaticSiteEnvOutputWithContext(context.Context) GetAppSpecStaticSiteEnvOutput
}

GetAppSpecStaticSiteEnvInput is an input type that accepts GetAppSpecStaticSiteEnvArgs and GetAppSpecStaticSiteEnvOutput values. You can construct a concrete instance of `GetAppSpecStaticSiteEnvInput` via:

GetAppSpecStaticSiteEnvArgs{...}

type GetAppSpecStaticSiteEnvOutput

type GetAppSpecStaticSiteEnvOutput struct{ *pulumi.OutputState }

func (GetAppSpecStaticSiteEnvOutput) ElementType

func (GetAppSpecStaticSiteEnvOutput) Key

The name of the environment variable.

func (GetAppSpecStaticSiteEnvOutput) Scope

The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).

func (GetAppSpecStaticSiteEnvOutput) ToGetAppSpecStaticSiteEnvOutput

func (o GetAppSpecStaticSiteEnvOutput) ToGetAppSpecStaticSiteEnvOutput() GetAppSpecStaticSiteEnvOutput

func (GetAppSpecStaticSiteEnvOutput) ToGetAppSpecStaticSiteEnvOutputWithContext

func (o GetAppSpecStaticSiteEnvOutput) ToGetAppSpecStaticSiteEnvOutputWithContext(ctx context.Context) GetAppSpecStaticSiteEnvOutput

func (GetAppSpecStaticSiteEnvOutput) Type

The type of the environment variable, `GENERAL` or `SECRET`.

func (GetAppSpecStaticSiteEnvOutput) Value

The threshold for the type of the warning.

type GetAppSpecStaticSiteGit

type GetAppSpecStaticSiteGit struct {
	// The name of the branch to use.
	Branch *string `pulumi:"branch"`
	// The clone URL of the repo.
	RepoCloneUrl *string `pulumi:"repoCloneUrl"`
}

type GetAppSpecStaticSiteGitArgs

type GetAppSpecStaticSiteGitArgs struct {
	// The name of the branch to use.
	Branch pulumi.StringPtrInput `pulumi:"branch"`
	// The clone URL of the repo.
	RepoCloneUrl pulumi.StringPtrInput `pulumi:"repoCloneUrl"`
}

func (GetAppSpecStaticSiteGitArgs) ElementType

func (GetAppSpecStaticSiteGitArgs) ToGetAppSpecStaticSiteGitOutput

func (i GetAppSpecStaticSiteGitArgs) ToGetAppSpecStaticSiteGitOutput() GetAppSpecStaticSiteGitOutput

func (GetAppSpecStaticSiteGitArgs) ToGetAppSpecStaticSiteGitOutputWithContext

func (i GetAppSpecStaticSiteGitArgs) ToGetAppSpecStaticSiteGitOutputWithContext(ctx context.Context) GetAppSpecStaticSiteGitOutput

func (GetAppSpecStaticSiteGitArgs) ToGetAppSpecStaticSiteGitPtrOutput

func (i GetAppSpecStaticSiteGitArgs) ToGetAppSpecStaticSiteGitPtrOutput() GetAppSpecStaticSiteGitPtrOutput

func (GetAppSpecStaticSiteGitArgs) ToGetAppSpecStaticSiteGitPtrOutputWithContext

func (i GetAppSpecStaticSiteGitArgs) ToGetAppSpecStaticSiteGitPtrOutputWithContext(ctx context.Context) GetAppSpecStaticSiteGitPtrOutput

type GetAppSpecStaticSiteGitInput

type GetAppSpecStaticSiteGitInput interface {
	pulumi.Input

	ToGetAppSpecStaticSiteGitOutput() GetAppSpecStaticSiteGitOutput
	ToGetAppSpecStaticSiteGitOutputWithContext(context.Context) GetAppSpecStaticSiteGitOutput
}

GetAppSpecStaticSiteGitInput is an input type that accepts GetAppSpecStaticSiteGitArgs and GetAppSpecStaticSiteGitOutput values. You can construct a concrete instance of `GetAppSpecStaticSiteGitInput` via:

GetAppSpecStaticSiteGitArgs{...}

type GetAppSpecStaticSiteGitOutput

type GetAppSpecStaticSiteGitOutput struct{ *pulumi.OutputState }

func (GetAppSpecStaticSiteGitOutput) Branch

The name of the branch to use.

func (GetAppSpecStaticSiteGitOutput) ElementType

func (GetAppSpecStaticSiteGitOutput) RepoCloneUrl

The clone URL of the repo.

func (GetAppSpecStaticSiteGitOutput) ToGetAppSpecStaticSiteGitOutput

func (o GetAppSpecStaticSiteGitOutput) ToGetAppSpecStaticSiteGitOutput() GetAppSpecStaticSiteGitOutput

func (GetAppSpecStaticSiteGitOutput) ToGetAppSpecStaticSiteGitOutputWithContext

func (o GetAppSpecStaticSiteGitOutput) ToGetAppSpecStaticSiteGitOutputWithContext(ctx context.Context) GetAppSpecStaticSiteGitOutput

func (GetAppSpecStaticSiteGitOutput) ToGetAppSpecStaticSiteGitPtrOutput

func (o GetAppSpecStaticSiteGitOutput) ToGetAppSpecStaticSiteGitPtrOutput() GetAppSpecStaticSiteGitPtrOutput

func (GetAppSpecStaticSiteGitOutput) ToGetAppSpecStaticSiteGitPtrOutputWithContext

func (o GetAppSpecStaticSiteGitOutput) ToGetAppSpecStaticSiteGitPtrOutputWithContext(ctx context.Context) GetAppSpecStaticSiteGitPtrOutput

type GetAppSpecStaticSiteGitPtrInput

type GetAppSpecStaticSiteGitPtrInput interface {
	pulumi.Input

	ToGetAppSpecStaticSiteGitPtrOutput() GetAppSpecStaticSiteGitPtrOutput
	ToGetAppSpecStaticSiteGitPtrOutputWithContext(context.Context) GetAppSpecStaticSiteGitPtrOutput
}

GetAppSpecStaticSiteGitPtrInput is an input type that accepts GetAppSpecStaticSiteGitArgs, GetAppSpecStaticSiteGitPtr and GetAppSpecStaticSiteGitPtrOutput values. You can construct a concrete instance of `GetAppSpecStaticSiteGitPtrInput` via:

        GetAppSpecStaticSiteGitArgs{...}

or:

        nil

type GetAppSpecStaticSiteGitPtrOutput

type GetAppSpecStaticSiteGitPtrOutput struct{ *pulumi.OutputState }

func (GetAppSpecStaticSiteGitPtrOutput) Branch

The name of the branch to use.

func (GetAppSpecStaticSiteGitPtrOutput) Elem

func (GetAppSpecStaticSiteGitPtrOutput) ElementType

func (GetAppSpecStaticSiteGitPtrOutput) RepoCloneUrl

The clone URL of the repo.

func (GetAppSpecStaticSiteGitPtrOutput) ToGetAppSpecStaticSiteGitPtrOutput

func (o GetAppSpecStaticSiteGitPtrOutput) ToGetAppSpecStaticSiteGitPtrOutput() GetAppSpecStaticSiteGitPtrOutput

func (GetAppSpecStaticSiteGitPtrOutput) ToGetAppSpecStaticSiteGitPtrOutputWithContext

func (o GetAppSpecStaticSiteGitPtrOutput) ToGetAppSpecStaticSiteGitPtrOutputWithContext(ctx context.Context) GetAppSpecStaticSiteGitPtrOutput

type GetAppSpecStaticSiteGithub

type GetAppSpecStaticSiteGithub struct {
	// The name of the branch to use.
	Branch *string `pulumi:"branch"`
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPush *bool `pulumi:"deployOnPush"`
	// The name of the repo in the format `owner/repo`.
	Repo *string `pulumi:"repo"`
}

type GetAppSpecStaticSiteGithubArgs

type GetAppSpecStaticSiteGithubArgs struct {
	// The name of the branch to use.
	Branch pulumi.StringPtrInput `pulumi:"branch"`
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPush pulumi.BoolPtrInput `pulumi:"deployOnPush"`
	// The name of the repo in the format `owner/repo`.
	Repo pulumi.StringPtrInput `pulumi:"repo"`
}

func (GetAppSpecStaticSiteGithubArgs) ElementType

func (GetAppSpecStaticSiteGithubArgs) ToGetAppSpecStaticSiteGithubOutput

func (i GetAppSpecStaticSiteGithubArgs) ToGetAppSpecStaticSiteGithubOutput() GetAppSpecStaticSiteGithubOutput

func (GetAppSpecStaticSiteGithubArgs) ToGetAppSpecStaticSiteGithubOutputWithContext

func (i GetAppSpecStaticSiteGithubArgs) ToGetAppSpecStaticSiteGithubOutputWithContext(ctx context.Context) GetAppSpecStaticSiteGithubOutput

func (GetAppSpecStaticSiteGithubArgs) ToGetAppSpecStaticSiteGithubPtrOutput

func (i GetAppSpecStaticSiteGithubArgs) ToGetAppSpecStaticSiteGithubPtrOutput() GetAppSpecStaticSiteGithubPtrOutput

func (GetAppSpecStaticSiteGithubArgs) ToGetAppSpecStaticSiteGithubPtrOutputWithContext

func (i GetAppSpecStaticSiteGithubArgs) ToGetAppSpecStaticSiteGithubPtrOutputWithContext(ctx context.Context) GetAppSpecStaticSiteGithubPtrOutput

type GetAppSpecStaticSiteGithubInput

type GetAppSpecStaticSiteGithubInput interface {
	pulumi.Input

	ToGetAppSpecStaticSiteGithubOutput() GetAppSpecStaticSiteGithubOutput
	ToGetAppSpecStaticSiteGithubOutputWithContext(context.Context) GetAppSpecStaticSiteGithubOutput
}

GetAppSpecStaticSiteGithubInput is an input type that accepts GetAppSpecStaticSiteGithubArgs and GetAppSpecStaticSiteGithubOutput values. You can construct a concrete instance of `GetAppSpecStaticSiteGithubInput` via:

GetAppSpecStaticSiteGithubArgs{...}

type GetAppSpecStaticSiteGithubOutput

type GetAppSpecStaticSiteGithubOutput struct{ *pulumi.OutputState }

func (GetAppSpecStaticSiteGithubOutput) Branch

The name of the branch to use.

func (GetAppSpecStaticSiteGithubOutput) DeployOnPush

Whether to automatically deploy new commits made to the repo.

func (GetAppSpecStaticSiteGithubOutput) ElementType

func (GetAppSpecStaticSiteGithubOutput) Repo

The name of the repo in the format `owner/repo`.

func (GetAppSpecStaticSiteGithubOutput) ToGetAppSpecStaticSiteGithubOutput

func (o GetAppSpecStaticSiteGithubOutput) ToGetAppSpecStaticSiteGithubOutput() GetAppSpecStaticSiteGithubOutput

func (GetAppSpecStaticSiteGithubOutput) ToGetAppSpecStaticSiteGithubOutputWithContext

func (o GetAppSpecStaticSiteGithubOutput) ToGetAppSpecStaticSiteGithubOutputWithContext(ctx context.Context) GetAppSpecStaticSiteGithubOutput

func (GetAppSpecStaticSiteGithubOutput) ToGetAppSpecStaticSiteGithubPtrOutput

func (o GetAppSpecStaticSiteGithubOutput) ToGetAppSpecStaticSiteGithubPtrOutput() GetAppSpecStaticSiteGithubPtrOutput

func (GetAppSpecStaticSiteGithubOutput) ToGetAppSpecStaticSiteGithubPtrOutputWithContext

func (o GetAppSpecStaticSiteGithubOutput) ToGetAppSpecStaticSiteGithubPtrOutputWithContext(ctx context.Context) GetAppSpecStaticSiteGithubPtrOutput

type GetAppSpecStaticSiteGithubPtrInput

type GetAppSpecStaticSiteGithubPtrInput interface {
	pulumi.Input

	ToGetAppSpecStaticSiteGithubPtrOutput() GetAppSpecStaticSiteGithubPtrOutput
	ToGetAppSpecStaticSiteGithubPtrOutputWithContext(context.Context) GetAppSpecStaticSiteGithubPtrOutput
}

GetAppSpecStaticSiteGithubPtrInput is an input type that accepts GetAppSpecStaticSiteGithubArgs, GetAppSpecStaticSiteGithubPtr and GetAppSpecStaticSiteGithubPtrOutput values. You can construct a concrete instance of `GetAppSpecStaticSiteGithubPtrInput` via:

        GetAppSpecStaticSiteGithubArgs{...}

or:

        nil

type GetAppSpecStaticSiteGithubPtrOutput

type GetAppSpecStaticSiteGithubPtrOutput struct{ *pulumi.OutputState }

func (GetAppSpecStaticSiteGithubPtrOutput) Branch

The name of the branch to use.

func (GetAppSpecStaticSiteGithubPtrOutput) DeployOnPush

Whether to automatically deploy new commits made to the repo.

func (GetAppSpecStaticSiteGithubPtrOutput) Elem

func (GetAppSpecStaticSiteGithubPtrOutput) ElementType

func (GetAppSpecStaticSiteGithubPtrOutput) Repo

The name of the repo in the format `owner/repo`.

func (GetAppSpecStaticSiteGithubPtrOutput) ToGetAppSpecStaticSiteGithubPtrOutput

func (o GetAppSpecStaticSiteGithubPtrOutput) ToGetAppSpecStaticSiteGithubPtrOutput() GetAppSpecStaticSiteGithubPtrOutput

func (GetAppSpecStaticSiteGithubPtrOutput) ToGetAppSpecStaticSiteGithubPtrOutputWithContext

func (o GetAppSpecStaticSiteGithubPtrOutput) ToGetAppSpecStaticSiteGithubPtrOutputWithContext(ctx context.Context) GetAppSpecStaticSiteGithubPtrOutput

type GetAppSpecStaticSiteGitlab

type GetAppSpecStaticSiteGitlab struct {
	// The name of the branch to use.
	Branch *string `pulumi:"branch"`
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPush *bool `pulumi:"deployOnPush"`
	// The name of the repo in the format `owner/repo`.
	Repo *string `pulumi:"repo"`
}

type GetAppSpecStaticSiteGitlabArgs

type GetAppSpecStaticSiteGitlabArgs struct {
	// The name of the branch to use.
	Branch pulumi.StringPtrInput `pulumi:"branch"`
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPush pulumi.BoolPtrInput `pulumi:"deployOnPush"`
	// The name of the repo in the format `owner/repo`.
	Repo pulumi.StringPtrInput `pulumi:"repo"`
}

func (GetAppSpecStaticSiteGitlabArgs) ElementType

func (GetAppSpecStaticSiteGitlabArgs) ToGetAppSpecStaticSiteGitlabOutput

func (i GetAppSpecStaticSiteGitlabArgs) ToGetAppSpecStaticSiteGitlabOutput() GetAppSpecStaticSiteGitlabOutput

func (GetAppSpecStaticSiteGitlabArgs) ToGetAppSpecStaticSiteGitlabOutputWithContext

func (i GetAppSpecStaticSiteGitlabArgs) ToGetAppSpecStaticSiteGitlabOutputWithContext(ctx context.Context) GetAppSpecStaticSiteGitlabOutput

func (GetAppSpecStaticSiteGitlabArgs) ToGetAppSpecStaticSiteGitlabPtrOutput

func (i GetAppSpecStaticSiteGitlabArgs) ToGetAppSpecStaticSiteGitlabPtrOutput() GetAppSpecStaticSiteGitlabPtrOutput

func (GetAppSpecStaticSiteGitlabArgs) ToGetAppSpecStaticSiteGitlabPtrOutputWithContext

func (i GetAppSpecStaticSiteGitlabArgs) ToGetAppSpecStaticSiteGitlabPtrOutputWithContext(ctx context.Context) GetAppSpecStaticSiteGitlabPtrOutput

type GetAppSpecStaticSiteGitlabInput

type GetAppSpecStaticSiteGitlabInput interface {
	pulumi.Input

	ToGetAppSpecStaticSiteGitlabOutput() GetAppSpecStaticSiteGitlabOutput
	ToGetAppSpecStaticSiteGitlabOutputWithContext(context.Context) GetAppSpecStaticSiteGitlabOutput
}

GetAppSpecStaticSiteGitlabInput is an input type that accepts GetAppSpecStaticSiteGitlabArgs and GetAppSpecStaticSiteGitlabOutput values. You can construct a concrete instance of `GetAppSpecStaticSiteGitlabInput` via:

GetAppSpecStaticSiteGitlabArgs{...}

type GetAppSpecStaticSiteGitlabOutput

type GetAppSpecStaticSiteGitlabOutput struct{ *pulumi.OutputState }

func (GetAppSpecStaticSiteGitlabOutput) Branch

The name of the branch to use.

func (GetAppSpecStaticSiteGitlabOutput) DeployOnPush

Whether to automatically deploy new commits made to the repo.

func (GetAppSpecStaticSiteGitlabOutput) ElementType

func (GetAppSpecStaticSiteGitlabOutput) Repo

The name of the repo in the format `owner/repo`.

func (GetAppSpecStaticSiteGitlabOutput) ToGetAppSpecStaticSiteGitlabOutput

func (o GetAppSpecStaticSiteGitlabOutput) ToGetAppSpecStaticSiteGitlabOutput() GetAppSpecStaticSiteGitlabOutput

func (GetAppSpecStaticSiteGitlabOutput) ToGetAppSpecStaticSiteGitlabOutputWithContext

func (o GetAppSpecStaticSiteGitlabOutput) ToGetAppSpecStaticSiteGitlabOutputWithContext(ctx context.Context) GetAppSpecStaticSiteGitlabOutput

func (GetAppSpecStaticSiteGitlabOutput) ToGetAppSpecStaticSiteGitlabPtrOutput

func (o GetAppSpecStaticSiteGitlabOutput) ToGetAppSpecStaticSiteGitlabPtrOutput() GetAppSpecStaticSiteGitlabPtrOutput

func (GetAppSpecStaticSiteGitlabOutput) ToGetAppSpecStaticSiteGitlabPtrOutputWithContext

func (o GetAppSpecStaticSiteGitlabOutput) ToGetAppSpecStaticSiteGitlabPtrOutputWithContext(ctx context.Context) GetAppSpecStaticSiteGitlabPtrOutput

type GetAppSpecStaticSiteGitlabPtrInput

type GetAppSpecStaticSiteGitlabPtrInput interface {
	pulumi.Input

	ToGetAppSpecStaticSiteGitlabPtrOutput() GetAppSpecStaticSiteGitlabPtrOutput
	ToGetAppSpecStaticSiteGitlabPtrOutputWithContext(context.Context) GetAppSpecStaticSiteGitlabPtrOutput
}

GetAppSpecStaticSiteGitlabPtrInput is an input type that accepts GetAppSpecStaticSiteGitlabArgs, GetAppSpecStaticSiteGitlabPtr and GetAppSpecStaticSiteGitlabPtrOutput values. You can construct a concrete instance of `GetAppSpecStaticSiteGitlabPtrInput` via:

        GetAppSpecStaticSiteGitlabArgs{...}

or:

        nil

type GetAppSpecStaticSiteGitlabPtrOutput

type GetAppSpecStaticSiteGitlabPtrOutput struct{ *pulumi.OutputState }

func (GetAppSpecStaticSiteGitlabPtrOutput) Branch

The name of the branch to use.

func (GetAppSpecStaticSiteGitlabPtrOutput) DeployOnPush

Whether to automatically deploy new commits made to the repo.

func (GetAppSpecStaticSiteGitlabPtrOutput) Elem

func (GetAppSpecStaticSiteGitlabPtrOutput) ElementType

func (GetAppSpecStaticSiteGitlabPtrOutput) Repo

The name of the repo in the format `owner/repo`.

func (GetAppSpecStaticSiteGitlabPtrOutput) ToGetAppSpecStaticSiteGitlabPtrOutput

func (o GetAppSpecStaticSiteGitlabPtrOutput) ToGetAppSpecStaticSiteGitlabPtrOutput() GetAppSpecStaticSiteGitlabPtrOutput

func (GetAppSpecStaticSiteGitlabPtrOutput) ToGetAppSpecStaticSiteGitlabPtrOutputWithContext

func (o GetAppSpecStaticSiteGitlabPtrOutput) ToGetAppSpecStaticSiteGitlabPtrOutputWithContext(ctx context.Context) GetAppSpecStaticSiteGitlabPtrOutput

type GetAppSpecStaticSiteInput

type GetAppSpecStaticSiteInput interface {
	pulumi.Input

	ToGetAppSpecStaticSiteOutput() GetAppSpecStaticSiteOutput
	ToGetAppSpecStaticSiteOutputWithContext(context.Context) GetAppSpecStaticSiteOutput
}

GetAppSpecStaticSiteInput is an input type that accepts GetAppSpecStaticSiteArgs and GetAppSpecStaticSiteOutput values. You can construct a concrete instance of `GetAppSpecStaticSiteInput` via:

GetAppSpecStaticSiteArgs{...}

type GetAppSpecStaticSiteOutput

type GetAppSpecStaticSiteOutput struct{ *pulumi.OutputState }

func (GetAppSpecStaticSiteOutput) BuildCommand

An optional build command to run while building this component from source.

func (GetAppSpecStaticSiteOutput) CatchallDocument

func (o GetAppSpecStaticSiteOutput) CatchallDocument() pulumi.StringPtrOutput

The name of the document to use as the fallback for any requests to documents that are not found when serving this static site.

func (GetAppSpecStaticSiteOutput) Cors deprecated added in v4.7.0

The [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies of the app.

Deprecated: Service level CORS rules are deprecated in favor of ingresses

func (GetAppSpecStaticSiteOutput) DockerfilePath

The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.

func (GetAppSpecStaticSiteOutput) ElementType

func (GetAppSpecStaticSiteOutput) ElementType() reflect.Type

func (GetAppSpecStaticSiteOutput) EnvironmentSlug

An environment slug describing the type of this app.

func (GetAppSpecStaticSiteOutput) Envs

Describes an environment variable made available to an app competent.

func (GetAppSpecStaticSiteOutput) ErrorDocument

The name of the error document to use when serving this static site.

func (GetAppSpecStaticSiteOutput) Git

A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of `git`, `github` or `gitlab` may be set.

func (GetAppSpecStaticSiteOutput) Github

A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.

func (GetAppSpecStaticSiteOutput) Gitlab

A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.

func (GetAppSpecStaticSiteOutput) IndexDocument

The name of the index document to use when serving this static site.

func (GetAppSpecStaticSiteOutput) Name

The name of the component.

func (GetAppSpecStaticSiteOutput) OutputDir

An optional path to where the built assets will be located, relative to the build context. If not set, App Platform will automatically scan for these directory names: `_static`, `dist`, `public`.

func (GetAppSpecStaticSiteOutput) Routes deprecated

Deprecated: Service level routes are deprecated in favor of ingresses

func (GetAppSpecStaticSiteOutput) SourceDir

An optional path to the working directory to use for the build.

func (GetAppSpecStaticSiteOutput) ToGetAppSpecStaticSiteOutput

func (o GetAppSpecStaticSiteOutput) ToGetAppSpecStaticSiteOutput() GetAppSpecStaticSiteOutput

func (GetAppSpecStaticSiteOutput) ToGetAppSpecStaticSiteOutputWithContext

func (o GetAppSpecStaticSiteOutput) ToGetAppSpecStaticSiteOutputWithContext(ctx context.Context) GetAppSpecStaticSiteOutput

type GetAppSpecStaticSiteRoute

type GetAppSpecStaticSiteRoute struct {
	// Paths must start with `/` and must be unique within the app.
	Path *string `pulumi:"path"`
	// An optional flag to preserve the path that is forwarded to the backend service.
	PreservePathPrefix *bool `pulumi:"preservePathPrefix"`
}

type GetAppSpecStaticSiteRouteArgs

type GetAppSpecStaticSiteRouteArgs struct {
	// Paths must start with `/` and must be unique within the app.
	Path pulumi.StringPtrInput `pulumi:"path"`
	// An optional flag to preserve the path that is forwarded to the backend service.
	PreservePathPrefix pulumi.BoolPtrInput `pulumi:"preservePathPrefix"`
}

func (GetAppSpecStaticSiteRouteArgs) ElementType

func (GetAppSpecStaticSiteRouteArgs) ToGetAppSpecStaticSiteRouteOutput

func (i GetAppSpecStaticSiteRouteArgs) ToGetAppSpecStaticSiteRouteOutput() GetAppSpecStaticSiteRouteOutput

func (GetAppSpecStaticSiteRouteArgs) ToGetAppSpecStaticSiteRouteOutputWithContext

func (i GetAppSpecStaticSiteRouteArgs) ToGetAppSpecStaticSiteRouteOutputWithContext(ctx context.Context) GetAppSpecStaticSiteRouteOutput

type GetAppSpecStaticSiteRouteArray

type GetAppSpecStaticSiteRouteArray []GetAppSpecStaticSiteRouteInput

func (GetAppSpecStaticSiteRouteArray) ElementType

func (GetAppSpecStaticSiteRouteArray) ToGetAppSpecStaticSiteRouteArrayOutput

func (i GetAppSpecStaticSiteRouteArray) ToGetAppSpecStaticSiteRouteArrayOutput() GetAppSpecStaticSiteRouteArrayOutput

func (GetAppSpecStaticSiteRouteArray) ToGetAppSpecStaticSiteRouteArrayOutputWithContext

func (i GetAppSpecStaticSiteRouteArray) ToGetAppSpecStaticSiteRouteArrayOutputWithContext(ctx context.Context) GetAppSpecStaticSiteRouteArrayOutput

type GetAppSpecStaticSiteRouteArrayInput

type GetAppSpecStaticSiteRouteArrayInput interface {
	pulumi.Input

	ToGetAppSpecStaticSiteRouteArrayOutput() GetAppSpecStaticSiteRouteArrayOutput
	ToGetAppSpecStaticSiteRouteArrayOutputWithContext(context.Context) GetAppSpecStaticSiteRouteArrayOutput
}

GetAppSpecStaticSiteRouteArrayInput is an input type that accepts GetAppSpecStaticSiteRouteArray and GetAppSpecStaticSiteRouteArrayOutput values. You can construct a concrete instance of `GetAppSpecStaticSiteRouteArrayInput` via:

GetAppSpecStaticSiteRouteArray{ GetAppSpecStaticSiteRouteArgs{...} }

type GetAppSpecStaticSiteRouteArrayOutput

type GetAppSpecStaticSiteRouteArrayOutput struct{ *pulumi.OutputState }

func (GetAppSpecStaticSiteRouteArrayOutput) ElementType

func (GetAppSpecStaticSiteRouteArrayOutput) Index

func (GetAppSpecStaticSiteRouteArrayOutput) ToGetAppSpecStaticSiteRouteArrayOutput

func (o GetAppSpecStaticSiteRouteArrayOutput) ToGetAppSpecStaticSiteRouteArrayOutput() GetAppSpecStaticSiteRouteArrayOutput

func (GetAppSpecStaticSiteRouteArrayOutput) ToGetAppSpecStaticSiteRouteArrayOutputWithContext

func (o GetAppSpecStaticSiteRouteArrayOutput) ToGetAppSpecStaticSiteRouteArrayOutputWithContext(ctx context.Context) GetAppSpecStaticSiteRouteArrayOutput

type GetAppSpecStaticSiteRouteInput

type GetAppSpecStaticSiteRouteInput interface {
	pulumi.Input

	ToGetAppSpecStaticSiteRouteOutput() GetAppSpecStaticSiteRouteOutput
	ToGetAppSpecStaticSiteRouteOutputWithContext(context.Context) GetAppSpecStaticSiteRouteOutput
}

GetAppSpecStaticSiteRouteInput is an input type that accepts GetAppSpecStaticSiteRouteArgs and GetAppSpecStaticSiteRouteOutput values. You can construct a concrete instance of `GetAppSpecStaticSiteRouteInput` via:

GetAppSpecStaticSiteRouteArgs{...}

type GetAppSpecStaticSiteRouteOutput

type GetAppSpecStaticSiteRouteOutput struct{ *pulumi.OutputState }

func (GetAppSpecStaticSiteRouteOutput) ElementType

func (GetAppSpecStaticSiteRouteOutput) Path

Paths must start with `/` and must be unique within the app.

func (GetAppSpecStaticSiteRouteOutput) PreservePathPrefix added in v4.11.0

func (o GetAppSpecStaticSiteRouteOutput) PreservePathPrefix() pulumi.BoolPtrOutput

An optional flag to preserve the path that is forwarded to the backend service.

func (GetAppSpecStaticSiteRouteOutput) ToGetAppSpecStaticSiteRouteOutput

func (o GetAppSpecStaticSiteRouteOutput) ToGetAppSpecStaticSiteRouteOutput() GetAppSpecStaticSiteRouteOutput

func (GetAppSpecStaticSiteRouteOutput) ToGetAppSpecStaticSiteRouteOutputWithContext

func (o GetAppSpecStaticSiteRouteOutput) ToGetAppSpecStaticSiteRouteOutputWithContext(ctx context.Context) GetAppSpecStaticSiteRouteOutput

type GetAppSpecWorker

type GetAppSpecWorker struct {
	// Describes an alert policy for the component.
	Alerts []GetAppSpecWorkerAlert `pulumi:"alerts"`
	// An optional build command to run while building this component from source.
	BuildCommand *string `pulumi:"buildCommand"`
	// The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
	DockerfilePath *string `pulumi:"dockerfilePath"`
	// An environment slug describing the type of this app.
	EnvironmentSlug *string `pulumi:"environmentSlug"`
	// Describes an environment variable made available to an app competent.
	Envs []GetAppSpecWorkerEnv `pulumi:"envs"`
	// A Git repo to use as the component's source. The repository must be able to be cloned without authentication.  Only one of `git`, `github` or `gitlab`  may be set.
	Git *GetAppSpecWorkerGit `pulumi:"git"`
	// A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Github *GetAppSpecWorkerGithub `pulumi:"github"`
	// A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Gitlab *GetAppSpecWorkerGitlab `pulumi:"gitlab"`
	// An image to use as the component's source. Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Image *GetAppSpecWorkerImage `pulumi:"image"`
	// The amount of instances that this component should be scaled to.
	InstanceCount *int `pulumi:"instanceCount"`
	// The instance size to use for this component.
	InstanceSizeSlug *string `pulumi:"instanceSizeSlug"`
	// Describes a log forwarding destination.
	LogDestinations []GetAppSpecWorkerLogDestination `pulumi:"logDestinations"`
	// The name of the component.
	Name string `pulumi:"name"`
	// An optional run command to override the component's default.
	RunCommand *string `pulumi:"runCommand"`
	// An optional path to the working directory to use for the build.
	SourceDir *string `pulumi:"sourceDir"`
}

type GetAppSpecWorkerAlert added in v4.12.0

type GetAppSpecWorkerAlert struct {
	// Determines whether or not the alert is disabled (default: `false`).
	Disabled *bool `pulumi:"disabled"`
	// The operator to use. This is either of `GREATER_THAN` or `LESS_THAN`.
	Operator string `pulumi:"operator"`
	// The type of the alert to configure. Component app alert policies can be: `CPU_UTILIZATION`, `MEM_UTILIZATION`, or `RESTART_COUNT`.
	Rule string `pulumi:"rule"`
	// The threshold for the type of the warning.
	Value float64 `pulumi:"value"`
	// The time before alerts should be triggered. This is may be one of: `FIVE_MINUTES`, `TEN_MINUTES`, `THIRTY_MINUTES`, `ONE_HOUR`.
	Window string `pulumi:"window"`
}

type GetAppSpecWorkerAlertArgs added in v4.12.0

type GetAppSpecWorkerAlertArgs struct {
	// Determines whether or not the alert is disabled (default: `false`).
	Disabled pulumi.BoolPtrInput `pulumi:"disabled"`
	// The operator to use. This is either of `GREATER_THAN` or `LESS_THAN`.
	Operator pulumi.StringInput `pulumi:"operator"`
	// The type of the alert to configure. Component app alert policies can be: `CPU_UTILIZATION`, `MEM_UTILIZATION`, or `RESTART_COUNT`.
	Rule pulumi.StringInput `pulumi:"rule"`
	// The threshold for the type of the warning.
	Value pulumi.Float64Input `pulumi:"value"`
	// The time before alerts should be triggered. This is may be one of: `FIVE_MINUTES`, `TEN_MINUTES`, `THIRTY_MINUTES`, `ONE_HOUR`.
	Window pulumi.StringInput `pulumi:"window"`
}

func (GetAppSpecWorkerAlertArgs) ElementType added in v4.12.0

func (GetAppSpecWorkerAlertArgs) ElementType() reflect.Type

func (GetAppSpecWorkerAlertArgs) ToGetAppSpecWorkerAlertOutput added in v4.12.0

func (i GetAppSpecWorkerAlertArgs) ToGetAppSpecWorkerAlertOutput() GetAppSpecWorkerAlertOutput

func (GetAppSpecWorkerAlertArgs) ToGetAppSpecWorkerAlertOutputWithContext added in v4.12.0

func (i GetAppSpecWorkerAlertArgs) ToGetAppSpecWorkerAlertOutputWithContext(ctx context.Context) GetAppSpecWorkerAlertOutput

type GetAppSpecWorkerAlertArray added in v4.12.0

type GetAppSpecWorkerAlertArray []GetAppSpecWorkerAlertInput

func (GetAppSpecWorkerAlertArray) ElementType added in v4.12.0

func (GetAppSpecWorkerAlertArray) ElementType() reflect.Type

func (GetAppSpecWorkerAlertArray) ToGetAppSpecWorkerAlertArrayOutput added in v4.12.0

func (i GetAppSpecWorkerAlertArray) ToGetAppSpecWorkerAlertArrayOutput() GetAppSpecWorkerAlertArrayOutput

func (GetAppSpecWorkerAlertArray) ToGetAppSpecWorkerAlertArrayOutputWithContext added in v4.12.0

func (i GetAppSpecWorkerAlertArray) ToGetAppSpecWorkerAlertArrayOutputWithContext(ctx context.Context) GetAppSpecWorkerAlertArrayOutput

type GetAppSpecWorkerAlertArrayInput added in v4.12.0

type GetAppSpecWorkerAlertArrayInput interface {
	pulumi.Input

	ToGetAppSpecWorkerAlertArrayOutput() GetAppSpecWorkerAlertArrayOutput
	ToGetAppSpecWorkerAlertArrayOutputWithContext(context.Context) GetAppSpecWorkerAlertArrayOutput
}

GetAppSpecWorkerAlertArrayInput is an input type that accepts GetAppSpecWorkerAlertArray and GetAppSpecWorkerAlertArrayOutput values. You can construct a concrete instance of `GetAppSpecWorkerAlertArrayInput` via:

GetAppSpecWorkerAlertArray{ GetAppSpecWorkerAlertArgs{...} }

type GetAppSpecWorkerAlertArrayOutput added in v4.12.0

type GetAppSpecWorkerAlertArrayOutput struct{ *pulumi.OutputState }

func (GetAppSpecWorkerAlertArrayOutput) ElementType added in v4.12.0

func (GetAppSpecWorkerAlertArrayOutput) Index added in v4.12.0

func (GetAppSpecWorkerAlertArrayOutput) ToGetAppSpecWorkerAlertArrayOutput added in v4.12.0

func (o GetAppSpecWorkerAlertArrayOutput) ToGetAppSpecWorkerAlertArrayOutput() GetAppSpecWorkerAlertArrayOutput

func (GetAppSpecWorkerAlertArrayOutput) ToGetAppSpecWorkerAlertArrayOutputWithContext added in v4.12.0

func (o GetAppSpecWorkerAlertArrayOutput) ToGetAppSpecWorkerAlertArrayOutputWithContext(ctx context.Context) GetAppSpecWorkerAlertArrayOutput

type GetAppSpecWorkerAlertInput added in v4.12.0

type GetAppSpecWorkerAlertInput interface {
	pulumi.Input

	ToGetAppSpecWorkerAlertOutput() GetAppSpecWorkerAlertOutput
	ToGetAppSpecWorkerAlertOutputWithContext(context.Context) GetAppSpecWorkerAlertOutput
}

GetAppSpecWorkerAlertInput is an input type that accepts GetAppSpecWorkerAlertArgs and GetAppSpecWorkerAlertOutput values. You can construct a concrete instance of `GetAppSpecWorkerAlertInput` via:

GetAppSpecWorkerAlertArgs{...}

type GetAppSpecWorkerAlertOutput added in v4.12.0

type GetAppSpecWorkerAlertOutput struct{ *pulumi.OutputState }

func (GetAppSpecWorkerAlertOutput) Disabled added in v4.12.0

Determines whether or not the alert is disabled (default: `false`).

func (GetAppSpecWorkerAlertOutput) ElementType added in v4.12.0

func (GetAppSpecWorkerAlertOutput) Operator added in v4.12.0

The operator to use. This is either of `GREATER_THAN` or `LESS_THAN`.

func (GetAppSpecWorkerAlertOutput) Rule added in v4.12.0

The type of the alert to configure. Component app alert policies can be: `CPU_UTILIZATION`, `MEM_UTILIZATION`, or `RESTART_COUNT`.

func (GetAppSpecWorkerAlertOutput) ToGetAppSpecWorkerAlertOutput added in v4.12.0

func (o GetAppSpecWorkerAlertOutput) ToGetAppSpecWorkerAlertOutput() GetAppSpecWorkerAlertOutput

func (GetAppSpecWorkerAlertOutput) ToGetAppSpecWorkerAlertOutputWithContext added in v4.12.0

func (o GetAppSpecWorkerAlertOutput) ToGetAppSpecWorkerAlertOutputWithContext(ctx context.Context) GetAppSpecWorkerAlertOutput

func (GetAppSpecWorkerAlertOutput) Value added in v4.12.0

The threshold for the type of the warning.

func (GetAppSpecWorkerAlertOutput) Window added in v4.12.0

The time before alerts should be triggered. This is may be one of: `FIVE_MINUTES`, `TEN_MINUTES`, `THIRTY_MINUTES`, `ONE_HOUR`.

type GetAppSpecWorkerArgs

type GetAppSpecWorkerArgs struct {
	// Describes an alert policy for the component.
	Alerts GetAppSpecWorkerAlertArrayInput `pulumi:"alerts"`
	// An optional build command to run while building this component from source.
	BuildCommand pulumi.StringPtrInput `pulumi:"buildCommand"`
	// The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
	DockerfilePath pulumi.StringPtrInput `pulumi:"dockerfilePath"`
	// An environment slug describing the type of this app.
	EnvironmentSlug pulumi.StringPtrInput `pulumi:"environmentSlug"`
	// Describes an environment variable made available to an app competent.
	Envs GetAppSpecWorkerEnvArrayInput `pulumi:"envs"`
	// A Git repo to use as the component's source. The repository must be able to be cloned without authentication.  Only one of `git`, `github` or `gitlab`  may be set.
	Git GetAppSpecWorkerGitPtrInput `pulumi:"git"`
	// A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Github GetAppSpecWorkerGithubPtrInput `pulumi:"github"`
	// A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Gitlab GetAppSpecWorkerGitlabPtrInput `pulumi:"gitlab"`
	// An image to use as the component's source. Only one of `git`, `github`, `gitlab`, or `image` may be set.
	Image GetAppSpecWorkerImagePtrInput `pulumi:"image"`
	// The amount of instances that this component should be scaled to.
	InstanceCount pulumi.IntPtrInput `pulumi:"instanceCount"`
	// The instance size to use for this component.
	InstanceSizeSlug pulumi.StringPtrInput `pulumi:"instanceSizeSlug"`
	// Describes a log forwarding destination.
	LogDestinations GetAppSpecWorkerLogDestinationArrayInput `pulumi:"logDestinations"`
	// The name of the component.
	Name pulumi.StringInput `pulumi:"name"`
	// An optional run command to override the component's default.
	RunCommand pulumi.StringPtrInput `pulumi:"runCommand"`
	// An optional path to the working directory to use for the build.
	SourceDir pulumi.StringPtrInput `pulumi:"sourceDir"`
}

func (GetAppSpecWorkerArgs) ElementType

func (GetAppSpecWorkerArgs) ElementType() reflect.Type

func (GetAppSpecWorkerArgs) ToGetAppSpecWorkerOutput

func (i GetAppSpecWorkerArgs) ToGetAppSpecWorkerOutput() GetAppSpecWorkerOutput

func (GetAppSpecWorkerArgs) ToGetAppSpecWorkerOutputWithContext

func (i GetAppSpecWorkerArgs) ToGetAppSpecWorkerOutputWithContext(ctx context.Context) GetAppSpecWorkerOutput

type GetAppSpecWorkerArray

type GetAppSpecWorkerArray []GetAppSpecWorkerInput

func (GetAppSpecWorkerArray) ElementType

func (GetAppSpecWorkerArray) ElementType() reflect.Type

func (GetAppSpecWorkerArray) ToGetAppSpecWorkerArrayOutput

func (i GetAppSpecWorkerArray) ToGetAppSpecWorkerArrayOutput() GetAppSpecWorkerArrayOutput

func (GetAppSpecWorkerArray) ToGetAppSpecWorkerArrayOutputWithContext

func (i GetAppSpecWorkerArray) ToGetAppSpecWorkerArrayOutputWithContext(ctx context.Context) GetAppSpecWorkerArrayOutput

type GetAppSpecWorkerArrayInput

type GetAppSpecWorkerArrayInput interface {
	pulumi.Input

	ToGetAppSpecWorkerArrayOutput() GetAppSpecWorkerArrayOutput
	ToGetAppSpecWorkerArrayOutputWithContext(context.Context) GetAppSpecWorkerArrayOutput
}

GetAppSpecWorkerArrayInput is an input type that accepts GetAppSpecWorkerArray and GetAppSpecWorkerArrayOutput values. You can construct a concrete instance of `GetAppSpecWorkerArrayInput` via:

GetAppSpecWorkerArray{ GetAppSpecWorkerArgs{...} }

type GetAppSpecWorkerArrayOutput

type GetAppSpecWorkerArrayOutput struct{ *pulumi.OutputState }

func (GetAppSpecWorkerArrayOutput) ElementType

func (GetAppSpecWorkerArrayOutput) Index

func (GetAppSpecWorkerArrayOutput) ToGetAppSpecWorkerArrayOutput

func (o GetAppSpecWorkerArrayOutput) ToGetAppSpecWorkerArrayOutput() GetAppSpecWorkerArrayOutput

func (GetAppSpecWorkerArrayOutput) ToGetAppSpecWorkerArrayOutputWithContext

func (o GetAppSpecWorkerArrayOutput) ToGetAppSpecWorkerArrayOutputWithContext(ctx context.Context) GetAppSpecWorkerArrayOutput

type GetAppSpecWorkerEnv

type GetAppSpecWorkerEnv struct {
	// The name of the environment variable.
	Key *string `pulumi:"key"`
	// The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).
	Scope *string `pulumi:"scope"`
	// The type of the environment variable, `GENERAL` or `SECRET`.
	Type string `pulumi:"type"`
	// The threshold for the type of the warning.
	Value *string `pulumi:"value"`
}

type GetAppSpecWorkerEnvArgs

type GetAppSpecWorkerEnvArgs struct {
	// The name of the environment variable.
	Key pulumi.StringPtrInput `pulumi:"key"`
	// The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).
	Scope pulumi.StringPtrInput `pulumi:"scope"`
	// The type of the environment variable, `GENERAL` or `SECRET`.
	Type pulumi.StringInput `pulumi:"type"`
	// The threshold for the type of the warning.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (GetAppSpecWorkerEnvArgs) ElementType

func (GetAppSpecWorkerEnvArgs) ElementType() reflect.Type

func (GetAppSpecWorkerEnvArgs) ToGetAppSpecWorkerEnvOutput

func (i GetAppSpecWorkerEnvArgs) ToGetAppSpecWorkerEnvOutput() GetAppSpecWorkerEnvOutput

func (GetAppSpecWorkerEnvArgs) ToGetAppSpecWorkerEnvOutputWithContext

func (i GetAppSpecWorkerEnvArgs) ToGetAppSpecWorkerEnvOutputWithContext(ctx context.Context) GetAppSpecWorkerEnvOutput

type GetAppSpecWorkerEnvArray

type GetAppSpecWorkerEnvArray []GetAppSpecWorkerEnvInput

func (GetAppSpecWorkerEnvArray) ElementType

func (GetAppSpecWorkerEnvArray) ElementType() reflect.Type

func (GetAppSpecWorkerEnvArray) ToGetAppSpecWorkerEnvArrayOutput

func (i GetAppSpecWorkerEnvArray) ToGetAppSpecWorkerEnvArrayOutput() GetAppSpecWorkerEnvArrayOutput

func (GetAppSpecWorkerEnvArray) ToGetAppSpecWorkerEnvArrayOutputWithContext

func (i GetAppSpecWorkerEnvArray) ToGetAppSpecWorkerEnvArrayOutputWithContext(ctx context.Context) GetAppSpecWorkerEnvArrayOutput

type GetAppSpecWorkerEnvArrayInput

type GetAppSpecWorkerEnvArrayInput interface {
	pulumi.Input

	ToGetAppSpecWorkerEnvArrayOutput() GetAppSpecWorkerEnvArrayOutput
	ToGetAppSpecWorkerEnvArrayOutputWithContext(context.Context) GetAppSpecWorkerEnvArrayOutput
}

GetAppSpecWorkerEnvArrayInput is an input type that accepts GetAppSpecWorkerEnvArray and GetAppSpecWorkerEnvArrayOutput values. You can construct a concrete instance of `GetAppSpecWorkerEnvArrayInput` via:

GetAppSpecWorkerEnvArray{ GetAppSpecWorkerEnvArgs{...} }

type GetAppSpecWorkerEnvArrayOutput

type GetAppSpecWorkerEnvArrayOutput struct{ *pulumi.OutputState }

func (GetAppSpecWorkerEnvArrayOutput) ElementType

func (GetAppSpecWorkerEnvArrayOutput) Index

func (GetAppSpecWorkerEnvArrayOutput) ToGetAppSpecWorkerEnvArrayOutput

func (o GetAppSpecWorkerEnvArrayOutput) ToGetAppSpecWorkerEnvArrayOutput() GetAppSpecWorkerEnvArrayOutput

func (GetAppSpecWorkerEnvArrayOutput) ToGetAppSpecWorkerEnvArrayOutputWithContext

func (o GetAppSpecWorkerEnvArrayOutput) ToGetAppSpecWorkerEnvArrayOutputWithContext(ctx context.Context) GetAppSpecWorkerEnvArrayOutput

type GetAppSpecWorkerEnvInput

type GetAppSpecWorkerEnvInput interface {
	pulumi.Input

	ToGetAppSpecWorkerEnvOutput() GetAppSpecWorkerEnvOutput
	ToGetAppSpecWorkerEnvOutputWithContext(context.Context) GetAppSpecWorkerEnvOutput
}

GetAppSpecWorkerEnvInput is an input type that accepts GetAppSpecWorkerEnvArgs and GetAppSpecWorkerEnvOutput values. You can construct a concrete instance of `GetAppSpecWorkerEnvInput` via:

GetAppSpecWorkerEnvArgs{...}

type GetAppSpecWorkerEnvOutput

type GetAppSpecWorkerEnvOutput struct{ *pulumi.OutputState }

func (GetAppSpecWorkerEnvOutput) ElementType

func (GetAppSpecWorkerEnvOutput) ElementType() reflect.Type

func (GetAppSpecWorkerEnvOutput) Key

The name of the environment variable.

func (GetAppSpecWorkerEnvOutput) Scope

The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).

func (GetAppSpecWorkerEnvOutput) ToGetAppSpecWorkerEnvOutput

func (o GetAppSpecWorkerEnvOutput) ToGetAppSpecWorkerEnvOutput() GetAppSpecWorkerEnvOutput

func (GetAppSpecWorkerEnvOutput) ToGetAppSpecWorkerEnvOutputWithContext

func (o GetAppSpecWorkerEnvOutput) ToGetAppSpecWorkerEnvOutputWithContext(ctx context.Context) GetAppSpecWorkerEnvOutput

func (GetAppSpecWorkerEnvOutput) Type

The type of the environment variable, `GENERAL` or `SECRET`.

func (GetAppSpecWorkerEnvOutput) Value

The threshold for the type of the warning.

type GetAppSpecWorkerGit

type GetAppSpecWorkerGit struct {
	// The name of the branch to use.
	Branch *string `pulumi:"branch"`
	// The clone URL of the repo.
	RepoCloneUrl *string `pulumi:"repoCloneUrl"`
}

type GetAppSpecWorkerGitArgs

type GetAppSpecWorkerGitArgs struct {
	// The name of the branch to use.
	Branch pulumi.StringPtrInput `pulumi:"branch"`
	// The clone URL of the repo.
	RepoCloneUrl pulumi.StringPtrInput `pulumi:"repoCloneUrl"`
}

func (GetAppSpecWorkerGitArgs) ElementType

func (GetAppSpecWorkerGitArgs) ElementType() reflect.Type

func (GetAppSpecWorkerGitArgs) ToGetAppSpecWorkerGitOutput

func (i GetAppSpecWorkerGitArgs) ToGetAppSpecWorkerGitOutput() GetAppSpecWorkerGitOutput

func (GetAppSpecWorkerGitArgs) ToGetAppSpecWorkerGitOutputWithContext

func (i GetAppSpecWorkerGitArgs) ToGetAppSpecWorkerGitOutputWithContext(ctx context.Context) GetAppSpecWorkerGitOutput

func (GetAppSpecWorkerGitArgs) ToGetAppSpecWorkerGitPtrOutput

func (i GetAppSpecWorkerGitArgs) ToGetAppSpecWorkerGitPtrOutput() GetAppSpecWorkerGitPtrOutput

func (GetAppSpecWorkerGitArgs) ToGetAppSpecWorkerGitPtrOutputWithContext

func (i GetAppSpecWorkerGitArgs) ToGetAppSpecWorkerGitPtrOutputWithContext(ctx context.Context) GetAppSpecWorkerGitPtrOutput

type GetAppSpecWorkerGitInput

type GetAppSpecWorkerGitInput interface {
	pulumi.Input

	ToGetAppSpecWorkerGitOutput() GetAppSpecWorkerGitOutput
	ToGetAppSpecWorkerGitOutputWithContext(context.Context) GetAppSpecWorkerGitOutput
}

GetAppSpecWorkerGitInput is an input type that accepts GetAppSpecWorkerGitArgs and GetAppSpecWorkerGitOutput values. You can construct a concrete instance of `GetAppSpecWorkerGitInput` via:

GetAppSpecWorkerGitArgs{...}

type GetAppSpecWorkerGitOutput

type GetAppSpecWorkerGitOutput struct{ *pulumi.OutputState }

func (GetAppSpecWorkerGitOutput) Branch

The name of the branch to use.

func (GetAppSpecWorkerGitOutput) ElementType

func (GetAppSpecWorkerGitOutput) ElementType() reflect.Type

func (GetAppSpecWorkerGitOutput) RepoCloneUrl

The clone URL of the repo.

func (GetAppSpecWorkerGitOutput) ToGetAppSpecWorkerGitOutput

func (o GetAppSpecWorkerGitOutput) ToGetAppSpecWorkerGitOutput() GetAppSpecWorkerGitOutput

func (GetAppSpecWorkerGitOutput) ToGetAppSpecWorkerGitOutputWithContext

func (o GetAppSpecWorkerGitOutput) ToGetAppSpecWorkerGitOutputWithContext(ctx context.Context) GetAppSpecWorkerGitOutput

func (GetAppSpecWorkerGitOutput) ToGetAppSpecWorkerGitPtrOutput

func (o GetAppSpecWorkerGitOutput) ToGetAppSpecWorkerGitPtrOutput() GetAppSpecWorkerGitPtrOutput

func (GetAppSpecWorkerGitOutput) ToGetAppSpecWorkerGitPtrOutputWithContext

func (o GetAppSpecWorkerGitOutput) ToGetAppSpecWorkerGitPtrOutputWithContext(ctx context.Context) GetAppSpecWorkerGitPtrOutput

type GetAppSpecWorkerGitPtrInput

type GetAppSpecWorkerGitPtrInput interface {
	pulumi.Input

	ToGetAppSpecWorkerGitPtrOutput() GetAppSpecWorkerGitPtrOutput
	ToGetAppSpecWorkerGitPtrOutputWithContext(context.Context) GetAppSpecWorkerGitPtrOutput
}

GetAppSpecWorkerGitPtrInput is an input type that accepts GetAppSpecWorkerGitArgs, GetAppSpecWorkerGitPtr and GetAppSpecWorkerGitPtrOutput values. You can construct a concrete instance of `GetAppSpecWorkerGitPtrInput` via:

        GetAppSpecWorkerGitArgs{...}

or:

        nil

type GetAppSpecWorkerGitPtrOutput

type GetAppSpecWorkerGitPtrOutput struct{ *pulumi.OutputState }

func (GetAppSpecWorkerGitPtrOutput) Branch

The name of the branch to use.

func (GetAppSpecWorkerGitPtrOutput) Elem

func (GetAppSpecWorkerGitPtrOutput) ElementType

func (GetAppSpecWorkerGitPtrOutput) RepoCloneUrl

The clone URL of the repo.

func (GetAppSpecWorkerGitPtrOutput) ToGetAppSpecWorkerGitPtrOutput

func (o GetAppSpecWorkerGitPtrOutput) ToGetAppSpecWorkerGitPtrOutput() GetAppSpecWorkerGitPtrOutput

func (GetAppSpecWorkerGitPtrOutput) ToGetAppSpecWorkerGitPtrOutputWithContext

func (o GetAppSpecWorkerGitPtrOutput) ToGetAppSpecWorkerGitPtrOutputWithContext(ctx context.Context) GetAppSpecWorkerGitPtrOutput

type GetAppSpecWorkerGithub

type GetAppSpecWorkerGithub struct {
	// The name of the branch to use.
	Branch *string `pulumi:"branch"`
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPush *bool `pulumi:"deployOnPush"`
	// The name of the repo in the format `owner/repo`.
	Repo *string `pulumi:"repo"`
}

type GetAppSpecWorkerGithubArgs

type GetAppSpecWorkerGithubArgs struct {
	// The name of the branch to use.
	Branch pulumi.StringPtrInput `pulumi:"branch"`
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPush pulumi.BoolPtrInput `pulumi:"deployOnPush"`
	// The name of the repo in the format `owner/repo`.
	Repo pulumi.StringPtrInput `pulumi:"repo"`
}

func (GetAppSpecWorkerGithubArgs) ElementType

func (GetAppSpecWorkerGithubArgs) ElementType() reflect.Type

func (GetAppSpecWorkerGithubArgs) ToGetAppSpecWorkerGithubOutput

func (i GetAppSpecWorkerGithubArgs) ToGetAppSpecWorkerGithubOutput() GetAppSpecWorkerGithubOutput

func (GetAppSpecWorkerGithubArgs) ToGetAppSpecWorkerGithubOutputWithContext

func (i GetAppSpecWorkerGithubArgs) ToGetAppSpecWorkerGithubOutputWithContext(ctx context.Context) GetAppSpecWorkerGithubOutput

func (GetAppSpecWorkerGithubArgs) ToGetAppSpecWorkerGithubPtrOutput

func (i GetAppSpecWorkerGithubArgs) ToGetAppSpecWorkerGithubPtrOutput() GetAppSpecWorkerGithubPtrOutput

func (GetAppSpecWorkerGithubArgs) ToGetAppSpecWorkerGithubPtrOutputWithContext

func (i GetAppSpecWorkerGithubArgs) ToGetAppSpecWorkerGithubPtrOutputWithContext(ctx context.Context) GetAppSpecWorkerGithubPtrOutput

type GetAppSpecWorkerGithubInput

type GetAppSpecWorkerGithubInput interface {
	pulumi.Input

	ToGetAppSpecWorkerGithubOutput() GetAppSpecWorkerGithubOutput
	ToGetAppSpecWorkerGithubOutputWithContext(context.Context) GetAppSpecWorkerGithubOutput
}

GetAppSpecWorkerGithubInput is an input type that accepts GetAppSpecWorkerGithubArgs and GetAppSpecWorkerGithubOutput values. You can construct a concrete instance of `GetAppSpecWorkerGithubInput` via:

GetAppSpecWorkerGithubArgs{...}

type GetAppSpecWorkerGithubOutput

type GetAppSpecWorkerGithubOutput struct{ *pulumi.OutputState }

func (GetAppSpecWorkerGithubOutput) Branch

The name of the branch to use.

func (GetAppSpecWorkerGithubOutput) DeployOnPush

Whether to automatically deploy new commits made to the repo.

func (GetAppSpecWorkerGithubOutput) ElementType

func (GetAppSpecWorkerGithubOutput) Repo

The name of the repo in the format `owner/repo`.

func (GetAppSpecWorkerGithubOutput) ToGetAppSpecWorkerGithubOutput

func (o GetAppSpecWorkerGithubOutput) ToGetAppSpecWorkerGithubOutput() GetAppSpecWorkerGithubOutput

func (GetAppSpecWorkerGithubOutput) ToGetAppSpecWorkerGithubOutputWithContext

func (o GetAppSpecWorkerGithubOutput) ToGetAppSpecWorkerGithubOutputWithContext(ctx context.Context) GetAppSpecWorkerGithubOutput

func (GetAppSpecWorkerGithubOutput) ToGetAppSpecWorkerGithubPtrOutput

func (o GetAppSpecWorkerGithubOutput) ToGetAppSpecWorkerGithubPtrOutput() GetAppSpecWorkerGithubPtrOutput

func (GetAppSpecWorkerGithubOutput) ToGetAppSpecWorkerGithubPtrOutputWithContext

func (o GetAppSpecWorkerGithubOutput) ToGetAppSpecWorkerGithubPtrOutputWithContext(ctx context.Context) GetAppSpecWorkerGithubPtrOutput

type GetAppSpecWorkerGithubPtrInput

type GetAppSpecWorkerGithubPtrInput interface {
	pulumi.Input

	ToGetAppSpecWorkerGithubPtrOutput() GetAppSpecWorkerGithubPtrOutput
	ToGetAppSpecWorkerGithubPtrOutputWithContext(context.Context) GetAppSpecWorkerGithubPtrOutput
}

GetAppSpecWorkerGithubPtrInput is an input type that accepts GetAppSpecWorkerGithubArgs, GetAppSpecWorkerGithubPtr and GetAppSpecWorkerGithubPtrOutput values. You can construct a concrete instance of `GetAppSpecWorkerGithubPtrInput` via:

        GetAppSpecWorkerGithubArgs{...}

or:

        nil

type GetAppSpecWorkerGithubPtrOutput

type GetAppSpecWorkerGithubPtrOutput struct{ *pulumi.OutputState }

func (GetAppSpecWorkerGithubPtrOutput) Branch

The name of the branch to use.

func (GetAppSpecWorkerGithubPtrOutput) DeployOnPush

Whether to automatically deploy new commits made to the repo.

func (GetAppSpecWorkerGithubPtrOutput) Elem

func (GetAppSpecWorkerGithubPtrOutput) ElementType

func (GetAppSpecWorkerGithubPtrOutput) Repo

The name of the repo in the format `owner/repo`.

func (GetAppSpecWorkerGithubPtrOutput) ToGetAppSpecWorkerGithubPtrOutput

func (o GetAppSpecWorkerGithubPtrOutput) ToGetAppSpecWorkerGithubPtrOutput() GetAppSpecWorkerGithubPtrOutput

func (GetAppSpecWorkerGithubPtrOutput) ToGetAppSpecWorkerGithubPtrOutputWithContext

func (o GetAppSpecWorkerGithubPtrOutput) ToGetAppSpecWorkerGithubPtrOutputWithContext(ctx context.Context) GetAppSpecWorkerGithubPtrOutput

type GetAppSpecWorkerGitlab

type GetAppSpecWorkerGitlab struct {
	// The name of the branch to use.
	Branch *string `pulumi:"branch"`
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPush *bool `pulumi:"deployOnPush"`
	// The name of the repo in the format `owner/repo`.
	Repo *string `pulumi:"repo"`
}

type GetAppSpecWorkerGitlabArgs

type GetAppSpecWorkerGitlabArgs struct {
	// The name of the branch to use.
	Branch pulumi.StringPtrInput `pulumi:"branch"`
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPush pulumi.BoolPtrInput `pulumi:"deployOnPush"`
	// The name of the repo in the format `owner/repo`.
	Repo pulumi.StringPtrInput `pulumi:"repo"`
}

func (GetAppSpecWorkerGitlabArgs) ElementType

func (GetAppSpecWorkerGitlabArgs) ElementType() reflect.Type

func (GetAppSpecWorkerGitlabArgs) ToGetAppSpecWorkerGitlabOutput

func (i GetAppSpecWorkerGitlabArgs) ToGetAppSpecWorkerGitlabOutput() GetAppSpecWorkerGitlabOutput

func (GetAppSpecWorkerGitlabArgs) ToGetAppSpecWorkerGitlabOutputWithContext

func (i GetAppSpecWorkerGitlabArgs) ToGetAppSpecWorkerGitlabOutputWithContext(ctx context.Context) GetAppSpecWorkerGitlabOutput

func (GetAppSpecWorkerGitlabArgs) ToGetAppSpecWorkerGitlabPtrOutput

func (i GetAppSpecWorkerGitlabArgs) ToGetAppSpecWorkerGitlabPtrOutput() GetAppSpecWorkerGitlabPtrOutput

func (GetAppSpecWorkerGitlabArgs) ToGetAppSpecWorkerGitlabPtrOutputWithContext

func (i GetAppSpecWorkerGitlabArgs) ToGetAppSpecWorkerGitlabPtrOutputWithContext(ctx context.Context) GetAppSpecWorkerGitlabPtrOutput

type GetAppSpecWorkerGitlabInput

type GetAppSpecWorkerGitlabInput interface {
	pulumi.Input

	ToGetAppSpecWorkerGitlabOutput() GetAppSpecWorkerGitlabOutput
	ToGetAppSpecWorkerGitlabOutputWithContext(context.Context) GetAppSpecWorkerGitlabOutput
}

GetAppSpecWorkerGitlabInput is an input type that accepts GetAppSpecWorkerGitlabArgs and GetAppSpecWorkerGitlabOutput values. You can construct a concrete instance of `GetAppSpecWorkerGitlabInput` via:

GetAppSpecWorkerGitlabArgs{...}

type GetAppSpecWorkerGitlabOutput

type GetAppSpecWorkerGitlabOutput struct{ *pulumi.OutputState }

func (GetAppSpecWorkerGitlabOutput) Branch

The name of the branch to use.

func (GetAppSpecWorkerGitlabOutput) DeployOnPush

Whether to automatically deploy new commits made to the repo.

func (GetAppSpecWorkerGitlabOutput) ElementType

func (GetAppSpecWorkerGitlabOutput) Repo

The name of the repo in the format `owner/repo`.

func (GetAppSpecWorkerGitlabOutput) ToGetAppSpecWorkerGitlabOutput

func (o GetAppSpecWorkerGitlabOutput) ToGetAppSpecWorkerGitlabOutput() GetAppSpecWorkerGitlabOutput

func (GetAppSpecWorkerGitlabOutput) ToGetAppSpecWorkerGitlabOutputWithContext

func (o GetAppSpecWorkerGitlabOutput) ToGetAppSpecWorkerGitlabOutputWithContext(ctx context.Context) GetAppSpecWorkerGitlabOutput

func (GetAppSpecWorkerGitlabOutput) ToGetAppSpecWorkerGitlabPtrOutput

func (o GetAppSpecWorkerGitlabOutput) ToGetAppSpecWorkerGitlabPtrOutput() GetAppSpecWorkerGitlabPtrOutput

func (GetAppSpecWorkerGitlabOutput) ToGetAppSpecWorkerGitlabPtrOutputWithContext

func (o GetAppSpecWorkerGitlabOutput) ToGetAppSpecWorkerGitlabPtrOutputWithContext(ctx context.Context) GetAppSpecWorkerGitlabPtrOutput

type GetAppSpecWorkerGitlabPtrInput

type GetAppSpecWorkerGitlabPtrInput interface {
	pulumi.Input

	ToGetAppSpecWorkerGitlabPtrOutput() GetAppSpecWorkerGitlabPtrOutput
	ToGetAppSpecWorkerGitlabPtrOutputWithContext(context.Context) GetAppSpecWorkerGitlabPtrOutput
}

GetAppSpecWorkerGitlabPtrInput is an input type that accepts GetAppSpecWorkerGitlabArgs, GetAppSpecWorkerGitlabPtr and GetAppSpecWorkerGitlabPtrOutput values. You can construct a concrete instance of `GetAppSpecWorkerGitlabPtrInput` via:

        GetAppSpecWorkerGitlabArgs{...}

or:

        nil

type GetAppSpecWorkerGitlabPtrOutput

type GetAppSpecWorkerGitlabPtrOutput struct{ *pulumi.OutputState }

func (GetAppSpecWorkerGitlabPtrOutput) Branch

The name of the branch to use.

func (GetAppSpecWorkerGitlabPtrOutput) DeployOnPush

Whether to automatically deploy new commits made to the repo.

func (GetAppSpecWorkerGitlabPtrOutput) Elem

func (GetAppSpecWorkerGitlabPtrOutput) ElementType

func (GetAppSpecWorkerGitlabPtrOutput) Repo

The name of the repo in the format `owner/repo`.

func (GetAppSpecWorkerGitlabPtrOutput) ToGetAppSpecWorkerGitlabPtrOutput

func (o GetAppSpecWorkerGitlabPtrOutput) ToGetAppSpecWorkerGitlabPtrOutput() GetAppSpecWorkerGitlabPtrOutput

func (GetAppSpecWorkerGitlabPtrOutput) ToGetAppSpecWorkerGitlabPtrOutputWithContext

func (o GetAppSpecWorkerGitlabPtrOutput) ToGetAppSpecWorkerGitlabPtrOutputWithContext(ctx context.Context) GetAppSpecWorkerGitlabPtrOutput

type GetAppSpecWorkerImage

type GetAppSpecWorkerImage struct {
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPushes []GetAppSpecWorkerImageDeployOnPush `pulumi:"deployOnPushes"`
	// The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.
	Registry *string `pulumi:"registry"`
	// Access credentials for third-party registries
	RegistryCredentials *string `pulumi:"registryCredentials"`
	// The registry type. One of `DOCR` (DigitalOcean container registry) or `DOCKER_HUB`.
	RegistryType string `pulumi:"registryType"`
	// The repository name.
	Repository string `pulumi:"repository"`
	// The repository tag. Defaults to `latest` if not provided.
	Tag *string `pulumi:"tag"`
}

type GetAppSpecWorkerImageArgs

type GetAppSpecWorkerImageArgs struct {
	// Whether to automatically deploy new commits made to the repo.
	DeployOnPushes GetAppSpecWorkerImageDeployOnPushArrayInput `pulumi:"deployOnPushes"`
	// The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.
	Registry pulumi.StringPtrInput `pulumi:"registry"`
	// Access credentials for third-party registries
	RegistryCredentials pulumi.StringPtrInput `pulumi:"registryCredentials"`
	// The registry type. One of `DOCR` (DigitalOcean container registry) or `DOCKER_HUB`.
	RegistryType pulumi.StringInput `pulumi:"registryType"`
	// The repository name.
	Repository pulumi.StringInput `pulumi:"repository"`
	// The repository tag. Defaults to `latest` if not provided.
	Tag pulumi.StringPtrInput `pulumi:"tag"`
}

func (GetAppSpecWorkerImageArgs) ElementType

func (GetAppSpecWorkerImageArgs) ElementType() reflect.Type

func (GetAppSpecWorkerImageArgs) ToGetAppSpecWorkerImageOutput

func (i GetAppSpecWorkerImageArgs) ToGetAppSpecWorkerImageOutput() GetAppSpecWorkerImageOutput

func (GetAppSpecWorkerImageArgs) ToGetAppSpecWorkerImageOutputWithContext

func (i GetAppSpecWorkerImageArgs) ToGetAppSpecWorkerImageOutputWithContext(ctx context.Context) GetAppSpecWorkerImageOutput

func (GetAppSpecWorkerImageArgs) ToGetAppSpecWorkerImagePtrOutput

func (i GetAppSpecWorkerImageArgs) ToGetAppSpecWorkerImagePtrOutput() GetAppSpecWorkerImagePtrOutput

func (GetAppSpecWorkerImageArgs) ToGetAppSpecWorkerImagePtrOutputWithContext

func (i GetAppSpecWorkerImageArgs) ToGetAppSpecWorkerImagePtrOutputWithContext(ctx context.Context) GetAppSpecWorkerImagePtrOutput

type GetAppSpecWorkerImageDeployOnPush added in v4.16.0

type GetAppSpecWorkerImageDeployOnPush struct {
	// Whether to automatically deploy images pushed to DOCR.
	Enabled *bool `pulumi:"enabled"`
}

type GetAppSpecWorkerImageDeployOnPushArgs added in v4.16.0

type GetAppSpecWorkerImageDeployOnPushArgs struct {
	// Whether to automatically deploy images pushed to DOCR.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
}

func (GetAppSpecWorkerImageDeployOnPushArgs) ElementType added in v4.16.0

func (GetAppSpecWorkerImageDeployOnPushArgs) ToGetAppSpecWorkerImageDeployOnPushOutput added in v4.16.0

func (i GetAppSpecWorkerImageDeployOnPushArgs) ToGetAppSpecWorkerImageDeployOnPushOutput() GetAppSpecWorkerImageDeployOnPushOutput

func (GetAppSpecWorkerImageDeployOnPushArgs) ToGetAppSpecWorkerImageDeployOnPushOutputWithContext added in v4.16.0

func (i GetAppSpecWorkerImageDeployOnPushArgs) ToGetAppSpecWorkerImageDeployOnPushOutputWithContext(ctx context.Context) GetAppSpecWorkerImageDeployOnPushOutput

type GetAppSpecWorkerImageDeployOnPushArray added in v4.16.0

type GetAppSpecWorkerImageDeployOnPushArray []GetAppSpecWorkerImageDeployOnPushInput

func (GetAppSpecWorkerImageDeployOnPushArray) ElementType added in v4.16.0

func (GetAppSpecWorkerImageDeployOnPushArray) ToGetAppSpecWorkerImageDeployOnPushArrayOutput added in v4.16.0

func (i GetAppSpecWorkerImageDeployOnPushArray) ToGetAppSpecWorkerImageDeployOnPushArrayOutput() GetAppSpecWorkerImageDeployOnPushArrayOutput

func (GetAppSpecWorkerImageDeployOnPushArray) ToGetAppSpecWorkerImageDeployOnPushArrayOutputWithContext added in v4.16.0

func (i GetAppSpecWorkerImageDeployOnPushArray) ToGetAppSpecWorkerImageDeployOnPushArrayOutputWithContext(ctx context.Context) GetAppSpecWorkerImageDeployOnPushArrayOutput

type GetAppSpecWorkerImageDeployOnPushArrayInput added in v4.16.0

type GetAppSpecWorkerImageDeployOnPushArrayInput interface {
	pulumi.Input

	ToGetAppSpecWorkerImageDeployOnPushArrayOutput() GetAppSpecWorkerImageDeployOnPushArrayOutput
	ToGetAppSpecWorkerImageDeployOnPushArrayOutputWithContext(context.Context) GetAppSpecWorkerImageDeployOnPushArrayOutput
}

GetAppSpecWorkerImageDeployOnPushArrayInput is an input type that accepts GetAppSpecWorkerImageDeployOnPushArray and GetAppSpecWorkerImageDeployOnPushArrayOutput values. You can construct a concrete instance of `GetAppSpecWorkerImageDeployOnPushArrayInput` via:

GetAppSpecWorkerImageDeployOnPushArray{ GetAppSpecWorkerImageDeployOnPushArgs{...} }

type GetAppSpecWorkerImageDeployOnPushArrayOutput added in v4.16.0

type GetAppSpecWorkerImageDeployOnPushArrayOutput struct{ *pulumi.OutputState }

func (GetAppSpecWorkerImageDeployOnPushArrayOutput) ElementType added in v4.16.0

func (GetAppSpecWorkerImageDeployOnPushArrayOutput) Index added in v4.16.0

func (GetAppSpecWorkerImageDeployOnPushArrayOutput) ToGetAppSpecWorkerImageDeployOnPushArrayOutput added in v4.16.0

func (o GetAppSpecWorkerImageDeployOnPushArrayOutput) ToGetAppSpecWorkerImageDeployOnPushArrayOutput() GetAppSpecWorkerImageDeployOnPushArrayOutput

func (GetAppSpecWorkerImageDeployOnPushArrayOutput) ToGetAppSpecWorkerImageDeployOnPushArrayOutputWithContext added in v4.16.0

func (o GetAppSpecWorkerImageDeployOnPushArrayOutput) ToGetAppSpecWorkerImageDeployOnPushArrayOutputWithContext(ctx context.Context) GetAppSpecWorkerImageDeployOnPushArrayOutput

type GetAppSpecWorkerImageDeployOnPushInput added in v4.16.0

type GetAppSpecWorkerImageDeployOnPushInput interface {
	pulumi.Input

	ToGetAppSpecWorkerImageDeployOnPushOutput() GetAppSpecWorkerImageDeployOnPushOutput
	ToGetAppSpecWorkerImageDeployOnPushOutputWithContext(context.Context) GetAppSpecWorkerImageDeployOnPushOutput
}

GetAppSpecWorkerImageDeployOnPushInput is an input type that accepts GetAppSpecWorkerImageDeployOnPushArgs and GetAppSpecWorkerImageDeployOnPushOutput values. You can construct a concrete instance of `GetAppSpecWorkerImageDeployOnPushInput` via:

GetAppSpecWorkerImageDeployOnPushArgs{...}

type GetAppSpecWorkerImageDeployOnPushOutput added in v4.16.0

type GetAppSpecWorkerImageDeployOnPushOutput struct{ *pulumi.OutputState }

func (GetAppSpecWorkerImageDeployOnPushOutput) ElementType added in v4.16.0

func (GetAppSpecWorkerImageDeployOnPushOutput) Enabled added in v4.16.0

Whether to automatically deploy images pushed to DOCR.

func (GetAppSpecWorkerImageDeployOnPushOutput) ToGetAppSpecWorkerImageDeployOnPushOutput added in v4.16.0

func (o GetAppSpecWorkerImageDeployOnPushOutput) ToGetAppSpecWorkerImageDeployOnPushOutput() GetAppSpecWorkerImageDeployOnPushOutput

func (GetAppSpecWorkerImageDeployOnPushOutput) ToGetAppSpecWorkerImageDeployOnPushOutputWithContext added in v4.16.0

func (o GetAppSpecWorkerImageDeployOnPushOutput) ToGetAppSpecWorkerImageDeployOnPushOutputWithContext(ctx context.Context) GetAppSpecWorkerImageDeployOnPushOutput

type GetAppSpecWorkerImageInput

type GetAppSpecWorkerImageInput interface {
	pulumi.Input

	ToGetAppSpecWorkerImageOutput() GetAppSpecWorkerImageOutput
	ToGetAppSpecWorkerImageOutputWithContext(context.Context) GetAppSpecWorkerImageOutput
}

GetAppSpecWorkerImageInput is an input type that accepts GetAppSpecWorkerImageArgs and GetAppSpecWorkerImageOutput values. You can construct a concrete instance of `GetAppSpecWorkerImageInput` via:

GetAppSpecWorkerImageArgs{...}

type GetAppSpecWorkerImageOutput

type GetAppSpecWorkerImageOutput struct{ *pulumi.OutputState }

func (GetAppSpecWorkerImageOutput) DeployOnPushes added in v4.16.0

Whether to automatically deploy new commits made to the repo.

func (GetAppSpecWorkerImageOutput) ElementType

func (GetAppSpecWorkerImageOutput) Registry

The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.

func (GetAppSpecWorkerImageOutput) RegistryCredentials added in v4.28.0

func (o GetAppSpecWorkerImageOutput) RegistryCredentials() pulumi.StringPtrOutput

Access credentials for third-party registries

func (GetAppSpecWorkerImageOutput) RegistryType

The registry type. One of `DOCR` (DigitalOcean container registry) or `DOCKER_HUB`.

func (GetAppSpecWorkerImageOutput) Repository

The repository name.

func (GetAppSpecWorkerImageOutput) Tag

The repository tag. Defaults to `latest` if not provided.

func (GetAppSpecWorkerImageOutput) ToGetAppSpecWorkerImageOutput

func (o GetAppSpecWorkerImageOutput) ToGetAppSpecWorkerImageOutput() GetAppSpecWorkerImageOutput

func (GetAppSpecWorkerImageOutput) ToGetAppSpecWorkerImageOutputWithContext

func (o GetAppSpecWorkerImageOutput) ToGetAppSpecWorkerImageOutputWithContext(ctx context.Context) GetAppSpecWorkerImageOutput

func (GetAppSpecWorkerImageOutput) ToGetAppSpecWorkerImagePtrOutput

func (o GetAppSpecWorkerImageOutput) ToGetAppSpecWorkerImagePtrOutput() GetAppSpecWorkerImagePtrOutput

func (GetAppSpecWorkerImageOutput) ToGetAppSpecWorkerImagePtrOutputWithContext

func (o GetAppSpecWorkerImageOutput) ToGetAppSpecWorkerImagePtrOutputWithContext(ctx context.Context) GetAppSpecWorkerImagePtrOutput

type GetAppSpecWorkerImagePtrInput

type GetAppSpecWorkerImagePtrInput interface {
	pulumi.Input

	ToGetAppSpecWorkerImagePtrOutput() GetAppSpecWorkerImagePtrOutput
	ToGetAppSpecWorkerImagePtrOutputWithContext(context.Context) GetAppSpecWorkerImagePtrOutput
}

GetAppSpecWorkerImagePtrInput is an input type that accepts GetAppSpecWorkerImageArgs, GetAppSpecWorkerImagePtr and GetAppSpecWorkerImagePtrOutput values. You can construct a concrete instance of `GetAppSpecWorkerImagePtrInput` via:

        GetAppSpecWorkerImageArgs{...}

or:

        nil

type GetAppSpecWorkerImagePtrOutput

type GetAppSpecWorkerImagePtrOutput struct{ *pulumi.OutputState }

func (GetAppSpecWorkerImagePtrOutput) DeployOnPushes added in v4.16.0

Whether to automatically deploy new commits made to the repo.

func (GetAppSpecWorkerImagePtrOutput) Elem

func (GetAppSpecWorkerImagePtrOutput) ElementType

func (GetAppSpecWorkerImagePtrOutput) Registry

The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.

func (GetAppSpecWorkerImagePtrOutput) RegistryCredentials added in v4.28.0

func (o GetAppSpecWorkerImagePtrOutput) RegistryCredentials() pulumi.StringPtrOutput

Access credentials for third-party registries

func (GetAppSpecWorkerImagePtrOutput) RegistryType

The registry type. One of `DOCR` (DigitalOcean container registry) or `DOCKER_HUB`.

func (GetAppSpecWorkerImagePtrOutput) Repository

The repository name.

func (GetAppSpecWorkerImagePtrOutput) Tag

The repository tag. Defaults to `latest` if not provided.

func (GetAppSpecWorkerImagePtrOutput) ToGetAppSpecWorkerImagePtrOutput

func (o GetAppSpecWorkerImagePtrOutput) ToGetAppSpecWorkerImagePtrOutput() GetAppSpecWorkerImagePtrOutput

func (GetAppSpecWorkerImagePtrOutput) ToGetAppSpecWorkerImagePtrOutputWithContext

func (o GetAppSpecWorkerImagePtrOutput) ToGetAppSpecWorkerImagePtrOutputWithContext(ctx context.Context) GetAppSpecWorkerImagePtrOutput

type GetAppSpecWorkerInput

type GetAppSpecWorkerInput interface {
	pulumi.Input

	ToGetAppSpecWorkerOutput() GetAppSpecWorkerOutput
	ToGetAppSpecWorkerOutputWithContext(context.Context) GetAppSpecWorkerOutput
}

GetAppSpecWorkerInput is an input type that accepts GetAppSpecWorkerArgs and GetAppSpecWorkerOutput values. You can construct a concrete instance of `GetAppSpecWorkerInput` via:

GetAppSpecWorkerArgs{...}

type GetAppSpecWorkerLogDestination added in v4.12.0

type GetAppSpecWorkerLogDestination struct {
	// Datadog configuration.
	Datadog *GetAppSpecWorkerLogDestinationDatadog `pulumi:"datadog"`
	// Logtail configuration.
	Logtail *GetAppSpecWorkerLogDestinationLogtail `pulumi:"logtail"`
	// The name of the component.
	Name string `pulumi:"name"`
	// Papertrail configuration.
	Papertrail *GetAppSpecWorkerLogDestinationPapertrail `pulumi:"papertrail"`
}

type GetAppSpecWorkerLogDestinationArgs added in v4.12.0

type GetAppSpecWorkerLogDestinationArgs struct {
	// Datadog configuration.
	Datadog GetAppSpecWorkerLogDestinationDatadogPtrInput `pulumi:"datadog"`
	// Logtail configuration.
	Logtail GetAppSpecWorkerLogDestinationLogtailPtrInput `pulumi:"logtail"`
	// The name of the component.
	Name pulumi.StringInput `pulumi:"name"`
	// Papertrail configuration.
	Papertrail GetAppSpecWorkerLogDestinationPapertrailPtrInput `pulumi:"papertrail"`
}

func (GetAppSpecWorkerLogDestinationArgs) ElementType added in v4.12.0

func (GetAppSpecWorkerLogDestinationArgs) ToGetAppSpecWorkerLogDestinationOutput added in v4.12.0

func (i GetAppSpecWorkerLogDestinationArgs) ToGetAppSpecWorkerLogDestinationOutput() GetAppSpecWorkerLogDestinationOutput

func (GetAppSpecWorkerLogDestinationArgs) ToGetAppSpecWorkerLogDestinationOutputWithContext added in v4.12.0

func (i GetAppSpecWorkerLogDestinationArgs) ToGetAppSpecWorkerLogDestinationOutputWithContext(ctx context.Context) GetAppSpecWorkerLogDestinationOutput

type GetAppSpecWorkerLogDestinationArray added in v4.12.0

type GetAppSpecWorkerLogDestinationArray []GetAppSpecWorkerLogDestinationInput

func (GetAppSpecWorkerLogDestinationArray) ElementType added in v4.12.0

func (GetAppSpecWorkerLogDestinationArray) ToGetAppSpecWorkerLogDestinationArrayOutput added in v4.12.0

func (i GetAppSpecWorkerLogDestinationArray) ToGetAppSpecWorkerLogDestinationArrayOutput() GetAppSpecWorkerLogDestinationArrayOutput

func (GetAppSpecWorkerLogDestinationArray) ToGetAppSpecWorkerLogDestinationArrayOutputWithContext added in v4.12.0

func (i GetAppSpecWorkerLogDestinationArray) ToGetAppSpecWorkerLogDestinationArrayOutputWithContext(ctx context.Context) GetAppSpecWorkerLogDestinationArrayOutput

type GetAppSpecWorkerLogDestinationArrayInput added in v4.12.0

type GetAppSpecWorkerLogDestinationArrayInput interface {
	pulumi.Input

	ToGetAppSpecWorkerLogDestinationArrayOutput() GetAppSpecWorkerLogDestinationArrayOutput
	ToGetAppSpecWorkerLogDestinationArrayOutputWithContext(context.Context) GetAppSpecWorkerLogDestinationArrayOutput
}

GetAppSpecWorkerLogDestinationArrayInput is an input type that accepts GetAppSpecWorkerLogDestinationArray and GetAppSpecWorkerLogDestinationArrayOutput values. You can construct a concrete instance of `GetAppSpecWorkerLogDestinationArrayInput` via:

GetAppSpecWorkerLogDestinationArray{ GetAppSpecWorkerLogDestinationArgs{...} }

type GetAppSpecWorkerLogDestinationArrayOutput added in v4.12.0

type GetAppSpecWorkerLogDestinationArrayOutput struct{ *pulumi.OutputState }

func (GetAppSpecWorkerLogDestinationArrayOutput) ElementType added in v4.12.0

func (GetAppSpecWorkerLogDestinationArrayOutput) Index added in v4.12.0

func (GetAppSpecWorkerLogDestinationArrayOutput) ToGetAppSpecWorkerLogDestinationArrayOutput added in v4.12.0

func (o GetAppSpecWorkerLogDestinationArrayOutput) ToGetAppSpecWorkerLogDestinationArrayOutput() GetAppSpecWorkerLogDestinationArrayOutput

func (GetAppSpecWorkerLogDestinationArrayOutput) ToGetAppSpecWorkerLogDestinationArrayOutputWithContext added in v4.12.0

func (o GetAppSpecWorkerLogDestinationArrayOutput) ToGetAppSpecWorkerLogDestinationArrayOutputWithContext(ctx context.Context) GetAppSpecWorkerLogDestinationArrayOutput

type GetAppSpecWorkerLogDestinationDatadog added in v4.12.0

type GetAppSpecWorkerLogDestinationDatadog struct {
	// Datadog API key.
	ApiKey string `pulumi:"apiKey"`
	// Datadog HTTP log intake endpoint.
	Endpoint *string `pulumi:"endpoint"`
}

type GetAppSpecWorkerLogDestinationDatadogArgs added in v4.12.0

type GetAppSpecWorkerLogDestinationDatadogArgs struct {
	// Datadog API key.
	ApiKey pulumi.StringInput `pulumi:"apiKey"`
	// Datadog HTTP log intake endpoint.
	Endpoint pulumi.StringPtrInput `pulumi:"endpoint"`
}

func (GetAppSpecWorkerLogDestinationDatadogArgs) ElementType added in v4.12.0

func (GetAppSpecWorkerLogDestinationDatadogArgs) ToGetAppSpecWorkerLogDestinationDatadogOutput added in v4.12.0

func (i GetAppSpecWorkerLogDestinationDatadogArgs) ToGetAppSpecWorkerLogDestinationDatadogOutput() GetAppSpecWorkerLogDestinationDatadogOutput

func (GetAppSpecWorkerLogDestinationDatadogArgs) ToGetAppSpecWorkerLogDestinationDatadogOutputWithContext added in v4.12.0

func (i GetAppSpecWorkerLogDestinationDatadogArgs) ToGetAppSpecWorkerLogDestinationDatadogOutputWithContext(ctx context.Context) GetAppSpecWorkerLogDestinationDatadogOutput

func (GetAppSpecWorkerLogDestinationDatadogArgs) ToGetAppSpecWorkerLogDestinationDatadogPtrOutput added in v4.12.0

func (i GetAppSpecWorkerLogDestinationDatadogArgs) ToGetAppSpecWorkerLogDestinationDatadogPtrOutput() GetAppSpecWorkerLogDestinationDatadogPtrOutput

func (GetAppSpecWorkerLogDestinationDatadogArgs) ToGetAppSpecWorkerLogDestinationDatadogPtrOutputWithContext added in v4.12.0

func (i GetAppSpecWorkerLogDestinationDatadogArgs) ToGetAppSpecWorkerLogDestinationDatadogPtrOutputWithContext(ctx context.Context) GetAppSpecWorkerLogDestinationDatadogPtrOutput

type GetAppSpecWorkerLogDestinationDatadogInput added in v4.12.0

type GetAppSpecWorkerLogDestinationDatadogInput interface {
	pulumi.Input

	ToGetAppSpecWorkerLogDestinationDatadogOutput() GetAppSpecWorkerLogDestinationDatadogOutput
	ToGetAppSpecWorkerLogDestinationDatadogOutputWithContext(context.Context) GetAppSpecWorkerLogDestinationDatadogOutput
}

GetAppSpecWorkerLogDestinationDatadogInput is an input type that accepts GetAppSpecWorkerLogDestinationDatadogArgs and GetAppSpecWorkerLogDestinationDatadogOutput values. You can construct a concrete instance of `GetAppSpecWorkerLogDestinationDatadogInput` via:

GetAppSpecWorkerLogDestinationDatadogArgs{...}

type GetAppSpecWorkerLogDestinationDatadogOutput added in v4.12.0

type GetAppSpecWorkerLogDestinationDatadogOutput struct{ *pulumi.OutputState }

func (GetAppSpecWorkerLogDestinationDatadogOutput) ApiKey added in v4.12.0

Datadog API key.

func (GetAppSpecWorkerLogDestinationDatadogOutput) ElementType added in v4.12.0

func (GetAppSpecWorkerLogDestinationDatadogOutput) Endpoint added in v4.12.0

Datadog HTTP log intake endpoint.

func (GetAppSpecWorkerLogDestinationDatadogOutput) ToGetAppSpecWorkerLogDestinationDatadogOutput added in v4.12.0

func (o GetAppSpecWorkerLogDestinationDatadogOutput) ToGetAppSpecWorkerLogDestinationDatadogOutput() GetAppSpecWorkerLogDestinationDatadogOutput

func (GetAppSpecWorkerLogDestinationDatadogOutput) ToGetAppSpecWorkerLogDestinationDatadogOutputWithContext added in v4.12.0

func (o GetAppSpecWorkerLogDestinationDatadogOutput) ToGetAppSpecWorkerLogDestinationDatadogOutputWithContext(ctx context.Context) GetAppSpecWorkerLogDestinationDatadogOutput

func (GetAppSpecWorkerLogDestinationDatadogOutput) ToGetAppSpecWorkerLogDestinationDatadogPtrOutput added in v4.12.0

func (o GetAppSpecWorkerLogDestinationDatadogOutput) ToGetAppSpecWorkerLogDestinationDatadogPtrOutput() GetAppSpecWorkerLogDestinationDatadogPtrOutput

func (GetAppSpecWorkerLogDestinationDatadogOutput) ToGetAppSpecWorkerLogDestinationDatadogPtrOutputWithContext added in v4.12.0

func (o GetAppSpecWorkerLogDestinationDatadogOutput) ToGetAppSpecWorkerLogDestinationDatadogPtrOutputWithContext(ctx context.Context) GetAppSpecWorkerLogDestinationDatadogPtrOutput

type GetAppSpecWorkerLogDestinationDatadogPtrInput added in v4.12.0

type GetAppSpecWorkerLogDestinationDatadogPtrInput interface {
	pulumi.Input

	ToGetAppSpecWorkerLogDestinationDatadogPtrOutput() GetAppSpecWorkerLogDestinationDatadogPtrOutput
	ToGetAppSpecWorkerLogDestinationDatadogPtrOutputWithContext(context.Context) GetAppSpecWorkerLogDestinationDatadogPtrOutput
}

GetAppSpecWorkerLogDestinationDatadogPtrInput is an input type that accepts GetAppSpecWorkerLogDestinationDatadogArgs, GetAppSpecWorkerLogDestinationDatadogPtr and GetAppSpecWorkerLogDestinationDatadogPtrOutput values. You can construct a concrete instance of `GetAppSpecWorkerLogDestinationDatadogPtrInput` via:

        GetAppSpecWorkerLogDestinationDatadogArgs{...}

or:

        nil

type GetAppSpecWorkerLogDestinationDatadogPtrOutput added in v4.12.0

type GetAppSpecWorkerLogDestinationDatadogPtrOutput struct{ *pulumi.OutputState }

func (GetAppSpecWorkerLogDestinationDatadogPtrOutput) ApiKey added in v4.12.0

Datadog API key.

func (GetAppSpecWorkerLogDestinationDatadogPtrOutput) Elem added in v4.12.0

func (GetAppSpecWorkerLogDestinationDatadogPtrOutput) ElementType added in v4.12.0

func (GetAppSpecWorkerLogDestinationDatadogPtrOutput) Endpoint added in v4.12.0

Datadog HTTP log intake endpoint.

func (GetAppSpecWorkerLogDestinationDatadogPtrOutput) ToGetAppSpecWorkerLogDestinationDatadogPtrOutput added in v4.12.0

func (o GetAppSpecWorkerLogDestinationDatadogPtrOutput) ToGetAppSpecWorkerLogDestinationDatadogPtrOutput() GetAppSpecWorkerLogDestinationDatadogPtrOutput

func (GetAppSpecWorkerLogDestinationDatadogPtrOutput) ToGetAppSpecWorkerLogDestinationDatadogPtrOutputWithContext added in v4.12.0

func (o GetAppSpecWorkerLogDestinationDatadogPtrOutput) ToGetAppSpecWorkerLogDestinationDatadogPtrOutputWithContext(ctx context.Context) GetAppSpecWorkerLogDestinationDatadogPtrOutput

type GetAppSpecWorkerLogDestinationInput added in v4.12.0

type GetAppSpecWorkerLogDestinationInput interface {
	pulumi.Input

	ToGetAppSpecWorkerLogDestinationOutput() GetAppSpecWorkerLogDestinationOutput
	ToGetAppSpecWorkerLogDestinationOutputWithContext(context.Context) GetAppSpecWorkerLogDestinationOutput
}

GetAppSpecWorkerLogDestinationInput is an input type that accepts GetAppSpecWorkerLogDestinationArgs and GetAppSpecWorkerLogDestinationOutput values. You can construct a concrete instance of `GetAppSpecWorkerLogDestinationInput` via:

GetAppSpecWorkerLogDestinationArgs{...}

type GetAppSpecWorkerLogDestinationLogtail added in v4.12.0

type GetAppSpecWorkerLogDestinationLogtail struct {
	// Logtail token.
	Token string `pulumi:"token"`
}

type GetAppSpecWorkerLogDestinationLogtailArgs added in v4.12.0

type GetAppSpecWorkerLogDestinationLogtailArgs struct {
	// Logtail token.
	Token pulumi.StringInput `pulumi:"token"`
}

func (GetAppSpecWorkerLogDestinationLogtailArgs) ElementType added in v4.12.0

func (GetAppSpecWorkerLogDestinationLogtailArgs) ToGetAppSpecWorkerLogDestinationLogtailOutput added in v4.12.0

func (i GetAppSpecWorkerLogDestinationLogtailArgs) ToGetAppSpecWorkerLogDestinationLogtailOutput() GetAppSpecWorkerLogDestinationLogtailOutput

func (GetAppSpecWorkerLogDestinationLogtailArgs) ToGetAppSpecWorkerLogDestinationLogtailOutputWithContext added in v4.12.0

func (i GetAppSpecWorkerLogDestinationLogtailArgs) ToGetAppSpecWorkerLogDestinationLogtailOutputWithContext(ctx context.Context) GetAppSpecWorkerLogDestinationLogtailOutput

func (GetAppSpecWorkerLogDestinationLogtailArgs) ToGetAppSpecWorkerLogDestinationLogtailPtrOutput added in v4.12.0

func (i GetAppSpecWorkerLogDestinationLogtailArgs) ToGetAppSpecWorkerLogDestinationLogtailPtrOutput() GetAppSpecWorkerLogDestinationLogtailPtrOutput

func (GetAppSpecWorkerLogDestinationLogtailArgs) ToGetAppSpecWorkerLogDestinationLogtailPtrOutputWithContext added in v4.12.0

func (i GetAppSpecWorkerLogDestinationLogtailArgs) ToGetAppSpecWorkerLogDestinationLogtailPtrOutputWithContext(ctx context.Context) GetAppSpecWorkerLogDestinationLogtailPtrOutput

type GetAppSpecWorkerLogDestinationLogtailInput added in v4.12.0

type GetAppSpecWorkerLogDestinationLogtailInput interface {
	pulumi.Input

	ToGetAppSpecWorkerLogDestinationLogtailOutput() GetAppSpecWorkerLogDestinationLogtailOutput
	ToGetAppSpecWorkerLogDestinationLogtailOutputWithContext(context.Context) GetAppSpecWorkerLogDestinationLogtailOutput
}

GetAppSpecWorkerLogDestinationLogtailInput is an input type that accepts GetAppSpecWorkerLogDestinationLogtailArgs and GetAppSpecWorkerLogDestinationLogtailOutput values. You can construct a concrete instance of `GetAppSpecWorkerLogDestinationLogtailInput` via:

GetAppSpecWorkerLogDestinationLogtailArgs{...}

type GetAppSpecWorkerLogDestinationLogtailOutput added in v4.12.0

type GetAppSpecWorkerLogDestinationLogtailOutput struct{ *pulumi.OutputState }

func (GetAppSpecWorkerLogDestinationLogtailOutput) ElementType added in v4.12.0

func (GetAppSpecWorkerLogDestinationLogtailOutput) ToGetAppSpecWorkerLogDestinationLogtailOutput added in v4.12.0

func (o GetAppSpecWorkerLogDestinationLogtailOutput) ToGetAppSpecWorkerLogDestinationLogtailOutput() GetAppSpecWorkerLogDestinationLogtailOutput

func (GetAppSpecWorkerLogDestinationLogtailOutput) ToGetAppSpecWorkerLogDestinationLogtailOutputWithContext added in v4.12.0

func (o GetAppSpecWorkerLogDestinationLogtailOutput) ToGetAppSpecWorkerLogDestinationLogtailOutputWithContext(ctx context.Context) GetAppSpecWorkerLogDestinationLogtailOutput

func (GetAppSpecWorkerLogDestinationLogtailOutput) ToGetAppSpecWorkerLogDestinationLogtailPtrOutput added in v4.12.0

func (o GetAppSpecWorkerLogDestinationLogtailOutput) ToGetAppSpecWorkerLogDestinationLogtailPtrOutput() GetAppSpecWorkerLogDestinationLogtailPtrOutput

func (GetAppSpecWorkerLogDestinationLogtailOutput) ToGetAppSpecWorkerLogDestinationLogtailPtrOutputWithContext added in v4.12.0

func (o GetAppSpecWorkerLogDestinationLogtailOutput) ToGetAppSpecWorkerLogDestinationLogtailPtrOutputWithContext(ctx context.Context) GetAppSpecWorkerLogDestinationLogtailPtrOutput

func (GetAppSpecWorkerLogDestinationLogtailOutput) Token added in v4.12.0

Logtail token.

type GetAppSpecWorkerLogDestinationLogtailPtrInput added in v4.12.0

type GetAppSpecWorkerLogDestinationLogtailPtrInput interface {
	pulumi.Input

	ToGetAppSpecWorkerLogDestinationLogtailPtrOutput() GetAppSpecWorkerLogDestinationLogtailPtrOutput
	ToGetAppSpecWorkerLogDestinationLogtailPtrOutputWithContext(context.Context) GetAppSpecWorkerLogDestinationLogtailPtrOutput
}

GetAppSpecWorkerLogDestinationLogtailPtrInput is an input type that accepts GetAppSpecWorkerLogDestinationLogtailArgs, GetAppSpecWorkerLogDestinationLogtailPtr and GetAppSpecWorkerLogDestinationLogtailPtrOutput values. You can construct a concrete instance of `GetAppSpecWorkerLogDestinationLogtailPtrInput` via:

        GetAppSpecWorkerLogDestinationLogtailArgs{...}

or:

        nil

type GetAppSpecWorkerLogDestinationLogtailPtrOutput added in v4.12.0

type GetAppSpecWorkerLogDestinationLogtailPtrOutput struct{ *pulumi.OutputState }

func (GetAppSpecWorkerLogDestinationLogtailPtrOutput) Elem added in v4.12.0

func (GetAppSpecWorkerLogDestinationLogtailPtrOutput) ElementType added in v4.12.0

func (GetAppSpecWorkerLogDestinationLogtailPtrOutput) ToGetAppSpecWorkerLogDestinationLogtailPtrOutput added in v4.12.0

func (o GetAppSpecWorkerLogDestinationLogtailPtrOutput) ToGetAppSpecWorkerLogDestinationLogtailPtrOutput() GetAppSpecWorkerLogDestinationLogtailPtrOutput

func (GetAppSpecWorkerLogDestinationLogtailPtrOutput) ToGetAppSpecWorkerLogDestinationLogtailPtrOutputWithContext added in v4.12.0

func (o GetAppSpecWorkerLogDestinationLogtailPtrOutput) ToGetAppSpecWorkerLogDestinationLogtailPtrOutputWithContext(ctx context.Context) GetAppSpecWorkerLogDestinationLogtailPtrOutput

func (GetAppSpecWorkerLogDestinationLogtailPtrOutput) Token added in v4.12.0

Logtail token.

type GetAppSpecWorkerLogDestinationOutput added in v4.12.0

type GetAppSpecWorkerLogDestinationOutput struct{ *pulumi.OutputState }

func (GetAppSpecWorkerLogDestinationOutput) Datadog added in v4.12.0

Datadog configuration.

func (GetAppSpecWorkerLogDestinationOutput) ElementType added in v4.12.0

func (GetAppSpecWorkerLogDestinationOutput) Logtail added in v4.12.0

Logtail configuration.

func (GetAppSpecWorkerLogDestinationOutput) Name added in v4.12.0

The name of the component.

func (GetAppSpecWorkerLogDestinationOutput) Papertrail added in v4.12.0

Papertrail configuration.

func (GetAppSpecWorkerLogDestinationOutput) ToGetAppSpecWorkerLogDestinationOutput added in v4.12.0

func (o GetAppSpecWorkerLogDestinationOutput) ToGetAppSpecWorkerLogDestinationOutput() GetAppSpecWorkerLogDestinationOutput

func (GetAppSpecWorkerLogDestinationOutput) ToGetAppSpecWorkerLogDestinationOutputWithContext added in v4.12.0

func (o GetAppSpecWorkerLogDestinationOutput) ToGetAppSpecWorkerLogDestinationOutputWithContext(ctx context.Context) GetAppSpecWorkerLogDestinationOutput

type GetAppSpecWorkerLogDestinationPapertrail added in v4.12.0

type GetAppSpecWorkerLogDestinationPapertrail struct {
	// Datadog HTTP log intake endpoint.
	Endpoint string `pulumi:"endpoint"`
}

type GetAppSpecWorkerLogDestinationPapertrailArgs added in v4.12.0

type GetAppSpecWorkerLogDestinationPapertrailArgs struct {
	// Datadog HTTP log intake endpoint.
	Endpoint pulumi.StringInput `pulumi:"endpoint"`
}

func (GetAppSpecWorkerLogDestinationPapertrailArgs) ElementType added in v4.12.0

func (GetAppSpecWorkerLogDestinationPapertrailArgs) ToGetAppSpecWorkerLogDestinationPapertrailOutput added in v4.12.0

func (i GetAppSpecWorkerLogDestinationPapertrailArgs) ToGetAppSpecWorkerLogDestinationPapertrailOutput() GetAppSpecWorkerLogDestinationPapertrailOutput

func (GetAppSpecWorkerLogDestinationPapertrailArgs) ToGetAppSpecWorkerLogDestinationPapertrailOutputWithContext added in v4.12.0

func (i GetAppSpecWorkerLogDestinationPapertrailArgs) ToGetAppSpecWorkerLogDestinationPapertrailOutputWithContext(ctx context.Context) GetAppSpecWorkerLogDestinationPapertrailOutput

func (GetAppSpecWorkerLogDestinationPapertrailArgs) ToGetAppSpecWorkerLogDestinationPapertrailPtrOutput added in v4.12.0

func (i GetAppSpecWorkerLogDestinationPapertrailArgs) ToGetAppSpecWorkerLogDestinationPapertrailPtrOutput() GetAppSpecWorkerLogDestinationPapertrailPtrOutput

func (GetAppSpecWorkerLogDestinationPapertrailArgs) ToGetAppSpecWorkerLogDestinationPapertrailPtrOutputWithContext added in v4.12.0

func (i GetAppSpecWorkerLogDestinationPapertrailArgs) ToGetAppSpecWorkerLogDestinationPapertrailPtrOutputWithContext(ctx context.Context) GetAppSpecWorkerLogDestinationPapertrailPtrOutput

type GetAppSpecWorkerLogDestinationPapertrailInput added in v4.12.0

type GetAppSpecWorkerLogDestinationPapertrailInput interface {
	pulumi.Input

	ToGetAppSpecWorkerLogDestinationPapertrailOutput() GetAppSpecWorkerLogDestinationPapertrailOutput
	ToGetAppSpecWorkerLogDestinationPapertrailOutputWithContext(context.Context) GetAppSpecWorkerLogDestinationPapertrailOutput
}

GetAppSpecWorkerLogDestinationPapertrailInput is an input type that accepts GetAppSpecWorkerLogDestinationPapertrailArgs and GetAppSpecWorkerLogDestinationPapertrailOutput values. You can construct a concrete instance of `GetAppSpecWorkerLogDestinationPapertrailInput` via:

GetAppSpecWorkerLogDestinationPapertrailArgs{...}

type GetAppSpecWorkerLogDestinationPapertrailOutput added in v4.12.0

type GetAppSpecWorkerLogDestinationPapertrailOutput struct{ *pulumi.OutputState }

func (GetAppSpecWorkerLogDestinationPapertrailOutput) ElementType added in v4.12.0

func (GetAppSpecWorkerLogDestinationPapertrailOutput) Endpoint added in v4.12.0

Datadog HTTP log intake endpoint.

func (GetAppSpecWorkerLogDestinationPapertrailOutput) ToGetAppSpecWorkerLogDestinationPapertrailOutput added in v4.12.0

func (o GetAppSpecWorkerLogDestinationPapertrailOutput) ToGetAppSpecWorkerLogDestinationPapertrailOutput() GetAppSpecWorkerLogDestinationPapertrailOutput

func (GetAppSpecWorkerLogDestinationPapertrailOutput) ToGetAppSpecWorkerLogDestinationPapertrailOutputWithContext added in v4.12.0

func (o GetAppSpecWorkerLogDestinationPapertrailOutput) ToGetAppSpecWorkerLogDestinationPapertrailOutputWithContext(ctx context.Context) GetAppSpecWorkerLogDestinationPapertrailOutput

func (GetAppSpecWorkerLogDestinationPapertrailOutput) ToGetAppSpecWorkerLogDestinationPapertrailPtrOutput added in v4.12.0

func (o GetAppSpecWorkerLogDestinationPapertrailOutput) ToGetAppSpecWorkerLogDestinationPapertrailPtrOutput() GetAppSpecWorkerLogDestinationPapertrailPtrOutput

func (GetAppSpecWorkerLogDestinationPapertrailOutput) ToGetAppSpecWorkerLogDestinationPapertrailPtrOutputWithContext added in v4.12.0

func (o GetAppSpecWorkerLogDestinationPapertrailOutput) ToGetAppSpecWorkerLogDestinationPapertrailPtrOutputWithContext(ctx context.Context) GetAppSpecWorkerLogDestinationPapertrailPtrOutput

type GetAppSpecWorkerLogDestinationPapertrailPtrInput added in v4.12.0

type GetAppSpecWorkerLogDestinationPapertrailPtrInput interface {
	pulumi.Input

	ToGetAppSpecWorkerLogDestinationPapertrailPtrOutput() GetAppSpecWorkerLogDestinationPapertrailPtrOutput
	ToGetAppSpecWorkerLogDestinationPapertrailPtrOutputWithContext(context.Context) GetAppSpecWorkerLogDestinationPapertrailPtrOutput
}

GetAppSpecWorkerLogDestinationPapertrailPtrInput is an input type that accepts GetAppSpecWorkerLogDestinationPapertrailArgs, GetAppSpecWorkerLogDestinationPapertrailPtr and GetAppSpecWorkerLogDestinationPapertrailPtrOutput values. You can construct a concrete instance of `GetAppSpecWorkerLogDestinationPapertrailPtrInput` via:

        GetAppSpecWorkerLogDestinationPapertrailArgs{...}

or:

        nil

type GetAppSpecWorkerLogDestinationPapertrailPtrOutput added in v4.12.0

type GetAppSpecWorkerLogDestinationPapertrailPtrOutput struct{ *pulumi.OutputState }

func (GetAppSpecWorkerLogDestinationPapertrailPtrOutput) Elem added in v4.12.0

func (GetAppSpecWorkerLogDestinationPapertrailPtrOutput) ElementType added in v4.12.0

func (GetAppSpecWorkerLogDestinationPapertrailPtrOutput) Endpoint added in v4.12.0

Datadog HTTP log intake endpoint.

func (GetAppSpecWorkerLogDestinationPapertrailPtrOutput) ToGetAppSpecWorkerLogDestinationPapertrailPtrOutput added in v4.12.0

func (o GetAppSpecWorkerLogDestinationPapertrailPtrOutput) ToGetAppSpecWorkerLogDestinationPapertrailPtrOutput() GetAppSpecWorkerLogDestinationPapertrailPtrOutput

func (GetAppSpecWorkerLogDestinationPapertrailPtrOutput) ToGetAppSpecWorkerLogDestinationPapertrailPtrOutputWithContext added in v4.12.0

func (o GetAppSpecWorkerLogDestinationPapertrailPtrOutput) ToGetAppSpecWorkerLogDestinationPapertrailPtrOutputWithContext(ctx context.Context) GetAppSpecWorkerLogDestinationPapertrailPtrOutput

type GetAppSpecWorkerOutput

type GetAppSpecWorkerOutput struct{ *pulumi.OutputState }

func (GetAppSpecWorkerOutput) Alerts added in v4.12.0

Describes an alert policy for the component.

func (GetAppSpecWorkerOutput) BuildCommand

An optional build command to run while building this component from source.

func (GetAppSpecWorkerOutput) DockerfilePath

func (o GetAppSpecWorkerOutput) DockerfilePath() pulumi.StringPtrOutput

The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.

func (GetAppSpecWorkerOutput) ElementType

func (GetAppSpecWorkerOutput) ElementType() reflect.Type

func (GetAppSpecWorkerOutput) EnvironmentSlug

func (o GetAppSpecWorkerOutput) EnvironmentSlug() pulumi.StringPtrOutput

An environment slug describing the type of this app.

func (GetAppSpecWorkerOutput) Envs

Describes an environment variable made available to an app competent.

func (GetAppSpecWorkerOutput) Git

A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of `git`, `github` or `gitlab` may be set.

func (GetAppSpecWorkerOutput) Github

A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.

func (GetAppSpecWorkerOutput) Gitlab

A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.

func (GetAppSpecWorkerOutput) Image

An image to use as the component's source. Only one of `git`, `github`, `gitlab`, or `image` may be set.

func (GetAppSpecWorkerOutput) InstanceCount

func (o GetAppSpecWorkerOutput) InstanceCount() pulumi.IntPtrOutput

The amount of instances that this component should be scaled to.

func (GetAppSpecWorkerOutput) InstanceSizeSlug

func (o GetAppSpecWorkerOutput) InstanceSizeSlug() pulumi.StringPtrOutput

The instance size to use for this component.

func (GetAppSpecWorkerOutput) LogDestinations added in v4.12.0

Describes a log forwarding destination.

func (GetAppSpecWorkerOutput) Name

The name of the component.

func (GetAppSpecWorkerOutput) RunCommand

An optional run command to override the component's default.

func (GetAppSpecWorkerOutput) SourceDir

An optional path to the working directory to use for the build.

func (GetAppSpecWorkerOutput) ToGetAppSpecWorkerOutput

func (o GetAppSpecWorkerOutput) ToGetAppSpecWorkerOutput() GetAppSpecWorkerOutput

func (GetAppSpecWorkerOutput) ToGetAppSpecWorkerOutputWithContext

func (o GetAppSpecWorkerOutput) ToGetAppSpecWorkerOutputWithContext(ctx context.Context) GetAppSpecWorkerOutput

type GetDatabaseCaArgs added in v4.10.0

type GetDatabaseCaArgs struct {
	// The ID of the source database cluster.
	ClusterId string `pulumi:"clusterId"`
}

A collection of arguments for invoking getDatabaseCa.

type GetDatabaseCaOutputArgs added in v4.10.0

type GetDatabaseCaOutputArgs struct {
	// The ID of the source database cluster.
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
}

A collection of arguments for invoking getDatabaseCa.

func (GetDatabaseCaOutputArgs) ElementType added in v4.10.0

func (GetDatabaseCaOutputArgs) ElementType() reflect.Type

type GetDatabaseCaResult added in v4.10.0

type GetDatabaseCaResult struct {
	// The CA certificate used to secure database connections decoded to a string.
	Certificate string `pulumi:"certificate"`
	ClusterId   string `pulumi:"clusterId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
}

A collection of values returned by getDatabaseCa.

func GetDatabaseCa added in v4.10.0

func GetDatabaseCa(ctx *pulumi.Context, args *GetDatabaseCaArgs, opts ...pulumi.InvokeOption) (*GetDatabaseCaResult, error)

Provides the CA certificate for a DigitalOcean database.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ca, err := digitalocean.GetDatabaseCa(ctx, &digitalocean.GetDatabaseCaArgs{
			ClusterId: "aaa-bbb-ccc-ddd",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("caOutput", ca.Certificate)
		return nil
	})
}

```

type GetDatabaseCaResultOutput added in v4.10.0

type GetDatabaseCaResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDatabaseCa.

func GetDatabaseCaOutput added in v4.10.0

func GetDatabaseCaOutput(ctx *pulumi.Context, args GetDatabaseCaOutputArgs, opts ...pulumi.InvokeOption) GetDatabaseCaResultOutput

func (GetDatabaseCaResultOutput) Certificate added in v4.10.0

The CA certificate used to secure database connections decoded to a string.

func (GetDatabaseCaResultOutput) ClusterId added in v4.10.0

func (GetDatabaseCaResultOutput) ElementType added in v4.10.0

func (GetDatabaseCaResultOutput) ElementType() reflect.Type

func (GetDatabaseCaResultOutput) Id added in v4.10.0

The provider-assigned unique ID for this managed resource.

func (GetDatabaseCaResultOutput) ToGetDatabaseCaResultOutput added in v4.10.0

func (o GetDatabaseCaResultOutput) ToGetDatabaseCaResultOutput() GetDatabaseCaResultOutput

func (GetDatabaseCaResultOutput) ToGetDatabaseCaResultOutputWithContext added in v4.10.0

func (o GetDatabaseCaResultOutput) ToGetDatabaseCaResultOutputWithContext(ctx context.Context) GetDatabaseCaResultOutput

type GetDatabaseClusterMaintenanceWindow

type GetDatabaseClusterMaintenanceWindow struct {
	// The day of the week on which to apply maintenance updates.
	Day string `pulumi:"day"`
	// The hour in UTC at which maintenance updates will be applied in 24 hour format.
	Hour string `pulumi:"hour"`
}

type GetDatabaseClusterMaintenanceWindowArgs

type GetDatabaseClusterMaintenanceWindowArgs struct {
	// The day of the week on which to apply maintenance updates.
	Day pulumi.StringInput `pulumi:"day"`
	// The hour in UTC at which maintenance updates will be applied in 24 hour format.
	Hour pulumi.StringInput `pulumi:"hour"`
}

func (GetDatabaseClusterMaintenanceWindowArgs) ElementType

func (GetDatabaseClusterMaintenanceWindowArgs) ToGetDatabaseClusterMaintenanceWindowOutput

func (i GetDatabaseClusterMaintenanceWindowArgs) ToGetDatabaseClusterMaintenanceWindowOutput() GetDatabaseClusterMaintenanceWindowOutput

func (GetDatabaseClusterMaintenanceWindowArgs) ToGetDatabaseClusterMaintenanceWindowOutputWithContext

func (i GetDatabaseClusterMaintenanceWindowArgs) ToGetDatabaseClusterMaintenanceWindowOutputWithContext(ctx context.Context) GetDatabaseClusterMaintenanceWindowOutput

type GetDatabaseClusterMaintenanceWindowArray

type GetDatabaseClusterMaintenanceWindowArray []GetDatabaseClusterMaintenanceWindowInput

func (GetDatabaseClusterMaintenanceWindowArray) ElementType

func (GetDatabaseClusterMaintenanceWindowArray) ToGetDatabaseClusterMaintenanceWindowArrayOutput

func (i GetDatabaseClusterMaintenanceWindowArray) ToGetDatabaseClusterMaintenanceWindowArrayOutput() GetDatabaseClusterMaintenanceWindowArrayOutput

func (GetDatabaseClusterMaintenanceWindowArray) ToGetDatabaseClusterMaintenanceWindowArrayOutputWithContext

func (i GetDatabaseClusterMaintenanceWindowArray) ToGetDatabaseClusterMaintenanceWindowArrayOutputWithContext(ctx context.Context) GetDatabaseClusterMaintenanceWindowArrayOutput

type GetDatabaseClusterMaintenanceWindowArrayInput

type GetDatabaseClusterMaintenanceWindowArrayInput interface {
	pulumi.Input

	ToGetDatabaseClusterMaintenanceWindowArrayOutput() GetDatabaseClusterMaintenanceWindowArrayOutput
	ToGetDatabaseClusterMaintenanceWindowArrayOutputWithContext(context.Context) GetDatabaseClusterMaintenanceWindowArrayOutput
}

GetDatabaseClusterMaintenanceWindowArrayInput is an input type that accepts GetDatabaseClusterMaintenanceWindowArray and GetDatabaseClusterMaintenanceWindowArrayOutput values. You can construct a concrete instance of `GetDatabaseClusterMaintenanceWindowArrayInput` via:

GetDatabaseClusterMaintenanceWindowArray{ GetDatabaseClusterMaintenanceWindowArgs{...} }

type GetDatabaseClusterMaintenanceWindowArrayOutput

type GetDatabaseClusterMaintenanceWindowArrayOutput struct{ *pulumi.OutputState }

func (GetDatabaseClusterMaintenanceWindowArrayOutput) ElementType

func (GetDatabaseClusterMaintenanceWindowArrayOutput) Index

func (GetDatabaseClusterMaintenanceWindowArrayOutput) ToGetDatabaseClusterMaintenanceWindowArrayOutput

func (o GetDatabaseClusterMaintenanceWindowArrayOutput) ToGetDatabaseClusterMaintenanceWindowArrayOutput() GetDatabaseClusterMaintenanceWindowArrayOutput

func (GetDatabaseClusterMaintenanceWindowArrayOutput) ToGetDatabaseClusterMaintenanceWindowArrayOutputWithContext

func (o GetDatabaseClusterMaintenanceWindowArrayOutput) ToGetDatabaseClusterMaintenanceWindowArrayOutputWithContext(ctx context.Context) GetDatabaseClusterMaintenanceWindowArrayOutput

type GetDatabaseClusterMaintenanceWindowInput

type GetDatabaseClusterMaintenanceWindowInput interface {
	pulumi.Input

	ToGetDatabaseClusterMaintenanceWindowOutput() GetDatabaseClusterMaintenanceWindowOutput
	ToGetDatabaseClusterMaintenanceWindowOutputWithContext(context.Context) GetDatabaseClusterMaintenanceWindowOutput
}

GetDatabaseClusterMaintenanceWindowInput is an input type that accepts GetDatabaseClusterMaintenanceWindowArgs and GetDatabaseClusterMaintenanceWindowOutput values. You can construct a concrete instance of `GetDatabaseClusterMaintenanceWindowInput` via:

GetDatabaseClusterMaintenanceWindowArgs{...}

type GetDatabaseClusterMaintenanceWindowOutput

type GetDatabaseClusterMaintenanceWindowOutput struct{ *pulumi.OutputState }

func (GetDatabaseClusterMaintenanceWindowOutput) Day

The day of the week on which to apply maintenance updates.

func (GetDatabaseClusterMaintenanceWindowOutput) ElementType

func (GetDatabaseClusterMaintenanceWindowOutput) Hour

The hour in UTC at which maintenance updates will be applied in 24 hour format.

func (GetDatabaseClusterMaintenanceWindowOutput) ToGetDatabaseClusterMaintenanceWindowOutput

func (o GetDatabaseClusterMaintenanceWindowOutput) ToGetDatabaseClusterMaintenanceWindowOutput() GetDatabaseClusterMaintenanceWindowOutput

func (GetDatabaseClusterMaintenanceWindowOutput) ToGetDatabaseClusterMaintenanceWindowOutputWithContext

func (o GetDatabaseClusterMaintenanceWindowOutput) ToGetDatabaseClusterMaintenanceWindowOutputWithContext(ctx context.Context) GetDatabaseClusterMaintenanceWindowOutput

type GetDatabaseUserSetting added in v4.24.0

type GetDatabaseUserSetting struct {
	Acls []GetDatabaseUserSettingAcl `pulumi:"acls"`
}

type GetDatabaseUserSettingAcl added in v4.24.0

type GetDatabaseUserSettingAcl struct {
	Id         string `pulumi:"id"`
	Permission string `pulumi:"permission"`
	Topic      string `pulumi:"topic"`
}

type GetDatabaseUserSettingAclArgs added in v4.24.0

type GetDatabaseUserSettingAclArgs struct {
	Id         pulumi.StringInput `pulumi:"id"`
	Permission pulumi.StringInput `pulumi:"permission"`
	Topic      pulumi.StringInput `pulumi:"topic"`
}

func (GetDatabaseUserSettingAclArgs) ElementType added in v4.24.0

func (GetDatabaseUserSettingAclArgs) ToGetDatabaseUserSettingAclOutput added in v4.24.0

func (i GetDatabaseUserSettingAclArgs) ToGetDatabaseUserSettingAclOutput() GetDatabaseUserSettingAclOutput

func (GetDatabaseUserSettingAclArgs) ToGetDatabaseUserSettingAclOutputWithContext added in v4.24.0

func (i GetDatabaseUserSettingAclArgs) ToGetDatabaseUserSettingAclOutputWithContext(ctx context.Context) GetDatabaseUserSettingAclOutput

type GetDatabaseUserSettingAclArray added in v4.24.0

type GetDatabaseUserSettingAclArray []GetDatabaseUserSettingAclInput

func (GetDatabaseUserSettingAclArray) ElementType added in v4.24.0

func (GetDatabaseUserSettingAclArray) ToGetDatabaseUserSettingAclArrayOutput added in v4.24.0

func (i GetDatabaseUserSettingAclArray) ToGetDatabaseUserSettingAclArrayOutput() GetDatabaseUserSettingAclArrayOutput

func (GetDatabaseUserSettingAclArray) ToGetDatabaseUserSettingAclArrayOutputWithContext added in v4.24.0

func (i GetDatabaseUserSettingAclArray) ToGetDatabaseUserSettingAclArrayOutputWithContext(ctx context.Context) GetDatabaseUserSettingAclArrayOutput

type GetDatabaseUserSettingAclArrayInput added in v4.24.0

type GetDatabaseUserSettingAclArrayInput interface {
	pulumi.Input

	ToGetDatabaseUserSettingAclArrayOutput() GetDatabaseUserSettingAclArrayOutput
	ToGetDatabaseUserSettingAclArrayOutputWithContext(context.Context) GetDatabaseUserSettingAclArrayOutput
}

GetDatabaseUserSettingAclArrayInput is an input type that accepts GetDatabaseUserSettingAclArray and GetDatabaseUserSettingAclArrayOutput values. You can construct a concrete instance of `GetDatabaseUserSettingAclArrayInput` via:

GetDatabaseUserSettingAclArray{ GetDatabaseUserSettingAclArgs{...} }

type GetDatabaseUserSettingAclArrayOutput added in v4.24.0

type GetDatabaseUserSettingAclArrayOutput struct{ *pulumi.OutputState }

func (GetDatabaseUserSettingAclArrayOutput) ElementType added in v4.24.0

func (GetDatabaseUserSettingAclArrayOutput) Index added in v4.24.0

func (GetDatabaseUserSettingAclArrayOutput) ToGetDatabaseUserSettingAclArrayOutput added in v4.24.0

func (o GetDatabaseUserSettingAclArrayOutput) ToGetDatabaseUserSettingAclArrayOutput() GetDatabaseUserSettingAclArrayOutput

func (GetDatabaseUserSettingAclArrayOutput) ToGetDatabaseUserSettingAclArrayOutputWithContext added in v4.24.0

func (o GetDatabaseUserSettingAclArrayOutput) ToGetDatabaseUserSettingAclArrayOutputWithContext(ctx context.Context) GetDatabaseUserSettingAclArrayOutput

type GetDatabaseUserSettingAclInput added in v4.24.0

type GetDatabaseUserSettingAclInput interface {
	pulumi.Input

	ToGetDatabaseUserSettingAclOutput() GetDatabaseUserSettingAclOutput
	ToGetDatabaseUserSettingAclOutputWithContext(context.Context) GetDatabaseUserSettingAclOutput
}

GetDatabaseUserSettingAclInput is an input type that accepts GetDatabaseUserSettingAclArgs and GetDatabaseUserSettingAclOutput values. You can construct a concrete instance of `GetDatabaseUserSettingAclInput` via:

GetDatabaseUserSettingAclArgs{...}

type GetDatabaseUserSettingAclOutput added in v4.24.0

type GetDatabaseUserSettingAclOutput struct{ *pulumi.OutputState }

func (GetDatabaseUserSettingAclOutput) ElementType added in v4.24.0

func (GetDatabaseUserSettingAclOutput) Id added in v4.24.0

func (GetDatabaseUserSettingAclOutput) Permission added in v4.24.0

func (GetDatabaseUserSettingAclOutput) ToGetDatabaseUserSettingAclOutput added in v4.24.0

func (o GetDatabaseUserSettingAclOutput) ToGetDatabaseUserSettingAclOutput() GetDatabaseUserSettingAclOutput

func (GetDatabaseUserSettingAclOutput) ToGetDatabaseUserSettingAclOutputWithContext added in v4.24.0

func (o GetDatabaseUserSettingAclOutput) ToGetDatabaseUserSettingAclOutputWithContext(ctx context.Context) GetDatabaseUserSettingAclOutput

func (GetDatabaseUserSettingAclOutput) Topic added in v4.24.0

type GetDatabaseUserSettingArgs added in v4.24.0

type GetDatabaseUserSettingArgs struct {
	Acls GetDatabaseUserSettingAclArrayInput `pulumi:"acls"`
}

func (GetDatabaseUserSettingArgs) ElementType added in v4.24.0

func (GetDatabaseUserSettingArgs) ElementType() reflect.Type

func (GetDatabaseUserSettingArgs) ToGetDatabaseUserSettingOutput added in v4.24.0

func (i GetDatabaseUserSettingArgs) ToGetDatabaseUserSettingOutput() GetDatabaseUserSettingOutput

func (GetDatabaseUserSettingArgs) ToGetDatabaseUserSettingOutputWithContext added in v4.24.0

func (i GetDatabaseUserSettingArgs) ToGetDatabaseUserSettingOutputWithContext(ctx context.Context) GetDatabaseUserSettingOutput

type GetDatabaseUserSettingArray added in v4.24.0

type GetDatabaseUserSettingArray []GetDatabaseUserSettingInput

func (GetDatabaseUserSettingArray) ElementType added in v4.24.0

func (GetDatabaseUserSettingArray) ToGetDatabaseUserSettingArrayOutput added in v4.24.0

func (i GetDatabaseUserSettingArray) ToGetDatabaseUserSettingArrayOutput() GetDatabaseUserSettingArrayOutput

func (GetDatabaseUserSettingArray) ToGetDatabaseUserSettingArrayOutputWithContext added in v4.24.0

func (i GetDatabaseUserSettingArray) ToGetDatabaseUserSettingArrayOutputWithContext(ctx context.Context) GetDatabaseUserSettingArrayOutput

type GetDatabaseUserSettingArrayInput added in v4.24.0

type GetDatabaseUserSettingArrayInput interface {
	pulumi.Input

	ToGetDatabaseUserSettingArrayOutput() GetDatabaseUserSettingArrayOutput
	ToGetDatabaseUserSettingArrayOutputWithContext(context.Context) GetDatabaseUserSettingArrayOutput
}

GetDatabaseUserSettingArrayInput is an input type that accepts GetDatabaseUserSettingArray and GetDatabaseUserSettingArrayOutput values. You can construct a concrete instance of `GetDatabaseUserSettingArrayInput` via:

GetDatabaseUserSettingArray{ GetDatabaseUserSettingArgs{...} }

type GetDatabaseUserSettingArrayOutput added in v4.24.0

type GetDatabaseUserSettingArrayOutput struct{ *pulumi.OutputState }

func (GetDatabaseUserSettingArrayOutput) ElementType added in v4.24.0

func (GetDatabaseUserSettingArrayOutput) Index added in v4.24.0

func (GetDatabaseUserSettingArrayOutput) ToGetDatabaseUserSettingArrayOutput added in v4.24.0

func (o GetDatabaseUserSettingArrayOutput) ToGetDatabaseUserSettingArrayOutput() GetDatabaseUserSettingArrayOutput

func (GetDatabaseUserSettingArrayOutput) ToGetDatabaseUserSettingArrayOutputWithContext added in v4.24.0

func (o GetDatabaseUserSettingArrayOutput) ToGetDatabaseUserSettingArrayOutputWithContext(ctx context.Context) GetDatabaseUserSettingArrayOutput

type GetDatabaseUserSettingInput added in v4.24.0

type GetDatabaseUserSettingInput interface {
	pulumi.Input

	ToGetDatabaseUserSettingOutput() GetDatabaseUserSettingOutput
	ToGetDatabaseUserSettingOutputWithContext(context.Context) GetDatabaseUserSettingOutput
}

GetDatabaseUserSettingInput is an input type that accepts GetDatabaseUserSettingArgs and GetDatabaseUserSettingOutput values. You can construct a concrete instance of `GetDatabaseUserSettingInput` via:

GetDatabaseUserSettingArgs{...}

type GetDatabaseUserSettingOutput added in v4.24.0

type GetDatabaseUserSettingOutput struct{ *pulumi.OutputState }

func (GetDatabaseUserSettingOutput) Acls added in v4.24.0

func (GetDatabaseUserSettingOutput) ElementType added in v4.24.0

func (GetDatabaseUserSettingOutput) ToGetDatabaseUserSettingOutput added in v4.24.0

func (o GetDatabaseUserSettingOutput) ToGetDatabaseUserSettingOutput() GetDatabaseUserSettingOutput

func (GetDatabaseUserSettingOutput) ToGetDatabaseUserSettingOutputWithContext added in v4.24.0

func (o GetDatabaseUserSettingOutput) ToGetDatabaseUserSettingOutputWithContext(ctx context.Context) GetDatabaseUserSettingOutput

type GetDomainsArgs

type GetDomainsArgs struct {
	// Filter the results.
	// The `filter` block is documented below.
	Filters []GetDomainsFilter `pulumi:"filters"`
	// Sort the results.
	// The `sort` block is documented below.
	Sorts []GetDomainsSort `pulumi:"sorts"`
}

A collection of arguments for invoking getDomains.

type GetDomainsDomain

type GetDomainsDomain struct {
	// (Required) The name of the domain.
	Name string `pulumi:"name"`
	// The TTL of the domain.
	Ttl int `pulumi:"ttl"`
	// The uniform resource name of the domain
	Urn string `pulumi:"urn"`
}

type GetDomainsDomainArgs

type GetDomainsDomainArgs struct {
	// (Required) The name of the domain.
	Name pulumi.StringInput `pulumi:"name"`
	// The TTL of the domain.
	Ttl pulumi.IntInput `pulumi:"ttl"`
	// The uniform resource name of the domain
	Urn pulumi.StringInput `pulumi:"urn"`
}

func (GetDomainsDomainArgs) ElementType

func (GetDomainsDomainArgs) ElementType() reflect.Type

func (GetDomainsDomainArgs) ToGetDomainsDomainOutput

func (i GetDomainsDomainArgs) ToGetDomainsDomainOutput() GetDomainsDomainOutput

func (GetDomainsDomainArgs) ToGetDomainsDomainOutputWithContext

func (i GetDomainsDomainArgs) ToGetDomainsDomainOutputWithContext(ctx context.Context) GetDomainsDomainOutput

type GetDomainsDomainArray

type GetDomainsDomainArray []GetDomainsDomainInput

func (GetDomainsDomainArray) ElementType

func (GetDomainsDomainArray) ElementType() reflect.Type

func (GetDomainsDomainArray) ToGetDomainsDomainArrayOutput

func (i GetDomainsDomainArray) ToGetDomainsDomainArrayOutput() GetDomainsDomainArrayOutput

func (GetDomainsDomainArray) ToGetDomainsDomainArrayOutputWithContext

func (i GetDomainsDomainArray) ToGetDomainsDomainArrayOutputWithContext(ctx context.Context) GetDomainsDomainArrayOutput

type GetDomainsDomainArrayInput

type GetDomainsDomainArrayInput interface {
	pulumi.Input

	ToGetDomainsDomainArrayOutput() GetDomainsDomainArrayOutput
	ToGetDomainsDomainArrayOutputWithContext(context.Context) GetDomainsDomainArrayOutput
}

GetDomainsDomainArrayInput is an input type that accepts GetDomainsDomainArray and GetDomainsDomainArrayOutput values. You can construct a concrete instance of `GetDomainsDomainArrayInput` via:

GetDomainsDomainArray{ GetDomainsDomainArgs{...} }

type GetDomainsDomainArrayOutput

type GetDomainsDomainArrayOutput struct{ *pulumi.OutputState }

func (GetDomainsDomainArrayOutput) ElementType

func (GetDomainsDomainArrayOutput) Index

func (GetDomainsDomainArrayOutput) ToGetDomainsDomainArrayOutput

func (o GetDomainsDomainArrayOutput) ToGetDomainsDomainArrayOutput() GetDomainsDomainArrayOutput

func (GetDomainsDomainArrayOutput) ToGetDomainsDomainArrayOutputWithContext

func (o GetDomainsDomainArrayOutput) ToGetDomainsDomainArrayOutputWithContext(ctx context.Context) GetDomainsDomainArrayOutput

type GetDomainsDomainInput

type GetDomainsDomainInput interface {
	pulumi.Input

	ToGetDomainsDomainOutput() GetDomainsDomainOutput
	ToGetDomainsDomainOutputWithContext(context.Context) GetDomainsDomainOutput
}

GetDomainsDomainInput is an input type that accepts GetDomainsDomainArgs and GetDomainsDomainOutput values. You can construct a concrete instance of `GetDomainsDomainInput` via:

GetDomainsDomainArgs{...}

type GetDomainsDomainOutput

type GetDomainsDomainOutput struct{ *pulumi.OutputState }

func (GetDomainsDomainOutput) ElementType

func (GetDomainsDomainOutput) ElementType() reflect.Type

func (GetDomainsDomainOutput) Name

(Required) The name of the domain.

func (GetDomainsDomainOutput) ToGetDomainsDomainOutput

func (o GetDomainsDomainOutput) ToGetDomainsDomainOutput() GetDomainsDomainOutput

func (GetDomainsDomainOutput) ToGetDomainsDomainOutputWithContext

func (o GetDomainsDomainOutput) ToGetDomainsDomainOutputWithContext(ctx context.Context) GetDomainsDomainOutput

func (GetDomainsDomainOutput) Ttl

The TTL of the domain.

func (GetDomainsDomainOutput) Urn

The uniform resource name of the domain

type GetDomainsFilter

type GetDomainsFilter struct {
	// Set to `true` to require that a field match all of the `values` instead of just one or more of
	// them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure
	// that all of the `values` are present in the list or set.
	All *bool `pulumi:"all"`
	// Filter the domains by this key. This may be one of `name`, `urn`, and `ttl`.
	Key string `pulumi:"key"`
	// One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to
	// match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as
	// substrings to find within the string field.
	MatchBy *string `pulumi:"matchBy"`
	// A list of values to match against the `key` field. Only retrieves domains
	// where the `key` field takes on one or more of the values provided here.
	Values []string `pulumi:"values"`
}

type GetDomainsFilterArgs

type GetDomainsFilterArgs struct {
	// Set to `true` to require that a field match all of the `values` instead of just one or more of
	// them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure
	// that all of the `values` are present in the list or set.
	All pulumi.BoolPtrInput `pulumi:"all"`
	// Filter the domains by this key. This may be one of `name`, `urn`, and `ttl`.
	Key pulumi.StringInput `pulumi:"key"`
	// One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to
	// match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as
	// substrings to find within the string field.
	MatchBy pulumi.StringPtrInput `pulumi:"matchBy"`
	// A list of values to match against the `key` field. Only retrieves domains
	// where the `key` field takes on one or more of the values provided here.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetDomainsFilterArgs) ElementType

func (GetDomainsFilterArgs) ElementType() reflect.Type

func (GetDomainsFilterArgs) ToGetDomainsFilterOutput

func (i GetDomainsFilterArgs) ToGetDomainsFilterOutput() GetDomainsFilterOutput

func (GetDomainsFilterArgs) ToGetDomainsFilterOutputWithContext

func (i GetDomainsFilterArgs) ToGetDomainsFilterOutputWithContext(ctx context.Context) GetDomainsFilterOutput

type GetDomainsFilterArray

type GetDomainsFilterArray []GetDomainsFilterInput

func (GetDomainsFilterArray) ElementType

func (GetDomainsFilterArray) ElementType() reflect.Type

func (GetDomainsFilterArray) ToGetDomainsFilterArrayOutput

func (i GetDomainsFilterArray) ToGetDomainsFilterArrayOutput() GetDomainsFilterArrayOutput

func (GetDomainsFilterArray) ToGetDomainsFilterArrayOutputWithContext

func (i GetDomainsFilterArray) ToGetDomainsFilterArrayOutputWithContext(ctx context.Context) GetDomainsFilterArrayOutput

type GetDomainsFilterArrayInput

type GetDomainsFilterArrayInput interface {
	pulumi.Input

	ToGetDomainsFilterArrayOutput() GetDomainsFilterArrayOutput
	ToGetDomainsFilterArrayOutputWithContext(context.Context) GetDomainsFilterArrayOutput
}

GetDomainsFilterArrayInput is an input type that accepts GetDomainsFilterArray and GetDomainsFilterArrayOutput values. You can construct a concrete instance of `GetDomainsFilterArrayInput` via:

GetDomainsFilterArray{ GetDomainsFilterArgs{...} }

type GetDomainsFilterArrayOutput

type GetDomainsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetDomainsFilterArrayOutput) ElementType

func (GetDomainsFilterArrayOutput) Index

func (GetDomainsFilterArrayOutput) ToGetDomainsFilterArrayOutput

func (o GetDomainsFilterArrayOutput) ToGetDomainsFilterArrayOutput() GetDomainsFilterArrayOutput

func (GetDomainsFilterArrayOutput) ToGetDomainsFilterArrayOutputWithContext

func (o GetDomainsFilterArrayOutput) ToGetDomainsFilterArrayOutputWithContext(ctx context.Context) GetDomainsFilterArrayOutput

type GetDomainsFilterInput

type GetDomainsFilterInput interface {
	pulumi.Input

	ToGetDomainsFilterOutput() GetDomainsFilterOutput
	ToGetDomainsFilterOutputWithContext(context.Context) GetDomainsFilterOutput
}

GetDomainsFilterInput is an input type that accepts GetDomainsFilterArgs and GetDomainsFilterOutput values. You can construct a concrete instance of `GetDomainsFilterInput` via:

GetDomainsFilterArgs{...}

type GetDomainsFilterOutput

type GetDomainsFilterOutput struct{ *pulumi.OutputState }

func (GetDomainsFilterOutput) All

Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set.

func (GetDomainsFilterOutput) ElementType

func (GetDomainsFilterOutput) ElementType() reflect.Type

func (GetDomainsFilterOutput) Key

Filter the domains by this key. This may be one of `name`, `urn`, and `ttl`.

func (GetDomainsFilterOutput) MatchBy

One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field.

func (GetDomainsFilterOutput) ToGetDomainsFilterOutput

func (o GetDomainsFilterOutput) ToGetDomainsFilterOutput() GetDomainsFilterOutput

func (GetDomainsFilterOutput) ToGetDomainsFilterOutputWithContext

func (o GetDomainsFilterOutput) ToGetDomainsFilterOutputWithContext(ctx context.Context) GetDomainsFilterOutput

func (GetDomainsFilterOutput) Values

A list of values to match against the `key` field. Only retrieves domains where the `key` field takes on one or more of the values provided here.

type GetDomainsOutputArgs added in v4.9.0

type GetDomainsOutputArgs struct {
	// Filter the results.
	// The `filter` block is documented below.
	Filters GetDomainsFilterArrayInput `pulumi:"filters"`
	// Sort the results.
	// The `sort` block is documented below.
	Sorts GetDomainsSortArrayInput `pulumi:"sorts"`
}

A collection of arguments for invoking getDomains.

func (GetDomainsOutputArgs) ElementType added in v4.9.0

func (GetDomainsOutputArgs) ElementType() reflect.Type

type GetDomainsResult

type GetDomainsResult struct {
	// A list of domains satisfying any `filter` and `sort` criteria. Each domain has the following attributes:
	Domains []GetDomainsDomain `pulumi:"domains"`
	Filters []GetDomainsFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id    string           `pulumi:"id"`
	Sorts []GetDomainsSort `pulumi:"sorts"`
}

A collection of values returned by getDomains.

func GetDomains

func GetDomains(ctx *pulumi.Context, args *GetDomainsArgs, opts ...pulumi.InvokeOption) (*GetDomainsResult, error)

Get information on domains for use in other resources, with the ability to filter and sort the results. If no filters are specified, all domains will be returned.

This data source is useful if the domains in question are not managed by this provider or you need to utilize any of the domains' data.

Note: You can use the `Domain` data source to obtain metadata about a single domain if you already know the `name`.

## Example Usage

Use the `filter` block with a `key` string and `values` list to filter domains. (This example also uses the regular expression `matchBy` mode in order to match domains by suffix.)

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.GetDomains(ctx, &digitalocean.GetDomainsArgs{
			Filters: []digitalocean.GetDomainsFilter{
				{
					Key:     "name",
					MatchBy: pulumi.StringRef("re"),
					Values: []string{
						"example\\.com$",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetDomainsResultOutput added in v4.9.0

type GetDomainsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDomains.

func GetDomainsOutput added in v4.9.0

func GetDomainsOutput(ctx *pulumi.Context, args GetDomainsOutputArgs, opts ...pulumi.InvokeOption) GetDomainsResultOutput

func (GetDomainsResultOutput) Domains added in v4.9.0

A list of domains satisfying any `filter` and `sort` criteria. Each domain has the following attributes:

func (GetDomainsResultOutput) ElementType added in v4.9.0

func (GetDomainsResultOutput) ElementType() reflect.Type

func (GetDomainsResultOutput) Filters added in v4.9.0

func (GetDomainsResultOutput) Id added in v4.9.0

The provider-assigned unique ID for this managed resource.

func (GetDomainsResultOutput) Sorts added in v4.9.0

func (GetDomainsResultOutput) ToGetDomainsResultOutput added in v4.9.0

func (o GetDomainsResultOutput) ToGetDomainsResultOutput() GetDomainsResultOutput

func (GetDomainsResultOutput) ToGetDomainsResultOutputWithContext added in v4.9.0

func (o GetDomainsResultOutput) ToGetDomainsResultOutputWithContext(ctx context.Context) GetDomainsResultOutput

type GetDomainsSort

type GetDomainsSort struct {
	// The sort direction. This may be either `asc` or `desc`.
	Direction *string `pulumi:"direction"`
	// Sort the domains by this key. This may be one of `name`, `urn`, and `ttl`.
	Key string `pulumi:"key"`
}

type GetDomainsSortArgs

type GetDomainsSortArgs struct {
	// The sort direction. This may be either `asc` or `desc`.
	Direction pulumi.StringPtrInput `pulumi:"direction"`
	// Sort the domains by this key. This may be one of `name`, `urn`, and `ttl`.
	Key pulumi.StringInput `pulumi:"key"`
}

func (GetDomainsSortArgs) ElementType

func (GetDomainsSortArgs) ElementType() reflect.Type

func (GetDomainsSortArgs) ToGetDomainsSortOutput

func (i GetDomainsSortArgs) ToGetDomainsSortOutput() GetDomainsSortOutput

func (GetDomainsSortArgs) ToGetDomainsSortOutputWithContext

func (i GetDomainsSortArgs) ToGetDomainsSortOutputWithContext(ctx context.Context) GetDomainsSortOutput

type GetDomainsSortArray

type GetDomainsSortArray []GetDomainsSortInput

func (GetDomainsSortArray) ElementType

func (GetDomainsSortArray) ElementType() reflect.Type

func (GetDomainsSortArray) ToGetDomainsSortArrayOutput

func (i GetDomainsSortArray) ToGetDomainsSortArrayOutput() GetDomainsSortArrayOutput

func (GetDomainsSortArray) ToGetDomainsSortArrayOutputWithContext

func (i GetDomainsSortArray) ToGetDomainsSortArrayOutputWithContext(ctx context.Context) GetDomainsSortArrayOutput

type GetDomainsSortArrayInput

type GetDomainsSortArrayInput interface {
	pulumi.Input

	ToGetDomainsSortArrayOutput() GetDomainsSortArrayOutput
	ToGetDomainsSortArrayOutputWithContext(context.Context) GetDomainsSortArrayOutput
}

GetDomainsSortArrayInput is an input type that accepts GetDomainsSortArray and GetDomainsSortArrayOutput values. You can construct a concrete instance of `GetDomainsSortArrayInput` via:

GetDomainsSortArray{ GetDomainsSortArgs{...} }

type GetDomainsSortArrayOutput

type GetDomainsSortArrayOutput struct{ *pulumi.OutputState }

func (GetDomainsSortArrayOutput) ElementType

func (GetDomainsSortArrayOutput) ElementType() reflect.Type

func (GetDomainsSortArrayOutput) Index

func (GetDomainsSortArrayOutput) ToGetDomainsSortArrayOutput

func (o GetDomainsSortArrayOutput) ToGetDomainsSortArrayOutput() GetDomainsSortArrayOutput

func (GetDomainsSortArrayOutput) ToGetDomainsSortArrayOutputWithContext

func (o GetDomainsSortArrayOutput) ToGetDomainsSortArrayOutputWithContext(ctx context.Context) GetDomainsSortArrayOutput

type GetDomainsSortInput

type GetDomainsSortInput interface {
	pulumi.Input

	ToGetDomainsSortOutput() GetDomainsSortOutput
	ToGetDomainsSortOutputWithContext(context.Context) GetDomainsSortOutput
}

GetDomainsSortInput is an input type that accepts GetDomainsSortArgs and GetDomainsSortOutput values. You can construct a concrete instance of `GetDomainsSortInput` via:

GetDomainsSortArgs{...}

type GetDomainsSortOutput

type GetDomainsSortOutput struct{ *pulumi.OutputState }

func (GetDomainsSortOutput) Direction

The sort direction. This may be either `asc` or `desc`.

func (GetDomainsSortOutput) ElementType

func (GetDomainsSortOutput) ElementType() reflect.Type

func (GetDomainsSortOutput) Key

Sort the domains by this key. This may be one of `name`, `urn`, and `ttl`.

func (GetDomainsSortOutput) ToGetDomainsSortOutput

func (o GetDomainsSortOutput) ToGetDomainsSortOutput() GetDomainsSortOutput

func (GetDomainsSortOutput) ToGetDomainsSortOutputWithContext

func (o GetDomainsSortOutput) ToGetDomainsSortOutputWithContext(ctx context.Context) GetDomainsSortOutput

type GetDropletsArgs

type GetDropletsArgs struct {
	// Filter the results.
	// The `filter` block is documented below.
	Filters []GetDropletsFilter `pulumi:"filters"`
	// Sort the results.
	// The `sort` block is documented below.
	Sorts []GetDropletsSort `pulumi:"sorts"`
}

A collection of arguments for invoking getDroplets.

type GetDropletsDroplet

type GetDropletsDroplet struct {
	// Whether backups are enabled.
	Backups bool `pulumi:"backups"`
	// the creation date for the Droplet
	CreatedAt string `pulumi:"createdAt"`
	// The size of the Droplet's disk in GB.
	Disk int `pulumi:"disk"`
	// The ID of the Droplet.
	Id int `pulumi:"id"`
	// The Droplet image ID or slug.
	Image string `pulumi:"image"`
	// The Droplet's public IPv4 address
	Ipv4Address string `pulumi:"ipv4Address"`
	// The Droplet's private IPv4 address
	Ipv4AddressPrivate string `pulumi:"ipv4AddressPrivate"`
	// Whether IPv6 is enabled.
	Ipv6 bool `pulumi:"ipv6"`
	// The Droplet's public IPv6 address
	Ipv6Address string `pulumi:"ipv6Address"`
	// The Droplet's private IPv6 address
	Ipv6AddressPrivate string `pulumi:"ipv6AddressPrivate"`
	// Whether the Droplet is locked.
	Locked bool `pulumi:"locked"`
	// The amount of the Droplet's memory in MB.
	Memory int `pulumi:"memory"`
	// Whether monitoring agent is installed.
	Monitoring bool `pulumi:"monitoring"`
	// name of the Droplet
	Name string `pulumi:"name"`
	// Droplet hourly price.
	PriceHourly float64 `pulumi:"priceHourly"`
	// Droplet monthly price.
	PriceMonthly float64 `pulumi:"priceMonthly"`
	// Whether private networks are enabled.
	PrivateNetworking bool `pulumi:"privateNetworking"`
	// The region the Droplet is running in.
	Region string `pulumi:"region"`
	// The unique slug that identifies the type of Droplet.
	Size string `pulumi:"size"`
	// The status of the Droplet.
	Status string `pulumi:"status"`
	// A list of the tags associated to the Droplet.
	Tags []string `pulumi:"tags"`
	// The uniform resource name of the Droplet
	Urn string `pulumi:"urn"`
	// The number of the Droplet's virtual CPUs.
	Vcpus int `pulumi:"vcpus"`
	// List of the IDs of each volumes attached to the Droplet.
	VolumeIds []string `pulumi:"volumeIds"`
	// The ID of the VPC where the Droplet is located.
	VpcUuid string `pulumi:"vpcUuid"`
}

type GetDropletsDropletArgs

type GetDropletsDropletArgs struct {
	// Whether backups are enabled.
	Backups pulumi.BoolInput `pulumi:"backups"`
	// the creation date for the Droplet
	CreatedAt pulumi.StringInput `pulumi:"createdAt"`
	// The size of the Droplet's disk in GB.
	Disk pulumi.IntInput `pulumi:"disk"`
	// The ID of the Droplet.
	Id pulumi.IntInput `pulumi:"id"`
	// The Droplet image ID or slug.
	Image pulumi.StringInput `pulumi:"image"`
	// The Droplet's public IPv4 address
	Ipv4Address pulumi.StringInput `pulumi:"ipv4Address"`
	// The Droplet's private IPv4 address
	Ipv4AddressPrivate pulumi.StringInput `pulumi:"ipv4AddressPrivate"`
	// Whether IPv6 is enabled.
	Ipv6 pulumi.BoolInput `pulumi:"ipv6"`
	// The Droplet's public IPv6 address
	Ipv6Address pulumi.StringInput `pulumi:"ipv6Address"`
	// The Droplet's private IPv6 address
	Ipv6AddressPrivate pulumi.StringInput `pulumi:"ipv6AddressPrivate"`
	// Whether the Droplet is locked.
	Locked pulumi.BoolInput `pulumi:"locked"`
	// The amount of the Droplet's memory in MB.
	Memory pulumi.IntInput `pulumi:"memory"`
	// Whether monitoring agent is installed.
	Monitoring pulumi.BoolInput `pulumi:"monitoring"`
	// name of the Droplet
	Name pulumi.StringInput `pulumi:"name"`
	// Droplet hourly price.
	PriceHourly pulumi.Float64Input `pulumi:"priceHourly"`
	// Droplet monthly price.
	PriceMonthly pulumi.Float64Input `pulumi:"priceMonthly"`
	// Whether private networks are enabled.
	PrivateNetworking pulumi.BoolInput `pulumi:"privateNetworking"`
	// The region the Droplet is running in.
	Region pulumi.StringInput `pulumi:"region"`
	// The unique slug that identifies the type of Droplet.
	Size pulumi.StringInput `pulumi:"size"`
	// The status of the Droplet.
	Status pulumi.StringInput `pulumi:"status"`
	// A list of the tags associated to the Droplet.
	Tags pulumi.StringArrayInput `pulumi:"tags"`
	// The uniform resource name of the Droplet
	Urn pulumi.StringInput `pulumi:"urn"`
	// The number of the Droplet's virtual CPUs.
	Vcpus pulumi.IntInput `pulumi:"vcpus"`
	// List of the IDs of each volumes attached to the Droplet.
	VolumeIds pulumi.StringArrayInput `pulumi:"volumeIds"`
	// The ID of the VPC where the Droplet is located.
	VpcUuid pulumi.StringInput `pulumi:"vpcUuid"`
}

func (GetDropletsDropletArgs) ElementType

func (GetDropletsDropletArgs) ElementType() reflect.Type

func (GetDropletsDropletArgs) ToGetDropletsDropletOutput

func (i GetDropletsDropletArgs) ToGetDropletsDropletOutput() GetDropletsDropletOutput

func (GetDropletsDropletArgs) ToGetDropletsDropletOutputWithContext

func (i GetDropletsDropletArgs) ToGetDropletsDropletOutputWithContext(ctx context.Context) GetDropletsDropletOutput

type GetDropletsDropletArray

type GetDropletsDropletArray []GetDropletsDropletInput

func (GetDropletsDropletArray) ElementType

func (GetDropletsDropletArray) ElementType() reflect.Type

func (GetDropletsDropletArray) ToGetDropletsDropletArrayOutput

func (i GetDropletsDropletArray) ToGetDropletsDropletArrayOutput() GetDropletsDropletArrayOutput

func (GetDropletsDropletArray) ToGetDropletsDropletArrayOutputWithContext

func (i GetDropletsDropletArray) ToGetDropletsDropletArrayOutputWithContext(ctx context.Context) GetDropletsDropletArrayOutput

type GetDropletsDropletArrayInput

type GetDropletsDropletArrayInput interface {
	pulumi.Input

	ToGetDropletsDropletArrayOutput() GetDropletsDropletArrayOutput
	ToGetDropletsDropletArrayOutputWithContext(context.Context) GetDropletsDropletArrayOutput
}

GetDropletsDropletArrayInput is an input type that accepts GetDropletsDropletArray and GetDropletsDropletArrayOutput values. You can construct a concrete instance of `GetDropletsDropletArrayInput` via:

GetDropletsDropletArray{ GetDropletsDropletArgs{...} }

type GetDropletsDropletArrayOutput

type GetDropletsDropletArrayOutput struct{ *pulumi.OutputState }

func (GetDropletsDropletArrayOutput) ElementType

func (GetDropletsDropletArrayOutput) Index

func (GetDropletsDropletArrayOutput) ToGetDropletsDropletArrayOutput

func (o GetDropletsDropletArrayOutput) ToGetDropletsDropletArrayOutput() GetDropletsDropletArrayOutput

func (GetDropletsDropletArrayOutput) ToGetDropletsDropletArrayOutputWithContext

func (o GetDropletsDropletArrayOutput) ToGetDropletsDropletArrayOutputWithContext(ctx context.Context) GetDropletsDropletArrayOutput

type GetDropletsDropletInput

type GetDropletsDropletInput interface {
	pulumi.Input

	ToGetDropletsDropletOutput() GetDropletsDropletOutput
	ToGetDropletsDropletOutputWithContext(context.Context) GetDropletsDropletOutput
}

GetDropletsDropletInput is an input type that accepts GetDropletsDropletArgs and GetDropletsDropletOutput values. You can construct a concrete instance of `GetDropletsDropletInput` via:

GetDropletsDropletArgs{...}

type GetDropletsDropletOutput

type GetDropletsDropletOutput struct{ *pulumi.OutputState }

func (GetDropletsDropletOutput) Backups

Whether backups are enabled.

func (GetDropletsDropletOutput) CreatedAt

the creation date for the Droplet

func (GetDropletsDropletOutput) Disk

The size of the Droplet's disk in GB.

func (GetDropletsDropletOutput) ElementType

func (GetDropletsDropletOutput) ElementType() reflect.Type

func (GetDropletsDropletOutput) Id

The ID of the Droplet.

func (GetDropletsDropletOutput) Image

The Droplet image ID or slug.

func (GetDropletsDropletOutput) Ipv4Address

The Droplet's public IPv4 address

func (GetDropletsDropletOutput) Ipv4AddressPrivate

func (o GetDropletsDropletOutput) Ipv4AddressPrivate() pulumi.StringOutput

The Droplet's private IPv4 address

func (GetDropletsDropletOutput) Ipv6

Whether IPv6 is enabled.

func (GetDropletsDropletOutput) Ipv6Address

The Droplet's public IPv6 address

func (GetDropletsDropletOutput) Ipv6AddressPrivate

func (o GetDropletsDropletOutput) Ipv6AddressPrivate() pulumi.StringOutput

The Droplet's private IPv6 address

func (GetDropletsDropletOutput) Locked

Whether the Droplet is locked.

func (GetDropletsDropletOutput) Memory

The amount of the Droplet's memory in MB.

func (GetDropletsDropletOutput) Monitoring

Whether monitoring agent is installed.

func (GetDropletsDropletOutput) Name

name of the Droplet

func (GetDropletsDropletOutput) PriceHourly

Droplet hourly price.

func (GetDropletsDropletOutput) PriceMonthly

Droplet monthly price.

func (GetDropletsDropletOutput) PrivateNetworking

func (o GetDropletsDropletOutput) PrivateNetworking() pulumi.BoolOutput

Whether private networks are enabled.

func (GetDropletsDropletOutput) Region

The region the Droplet is running in.

func (GetDropletsDropletOutput) Size

The unique slug that identifies the type of Droplet.

func (GetDropletsDropletOutput) Status

The status of the Droplet.

func (GetDropletsDropletOutput) Tags

A list of the tags associated to the Droplet.

func (GetDropletsDropletOutput) ToGetDropletsDropletOutput

func (o GetDropletsDropletOutput) ToGetDropletsDropletOutput() GetDropletsDropletOutput

func (GetDropletsDropletOutput) ToGetDropletsDropletOutputWithContext

func (o GetDropletsDropletOutput) ToGetDropletsDropletOutputWithContext(ctx context.Context) GetDropletsDropletOutput

func (GetDropletsDropletOutput) Urn

The uniform resource name of the Droplet

func (GetDropletsDropletOutput) Vcpus

The number of the Droplet's virtual CPUs.

func (GetDropletsDropletOutput) VolumeIds

List of the IDs of each volumes attached to the Droplet.

func (GetDropletsDropletOutput) VpcUuid

The ID of the VPC where the Droplet is located.

type GetDropletsFilter

type GetDropletsFilter struct {
	// Set to `true` to require that a field match all of the `values` instead of just one or more of
	// them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure
	// that all of the `values` are present in the list or set.
	All *bool `pulumi:"all"`
	// Filter the Droplets by this key. This may be one of `backups`, `createdAt`, `disk`, `id`,
	// `image`, `ipv4Address`, `ipv4AddressPrivate`, `ipv6`, `ipv6Address`, `ipv6AddressPrivate`, `locked`,
	// `memory`, `monitoring`, `name`, `priceHourly`, `priceMonthly`, `privateNetworking`, `region`, `size`,
	// `status`, `tags`, `urn`, `vcpus`, `volumeIds`, or `vpcUuid`.
	Key string `pulumi:"key"`
	// One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to
	// match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as
	// substrings to find within the string field.
	MatchBy *string `pulumi:"matchBy"`
	// A list of values to match against the `key` field. Only retrieves Droplets
	// where the `key` field takes on one or more of the values provided here.
	Values []string `pulumi:"values"`
}

type GetDropletsFilterArgs

type GetDropletsFilterArgs struct {
	// Set to `true` to require that a field match all of the `values` instead of just one or more of
	// them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure
	// that all of the `values` are present in the list or set.
	All pulumi.BoolPtrInput `pulumi:"all"`
	// Filter the Droplets by this key. This may be one of `backups`, `createdAt`, `disk`, `id`,
	// `image`, `ipv4Address`, `ipv4AddressPrivate`, `ipv6`, `ipv6Address`, `ipv6AddressPrivate`, `locked`,
	// `memory`, `monitoring`, `name`, `priceHourly`, `priceMonthly`, `privateNetworking`, `region`, `size`,
	// `status`, `tags`, `urn`, `vcpus`, `volumeIds`, or `vpcUuid`.
	Key pulumi.StringInput `pulumi:"key"`
	// One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to
	// match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as
	// substrings to find within the string field.
	MatchBy pulumi.StringPtrInput `pulumi:"matchBy"`
	// A list of values to match against the `key` field. Only retrieves Droplets
	// where the `key` field takes on one or more of the values provided here.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetDropletsFilterArgs) ElementType

func (GetDropletsFilterArgs) ElementType() reflect.Type

func (GetDropletsFilterArgs) ToGetDropletsFilterOutput

func (i GetDropletsFilterArgs) ToGetDropletsFilterOutput() GetDropletsFilterOutput

func (GetDropletsFilterArgs) ToGetDropletsFilterOutputWithContext

func (i GetDropletsFilterArgs) ToGetDropletsFilterOutputWithContext(ctx context.Context) GetDropletsFilterOutput

type GetDropletsFilterArray

type GetDropletsFilterArray []GetDropletsFilterInput

func (GetDropletsFilterArray) ElementType

func (GetDropletsFilterArray) ElementType() reflect.Type

func (GetDropletsFilterArray) ToGetDropletsFilterArrayOutput

func (i GetDropletsFilterArray) ToGetDropletsFilterArrayOutput() GetDropletsFilterArrayOutput

func (GetDropletsFilterArray) ToGetDropletsFilterArrayOutputWithContext

func (i GetDropletsFilterArray) ToGetDropletsFilterArrayOutputWithContext(ctx context.Context) GetDropletsFilterArrayOutput

type GetDropletsFilterArrayInput

type GetDropletsFilterArrayInput interface {
	pulumi.Input

	ToGetDropletsFilterArrayOutput() GetDropletsFilterArrayOutput
	ToGetDropletsFilterArrayOutputWithContext(context.Context) GetDropletsFilterArrayOutput
}

GetDropletsFilterArrayInput is an input type that accepts GetDropletsFilterArray and GetDropletsFilterArrayOutput values. You can construct a concrete instance of `GetDropletsFilterArrayInput` via:

GetDropletsFilterArray{ GetDropletsFilterArgs{...} }

type GetDropletsFilterArrayOutput

type GetDropletsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetDropletsFilterArrayOutput) ElementType

func (GetDropletsFilterArrayOutput) Index

func (GetDropletsFilterArrayOutput) ToGetDropletsFilterArrayOutput

func (o GetDropletsFilterArrayOutput) ToGetDropletsFilterArrayOutput() GetDropletsFilterArrayOutput

func (GetDropletsFilterArrayOutput) ToGetDropletsFilterArrayOutputWithContext

func (o GetDropletsFilterArrayOutput) ToGetDropletsFilterArrayOutputWithContext(ctx context.Context) GetDropletsFilterArrayOutput

type GetDropletsFilterInput

type GetDropletsFilterInput interface {
	pulumi.Input

	ToGetDropletsFilterOutput() GetDropletsFilterOutput
	ToGetDropletsFilterOutputWithContext(context.Context) GetDropletsFilterOutput
}

GetDropletsFilterInput is an input type that accepts GetDropletsFilterArgs and GetDropletsFilterOutput values. You can construct a concrete instance of `GetDropletsFilterInput` via:

GetDropletsFilterArgs{...}

type GetDropletsFilterOutput

type GetDropletsFilterOutput struct{ *pulumi.OutputState }

func (GetDropletsFilterOutput) All

Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set.

func (GetDropletsFilterOutput) ElementType

func (GetDropletsFilterOutput) ElementType() reflect.Type

func (GetDropletsFilterOutput) Key

Filter the Droplets by this key. This may be one of `backups`, `createdAt`, `disk`, `id`, `image`, `ipv4Address`, `ipv4AddressPrivate`, `ipv6`, `ipv6Address`, `ipv6AddressPrivate`, `locked`, `memory`, `monitoring`, `name`, `priceHourly`, `priceMonthly`, `privateNetworking`, `region`, `size`, `status`, `tags`, `urn`, `vcpus`, `volumeIds`, or `vpcUuid`.

func (GetDropletsFilterOutput) MatchBy

One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field.

func (GetDropletsFilterOutput) ToGetDropletsFilterOutput

func (o GetDropletsFilterOutput) ToGetDropletsFilterOutput() GetDropletsFilterOutput

func (GetDropletsFilterOutput) ToGetDropletsFilterOutputWithContext

func (o GetDropletsFilterOutput) ToGetDropletsFilterOutputWithContext(ctx context.Context) GetDropletsFilterOutput

func (GetDropletsFilterOutput) Values

A list of values to match against the `key` field. Only retrieves Droplets where the `key` field takes on one or more of the values provided here.

type GetDropletsOutputArgs added in v4.9.0

type GetDropletsOutputArgs struct {
	// Filter the results.
	// The `filter` block is documented below.
	Filters GetDropletsFilterArrayInput `pulumi:"filters"`
	// Sort the results.
	// The `sort` block is documented below.
	Sorts GetDropletsSortArrayInput `pulumi:"sorts"`
}

A collection of arguments for invoking getDroplets.

func (GetDropletsOutputArgs) ElementType added in v4.9.0

func (GetDropletsOutputArgs) ElementType() reflect.Type

type GetDropletsResult

type GetDropletsResult struct {
	// A list of Droplets satisfying any `filter` and `sort` criteria. Each Droplet has the following attributes:
	Droplets []GetDropletsDroplet `pulumi:"droplets"`
	Filters  []GetDropletsFilter  `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id    string            `pulumi:"id"`
	Sorts []GetDropletsSort `pulumi:"sorts"`
}

A collection of values returned by getDroplets.

func GetDroplets

func GetDroplets(ctx *pulumi.Context, args *GetDropletsArgs, opts ...pulumi.InvokeOption) (*GetDropletsResult, error)

Get information on Droplets for use in other resources, with the ability to filter and sort the results. If no filters are specified, all Droplets will be returned.

This data source is useful if the Droplets in question are not managed by the provider or you need to utilize any of the Droplets' data.

Note: You can use the `Droplet` data source to obtain metadata about a single Droplet if you already know the `id`, unique `name`, or unique `tag` to retrieve.

## Example Usage

Use the `filter` block with a `key` string and `values` list to filter images.

For example to find all Droplets with size `s-1vcpu-1gb`:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.GetDroplets(ctx, &digitalocean.GetDropletsArgs{
			Filters: []digitalocean.GetDropletsFilter{
				{
					Key: "size",
					Values: []string{
						"s-1vcpu-1gb",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

You can filter on multiple fields and sort the results as well:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.GetDroplets(ctx, &digitalocean.GetDropletsArgs{
			Filters: []digitalocean.GetDropletsFilter{
				{
					Key: "size",
					Values: []string{
						"s-1vcpu-1gb",
					},
				},
				{
					Key: "backups",
					Values: []string{
						"true",
					},
				},
			},
			Sorts: []digitalocean.GetDropletsSort{
				{
					Direction: pulumi.StringRef("desc"),
					Key:       "created_at",
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetDropletsResultOutput added in v4.9.0

type GetDropletsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDroplets.

func GetDropletsOutput added in v4.9.0

func GetDropletsOutput(ctx *pulumi.Context, args GetDropletsOutputArgs, opts ...pulumi.InvokeOption) GetDropletsResultOutput

func (GetDropletsResultOutput) Droplets added in v4.9.0

A list of Droplets satisfying any `filter` and `sort` criteria. Each Droplet has the following attributes:

func (GetDropletsResultOutput) ElementType added in v4.9.0

func (GetDropletsResultOutput) ElementType() reflect.Type

func (GetDropletsResultOutput) Filters added in v4.9.0

func (GetDropletsResultOutput) Id added in v4.9.0

The provider-assigned unique ID for this managed resource.

func (GetDropletsResultOutput) Sorts added in v4.9.0

func (GetDropletsResultOutput) ToGetDropletsResultOutput added in v4.9.0

func (o GetDropletsResultOutput) ToGetDropletsResultOutput() GetDropletsResultOutput

func (GetDropletsResultOutput) ToGetDropletsResultOutputWithContext added in v4.9.0

func (o GetDropletsResultOutput) ToGetDropletsResultOutputWithContext(ctx context.Context) GetDropletsResultOutput

type GetDropletsSort

type GetDropletsSort struct {
	// The sort direction. This may be either `asc` or `desc`.
	Direction *string `pulumi:"direction"`
	// Sort the Droplets by this key. This may be one of `backups`, `createdAt`, `disk`, `id`,
	// `image`, `ipv4Address`, `ipv4AddressPrivate`, `ipv6`, `ipv6Address`, `ipv6AddressPrivate`, `locked`,
	// `memory`, `monitoring`, `name`, `priceHourly`, `priceMonthly`, `privateNetworking`, `region`, `size`,
	// `status`, `urn`, `vcpus`, or `vpcUuid`.
	Key string `pulumi:"key"`
}

type GetDropletsSortArgs

type GetDropletsSortArgs struct {
	// The sort direction. This may be either `asc` or `desc`.
	Direction pulumi.StringPtrInput `pulumi:"direction"`
	// Sort the Droplets by this key. This may be one of `backups`, `createdAt`, `disk`, `id`,
	// `image`, `ipv4Address`, `ipv4AddressPrivate`, `ipv6`, `ipv6Address`, `ipv6AddressPrivate`, `locked`,
	// `memory`, `monitoring`, `name`, `priceHourly`, `priceMonthly`, `privateNetworking`, `region`, `size`,
	// `status`, `urn`, `vcpus`, or `vpcUuid`.
	Key pulumi.StringInput `pulumi:"key"`
}

func (GetDropletsSortArgs) ElementType

func (GetDropletsSortArgs) ElementType() reflect.Type

func (GetDropletsSortArgs) ToGetDropletsSortOutput

func (i GetDropletsSortArgs) ToGetDropletsSortOutput() GetDropletsSortOutput

func (GetDropletsSortArgs) ToGetDropletsSortOutputWithContext

func (i GetDropletsSortArgs) ToGetDropletsSortOutputWithContext(ctx context.Context) GetDropletsSortOutput

type GetDropletsSortArray

type GetDropletsSortArray []GetDropletsSortInput

func (GetDropletsSortArray) ElementType

func (GetDropletsSortArray) ElementType() reflect.Type

func (GetDropletsSortArray) ToGetDropletsSortArrayOutput

func (i GetDropletsSortArray) ToGetDropletsSortArrayOutput() GetDropletsSortArrayOutput

func (GetDropletsSortArray) ToGetDropletsSortArrayOutputWithContext

func (i GetDropletsSortArray) ToGetDropletsSortArrayOutputWithContext(ctx context.Context) GetDropletsSortArrayOutput

type GetDropletsSortArrayInput

type GetDropletsSortArrayInput interface {
	pulumi.Input

	ToGetDropletsSortArrayOutput() GetDropletsSortArrayOutput
	ToGetDropletsSortArrayOutputWithContext(context.Context) GetDropletsSortArrayOutput
}

GetDropletsSortArrayInput is an input type that accepts GetDropletsSortArray and GetDropletsSortArrayOutput values. You can construct a concrete instance of `GetDropletsSortArrayInput` via:

GetDropletsSortArray{ GetDropletsSortArgs{...} }

type GetDropletsSortArrayOutput

type GetDropletsSortArrayOutput struct{ *pulumi.OutputState }

func (GetDropletsSortArrayOutput) ElementType

func (GetDropletsSortArrayOutput) ElementType() reflect.Type

func (GetDropletsSortArrayOutput) Index

func (GetDropletsSortArrayOutput) ToGetDropletsSortArrayOutput

func (o GetDropletsSortArrayOutput) ToGetDropletsSortArrayOutput() GetDropletsSortArrayOutput

func (GetDropletsSortArrayOutput) ToGetDropletsSortArrayOutputWithContext

func (o GetDropletsSortArrayOutput) ToGetDropletsSortArrayOutputWithContext(ctx context.Context) GetDropletsSortArrayOutput

type GetDropletsSortInput

type GetDropletsSortInput interface {
	pulumi.Input

	ToGetDropletsSortOutput() GetDropletsSortOutput
	ToGetDropletsSortOutputWithContext(context.Context) GetDropletsSortOutput
}

GetDropletsSortInput is an input type that accepts GetDropletsSortArgs and GetDropletsSortOutput values. You can construct a concrete instance of `GetDropletsSortInput` via:

GetDropletsSortArgs{...}

type GetDropletsSortOutput

type GetDropletsSortOutput struct{ *pulumi.OutputState }

func (GetDropletsSortOutput) Direction

The sort direction. This may be either `asc` or `desc`.

func (GetDropletsSortOutput) ElementType

func (GetDropletsSortOutput) ElementType() reflect.Type

func (GetDropletsSortOutput) Key

Sort the Droplets by this key. This may be one of `backups`, `createdAt`, `disk`, `id`, `image`, `ipv4Address`, `ipv4AddressPrivate`, `ipv6`, `ipv6Address`, `ipv6AddressPrivate`, `locked`, `memory`, `monitoring`, `name`, `priceHourly`, `priceMonthly`, `privateNetworking`, `region`, `size`, `status`, `urn`, `vcpus`, or `vpcUuid`.

func (GetDropletsSortOutput) ToGetDropletsSortOutput

func (o GetDropletsSortOutput) ToGetDropletsSortOutput() GetDropletsSortOutput

func (GetDropletsSortOutput) ToGetDropletsSortOutputWithContext

func (o GetDropletsSortOutput) ToGetDropletsSortOutputWithContext(ctx context.Context) GetDropletsSortOutput

type GetFirewallInboundRule

type GetFirewallInboundRule struct {
	// The ports on which traffic will be allowed
	// specified as a string containing a single port, a range (e.g. "8000-9000"),
	// or "1-65535" to open all ports for a protocol. Required for when protocol is
	// `tcp` or `udp`.
	PortRange *string `pulumi:"portRange"`
	// The type of traffic to be allowed.
	// This may be one of "tcp", "udp", or "icmp".
	Protocol string `pulumi:"protocol"`
	// An array of strings containing the IPv4
	// addresses, IPv6 addresses, IPv4 CIDRs, and/or IPv6 CIDRs from which the
	// inbound traffic will be accepted.
	SourceAddresses []string `pulumi:"sourceAddresses"`
	// An array containing the IDs of
	// the Droplets from which the inbound traffic will be accepted.
	SourceDropletIds    []int    `pulumi:"sourceDropletIds"`
	SourceKubernetesIds []string `pulumi:"sourceKubernetesIds"`
	// An array containing the IDs
	// of the Load Balancers from which the inbound traffic will be accepted.
	SourceLoadBalancerUids []string `pulumi:"sourceLoadBalancerUids"`
	// A set of names of Tags corresponding to group of
	// Droplets from which the inbound traffic will be accepted.
	SourceTags []string `pulumi:"sourceTags"`
}

type GetFirewallInboundRuleArgs

type GetFirewallInboundRuleArgs struct {
	// The ports on which traffic will be allowed
	// specified as a string containing a single port, a range (e.g. "8000-9000"),
	// or "1-65535" to open all ports for a protocol. Required for when protocol is
	// `tcp` or `udp`.
	PortRange pulumi.StringPtrInput `pulumi:"portRange"`
	// The type of traffic to be allowed.
	// This may be one of "tcp", "udp", or "icmp".
	Protocol pulumi.StringInput `pulumi:"protocol"`
	// An array of strings containing the IPv4
	// addresses, IPv6 addresses, IPv4 CIDRs, and/or IPv6 CIDRs from which the
	// inbound traffic will be accepted.
	SourceAddresses pulumi.StringArrayInput `pulumi:"sourceAddresses"`
	// An array containing the IDs of
	// the Droplets from which the inbound traffic will be accepted.
	SourceDropletIds    pulumi.IntArrayInput    `pulumi:"sourceDropletIds"`
	SourceKubernetesIds pulumi.StringArrayInput `pulumi:"sourceKubernetesIds"`
	// An array containing the IDs
	// of the Load Balancers from which the inbound traffic will be accepted.
	SourceLoadBalancerUids pulumi.StringArrayInput `pulumi:"sourceLoadBalancerUids"`
	// A set of names of Tags corresponding to group of
	// Droplets from which the inbound traffic will be accepted.
	SourceTags pulumi.StringArrayInput `pulumi:"sourceTags"`
}

func (GetFirewallInboundRuleArgs) ElementType

func (GetFirewallInboundRuleArgs) ElementType() reflect.Type

func (GetFirewallInboundRuleArgs) ToGetFirewallInboundRuleOutput

func (i GetFirewallInboundRuleArgs) ToGetFirewallInboundRuleOutput() GetFirewallInboundRuleOutput

func (GetFirewallInboundRuleArgs) ToGetFirewallInboundRuleOutputWithContext

func (i GetFirewallInboundRuleArgs) ToGetFirewallInboundRuleOutputWithContext(ctx context.Context) GetFirewallInboundRuleOutput

type GetFirewallInboundRuleArray

type GetFirewallInboundRuleArray []GetFirewallInboundRuleInput

func (GetFirewallInboundRuleArray) ElementType

func (GetFirewallInboundRuleArray) ToGetFirewallInboundRuleArrayOutput

func (i GetFirewallInboundRuleArray) ToGetFirewallInboundRuleArrayOutput() GetFirewallInboundRuleArrayOutput

func (GetFirewallInboundRuleArray) ToGetFirewallInboundRuleArrayOutputWithContext

func (i GetFirewallInboundRuleArray) ToGetFirewallInboundRuleArrayOutputWithContext(ctx context.Context) GetFirewallInboundRuleArrayOutput

type GetFirewallInboundRuleArrayInput

type GetFirewallInboundRuleArrayInput interface {
	pulumi.Input

	ToGetFirewallInboundRuleArrayOutput() GetFirewallInboundRuleArrayOutput
	ToGetFirewallInboundRuleArrayOutputWithContext(context.Context) GetFirewallInboundRuleArrayOutput
}

GetFirewallInboundRuleArrayInput is an input type that accepts GetFirewallInboundRuleArray and GetFirewallInboundRuleArrayOutput values. You can construct a concrete instance of `GetFirewallInboundRuleArrayInput` via:

GetFirewallInboundRuleArray{ GetFirewallInboundRuleArgs{...} }

type GetFirewallInboundRuleArrayOutput

type GetFirewallInboundRuleArrayOutput struct{ *pulumi.OutputState }

func (GetFirewallInboundRuleArrayOutput) ElementType

func (GetFirewallInboundRuleArrayOutput) Index

func (GetFirewallInboundRuleArrayOutput) ToGetFirewallInboundRuleArrayOutput

func (o GetFirewallInboundRuleArrayOutput) ToGetFirewallInboundRuleArrayOutput() GetFirewallInboundRuleArrayOutput

func (GetFirewallInboundRuleArrayOutput) ToGetFirewallInboundRuleArrayOutputWithContext

func (o GetFirewallInboundRuleArrayOutput) ToGetFirewallInboundRuleArrayOutputWithContext(ctx context.Context) GetFirewallInboundRuleArrayOutput

type GetFirewallInboundRuleInput

type GetFirewallInboundRuleInput interface {
	pulumi.Input

	ToGetFirewallInboundRuleOutput() GetFirewallInboundRuleOutput
	ToGetFirewallInboundRuleOutputWithContext(context.Context) GetFirewallInboundRuleOutput
}

GetFirewallInboundRuleInput is an input type that accepts GetFirewallInboundRuleArgs and GetFirewallInboundRuleOutput values. You can construct a concrete instance of `GetFirewallInboundRuleInput` via:

GetFirewallInboundRuleArgs{...}

type GetFirewallInboundRuleOutput

type GetFirewallInboundRuleOutput struct{ *pulumi.OutputState }

func (GetFirewallInboundRuleOutput) ElementType

func (GetFirewallInboundRuleOutput) PortRange

The ports on which traffic will be allowed specified as a string containing a single port, a range (e.g. "8000-9000"), or "1-65535" to open all ports for a protocol. Required for when protocol is `tcp` or `udp`.

func (GetFirewallInboundRuleOutput) Protocol

The type of traffic to be allowed. This may be one of "tcp", "udp", or "icmp".

func (GetFirewallInboundRuleOutput) SourceAddresses

An array of strings containing the IPv4 addresses, IPv6 addresses, IPv4 CIDRs, and/or IPv6 CIDRs from which the inbound traffic will be accepted.

func (GetFirewallInboundRuleOutput) SourceDropletIds

func (o GetFirewallInboundRuleOutput) SourceDropletIds() pulumi.IntArrayOutput

An array containing the IDs of the Droplets from which the inbound traffic will be accepted.

func (GetFirewallInboundRuleOutput) SourceKubernetesIds added in v4.10.0

func (o GetFirewallInboundRuleOutput) SourceKubernetesIds() pulumi.StringArrayOutput

func (GetFirewallInboundRuleOutput) SourceLoadBalancerUids

func (o GetFirewallInboundRuleOutput) SourceLoadBalancerUids() pulumi.StringArrayOutput

An array containing the IDs of the Load Balancers from which the inbound traffic will be accepted.

func (GetFirewallInboundRuleOutput) SourceTags

A set of names of Tags corresponding to group of Droplets from which the inbound traffic will be accepted.

func (GetFirewallInboundRuleOutput) ToGetFirewallInboundRuleOutput

func (o GetFirewallInboundRuleOutput) ToGetFirewallInboundRuleOutput() GetFirewallInboundRuleOutput

func (GetFirewallInboundRuleOutput) ToGetFirewallInboundRuleOutputWithContext

func (o GetFirewallInboundRuleOutput) ToGetFirewallInboundRuleOutputWithContext(ctx context.Context) GetFirewallInboundRuleOutput

type GetFirewallOutboundRule

type GetFirewallOutboundRule struct {
	// An array of strings containing the IPv4
	// addresses, IPv6 addresses, IPv4 CIDRs, and/or IPv6 CIDRs to which the
	// outbound traffic will be allowed.
	DestinationAddresses []string `pulumi:"destinationAddresses"`
	// An array containing the IDs of
	// the Droplets to which the outbound traffic will be allowed.
	DestinationDropletIds    []int    `pulumi:"destinationDropletIds"`
	DestinationKubernetesIds []string `pulumi:"destinationKubernetesIds"`
	// An array containing the IDs
	// of the Load Balancers to which the outbound traffic will be allowed.
	DestinationLoadBalancerUids []string `pulumi:"destinationLoadBalancerUids"`
	// An array containing the names of Tags
	// corresponding to groups of Droplets to which the outbound traffic will
	// be allowed.
	// traffic.
	DestinationTags []string `pulumi:"destinationTags"`
	// The ports on which traffic will be allowed
	// specified as a string containing a single port, a range (e.g. "8000-9000"),
	// or "1-65535" to open all ports for a protocol. Required for when protocol is
	// `tcp` or `udp`.
	PortRange *string `pulumi:"portRange"`
	// The type of traffic to be allowed.
	// This may be one of "tcp", "udp", or "icmp".
	Protocol string `pulumi:"protocol"`
}

type GetFirewallOutboundRuleArgs

type GetFirewallOutboundRuleArgs struct {
	// An array of strings containing the IPv4
	// addresses, IPv6 addresses, IPv4 CIDRs, and/or IPv6 CIDRs to which the
	// outbound traffic will be allowed.
	DestinationAddresses pulumi.StringArrayInput `pulumi:"destinationAddresses"`
	// An array containing the IDs of
	// the Droplets to which the outbound traffic will be allowed.
	DestinationDropletIds    pulumi.IntArrayInput    `pulumi:"destinationDropletIds"`
	DestinationKubernetesIds pulumi.StringArrayInput `pulumi:"destinationKubernetesIds"`
	// An array containing the IDs
	// of the Load Balancers to which the outbound traffic will be allowed.
	DestinationLoadBalancerUids pulumi.StringArrayInput `pulumi:"destinationLoadBalancerUids"`
	// An array containing the names of Tags
	// corresponding to groups of Droplets to which the outbound traffic will
	// be allowed.
	// traffic.
	DestinationTags pulumi.StringArrayInput `pulumi:"destinationTags"`
	// The ports on which traffic will be allowed
	// specified as a string containing a single port, a range (e.g. "8000-9000"),
	// or "1-65535" to open all ports for a protocol. Required for when protocol is
	// `tcp` or `udp`.
	PortRange pulumi.StringPtrInput `pulumi:"portRange"`
	// The type of traffic to be allowed.
	// This may be one of "tcp", "udp", or "icmp".
	Protocol pulumi.StringInput `pulumi:"protocol"`
}

func (GetFirewallOutboundRuleArgs) ElementType

func (GetFirewallOutboundRuleArgs) ToGetFirewallOutboundRuleOutput

func (i GetFirewallOutboundRuleArgs) ToGetFirewallOutboundRuleOutput() GetFirewallOutboundRuleOutput

func (GetFirewallOutboundRuleArgs) ToGetFirewallOutboundRuleOutputWithContext

func (i GetFirewallOutboundRuleArgs) ToGetFirewallOutboundRuleOutputWithContext(ctx context.Context) GetFirewallOutboundRuleOutput

type GetFirewallOutboundRuleArray

type GetFirewallOutboundRuleArray []GetFirewallOutboundRuleInput

func (GetFirewallOutboundRuleArray) ElementType

func (GetFirewallOutboundRuleArray) ToGetFirewallOutboundRuleArrayOutput

func (i GetFirewallOutboundRuleArray) ToGetFirewallOutboundRuleArrayOutput() GetFirewallOutboundRuleArrayOutput

func (GetFirewallOutboundRuleArray) ToGetFirewallOutboundRuleArrayOutputWithContext

func (i GetFirewallOutboundRuleArray) ToGetFirewallOutboundRuleArrayOutputWithContext(ctx context.Context) GetFirewallOutboundRuleArrayOutput

type GetFirewallOutboundRuleArrayInput

type GetFirewallOutboundRuleArrayInput interface {
	pulumi.Input

	ToGetFirewallOutboundRuleArrayOutput() GetFirewallOutboundRuleArrayOutput
	ToGetFirewallOutboundRuleArrayOutputWithContext(context.Context) GetFirewallOutboundRuleArrayOutput
}

GetFirewallOutboundRuleArrayInput is an input type that accepts GetFirewallOutboundRuleArray and GetFirewallOutboundRuleArrayOutput values. You can construct a concrete instance of `GetFirewallOutboundRuleArrayInput` via:

GetFirewallOutboundRuleArray{ GetFirewallOutboundRuleArgs{...} }

type GetFirewallOutboundRuleArrayOutput

type GetFirewallOutboundRuleArrayOutput struct{ *pulumi.OutputState }

func (GetFirewallOutboundRuleArrayOutput) ElementType

func (GetFirewallOutboundRuleArrayOutput) Index

func (GetFirewallOutboundRuleArrayOutput) ToGetFirewallOutboundRuleArrayOutput

func (o GetFirewallOutboundRuleArrayOutput) ToGetFirewallOutboundRuleArrayOutput() GetFirewallOutboundRuleArrayOutput

func (GetFirewallOutboundRuleArrayOutput) ToGetFirewallOutboundRuleArrayOutputWithContext

func (o GetFirewallOutboundRuleArrayOutput) ToGetFirewallOutboundRuleArrayOutputWithContext(ctx context.Context) GetFirewallOutboundRuleArrayOutput

type GetFirewallOutboundRuleInput

type GetFirewallOutboundRuleInput interface {
	pulumi.Input

	ToGetFirewallOutboundRuleOutput() GetFirewallOutboundRuleOutput
	ToGetFirewallOutboundRuleOutputWithContext(context.Context) GetFirewallOutboundRuleOutput
}

GetFirewallOutboundRuleInput is an input type that accepts GetFirewallOutboundRuleArgs and GetFirewallOutboundRuleOutput values. You can construct a concrete instance of `GetFirewallOutboundRuleInput` via:

GetFirewallOutboundRuleArgs{...}

type GetFirewallOutboundRuleOutput

type GetFirewallOutboundRuleOutput struct{ *pulumi.OutputState }

func (GetFirewallOutboundRuleOutput) DestinationAddresses

func (o GetFirewallOutboundRuleOutput) DestinationAddresses() pulumi.StringArrayOutput

An array of strings containing the IPv4 addresses, IPv6 addresses, IPv4 CIDRs, and/or IPv6 CIDRs to which the outbound traffic will be allowed.

func (GetFirewallOutboundRuleOutput) DestinationDropletIds

func (o GetFirewallOutboundRuleOutput) DestinationDropletIds() pulumi.IntArrayOutput

An array containing the IDs of the Droplets to which the outbound traffic will be allowed.

func (GetFirewallOutboundRuleOutput) DestinationKubernetesIds added in v4.10.0

func (o GetFirewallOutboundRuleOutput) DestinationKubernetesIds() pulumi.StringArrayOutput

func (GetFirewallOutboundRuleOutput) DestinationLoadBalancerUids

func (o GetFirewallOutboundRuleOutput) DestinationLoadBalancerUids() pulumi.StringArrayOutput

An array containing the IDs of the Load Balancers to which the outbound traffic will be allowed.

func (GetFirewallOutboundRuleOutput) DestinationTags

An array containing the names of Tags corresponding to groups of Droplets to which the outbound traffic will be allowed. traffic.

func (GetFirewallOutboundRuleOutput) ElementType

func (GetFirewallOutboundRuleOutput) PortRange

The ports on which traffic will be allowed specified as a string containing a single port, a range (e.g. "8000-9000"), or "1-65535" to open all ports for a protocol. Required for when protocol is `tcp` or `udp`.

func (GetFirewallOutboundRuleOutput) Protocol

The type of traffic to be allowed. This may be one of "tcp", "udp", or "icmp".

func (GetFirewallOutboundRuleOutput) ToGetFirewallOutboundRuleOutput

func (o GetFirewallOutboundRuleOutput) ToGetFirewallOutboundRuleOutput() GetFirewallOutboundRuleOutput

func (GetFirewallOutboundRuleOutput) ToGetFirewallOutboundRuleOutputWithContext

func (o GetFirewallOutboundRuleOutput) ToGetFirewallOutboundRuleOutputWithContext(ctx context.Context) GetFirewallOutboundRuleOutput

type GetFirewallPendingChange

type GetFirewallPendingChange struct {
	DropletId *int  `pulumi:"dropletId"`
	Removing  *bool `pulumi:"removing"`
	// A status string indicating the current state of the Firewall.
	// This can be "waiting", "succeeded", or "failed".
	Status *string `pulumi:"status"`
}

type GetFirewallPendingChangeArgs

type GetFirewallPendingChangeArgs struct {
	DropletId pulumi.IntPtrInput  `pulumi:"dropletId"`
	Removing  pulumi.BoolPtrInput `pulumi:"removing"`
	// A status string indicating the current state of the Firewall.
	// This can be "waiting", "succeeded", or "failed".
	Status pulumi.StringPtrInput `pulumi:"status"`
}

func (GetFirewallPendingChangeArgs) ElementType

func (GetFirewallPendingChangeArgs) ToGetFirewallPendingChangeOutput

func (i GetFirewallPendingChangeArgs) ToGetFirewallPendingChangeOutput() GetFirewallPendingChangeOutput

func (GetFirewallPendingChangeArgs) ToGetFirewallPendingChangeOutputWithContext

func (i GetFirewallPendingChangeArgs) ToGetFirewallPendingChangeOutputWithContext(ctx context.Context) GetFirewallPendingChangeOutput

type GetFirewallPendingChangeArray

type GetFirewallPendingChangeArray []GetFirewallPendingChangeInput

func (GetFirewallPendingChangeArray) ElementType

func (GetFirewallPendingChangeArray) ToGetFirewallPendingChangeArrayOutput

func (i GetFirewallPendingChangeArray) ToGetFirewallPendingChangeArrayOutput() GetFirewallPendingChangeArrayOutput

func (GetFirewallPendingChangeArray) ToGetFirewallPendingChangeArrayOutputWithContext

func (i GetFirewallPendingChangeArray) ToGetFirewallPendingChangeArrayOutputWithContext(ctx context.Context) GetFirewallPendingChangeArrayOutput

type GetFirewallPendingChangeArrayInput

type GetFirewallPendingChangeArrayInput interface {
	pulumi.Input

	ToGetFirewallPendingChangeArrayOutput() GetFirewallPendingChangeArrayOutput
	ToGetFirewallPendingChangeArrayOutputWithContext(context.Context) GetFirewallPendingChangeArrayOutput
}

GetFirewallPendingChangeArrayInput is an input type that accepts GetFirewallPendingChangeArray and GetFirewallPendingChangeArrayOutput values. You can construct a concrete instance of `GetFirewallPendingChangeArrayInput` via:

GetFirewallPendingChangeArray{ GetFirewallPendingChangeArgs{...} }

type GetFirewallPendingChangeArrayOutput

type GetFirewallPendingChangeArrayOutput struct{ *pulumi.OutputState }

func (GetFirewallPendingChangeArrayOutput) ElementType

func (GetFirewallPendingChangeArrayOutput) Index

func (GetFirewallPendingChangeArrayOutput) ToGetFirewallPendingChangeArrayOutput

func (o GetFirewallPendingChangeArrayOutput) ToGetFirewallPendingChangeArrayOutput() GetFirewallPendingChangeArrayOutput

func (GetFirewallPendingChangeArrayOutput) ToGetFirewallPendingChangeArrayOutputWithContext

func (o GetFirewallPendingChangeArrayOutput) ToGetFirewallPendingChangeArrayOutputWithContext(ctx context.Context) GetFirewallPendingChangeArrayOutput

type GetFirewallPendingChangeInput

type GetFirewallPendingChangeInput interface {
	pulumi.Input

	ToGetFirewallPendingChangeOutput() GetFirewallPendingChangeOutput
	ToGetFirewallPendingChangeOutputWithContext(context.Context) GetFirewallPendingChangeOutput
}

GetFirewallPendingChangeInput is an input type that accepts GetFirewallPendingChangeArgs and GetFirewallPendingChangeOutput values. You can construct a concrete instance of `GetFirewallPendingChangeInput` via:

GetFirewallPendingChangeArgs{...}

type GetFirewallPendingChangeOutput

type GetFirewallPendingChangeOutput struct{ *pulumi.OutputState }

func (GetFirewallPendingChangeOutput) DropletId

func (GetFirewallPendingChangeOutput) ElementType

func (GetFirewallPendingChangeOutput) Removing

func (GetFirewallPendingChangeOutput) Status

A status string indicating the current state of the Firewall. This can be "waiting", "succeeded", or "failed".

func (GetFirewallPendingChangeOutput) ToGetFirewallPendingChangeOutput

func (o GetFirewallPendingChangeOutput) ToGetFirewallPendingChangeOutput() GetFirewallPendingChangeOutput

func (GetFirewallPendingChangeOutput) ToGetFirewallPendingChangeOutputWithContext

func (o GetFirewallPendingChangeOutput) ToGetFirewallPendingChangeOutputWithContext(ctx context.Context) GetFirewallPendingChangeOutput

type GetImageArgs

type GetImageArgs struct {
	// The id of the image
	Id *int `pulumi:"id"`
	// The name of the image.
	Name *string `pulumi:"name"`
	// The slug of the official image.
	//
	// If `name` is specified, you may also specify:
	Slug *string `pulumi:"slug"`
	// Restrict the search to one of the following categories of images:
	Source *string `pulumi:"source"`
}

A collection of arguments for invoking getImage.

type GetImageOutputArgs added in v4.9.0

type GetImageOutputArgs struct {
	// The id of the image
	Id pulumi.IntPtrInput `pulumi:"id"`
	// The name of the image.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The slug of the official image.
	//
	// If `name` is specified, you may also specify:
	Slug pulumi.StringPtrInput `pulumi:"slug"`
	// Restrict the search to one of the following categories of images:
	Source pulumi.StringPtrInput `pulumi:"source"`
}

A collection of arguments for invoking getImage.

func (GetImageOutputArgs) ElementType added in v4.9.0

func (GetImageOutputArgs) ElementType() reflect.Type

type GetImageResult

type GetImageResult struct {
	// When the image was created
	Created     string `pulumi:"created"`
	Description string `pulumi:"description"`
	// The name of the distribution of the OS of the image.
	Distribution string `pulumi:"distribution"`
	// Any applicable error message pertaining to the image
	ErrorMessage string `pulumi:"errorMessage"`
	// The ID of the image.
	Id int `pulumi:"id"`
	// The id of the image (legacy parameter).
	Image string `pulumi:"image"`
	// The minimum 'disk' required for the image.
	MinDiskSize int `pulumi:"minDiskSize"`
	// The name of the image.
	Name string `pulumi:"name"`
	// Is image a public image or not. Public images represent
	// Linux distributions or One-Click Applications, while non-public images represent
	// snapshots and backups and are only available within your account.
	Private bool `pulumi:"private"`
	// A set of the regions that the image is available in.
	Regions []string `pulumi:"regions"`
	// The size of the image in GB.
	SizeGigabytes float64 `pulumi:"sizeGigabytes"`
	// Unique text identifier of the image.
	Slug   string  `pulumi:"slug"`
	Source *string `pulumi:"source"`
	// Current status of the image
	Status string `pulumi:"status"`
	// A set of tags applied to the image
	Tags []string `pulumi:"tags"`
	// Type of the image.
	Type string `pulumi:"type"`
}

A collection of values returned by getImage.

func GetImage

func GetImage(ctx *pulumi.Context, args *GetImageArgs, opts ...pulumi.InvokeOption) (*GetImageResult, error)

Get information on an image for use in other resources (e.g. creating a Droplet based on snapshot). This data source provides all of the image properties as configured on your DigitalOcean account. This is useful if the image in question is not managed by the provider or you need to utilize any of the image's data.

An error is triggered if zero or more than one result is returned by the query.

## Example Usage

Get the data about a snapshot:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.GetImage(ctx, &digitalocean.GetImageArgs{
			Name: pulumi.StringRef("example-1.0.0"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

Reuse the data about a snapshot to create a Droplet:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleImage, err := digitalocean.GetImage(ctx, &digitalocean.GetImageArgs{
			Name: pulumi.StringRef("example-1.0.0"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = digitalocean.NewDroplet(ctx, "exampleDroplet", &digitalocean.DropletArgs{
			Image:  pulumi.Int(exampleImage.Id),
			Region: pulumi.String(digitalocean.RegionNYC2),
			Size:   pulumi.String(digitalocean.DropletSlugDropletS1VCPU1GB),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Get the data about an official image:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.GetImage(ctx, &digitalocean.GetImageArgs{
			Slug: pulumi.StringRef("ubuntu-18-04-x64"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetImageResultOutput added in v4.9.0

type GetImageResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getImage.

func GetImageOutput added in v4.9.0

func GetImageOutput(ctx *pulumi.Context, args GetImageOutputArgs, opts ...pulumi.InvokeOption) GetImageResultOutput

func (GetImageResultOutput) Created added in v4.9.0

When the image was created

func (GetImageResultOutput) Description added in v4.9.0

func (o GetImageResultOutput) Description() pulumi.StringOutput

func (GetImageResultOutput) Distribution added in v4.9.0

func (o GetImageResultOutput) Distribution() pulumi.StringOutput

The name of the distribution of the OS of the image.

func (GetImageResultOutput) ElementType added in v4.9.0

func (GetImageResultOutput) ElementType() reflect.Type

func (GetImageResultOutput) ErrorMessage added in v4.9.0

func (o GetImageResultOutput) ErrorMessage() pulumi.StringOutput

Any applicable error message pertaining to the image

func (GetImageResultOutput) Id added in v4.9.0

The ID of the image.

func (GetImageResultOutput) Image added in v4.9.0

The id of the image (legacy parameter).

func (GetImageResultOutput) MinDiskSize added in v4.9.0

func (o GetImageResultOutput) MinDiskSize() pulumi.IntOutput

The minimum 'disk' required for the image.

func (GetImageResultOutput) Name added in v4.9.0

The name of the image.

func (GetImageResultOutput) Private added in v4.9.0

Is image a public image or not. Public images represent Linux distributions or One-Click Applications, while non-public images represent snapshots and backups and are only available within your account.

func (GetImageResultOutput) Regions added in v4.9.0

A set of the regions that the image is available in.

func (GetImageResultOutput) SizeGigabytes added in v4.9.0

func (o GetImageResultOutput) SizeGigabytes() pulumi.Float64Output

The size of the image in GB.

func (GetImageResultOutput) Slug added in v4.9.0

Unique text identifier of the image.

func (GetImageResultOutput) Source added in v4.9.0

func (GetImageResultOutput) Status added in v4.9.0

Current status of the image

func (GetImageResultOutput) Tags added in v4.9.0

A set of tags applied to the image

func (GetImageResultOutput) ToGetImageResultOutput added in v4.9.0

func (o GetImageResultOutput) ToGetImageResultOutput() GetImageResultOutput

func (GetImageResultOutput) ToGetImageResultOutputWithContext added in v4.9.0

func (o GetImageResultOutput) ToGetImageResultOutputWithContext(ctx context.Context) GetImageResultOutput

func (GetImageResultOutput) Type added in v4.9.0

Type of the image.

type GetImagesArgs

type GetImagesArgs struct {
	// Filter the results.
	// The `filter` block is documented below.
	Filters []GetImagesFilter `pulumi:"filters"`
	// Sort the results.
	// The `sort` block is documented below.
	Sorts []GetImagesSort `pulumi:"sorts"`
}

A collection of arguments for invoking getImages.

type GetImagesFilter

type GetImagesFilter struct {
	// Set to `true` to require that a field match all of the `values` instead of just one or more of
	// them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure
	// that all of the `values` are present in the list or set.
	All *bool `pulumi:"all"`
	// Filter the images by this key. This may be one of `distribution`, `errorMessage`,
	// `id`, `image`, `minDiskSize`, `name`, `private`, `regions`, `sizeGigabytes`, `slug`, `status`,
	// `tags`, or `type`.
	Key string `pulumi:"key"`
	// One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to
	// match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as
	// substrings to find within the string field.
	MatchBy *string `pulumi:"matchBy"`
	// A list of values to match against the `key` field. Only retrieves images
	// where the `key` field takes on one or more of the values provided here.
	Values []string `pulumi:"values"`
}

type GetImagesFilterArgs

type GetImagesFilterArgs struct {
	// Set to `true` to require that a field match all of the `values` instead of just one or more of
	// them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure
	// that all of the `values` are present in the list or set.
	All pulumi.BoolPtrInput `pulumi:"all"`
	// Filter the images by this key. This may be one of `distribution`, `errorMessage`,
	// `id`, `image`, `minDiskSize`, `name`, `private`, `regions`, `sizeGigabytes`, `slug`, `status`,
	// `tags`, or `type`.
	Key pulumi.StringInput `pulumi:"key"`
	// One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to
	// match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as
	// substrings to find within the string field.
	MatchBy pulumi.StringPtrInput `pulumi:"matchBy"`
	// A list of values to match against the `key` field. Only retrieves images
	// where the `key` field takes on one or more of the values provided here.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetImagesFilterArgs) ElementType

func (GetImagesFilterArgs) ElementType() reflect.Type

func (GetImagesFilterArgs) ToGetImagesFilterOutput

func (i GetImagesFilterArgs) ToGetImagesFilterOutput() GetImagesFilterOutput

func (GetImagesFilterArgs) ToGetImagesFilterOutputWithContext

func (i GetImagesFilterArgs) ToGetImagesFilterOutputWithContext(ctx context.Context) GetImagesFilterOutput

type GetImagesFilterArray

type GetImagesFilterArray []GetImagesFilterInput

func (GetImagesFilterArray) ElementType

func (GetImagesFilterArray) ElementType() reflect.Type

func (GetImagesFilterArray) ToGetImagesFilterArrayOutput

func (i GetImagesFilterArray) ToGetImagesFilterArrayOutput() GetImagesFilterArrayOutput

func (GetImagesFilterArray) ToGetImagesFilterArrayOutputWithContext

func (i GetImagesFilterArray) ToGetImagesFilterArrayOutputWithContext(ctx context.Context) GetImagesFilterArrayOutput

type GetImagesFilterArrayInput

type GetImagesFilterArrayInput interface {
	pulumi.Input

	ToGetImagesFilterArrayOutput() GetImagesFilterArrayOutput
	ToGetImagesFilterArrayOutputWithContext(context.Context) GetImagesFilterArrayOutput
}

GetImagesFilterArrayInput is an input type that accepts GetImagesFilterArray and GetImagesFilterArrayOutput values. You can construct a concrete instance of `GetImagesFilterArrayInput` via:

GetImagesFilterArray{ GetImagesFilterArgs{...} }

type GetImagesFilterArrayOutput

type GetImagesFilterArrayOutput struct{ *pulumi.OutputState }

func (GetImagesFilterArrayOutput) ElementType

func (GetImagesFilterArrayOutput) ElementType() reflect.Type

func (GetImagesFilterArrayOutput) Index

func (GetImagesFilterArrayOutput) ToGetImagesFilterArrayOutput

func (o GetImagesFilterArrayOutput) ToGetImagesFilterArrayOutput() GetImagesFilterArrayOutput

func (GetImagesFilterArrayOutput) ToGetImagesFilterArrayOutputWithContext

func (o GetImagesFilterArrayOutput) ToGetImagesFilterArrayOutputWithContext(ctx context.Context) GetImagesFilterArrayOutput

type GetImagesFilterInput

type GetImagesFilterInput interface {
	pulumi.Input

	ToGetImagesFilterOutput() GetImagesFilterOutput
	ToGetImagesFilterOutputWithContext(context.Context) GetImagesFilterOutput
}

GetImagesFilterInput is an input type that accepts GetImagesFilterArgs and GetImagesFilterOutput values. You can construct a concrete instance of `GetImagesFilterInput` via:

GetImagesFilterArgs{...}

type GetImagesFilterOutput

type GetImagesFilterOutput struct{ *pulumi.OutputState }

func (GetImagesFilterOutput) All

Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set.

func (GetImagesFilterOutput) ElementType

func (GetImagesFilterOutput) ElementType() reflect.Type

func (GetImagesFilterOutput) Key

Filter the images by this key. This may be one of `distribution`, `errorMessage`, `id`, `image`, `minDiskSize`, `name`, `private`, `regions`, `sizeGigabytes`, `slug`, `status`, `tags`, or `type`.

func (GetImagesFilterOutput) MatchBy

One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field.

func (GetImagesFilterOutput) ToGetImagesFilterOutput

func (o GetImagesFilterOutput) ToGetImagesFilterOutput() GetImagesFilterOutput

func (GetImagesFilterOutput) ToGetImagesFilterOutputWithContext

func (o GetImagesFilterOutput) ToGetImagesFilterOutputWithContext(ctx context.Context) GetImagesFilterOutput

func (GetImagesFilterOutput) Values

A list of values to match against the `key` field. Only retrieves images where the `key` field takes on one or more of the values provided here.

type GetImagesImage

type GetImagesImage struct {
	// When the image was created
	Created string `pulumi:"created"`
	// a description of the image
	Description string `pulumi:"description"`
	// The name of the distribution of the OS of the image.
	Distribution string `pulumi:"distribution"`
	// Any applicable error message pertaining to the image
	ErrorMessage string `pulumi:"errorMessage"`
	// The ID of the image.
	Id int `pulumi:"id"`
	// The id of the image (legacy parameter).
	Image string `pulumi:"image"`
	// The minimum 'disk' required for the image.
	MinDiskSize int `pulumi:"minDiskSize"`
	// The name of the image.
	Name string `pulumi:"name"`
	// Is image a public image or not. Public images represent
	// Linux distributions or One-Click Applications, while non-public images represent
	// snapshots and backups and are only available within your account.
	Private bool `pulumi:"private"`
	// A set of the regions that the image is available in.
	Regions []string `pulumi:"regions"`
	// The size of the image in GB.
	SizeGigabytes float64 `pulumi:"sizeGigabytes"`
	// Unique text identifier of the image.
	Slug string `pulumi:"slug"`
	// Current status of the image
	Status string `pulumi:"status"`
	// A set of tags applied to the image
	Tags []string `pulumi:"tags"`
	// Type of the image.
	Type string `pulumi:"type"`
}

type GetImagesImageArgs

type GetImagesImageArgs struct {
	// When the image was created
	Created pulumi.StringInput `pulumi:"created"`
	// a description of the image
	Description pulumi.StringInput `pulumi:"description"`
	// The name of the distribution of the OS of the image.
	Distribution pulumi.StringInput `pulumi:"distribution"`
	// Any applicable error message pertaining to the image
	ErrorMessage pulumi.StringInput `pulumi:"errorMessage"`
	// The ID of the image.
	Id pulumi.IntInput `pulumi:"id"`
	// The id of the image (legacy parameter).
	Image pulumi.StringInput `pulumi:"image"`
	// The minimum 'disk' required for the image.
	MinDiskSize pulumi.IntInput `pulumi:"minDiskSize"`
	// The name of the image.
	Name pulumi.StringInput `pulumi:"name"`
	// Is image a public image or not. Public images represent
	// Linux distributions or One-Click Applications, while non-public images represent
	// snapshots and backups and are only available within your account.
	Private pulumi.BoolInput `pulumi:"private"`
	// A set of the regions that the image is available in.
	Regions pulumi.StringArrayInput `pulumi:"regions"`
	// The size of the image in GB.
	SizeGigabytes pulumi.Float64Input `pulumi:"sizeGigabytes"`
	// Unique text identifier of the image.
	Slug pulumi.StringInput `pulumi:"slug"`
	// Current status of the image
	Status pulumi.StringInput `pulumi:"status"`
	// A set of tags applied to the image
	Tags pulumi.StringArrayInput `pulumi:"tags"`
	// Type of the image.
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetImagesImageArgs) ElementType

func (GetImagesImageArgs) ElementType() reflect.Type

func (GetImagesImageArgs) ToGetImagesImageOutput

func (i GetImagesImageArgs) ToGetImagesImageOutput() GetImagesImageOutput

func (GetImagesImageArgs) ToGetImagesImageOutputWithContext

func (i GetImagesImageArgs) ToGetImagesImageOutputWithContext(ctx context.Context) GetImagesImageOutput

type GetImagesImageArray

type GetImagesImageArray []GetImagesImageInput

func (GetImagesImageArray) ElementType

func (GetImagesImageArray) ElementType() reflect.Type

func (GetImagesImageArray) ToGetImagesImageArrayOutput

func (i GetImagesImageArray) ToGetImagesImageArrayOutput() GetImagesImageArrayOutput

func (GetImagesImageArray) ToGetImagesImageArrayOutputWithContext

func (i GetImagesImageArray) ToGetImagesImageArrayOutputWithContext(ctx context.Context) GetImagesImageArrayOutput

type GetImagesImageArrayInput

type GetImagesImageArrayInput interface {
	pulumi.Input

	ToGetImagesImageArrayOutput() GetImagesImageArrayOutput
	ToGetImagesImageArrayOutputWithContext(context.Context) GetImagesImageArrayOutput
}

GetImagesImageArrayInput is an input type that accepts GetImagesImageArray and GetImagesImageArrayOutput values. You can construct a concrete instance of `GetImagesImageArrayInput` via:

GetImagesImageArray{ GetImagesImageArgs{...} }

type GetImagesImageArrayOutput

type GetImagesImageArrayOutput struct{ *pulumi.OutputState }

func (GetImagesImageArrayOutput) ElementType

func (GetImagesImageArrayOutput) ElementType() reflect.Type

func (GetImagesImageArrayOutput) Index

func (GetImagesImageArrayOutput) ToGetImagesImageArrayOutput

func (o GetImagesImageArrayOutput) ToGetImagesImageArrayOutput() GetImagesImageArrayOutput

func (GetImagesImageArrayOutput) ToGetImagesImageArrayOutputWithContext

func (o GetImagesImageArrayOutput) ToGetImagesImageArrayOutputWithContext(ctx context.Context) GetImagesImageArrayOutput

type GetImagesImageInput

type GetImagesImageInput interface {
	pulumi.Input

	ToGetImagesImageOutput() GetImagesImageOutput
	ToGetImagesImageOutputWithContext(context.Context) GetImagesImageOutput
}

GetImagesImageInput is an input type that accepts GetImagesImageArgs and GetImagesImageOutput values. You can construct a concrete instance of `GetImagesImageInput` via:

GetImagesImageArgs{...}

type GetImagesImageOutput

type GetImagesImageOutput struct{ *pulumi.OutputState }

func (GetImagesImageOutput) Created

When the image was created

func (GetImagesImageOutput) Description

func (o GetImagesImageOutput) Description() pulumi.StringOutput

a description of the image

func (GetImagesImageOutput) Distribution

func (o GetImagesImageOutput) Distribution() pulumi.StringOutput

The name of the distribution of the OS of the image.

func (GetImagesImageOutput) ElementType

func (GetImagesImageOutput) ElementType() reflect.Type

func (GetImagesImageOutput) ErrorMessage

func (o GetImagesImageOutput) ErrorMessage() pulumi.StringOutput

Any applicable error message pertaining to the image

func (GetImagesImageOutput) Id

The ID of the image.

func (GetImagesImageOutput) Image

The id of the image (legacy parameter).

func (GetImagesImageOutput) MinDiskSize

func (o GetImagesImageOutput) MinDiskSize() pulumi.IntOutput

The minimum 'disk' required for the image.

func (GetImagesImageOutput) Name

The name of the image.

func (GetImagesImageOutput) Private

Is image a public image or not. Public images represent Linux distributions or One-Click Applications, while non-public images represent snapshots and backups and are only available within your account.

func (GetImagesImageOutput) Regions

A set of the regions that the image is available in.

func (GetImagesImageOutput) SizeGigabytes

func (o GetImagesImageOutput) SizeGigabytes() pulumi.Float64Output

The size of the image in GB.

func (GetImagesImageOutput) Slug

Unique text identifier of the image.

func (GetImagesImageOutput) Status

Current status of the image

func (GetImagesImageOutput) Tags

A set of tags applied to the image

func (GetImagesImageOutput) ToGetImagesImageOutput

func (o GetImagesImageOutput) ToGetImagesImageOutput() GetImagesImageOutput

func (GetImagesImageOutput) ToGetImagesImageOutputWithContext

func (o GetImagesImageOutput) ToGetImagesImageOutputWithContext(ctx context.Context) GetImagesImageOutput

func (GetImagesImageOutput) Type

Type of the image.

type GetImagesOutputArgs added in v4.9.0

type GetImagesOutputArgs struct {
	// Filter the results.
	// The `filter` block is documented below.
	Filters GetImagesFilterArrayInput `pulumi:"filters"`
	// Sort the results.
	// The `sort` block is documented below.
	Sorts GetImagesSortArrayInput `pulumi:"sorts"`
}

A collection of arguments for invoking getImages.

func (GetImagesOutputArgs) ElementType added in v4.9.0

func (GetImagesOutputArgs) ElementType() reflect.Type

type GetImagesResult

type GetImagesResult struct {
	Filters []GetImagesFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A set of images satisfying any `filter` and `sort` criteria. Each image has the following attributes:
	Images []GetImagesImage `pulumi:"images"`
	Sorts  []GetImagesSort  `pulumi:"sorts"`
}

A collection of values returned by getImages.

func GetImages

func GetImages(ctx *pulumi.Context, args *GetImagesArgs, opts ...pulumi.InvokeOption) (*GetImagesResult, error)

Get information on images for use in other resources (e.g. creating a Droplet based on a snapshot), with the ability to filter and sort the results. If no filters are specified, all images will be returned.

This data source is useful if the image in question is not managed by the provider or you need to utilize any of the image's data.

Note: You can use the `getImage` data source to obtain metadata about a single image if you already know the `slug`, unique `name`, or `id` to retrieve.

## Example Usage

Use the `filter` block with a `key` string and `values` list to filter images.

For example to find all Ubuntu images:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.GetImages(ctx, &digitalocean.GetImagesArgs{
			Filters: []digitalocean.GetImagesFilter{
				{
					Key: "distribution",
					Values: []string{
						"Ubuntu",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

You can filter on multiple fields and sort the results as well:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.GetImages(ctx, &digitalocean.GetImagesArgs{
			Filters: []digitalocean.GetImagesFilter{
				{
					Key: "distribution",
					Values: []string{
						"Ubuntu",
					},
				},
				{
					Key: "regions",
					Values: []string{
						"nyc3",
					},
				},
			},
			Sorts: []digitalocean.GetImagesSort{
				{
					Direction: pulumi.StringRef("desc"),
					Key:       "created",
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetImagesResultOutput added in v4.9.0

type GetImagesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getImages.

func GetImagesOutput added in v4.9.0

func GetImagesOutput(ctx *pulumi.Context, args GetImagesOutputArgs, opts ...pulumi.InvokeOption) GetImagesResultOutput

func (GetImagesResultOutput) ElementType added in v4.9.0

func (GetImagesResultOutput) ElementType() reflect.Type

func (GetImagesResultOutput) Filters added in v4.9.0

func (GetImagesResultOutput) Id added in v4.9.0

The provider-assigned unique ID for this managed resource.

func (GetImagesResultOutput) Images added in v4.9.0

A set of images satisfying any `filter` and `sort` criteria. Each image has the following attributes:

func (GetImagesResultOutput) Sorts added in v4.9.0

func (GetImagesResultOutput) ToGetImagesResultOutput added in v4.9.0

func (o GetImagesResultOutput) ToGetImagesResultOutput() GetImagesResultOutput

func (GetImagesResultOutput) ToGetImagesResultOutputWithContext added in v4.9.0

func (o GetImagesResultOutput) ToGetImagesResultOutputWithContext(ctx context.Context) GetImagesResultOutput

type GetImagesSort

type GetImagesSort struct {
	// The sort direction. This may be either `asc` or `desc`.
	Direction *string `pulumi:"direction"`
	// Sort the images by this key. This may be one of `distribution`, `errorMessage`, `id`,
	// `image`, `minDiskSize`, `name`, `private`, `sizeGigabytes`, `slug`, `status`, or `type`.
	Key string `pulumi:"key"`
}

type GetImagesSortArgs

type GetImagesSortArgs struct {
	// The sort direction. This may be either `asc` or `desc`.
	Direction pulumi.StringPtrInput `pulumi:"direction"`
	// Sort the images by this key. This may be one of `distribution`, `errorMessage`, `id`,
	// `image`, `minDiskSize`, `name`, `private`, `sizeGigabytes`, `slug`, `status`, or `type`.
	Key pulumi.StringInput `pulumi:"key"`
}

func (GetImagesSortArgs) ElementType

func (GetImagesSortArgs) ElementType() reflect.Type

func (GetImagesSortArgs) ToGetImagesSortOutput

func (i GetImagesSortArgs) ToGetImagesSortOutput() GetImagesSortOutput

func (GetImagesSortArgs) ToGetImagesSortOutputWithContext

func (i GetImagesSortArgs) ToGetImagesSortOutputWithContext(ctx context.Context) GetImagesSortOutput

type GetImagesSortArray

type GetImagesSortArray []GetImagesSortInput

func (GetImagesSortArray) ElementType

func (GetImagesSortArray) ElementType() reflect.Type

func (GetImagesSortArray) ToGetImagesSortArrayOutput

func (i GetImagesSortArray) ToGetImagesSortArrayOutput() GetImagesSortArrayOutput

func (GetImagesSortArray) ToGetImagesSortArrayOutputWithContext

func (i GetImagesSortArray) ToGetImagesSortArrayOutputWithContext(ctx context.Context) GetImagesSortArrayOutput

type GetImagesSortArrayInput

type GetImagesSortArrayInput interface {
	pulumi.Input

	ToGetImagesSortArrayOutput() GetImagesSortArrayOutput
	ToGetImagesSortArrayOutputWithContext(context.Context) GetImagesSortArrayOutput
}

GetImagesSortArrayInput is an input type that accepts GetImagesSortArray and GetImagesSortArrayOutput values. You can construct a concrete instance of `GetImagesSortArrayInput` via:

GetImagesSortArray{ GetImagesSortArgs{...} }

type GetImagesSortArrayOutput

type GetImagesSortArrayOutput struct{ *pulumi.OutputState }

func (GetImagesSortArrayOutput) ElementType

func (GetImagesSortArrayOutput) ElementType() reflect.Type

func (GetImagesSortArrayOutput) Index

func (GetImagesSortArrayOutput) ToGetImagesSortArrayOutput

func (o GetImagesSortArrayOutput) ToGetImagesSortArrayOutput() GetImagesSortArrayOutput

func (GetImagesSortArrayOutput) ToGetImagesSortArrayOutputWithContext

func (o GetImagesSortArrayOutput) ToGetImagesSortArrayOutputWithContext(ctx context.Context) GetImagesSortArrayOutput

type GetImagesSortInput

type GetImagesSortInput interface {
	pulumi.Input

	ToGetImagesSortOutput() GetImagesSortOutput
	ToGetImagesSortOutputWithContext(context.Context) GetImagesSortOutput
}

GetImagesSortInput is an input type that accepts GetImagesSortArgs and GetImagesSortOutput values. You can construct a concrete instance of `GetImagesSortInput` via:

GetImagesSortArgs{...}

type GetImagesSortOutput

type GetImagesSortOutput struct{ *pulumi.OutputState }

func (GetImagesSortOutput) Direction

The sort direction. This may be either `asc` or `desc`.

func (GetImagesSortOutput) ElementType

func (GetImagesSortOutput) ElementType() reflect.Type

func (GetImagesSortOutput) Key

Sort the images by this key. This may be one of `distribution`, `errorMessage`, `id`, `image`, `minDiskSize`, `name`, `private`, `sizeGigabytes`, `slug`, `status`, or `type`.

func (GetImagesSortOutput) ToGetImagesSortOutput

func (o GetImagesSortOutput) ToGetImagesSortOutput() GetImagesSortOutput

func (GetImagesSortOutput) ToGetImagesSortOutputWithContext

func (o GetImagesSortOutput) ToGetImagesSortOutputWithContext(ctx context.Context) GetImagesSortOutput

type GetKubernetesClusterKubeConfig

type GetKubernetesClusterKubeConfig struct {
	// The base64 encoded public certificate used by clients to access the cluster. Only available if token authentication is not supported on your cluster.
	ClientCertificate string `pulumi:"clientCertificate"`
	// The base64 encoded private key used by clients to access the cluster. Only available if token authentication is not supported on your cluster.
	ClientKey string `pulumi:"clientKey"`
	// The base64 encoded public certificate for the cluster's certificate authority.
	ClusterCaCertificate string `pulumi:"clusterCaCertificate"`
	// The date and time when the credentials will expire and need to be regenerated.
	ExpiresAt string `pulumi:"expiresAt"`
	// The URL of the API server on the Kubernetes master node.
	Host string `pulumi:"host"`
	// The full contents of the Kubernetes cluster's kubeconfig file.
	RawConfig string `pulumi:"rawConfig"`
	// The DigitalOcean API access token used by clients to access the cluster.
	Token string `pulumi:"token"`
}

type GetKubernetesClusterKubeConfigArgs

type GetKubernetesClusterKubeConfigArgs struct {
	// The base64 encoded public certificate used by clients to access the cluster. Only available if token authentication is not supported on your cluster.
	ClientCertificate pulumi.StringInput `pulumi:"clientCertificate"`
	// The base64 encoded private key used by clients to access the cluster. Only available if token authentication is not supported on your cluster.
	ClientKey pulumi.StringInput `pulumi:"clientKey"`
	// The base64 encoded public certificate for the cluster's certificate authority.
	ClusterCaCertificate pulumi.StringInput `pulumi:"clusterCaCertificate"`
	// The date and time when the credentials will expire and need to be regenerated.
	ExpiresAt pulumi.StringInput `pulumi:"expiresAt"`
	// The URL of the API server on the Kubernetes master node.
	Host pulumi.StringInput `pulumi:"host"`
	// The full contents of the Kubernetes cluster's kubeconfig file.
	RawConfig pulumi.StringInput `pulumi:"rawConfig"`
	// The DigitalOcean API access token used by clients to access the cluster.
	Token pulumi.StringInput `pulumi:"token"`
}

func (GetKubernetesClusterKubeConfigArgs) ElementType

func (GetKubernetesClusterKubeConfigArgs) ToGetKubernetesClusterKubeConfigOutput

func (i GetKubernetesClusterKubeConfigArgs) ToGetKubernetesClusterKubeConfigOutput() GetKubernetesClusterKubeConfigOutput

func (GetKubernetesClusterKubeConfigArgs) ToGetKubernetesClusterKubeConfigOutputWithContext

func (i GetKubernetesClusterKubeConfigArgs) ToGetKubernetesClusterKubeConfigOutputWithContext(ctx context.Context) GetKubernetesClusterKubeConfigOutput

type GetKubernetesClusterKubeConfigArray

type GetKubernetesClusterKubeConfigArray []GetKubernetesClusterKubeConfigInput

func (GetKubernetesClusterKubeConfigArray) ElementType

func (GetKubernetesClusterKubeConfigArray) ToGetKubernetesClusterKubeConfigArrayOutput

func (i GetKubernetesClusterKubeConfigArray) ToGetKubernetesClusterKubeConfigArrayOutput() GetKubernetesClusterKubeConfigArrayOutput

func (GetKubernetesClusterKubeConfigArray) ToGetKubernetesClusterKubeConfigArrayOutputWithContext

func (i GetKubernetesClusterKubeConfigArray) ToGetKubernetesClusterKubeConfigArrayOutputWithContext(ctx context.Context) GetKubernetesClusterKubeConfigArrayOutput

type GetKubernetesClusterKubeConfigArrayInput

type GetKubernetesClusterKubeConfigArrayInput interface {
	pulumi.Input

	ToGetKubernetesClusterKubeConfigArrayOutput() GetKubernetesClusterKubeConfigArrayOutput
	ToGetKubernetesClusterKubeConfigArrayOutputWithContext(context.Context) GetKubernetesClusterKubeConfigArrayOutput
}

GetKubernetesClusterKubeConfigArrayInput is an input type that accepts GetKubernetesClusterKubeConfigArray and GetKubernetesClusterKubeConfigArrayOutput values. You can construct a concrete instance of `GetKubernetesClusterKubeConfigArrayInput` via:

GetKubernetesClusterKubeConfigArray{ GetKubernetesClusterKubeConfigArgs{...} }

type GetKubernetesClusterKubeConfigArrayOutput

type GetKubernetesClusterKubeConfigArrayOutput struct{ *pulumi.OutputState }

func (GetKubernetesClusterKubeConfigArrayOutput) ElementType

func (GetKubernetesClusterKubeConfigArrayOutput) Index

func (GetKubernetesClusterKubeConfigArrayOutput) ToGetKubernetesClusterKubeConfigArrayOutput

func (o GetKubernetesClusterKubeConfigArrayOutput) ToGetKubernetesClusterKubeConfigArrayOutput() GetKubernetesClusterKubeConfigArrayOutput

func (GetKubernetesClusterKubeConfigArrayOutput) ToGetKubernetesClusterKubeConfigArrayOutputWithContext

func (o GetKubernetesClusterKubeConfigArrayOutput) ToGetKubernetesClusterKubeConfigArrayOutputWithContext(ctx context.Context) GetKubernetesClusterKubeConfigArrayOutput

type GetKubernetesClusterKubeConfigInput

type GetKubernetesClusterKubeConfigInput interface {
	pulumi.Input

	ToGetKubernetesClusterKubeConfigOutput() GetKubernetesClusterKubeConfigOutput
	ToGetKubernetesClusterKubeConfigOutputWithContext(context.Context) GetKubernetesClusterKubeConfigOutput
}

GetKubernetesClusterKubeConfigInput is an input type that accepts GetKubernetesClusterKubeConfigArgs and GetKubernetesClusterKubeConfigOutput values. You can construct a concrete instance of `GetKubernetesClusterKubeConfigInput` via:

GetKubernetesClusterKubeConfigArgs{...}

type GetKubernetesClusterKubeConfigOutput

type GetKubernetesClusterKubeConfigOutput struct{ *pulumi.OutputState }

func (GetKubernetesClusterKubeConfigOutput) ClientCertificate

The base64 encoded public certificate used by clients to access the cluster. Only available if token authentication is not supported on your cluster.

func (GetKubernetesClusterKubeConfigOutput) ClientKey

The base64 encoded private key used by clients to access the cluster. Only available if token authentication is not supported on your cluster.

func (GetKubernetesClusterKubeConfigOutput) ClusterCaCertificate

func (o GetKubernetesClusterKubeConfigOutput) ClusterCaCertificate() pulumi.StringOutput

The base64 encoded public certificate for the cluster's certificate authority.

func (GetKubernetesClusterKubeConfigOutput) ElementType

func (GetKubernetesClusterKubeConfigOutput) ExpiresAt

The date and time when the credentials will expire and need to be regenerated.

func (GetKubernetesClusterKubeConfigOutput) Host

The URL of the API server on the Kubernetes master node.

func (GetKubernetesClusterKubeConfigOutput) RawConfig

The full contents of the Kubernetes cluster's kubeconfig file.

func (GetKubernetesClusterKubeConfigOutput) ToGetKubernetesClusterKubeConfigOutput

func (o GetKubernetesClusterKubeConfigOutput) ToGetKubernetesClusterKubeConfigOutput() GetKubernetesClusterKubeConfigOutput

func (GetKubernetesClusterKubeConfigOutput) ToGetKubernetesClusterKubeConfigOutputWithContext

func (o GetKubernetesClusterKubeConfigOutput) ToGetKubernetesClusterKubeConfigOutputWithContext(ctx context.Context) GetKubernetesClusterKubeConfigOutput

func (GetKubernetesClusterKubeConfigOutput) Token

The DigitalOcean API access token used by clients to access the cluster.

type GetKubernetesClusterMaintenancePolicy added in v4.5.0

type GetKubernetesClusterMaintenancePolicy struct {
	// The day for the service window of the Kubernetes cluster.
	Day string `pulumi:"day"`
	// The duration of the operation.
	Duration string `pulumi:"duration"`
	// The start time of the upgrade operation.
	StartTime string `pulumi:"startTime"`
}

type GetKubernetesClusterMaintenancePolicyArgs added in v4.5.0

type GetKubernetesClusterMaintenancePolicyArgs struct {
	// The day for the service window of the Kubernetes cluster.
	Day pulumi.StringInput `pulumi:"day"`
	// The duration of the operation.
	Duration pulumi.StringInput `pulumi:"duration"`
	// The start time of the upgrade operation.
	StartTime pulumi.StringInput `pulumi:"startTime"`
}

func (GetKubernetesClusterMaintenancePolicyArgs) ElementType added in v4.5.0

func (GetKubernetesClusterMaintenancePolicyArgs) ToGetKubernetesClusterMaintenancePolicyOutput added in v4.5.0

func (i GetKubernetesClusterMaintenancePolicyArgs) ToGetKubernetesClusterMaintenancePolicyOutput() GetKubernetesClusterMaintenancePolicyOutput

func (GetKubernetesClusterMaintenancePolicyArgs) ToGetKubernetesClusterMaintenancePolicyOutputWithContext added in v4.5.0

func (i GetKubernetesClusterMaintenancePolicyArgs) ToGetKubernetesClusterMaintenancePolicyOutputWithContext(ctx context.Context) GetKubernetesClusterMaintenancePolicyOutput

type GetKubernetesClusterMaintenancePolicyArray added in v4.5.0

type GetKubernetesClusterMaintenancePolicyArray []GetKubernetesClusterMaintenancePolicyInput

func (GetKubernetesClusterMaintenancePolicyArray) ElementType added in v4.5.0

func (GetKubernetesClusterMaintenancePolicyArray) ToGetKubernetesClusterMaintenancePolicyArrayOutput added in v4.5.0

func (i GetKubernetesClusterMaintenancePolicyArray) ToGetKubernetesClusterMaintenancePolicyArrayOutput() GetKubernetesClusterMaintenancePolicyArrayOutput

func (GetKubernetesClusterMaintenancePolicyArray) ToGetKubernetesClusterMaintenancePolicyArrayOutputWithContext added in v4.5.0

func (i GetKubernetesClusterMaintenancePolicyArray) ToGetKubernetesClusterMaintenancePolicyArrayOutputWithContext(ctx context.Context) GetKubernetesClusterMaintenancePolicyArrayOutput

type GetKubernetesClusterMaintenancePolicyArrayInput added in v4.5.0

type GetKubernetesClusterMaintenancePolicyArrayInput interface {
	pulumi.Input

	ToGetKubernetesClusterMaintenancePolicyArrayOutput() GetKubernetesClusterMaintenancePolicyArrayOutput
	ToGetKubernetesClusterMaintenancePolicyArrayOutputWithContext(context.Context) GetKubernetesClusterMaintenancePolicyArrayOutput
}

GetKubernetesClusterMaintenancePolicyArrayInput is an input type that accepts GetKubernetesClusterMaintenancePolicyArray and GetKubernetesClusterMaintenancePolicyArrayOutput values. You can construct a concrete instance of `GetKubernetesClusterMaintenancePolicyArrayInput` via:

GetKubernetesClusterMaintenancePolicyArray{ GetKubernetesClusterMaintenancePolicyArgs{...} }

type GetKubernetesClusterMaintenancePolicyArrayOutput added in v4.5.0

type GetKubernetesClusterMaintenancePolicyArrayOutput struct{ *pulumi.OutputState }

func (GetKubernetesClusterMaintenancePolicyArrayOutput) ElementType added in v4.5.0

func (GetKubernetesClusterMaintenancePolicyArrayOutput) Index added in v4.5.0

func (GetKubernetesClusterMaintenancePolicyArrayOutput) ToGetKubernetesClusterMaintenancePolicyArrayOutput added in v4.5.0

func (o GetKubernetesClusterMaintenancePolicyArrayOutput) ToGetKubernetesClusterMaintenancePolicyArrayOutput() GetKubernetesClusterMaintenancePolicyArrayOutput

func (GetKubernetesClusterMaintenancePolicyArrayOutput) ToGetKubernetesClusterMaintenancePolicyArrayOutputWithContext added in v4.5.0

func (o GetKubernetesClusterMaintenancePolicyArrayOutput) ToGetKubernetesClusterMaintenancePolicyArrayOutputWithContext(ctx context.Context) GetKubernetesClusterMaintenancePolicyArrayOutput

type GetKubernetesClusterMaintenancePolicyInput added in v4.5.0

type GetKubernetesClusterMaintenancePolicyInput interface {
	pulumi.Input

	ToGetKubernetesClusterMaintenancePolicyOutput() GetKubernetesClusterMaintenancePolicyOutput
	ToGetKubernetesClusterMaintenancePolicyOutputWithContext(context.Context) GetKubernetesClusterMaintenancePolicyOutput
}

GetKubernetesClusterMaintenancePolicyInput is an input type that accepts GetKubernetesClusterMaintenancePolicyArgs and GetKubernetesClusterMaintenancePolicyOutput values. You can construct a concrete instance of `GetKubernetesClusterMaintenancePolicyInput` via:

GetKubernetesClusterMaintenancePolicyArgs{...}

type GetKubernetesClusterMaintenancePolicyOutput added in v4.5.0

type GetKubernetesClusterMaintenancePolicyOutput struct{ *pulumi.OutputState }

func (GetKubernetesClusterMaintenancePolicyOutput) Day added in v4.5.0

The day for the service window of the Kubernetes cluster.

func (GetKubernetesClusterMaintenancePolicyOutput) Duration added in v4.5.0

The duration of the operation.

func (GetKubernetesClusterMaintenancePolicyOutput) ElementType added in v4.5.0

func (GetKubernetesClusterMaintenancePolicyOutput) StartTime added in v4.5.0

The start time of the upgrade operation.

func (GetKubernetesClusterMaintenancePolicyOutput) ToGetKubernetesClusterMaintenancePolicyOutput added in v4.5.0

func (o GetKubernetesClusterMaintenancePolicyOutput) ToGetKubernetesClusterMaintenancePolicyOutput() GetKubernetesClusterMaintenancePolicyOutput

func (GetKubernetesClusterMaintenancePolicyOutput) ToGetKubernetesClusterMaintenancePolicyOutputWithContext added in v4.5.0

func (o GetKubernetesClusterMaintenancePolicyOutput) ToGetKubernetesClusterMaintenancePolicyOutputWithContext(ctx context.Context) GetKubernetesClusterMaintenancePolicyOutput

type GetKubernetesClusterNodePool

type GetKubernetesClusterNodePool struct {
	// The actual number of nodes in the node pool, which is especially useful when auto-scaling is enabled.
	ActualNodeCount int `pulumi:"actualNodeCount"`
	// A boolean indicating whether auto-scaling is enabled on the node pool.
	AutoScale bool `pulumi:"autoScale"`
	// A unique ID that can be used to identify and reference the node.
	Id string `pulumi:"id"`
	// A map of key/value pairs applied to nodes in the pool. The labels are exposed in the Kubernetes API as labels in the metadata of the corresponding [Node resources](https://kubernetes.io/docs/concepts/architecture/nodes/).
	Labels map[string]string `pulumi:"labels"`
	// If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
	MaxNodes int `pulumi:"maxNodes"`
	// If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.
	MinNodes int `pulumi:"minNodes"`
	// The name of Kubernetes cluster.
	Name string `pulumi:"name"`
	// The number of Droplet instances in the node pool.
	NodeCount int `pulumi:"nodeCount"`
	// A list of nodes in the pool. Each node exports the following attributes:
	Nodes []GetKubernetesClusterNodePoolNode `pulumi:"nodes"`
	// The slug identifier for the type of Droplet used as workers in the node pool.
	Size string `pulumi:"size"`
	// A list of tag names applied to the node pool.
	Tags []string `pulumi:"tags"`
	// A list of taints applied to all nodes in the pool. Each taint exports the following attributes:
	Taints []GetKubernetesClusterNodePoolTaint `pulumi:"taints"`
}

type GetKubernetesClusterNodePoolArgs

type GetKubernetesClusterNodePoolArgs struct {
	// The actual number of nodes in the node pool, which is especially useful when auto-scaling is enabled.
	ActualNodeCount pulumi.IntInput `pulumi:"actualNodeCount"`
	// A boolean indicating whether auto-scaling is enabled on the node pool.
	AutoScale pulumi.BoolInput `pulumi:"autoScale"`
	// A unique ID that can be used to identify and reference the node.
	Id pulumi.StringInput `pulumi:"id"`
	// A map of key/value pairs applied to nodes in the pool. The labels are exposed in the Kubernetes API as labels in the metadata of the corresponding [Node resources](https://kubernetes.io/docs/concepts/architecture/nodes/).
	Labels pulumi.StringMapInput `pulumi:"labels"`
	// If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
	MaxNodes pulumi.IntInput `pulumi:"maxNodes"`
	// If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.
	MinNodes pulumi.IntInput `pulumi:"minNodes"`
	// The name of Kubernetes cluster.
	Name pulumi.StringInput `pulumi:"name"`
	// The number of Droplet instances in the node pool.
	NodeCount pulumi.IntInput `pulumi:"nodeCount"`
	// A list of nodes in the pool. Each node exports the following attributes:
	Nodes GetKubernetesClusterNodePoolNodeArrayInput `pulumi:"nodes"`
	// The slug identifier for the type of Droplet used as workers in the node pool.
	Size pulumi.StringInput `pulumi:"size"`
	// A list of tag names applied to the node pool.
	Tags pulumi.StringArrayInput `pulumi:"tags"`
	// A list of taints applied to all nodes in the pool. Each taint exports the following attributes:
	Taints GetKubernetesClusterNodePoolTaintArrayInput `pulumi:"taints"`
}

func (GetKubernetesClusterNodePoolArgs) ElementType

func (GetKubernetesClusterNodePoolArgs) ToGetKubernetesClusterNodePoolOutput

func (i GetKubernetesClusterNodePoolArgs) ToGetKubernetesClusterNodePoolOutput() GetKubernetesClusterNodePoolOutput

func (GetKubernetesClusterNodePoolArgs) ToGetKubernetesClusterNodePoolOutputWithContext

func (i GetKubernetesClusterNodePoolArgs) ToGetKubernetesClusterNodePoolOutputWithContext(ctx context.Context) GetKubernetesClusterNodePoolOutput

type GetKubernetesClusterNodePoolArray

type GetKubernetesClusterNodePoolArray []GetKubernetesClusterNodePoolInput

func (GetKubernetesClusterNodePoolArray) ElementType

func (GetKubernetesClusterNodePoolArray) ToGetKubernetesClusterNodePoolArrayOutput

func (i GetKubernetesClusterNodePoolArray) ToGetKubernetesClusterNodePoolArrayOutput() GetKubernetesClusterNodePoolArrayOutput

func (GetKubernetesClusterNodePoolArray) ToGetKubernetesClusterNodePoolArrayOutputWithContext

func (i GetKubernetesClusterNodePoolArray) ToGetKubernetesClusterNodePoolArrayOutputWithContext(ctx context.Context) GetKubernetesClusterNodePoolArrayOutput

type GetKubernetesClusterNodePoolArrayInput

type GetKubernetesClusterNodePoolArrayInput interface {
	pulumi.Input

	ToGetKubernetesClusterNodePoolArrayOutput() GetKubernetesClusterNodePoolArrayOutput
	ToGetKubernetesClusterNodePoolArrayOutputWithContext(context.Context) GetKubernetesClusterNodePoolArrayOutput
}

GetKubernetesClusterNodePoolArrayInput is an input type that accepts GetKubernetesClusterNodePoolArray and GetKubernetesClusterNodePoolArrayOutput values. You can construct a concrete instance of `GetKubernetesClusterNodePoolArrayInput` via:

GetKubernetesClusterNodePoolArray{ GetKubernetesClusterNodePoolArgs{...} }

type GetKubernetesClusterNodePoolArrayOutput

type GetKubernetesClusterNodePoolArrayOutput struct{ *pulumi.OutputState }

func (GetKubernetesClusterNodePoolArrayOutput) ElementType

func (GetKubernetesClusterNodePoolArrayOutput) Index

func (GetKubernetesClusterNodePoolArrayOutput) ToGetKubernetesClusterNodePoolArrayOutput

func (o GetKubernetesClusterNodePoolArrayOutput) ToGetKubernetesClusterNodePoolArrayOutput() GetKubernetesClusterNodePoolArrayOutput

func (GetKubernetesClusterNodePoolArrayOutput) ToGetKubernetesClusterNodePoolArrayOutputWithContext

func (o GetKubernetesClusterNodePoolArrayOutput) ToGetKubernetesClusterNodePoolArrayOutputWithContext(ctx context.Context) GetKubernetesClusterNodePoolArrayOutput

type GetKubernetesClusterNodePoolInput

type GetKubernetesClusterNodePoolInput interface {
	pulumi.Input

	ToGetKubernetesClusterNodePoolOutput() GetKubernetesClusterNodePoolOutput
	ToGetKubernetesClusterNodePoolOutputWithContext(context.Context) GetKubernetesClusterNodePoolOutput
}

GetKubernetesClusterNodePoolInput is an input type that accepts GetKubernetesClusterNodePoolArgs and GetKubernetesClusterNodePoolOutput values. You can construct a concrete instance of `GetKubernetesClusterNodePoolInput` via:

GetKubernetesClusterNodePoolArgs{...}

type GetKubernetesClusterNodePoolNode

type GetKubernetesClusterNodePoolNode struct {
	// The date and time when the node was created.
	CreatedAt string `pulumi:"createdAt"`
	DropletId string `pulumi:"dropletId"`
	// A unique ID that can be used to identify and reference the node.
	Id string `pulumi:"id"`
	// The name of Kubernetes cluster.
	Name string `pulumi:"name"`
	// A string indicating the current status of the individual node.
	Status string `pulumi:"status"`
	// The date and time when the node was last updated.
	UpdatedAt string `pulumi:"updatedAt"`
}

type GetKubernetesClusterNodePoolNodeArgs

type GetKubernetesClusterNodePoolNodeArgs struct {
	// The date and time when the node was created.
	CreatedAt pulumi.StringInput `pulumi:"createdAt"`
	DropletId pulumi.StringInput `pulumi:"dropletId"`
	// A unique ID that can be used to identify and reference the node.
	Id pulumi.StringInput `pulumi:"id"`
	// The name of Kubernetes cluster.
	Name pulumi.StringInput `pulumi:"name"`
	// A string indicating the current status of the individual node.
	Status pulumi.StringInput `pulumi:"status"`
	// The date and time when the node was last updated.
	UpdatedAt pulumi.StringInput `pulumi:"updatedAt"`
}

func (GetKubernetesClusterNodePoolNodeArgs) ElementType

func (GetKubernetesClusterNodePoolNodeArgs) ToGetKubernetesClusterNodePoolNodeOutput

func (i GetKubernetesClusterNodePoolNodeArgs) ToGetKubernetesClusterNodePoolNodeOutput() GetKubernetesClusterNodePoolNodeOutput

func (GetKubernetesClusterNodePoolNodeArgs) ToGetKubernetesClusterNodePoolNodeOutputWithContext

func (i GetKubernetesClusterNodePoolNodeArgs) ToGetKubernetesClusterNodePoolNodeOutputWithContext(ctx context.Context) GetKubernetesClusterNodePoolNodeOutput

type GetKubernetesClusterNodePoolNodeArray

type GetKubernetesClusterNodePoolNodeArray []GetKubernetesClusterNodePoolNodeInput

func (GetKubernetesClusterNodePoolNodeArray) ElementType

func (GetKubernetesClusterNodePoolNodeArray) ToGetKubernetesClusterNodePoolNodeArrayOutput

func (i GetKubernetesClusterNodePoolNodeArray) ToGetKubernetesClusterNodePoolNodeArrayOutput() GetKubernetesClusterNodePoolNodeArrayOutput

func (GetKubernetesClusterNodePoolNodeArray) ToGetKubernetesClusterNodePoolNodeArrayOutputWithContext

func (i GetKubernetesClusterNodePoolNodeArray) ToGetKubernetesClusterNodePoolNodeArrayOutputWithContext(ctx context.Context) GetKubernetesClusterNodePoolNodeArrayOutput

type GetKubernetesClusterNodePoolNodeArrayInput

type GetKubernetesClusterNodePoolNodeArrayInput interface {
	pulumi.Input

	ToGetKubernetesClusterNodePoolNodeArrayOutput() GetKubernetesClusterNodePoolNodeArrayOutput
	ToGetKubernetesClusterNodePoolNodeArrayOutputWithContext(context.Context) GetKubernetesClusterNodePoolNodeArrayOutput
}

GetKubernetesClusterNodePoolNodeArrayInput is an input type that accepts GetKubernetesClusterNodePoolNodeArray and GetKubernetesClusterNodePoolNodeArrayOutput values. You can construct a concrete instance of `GetKubernetesClusterNodePoolNodeArrayInput` via:

GetKubernetesClusterNodePoolNodeArray{ GetKubernetesClusterNodePoolNodeArgs{...} }

type GetKubernetesClusterNodePoolNodeArrayOutput

type GetKubernetesClusterNodePoolNodeArrayOutput struct{ *pulumi.OutputState }

func (GetKubernetesClusterNodePoolNodeArrayOutput) ElementType

func (GetKubernetesClusterNodePoolNodeArrayOutput) Index

func (GetKubernetesClusterNodePoolNodeArrayOutput) ToGetKubernetesClusterNodePoolNodeArrayOutput

func (o GetKubernetesClusterNodePoolNodeArrayOutput) ToGetKubernetesClusterNodePoolNodeArrayOutput() GetKubernetesClusterNodePoolNodeArrayOutput

func (GetKubernetesClusterNodePoolNodeArrayOutput) ToGetKubernetesClusterNodePoolNodeArrayOutputWithContext

func (o GetKubernetesClusterNodePoolNodeArrayOutput) ToGetKubernetesClusterNodePoolNodeArrayOutputWithContext(ctx context.Context) GetKubernetesClusterNodePoolNodeArrayOutput

type GetKubernetesClusterNodePoolNodeInput

type GetKubernetesClusterNodePoolNodeInput interface {
	pulumi.Input

	ToGetKubernetesClusterNodePoolNodeOutput() GetKubernetesClusterNodePoolNodeOutput
	ToGetKubernetesClusterNodePoolNodeOutputWithContext(context.Context) GetKubernetesClusterNodePoolNodeOutput
}

GetKubernetesClusterNodePoolNodeInput is an input type that accepts GetKubernetesClusterNodePoolNodeArgs and GetKubernetesClusterNodePoolNodeOutput values. You can construct a concrete instance of `GetKubernetesClusterNodePoolNodeInput` via:

GetKubernetesClusterNodePoolNodeArgs{...}

type GetKubernetesClusterNodePoolNodeOutput

type GetKubernetesClusterNodePoolNodeOutput struct{ *pulumi.OutputState }

func (GetKubernetesClusterNodePoolNodeOutput) CreatedAt

The date and time when the node was created.

func (GetKubernetesClusterNodePoolNodeOutput) DropletId

func (GetKubernetesClusterNodePoolNodeOutput) ElementType

func (GetKubernetesClusterNodePoolNodeOutput) Id

A unique ID that can be used to identify and reference the node.

func (GetKubernetesClusterNodePoolNodeOutput) Name

The name of Kubernetes cluster.

func (GetKubernetesClusterNodePoolNodeOutput) Status

A string indicating the current status of the individual node.

func (GetKubernetesClusterNodePoolNodeOutput) ToGetKubernetesClusterNodePoolNodeOutput

func (o GetKubernetesClusterNodePoolNodeOutput) ToGetKubernetesClusterNodePoolNodeOutput() GetKubernetesClusterNodePoolNodeOutput

func (GetKubernetesClusterNodePoolNodeOutput) ToGetKubernetesClusterNodePoolNodeOutputWithContext

func (o GetKubernetesClusterNodePoolNodeOutput) ToGetKubernetesClusterNodePoolNodeOutputWithContext(ctx context.Context) GetKubernetesClusterNodePoolNodeOutput

func (GetKubernetesClusterNodePoolNodeOutput) UpdatedAt

The date and time when the node was last updated.

type GetKubernetesClusterNodePoolOutput

type GetKubernetesClusterNodePoolOutput struct{ *pulumi.OutputState }

func (GetKubernetesClusterNodePoolOutput) ActualNodeCount

The actual number of nodes in the node pool, which is especially useful when auto-scaling is enabled.

func (GetKubernetesClusterNodePoolOutput) AutoScale

A boolean indicating whether auto-scaling is enabled on the node pool.

func (GetKubernetesClusterNodePoolOutput) ElementType

func (GetKubernetesClusterNodePoolOutput) Id

A unique ID that can be used to identify and reference the node.

func (GetKubernetesClusterNodePoolOutput) Labels

A map of key/value pairs applied to nodes in the pool. The labels are exposed in the Kubernetes API as labels in the metadata of the corresponding [Node resources](https://kubernetes.io/docs/concepts/architecture/nodes/).

func (GetKubernetesClusterNodePoolOutput) MaxNodes

If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.

func (GetKubernetesClusterNodePoolOutput) MinNodes

If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.

func (GetKubernetesClusterNodePoolOutput) Name

The name of Kubernetes cluster.

func (GetKubernetesClusterNodePoolOutput) NodeCount

The number of Droplet instances in the node pool.

func (GetKubernetesClusterNodePoolOutput) Nodes

A list of nodes in the pool. Each node exports the following attributes:

func (GetKubernetesClusterNodePoolOutput) Size

The slug identifier for the type of Droplet used as workers in the node pool.

func (GetKubernetesClusterNodePoolOutput) Tags

A list of tag names applied to the node pool.

func (GetKubernetesClusterNodePoolOutput) Taints

A list of taints applied to all nodes in the pool. Each taint exports the following attributes:

func (GetKubernetesClusterNodePoolOutput) ToGetKubernetesClusterNodePoolOutput

func (o GetKubernetesClusterNodePoolOutput) ToGetKubernetesClusterNodePoolOutput() GetKubernetesClusterNodePoolOutput

func (GetKubernetesClusterNodePoolOutput) ToGetKubernetesClusterNodePoolOutputWithContext

func (o GetKubernetesClusterNodePoolOutput) ToGetKubernetesClusterNodePoolOutputWithContext(ctx context.Context) GetKubernetesClusterNodePoolOutput

type GetKubernetesClusterNodePoolTaint

type GetKubernetesClusterNodePoolTaint struct {
	// How the node reacts to pods that it won't tolerate. Available effect values are: "NoSchedule", "PreferNoSchedule", "NoExecute".
	Effect string `pulumi:"effect"`
	// An arbitrary string. The "key" and "value" fields of the "taint" object form a key-value pair.
	Key string `pulumi:"key"`
	// An arbitrary string. The "key" and "value" fields of the "taint" object form a key-value pair.
	Value string `pulumi:"value"`
}

type GetKubernetesClusterNodePoolTaintArgs

type GetKubernetesClusterNodePoolTaintArgs struct {
	// How the node reacts to pods that it won't tolerate. Available effect values are: "NoSchedule", "PreferNoSchedule", "NoExecute".
	Effect pulumi.StringInput `pulumi:"effect"`
	// An arbitrary string. The "key" and "value" fields of the "taint" object form a key-value pair.
	Key pulumi.StringInput `pulumi:"key"`
	// An arbitrary string. The "key" and "value" fields of the "taint" object form a key-value pair.
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetKubernetesClusterNodePoolTaintArgs) ElementType

func (GetKubernetesClusterNodePoolTaintArgs) ToGetKubernetesClusterNodePoolTaintOutput

func (i GetKubernetesClusterNodePoolTaintArgs) ToGetKubernetesClusterNodePoolTaintOutput() GetKubernetesClusterNodePoolTaintOutput

func (GetKubernetesClusterNodePoolTaintArgs) ToGetKubernetesClusterNodePoolTaintOutputWithContext

func (i GetKubernetesClusterNodePoolTaintArgs) ToGetKubernetesClusterNodePoolTaintOutputWithContext(ctx context.Context) GetKubernetesClusterNodePoolTaintOutput

type GetKubernetesClusterNodePoolTaintArray

type GetKubernetesClusterNodePoolTaintArray []GetKubernetesClusterNodePoolTaintInput

func (GetKubernetesClusterNodePoolTaintArray) ElementType

func (GetKubernetesClusterNodePoolTaintArray) ToGetKubernetesClusterNodePoolTaintArrayOutput

func (i GetKubernetesClusterNodePoolTaintArray) ToGetKubernetesClusterNodePoolTaintArrayOutput() GetKubernetesClusterNodePoolTaintArrayOutput

func (GetKubernetesClusterNodePoolTaintArray) ToGetKubernetesClusterNodePoolTaintArrayOutputWithContext

func (i GetKubernetesClusterNodePoolTaintArray) ToGetKubernetesClusterNodePoolTaintArrayOutputWithContext(ctx context.Context) GetKubernetesClusterNodePoolTaintArrayOutput

type GetKubernetesClusterNodePoolTaintArrayInput

type GetKubernetesClusterNodePoolTaintArrayInput interface {
	pulumi.Input

	ToGetKubernetesClusterNodePoolTaintArrayOutput() GetKubernetesClusterNodePoolTaintArrayOutput
	ToGetKubernetesClusterNodePoolTaintArrayOutputWithContext(context.Context) GetKubernetesClusterNodePoolTaintArrayOutput
}

GetKubernetesClusterNodePoolTaintArrayInput is an input type that accepts GetKubernetesClusterNodePoolTaintArray and GetKubernetesClusterNodePoolTaintArrayOutput values. You can construct a concrete instance of `GetKubernetesClusterNodePoolTaintArrayInput` via:

GetKubernetesClusterNodePoolTaintArray{ GetKubernetesClusterNodePoolTaintArgs{...} }

type GetKubernetesClusterNodePoolTaintArrayOutput

type GetKubernetesClusterNodePoolTaintArrayOutput struct{ *pulumi.OutputState }

func (GetKubernetesClusterNodePoolTaintArrayOutput) ElementType

func (GetKubernetesClusterNodePoolTaintArrayOutput) Index

func (GetKubernetesClusterNodePoolTaintArrayOutput) ToGetKubernetesClusterNodePoolTaintArrayOutput

func (o GetKubernetesClusterNodePoolTaintArrayOutput) ToGetKubernetesClusterNodePoolTaintArrayOutput() GetKubernetesClusterNodePoolTaintArrayOutput

func (GetKubernetesClusterNodePoolTaintArrayOutput) ToGetKubernetesClusterNodePoolTaintArrayOutputWithContext

func (o GetKubernetesClusterNodePoolTaintArrayOutput) ToGetKubernetesClusterNodePoolTaintArrayOutputWithContext(ctx context.Context) GetKubernetesClusterNodePoolTaintArrayOutput

type GetKubernetesClusterNodePoolTaintInput

type GetKubernetesClusterNodePoolTaintInput interface {
	pulumi.Input

	ToGetKubernetesClusterNodePoolTaintOutput() GetKubernetesClusterNodePoolTaintOutput
	ToGetKubernetesClusterNodePoolTaintOutputWithContext(context.Context) GetKubernetesClusterNodePoolTaintOutput
}

GetKubernetesClusterNodePoolTaintInput is an input type that accepts GetKubernetesClusterNodePoolTaintArgs and GetKubernetesClusterNodePoolTaintOutput values. You can construct a concrete instance of `GetKubernetesClusterNodePoolTaintInput` via:

GetKubernetesClusterNodePoolTaintArgs{...}

type GetKubernetesClusterNodePoolTaintOutput

type GetKubernetesClusterNodePoolTaintOutput struct{ *pulumi.OutputState }

func (GetKubernetesClusterNodePoolTaintOutput) Effect

How the node reacts to pods that it won't tolerate. Available effect values are: "NoSchedule", "PreferNoSchedule", "NoExecute".

func (GetKubernetesClusterNodePoolTaintOutput) ElementType

func (GetKubernetesClusterNodePoolTaintOutput) Key

An arbitrary string. The "key" and "value" fields of the "taint" object form a key-value pair.

func (GetKubernetesClusterNodePoolTaintOutput) ToGetKubernetesClusterNodePoolTaintOutput

func (o GetKubernetesClusterNodePoolTaintOutput) ToGetKubernetesClusterNodePoolTaintOutput() GetKubernetesClusterNodePoolTaintOutput

func (GetKubernetesClusterNodePoolTaintOutput) ToGetKubernetesClusterNodePoolTaintOutputWithContext

func (o GetKubernetesClusterNodePoolTaintOutput) ToGetKubernetesClusterNodePoolTaintOutputWithContext(ctx context.Context) GetKubernetesClusterNodePoolTaintOutput

func (GetKubernetesClusterNodePoolTaintOutput) Value

An arbitrary string. The "key" and "value" fields of the "taint" object form a key-value pair.

type GetKubernetesVersionsArgs

type GetKubernetesVersionsArgs struct {
	// If provided, the provider will only return versions that match the string prefix. For example, `1.15.` will match all 1.15.x series releases.
	VersionPrefix *string `pulumi:"versionPrefix"`
}

A collection of arguments for invoking getKubernetesVersions.

type GetKubernetesVersionsOutputArgs added in v4.9.0

type GetKubernetesVersionsOutputArgs struct {
	// If provided, the provider will only return versions that match the string prefix. For example, `1.15.` will match all 1.15.x series releases.
	VersionPrefix pulumi.StringPtrInput `pulumi:"versionPrefix"`
}

A collection of arguments for invoking getKubernetesVersions.

func (GetKubernetesVersionsOutputArgs) ElementType added in v4.9.0

type GetKubernetesVersionsResult

type GetKubernetesVersionsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The most recent version available.
	LatestVersion string `pulumi:"latestVersion"`
	// A list of available versions.
	ValidVersions []string `pulumi:"validVersions"`
	VersionPrefix *string  `pulumi:"versionPrefix"`
}

A collection of values returned by getKubernetesVersions.

func GetKubernetesVersions

func GetKubernetesVersions(ctx *pulumi.Context, args *GetKubernetesVersionsArgs, opts ...pulumi.InvokeOption) (*GetKubernetesVersionsResult, error)

Provides access to the available DigitalOcean Kubernetes Service versions.

## Example Usage

### Output a list of all available versions

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := digitalocean.GetKubernetesVersions(ctx, nil, nil)
		if err != nil {
			return err
		}
		ctx.Export("k8s-versions", example.ValidVersions)
		return nil
	})
}

```

### Create a Kubernetes cluster using the most recent version available

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := digitalocean.GetKubernetesVersions(ctx, nil, nil)
		if err != nil {
			return err
		}
		_, err = digitalocean.NewKubernetesCluster(ctx, "example-cluster", &digitalocean.KubernetesClusterArgs{
			Region:  pulumi.String(digitalocean.RegionLON1),
			Version: pulumi.String(example.LatestVersion),
			NodePool: &digitalocean.KubernetesClusterNodePoolArgs{
				Name:      pulumi.String("default"),
				Size:      pulumi.String("s-1vcpu-2gb"),
				NodeCount: pulumi.Int(3),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Pin a Kubernetes cluster to a specific minor version

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := digitalocean.GetKubernetesVersions(ctx, &digitalocean.GetKubernetesVersionsArgs{
			VersionPrefix: pulumi.StringRef("1.22."),
		}, nil)
		if err != nil {
			return err
		}
		_, err = digitalocean.NewKubernetesCluster(ctx, "example-cluster", &digitalocean.KubernetesClusterArgs{
			Region:  pulumi.String(digitalocean.RegionLON1),
			Version: pulumi.String(example.LatestVersion),
			NodePool: &digitalocean.KubernetesClusterNodePoolArgs{
				Name:      pulumi.String("default"),
				Size:      pulumi.String("s-1vcpu-2gb"),
				NodeCount: pulumi.Int(3),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetKubernetesVersionsResultOutput added in v4.9.0

type GetKubernetesVersionsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getKubernetesVersions.

func GetKubernetesVersionsOutput added in v4.9.0

func (GetKubernetesVersionsResultOutput) ElementType added in v4.9.0

func (GetKubernetesVersionsResultOutput) Id added in v4.9.0

The provider-assigned unique ID for this managed resource.

func (GetKubernetesVersionsResultOutput) LatestVersion added in v4.9.0

The most recent version available.

func (GetKubernetesVersionsResultOutput) ToGetKubernetesVersionsResultOutput added in v4.9.0

func (o GetKubernetesVersionsResultOutput) ToGetKubernetesVersionsResultOutput() GetKubernetesVersionsResultOutput

func (GetKubernetesVersionsResultOutput) ToGetKubernetesVersionsResultOutputWithContext added in v4.9.0

func (o GetKubernetesVersionsResultOutput) ToGetKubernetesVersionsResultOutputWithContext(ctx context.Context) GetKubernetesVersionsResultOutput

func (GetKubernetesVersionsResultOutput) ValidVersions added in v4.9.0

A list of available versions.

func (GetKubernetesVersionsResultOutput) VersionPrefix added in v4.9.0

type GetLoadBalancerDomain added in v4.28.0

type GetLoadBalancerDomain struct {
	// certificate ID for TLS handshaking
	CertificateId string `pulumi:"certificateId"`
	// name of certificate required for TLS handshaking
	CertificateName string `pulumi:"certificateName"`
	// flag indicating if domain is managed by DigitalOcean
	IsManaged bool `pulumi:"isManaged"`
	// The name of load balancer.
	Name string `pulumi:"name"`
	// list of domain SSL validation errors
	SslValidationErrorReasons []string `pulumi:"sslValidationErrorReasons"`
	// list of domain verification errors
	VerificationErrorReasons []string `pulumi:"verificationErrorReasons"`
}

type GetLoadBalancerDomainArgs added in v4.28.0

type GetLoadBalancerDomainArgs struct {
	// certificate ID for TLS handshaking
	CertificateId pulumi.StringInput `pulumi:"certificateId"`
	// name of certificate required for TLS handshaking
	CertificateName pulumi.StringInput `pulumi:"certificateName"`
	// flag indicating if domain is managed by DigitalOcean
	IsManaged pulumi.BoolInput `pulumi:"isManaged"`
	// The name of load balancer.
	Name pulumi.StringInput `pulumi:"name"`
	// list of domain SSL validation errors
	SslValidationErrorReasons pulumi.StringArrayInput `pulumi:"sslValidationErrorReasons"`
	// list of domain verification errors
	VerificationErrorReasons pulumi.StringArrayInput `pulumi:"verificationErrorReasons"`
}

func (GetLoadBalancerDomainArgs) ElementType added in v4.28.0

func (GetLoadBalancerDomainArgs) ElementType() reflect.Type

func (GetLoadBalancerDomainArgs) ToGetLoadBalancerDomainOutput added in v4.28.0

func (i GetLoadBalancerDomainArgs) ToGetLoadBalancerDomainOutput() GetLoadBalancerDomainOutput

func (GetLoadBalancerDomainArgs) ToGetLoadBalancerDomainOutputWithContext added in v4.28.0

func (i GetLoadBalancerDomainArgs) ToGetLoadBalancerDomainOutputWithContext(ctx context.Context) GetLoadBalancerDomainOutput

type GetLoadBalancerDomainArray added in v4.28.0

type GetLoadBalancerDomainArray []GetLoadBalancerDomainInput

func (GetLoadBalancerDomainArray) ElementType added in v4.28.0

func (GetLoadBalancerDomainArray) ElementType() reflect.Type

func (GetLoadBalancerDomainArray) ToGetLoadBalancerDomainArrayOutput added in v4.28.0

func (i GetLoadBalancerDomainArray) ToGetLoadBalancerDomainArrayOutput() GetLoadBalancerDomainArrayOutput

func (GetLoadBalancerDomainArray) ToGetLoadBalancerDomainArrayOutputWithContext added in v4.28.0

func (i GetLoadBalancerDomainArray) ToGetLoadBalancerDomainArrayOutputWithContext(ctx context.Context) GetLoadBalancerDomainArrayOutput

type GetLoadBalancerDomainArrayInput added in v4.28.0

type GetLoadBalancerDomainArrayInput interface {
	pulumi.Input

	ToGetLoadBalancerDomainArrayOutput() GetLoadBalancerDomainArrayOutput
	ToGetLoadBalancerDomainArrayOutputWithContext(context.Context) GetLoadBalancerDomainArrayOutput
}

GetLoadBalancerDomainArrayInput is an input type that accepts GetLoadBalancerDomainArray and GetLoadBalancerDomainArrayOutput values. You can construct a concrete instance of `GetLoadBalancerDomainArrayInput` via:

GetLoadBalancerDomainArray{ GetLoadBalancerDomainArgs{...} }

type GetLoadBalancerDomainArrayOutput added in v4.28.0

type GetLoadBalancerDomainArrayOutput struct{ *pulumi.OutputState }

func (GetLoadBalancerDomainArrayOutput) ElementType added in v4.28.0

func (GetLoadBalancerDomainArrayOutput) Index added in v4.28.0

func (GetLoadBalancerDomainArrayOutput) ToGetLoadBalancerDomainArrayOutput added in v4.28.0

func (o GetLoadBalancerDomainArrayOutput) ToGetLoadBalancerDomainArrayOutput() GetLoadBalancerDomainArrayOutput

func (GetLoadBalancerDomainArrayOutput) ToGetLoadBalancerDomainArrayOutputWithContext added in v4.28.0

func (o GetLoadBalancerDomainArrayOutput) ToGetLoadBalancerDomainArrayOutputWithContext(ctx context.Context) GetLoadBalancerDomainArrayOutput

type GetLoadBalancerDomainInput added in v4.28.0

type GetLoadBalancerDomainInput interface {
	pulumi.Input

	ToGetLoadBalancerDomainOutput() GetLoadBalancerDomainOutput
	ToGetLoadBalancerDomainOutputWithContext(context.Context) GetLoadBalancerDomainOutput
}

GetLoadBalancerDomainInput is an input type that accepts GetLoadBalancerDomainArgs and GetLoadBalancerDomainOutput values. You can construct a concrete instance of `GetLoadBalancerDomainInput` via:

GetLoadBalancerDomainArgs{...}

type GetLoadBalancerDomainOutput added in v4.28.0

type GetLoadBalancerDomainOutput struct{ *pulumi.OutputState }

func (GetLoadBalancerDomainOutput) CertificateId added in v4.28.0

certificate ID for TLS handshaking

func (GetLoadBalancerDomainOutput) CertificateName added in v4.28.0

func (o GetLoadBalancerDomainOutput) CertificateName() pulumi.StringOutput

name of certificate required for TLS handshaking

func (GetLoadBalancerDomainOutput) ElementType added in v4.28.0

func (GetLoadBalancerDomainOutput) IsManaged added in v4.28.0

flag indicating if domain is managed by DigitalOcean

func (GetLoadBalancerDomainOutput) Name added in v4.28.0

The name of load balancer.

func (GetLoadBalancerDomainOutput) SslValidationErrorReasons added in v4.28.0

func (o GetLoadBalancerDomainOutput) SslValidationErrorReasons() pulumi.StringArrayOutput

list of domain SSL validation errors

func (GetLoadBalancerDomainOutput) ToGetLoadBalancerDomainOutput added in v4.28.0

func (o GetLoadBalancerDomainOutput) ToGetLoadBalancerDomainOutput() GetLoadBalancerDomainOutput

func (GetLoadBalancerDomainOutput) ToGetLoadBalancerDomainOutputWithContext added in v4.28.0

func (o GetLoadBalancerDomainOutput) ToGetLoadBalancerDomainOutputWithContext(ctx context.Context) GetLoadBalancerDomainOutput

func (GetLoadBalancerDomainOutput) VerificationErrorReasons added in v4.28.0

func (o GetLoadBalancerDomainOutput) VerificationErrorReasons() pulumi.StringArrayOutput

list of domain verification errors

type GetLoadBalancerFirewall added in v4.18.0

type GetLoadBalancerFirewall struct {
	// the rules for ALLOWING traffic to the LB (strings in the form: 'ip:1.2.3.4' or 'cidr:1.2.0.0/16')
	Allows []string `pulumi:"allows"`
	// the rules for DENYING traffic to the LB (strings in the form: 'ip:1.2.3.4' or 'cidr:1.2.0.0/16')
	Denies []string `pulumi:"denies"`
}

type GetLoadBalancerFirewallArgs added in v4.18.0

type GetLoadBalancerFirewallArgs struct {
	// the rules for ALLOWING traffic to the LB (strings in the form: 'ip:1.2.3.4' or 'cidr:1.2.0.0/16')
	Allows pulumi.StringArrayInput `pulumi:"allows"`
	// the rules for DENYING traffic to the LB (strings in the form: 'ip:1.2.3.4' or 'cidr:1.2.0.0/16')
	Denies pulumi.StringArrayInput `pulumi:"denies"`
}

func (GetLoadBalancerFirewallArgs) ElementType added in v4.18.0

func (GetLoadBalancerFirewallArgs) ToGetLoadBalancerFirewallOutput added in v4.18.0

func (i GetLoadBalancerFirewallArgs) ToGetLoadBalancerFirewallOutput() GetLoadBalancerFirewallOutput

func (GetLoadBalancerFirewallArgs) ToGetLoadBalancerFirewallOutputWithContext added in v4.18.0

func (i GetLoadBalancerFirewallArgs) ToGetLoadBalancerFirewallOutputWithContext(ctx context.Context) GetLoadBalancerFirewallOutput

type GetLoadBalancerFirewallArray added in v4.18.0

type GetLoadBalancerFirewallArray []GetLoadBalancerFirewallInput

func (GetLoadBalancerFirewallArray) ElementType added in v4.18.0

func (GetLoadBalancerFirewallArray) ToGetLoadBalancerFirewallArrayOutput added in v4.18.0

func (i GetLoadBalancerFirewallArray) ToGetLoadBalancerFirewallArrayOutput() GetLoadBalancerFirewallArrayOutput

func (GetLoadBalancerFirewallArray) ToGetLoadBalancerFirewallArrayOutputWithContext added in v4.18.0

func (i GetLoadBalancerFirewallArray) ToGetLoadBalancerFirewallArrayOutputWithContext(ctx context.Context) GetLoadBalancerFirewallArrayOutput

type GetLoadBalancerFirewallArrayInput added in v4.18.0

type GetLoadBalancerFirewallArrayInput interface {
	pulumi.Input

	ToGetLoadBalancerFirewallArrayOutput() GetLoadBalancerFirewallArrayOutput
	ToGetLoadBalancerFirewallArrayOutputWithContext(context.Context) GetLoadBalancerFirewallArrayOutput
}

GetLoadBalancerFirewallArrayInput is an input type that accepts GetLoadBalancerFirewallArray and GetLoadBalancerFirewallArrayOutput values. You can construct a concrete instance of `GetLoadBalancerFirewallArrayInput` via:

GetLoadBalancerFirewallArray{ GetLoadBalancerFirewallArgs{...} }

type GetLoadBalancerFirewallArrayOutput added in v4.18.0

type GetLoadBalancerFirewallArrayOutput struct{ *pulumi.OutputState }

func (GetLoadBalancerFirewallArrayOutput) ElementType added in v4.18.0

func (GetLoadBalancerFirewallArrayOutput) Index added in v4.18.0

func (GetLoadBalancerFirewallArrayOutput) ToGetLoadBalancerFirewallArrayOutput added in v4.18.0

func (o GetLoadBalancerFirewallArrayOutput) ToGetLoadBalancerFirewallArrayOutput() GetLoadBalancerFirewallArrayOutput

func (GetLoadBalancerFirewallArrayOutput) ToGetLoadBalancerFirewallArrayOutputWithContext added in v4.18.0

func (o GetLoadBalancerFirewallArrayOutput) ToGetLoadBalancerFirewallArrayOutputWithContext(ctx context.Context) GetLoadBalancerFirewallArrayOutput

type GetLoadBalancerFirewallInput added in v4.18.0

type GetLoadBalancerFirewallInput interface {
	pulumi.Input

	ToGetLoadBalancerFirewallOutput() GetLoadBalancerFirewallOutput
	ToGetLoadBalancerFirewallOutputWithContext(context.Context) GetLoadBalancerFirewallOutput
}

GetLoadBalancerFirewallInput is an input type that accepts GetLoadBalancerFirewallArgs and GetLoadBalancerFirewallOutput values. You can construct a concrete instance of `GetLoadBalancerFirewallInput` via:

GetLoadBalancerFirewallArgs{...}

type GetLoadBalancerFirewallOutput added in v4.18.0

type GetLoadBalancerFirewallOutput struct{ *pulumi.OutputState }

func (GetLoadBalancerFirewallOutput) Allows added in v4.18.0

the rules for ALLOWING traffic to the LB (strings in the form: 'ip:1.2.3.4' or 'cidr:1.2.0.0/16')

func (GetLoadBalancerFirewallOutput) Denies added in v4.18.0

the rules for DENYING traffic to the LB (strings in the form: 'ip:1.2.3.4' or 'cidr:1.2.0.0/16')

func (GetLoadBalancerFirewallOutput) ElementType added in v4.18.0

func (GetLoadBalancerFirewallOutput) ToGetLoadBalancerFirewallOutput added in v4.18.0

func (o GetLoadBalancerFirewallOutput) ToGetLoadBalancerFirewallOutput() GetLoadBalancerFirewallOutput

func (GetLoadBalancerFirewallOutput) ToGetLoadBalancerFirewallOutputWithContext added in v4.18.0

func (o GetLoadBalancerFirewallOutput) ToGetLoadBalancerFirewallOutputWithContext(ctx context.Context) GetLoadBalancerFirewallOutput

type GetLoadBalancerForwardingRule

type GetLoadBalancerForwardingRule struct {
	// the id of the tls certificate used for ssl termination if enabled
	CertificateId string `pulumi:"certificateId"`
	// the name of the tls certificate used for ssl termination if enabled
	CertificateName string `pulumi:"certificateName"`
	// the port on which the load balancer instance will listen
	EntryPort int `pulumi:"entryPort"`
	// the protocol used for traffic to the load balancer
	EntryProtocol string `pulumi:"entryProtocol"`
	// the port on the backend Droplets to which the load balancer will send traffic
	TargetPort int `pulumi:"targetPort"`
	// the protocol used for traffic to the backend droplets
	TargetProtocol string `pulumi:"targetProtocol"`
	// whether ssl encrypted traffic will be passed through to the backend droplets
	TlsPassthrough bool `pulumi:"tlsPassthrough"`
}

type GetLoadBalancerForwardingRuleArgs

type GetLoadBalancerForwardingRuleArgs struct {
	// the id of the tls certificate used for ssl termination if enabled
	CertificateId pulumi.StringInput `pulumi:"certificateId"`
	// the name of the tls certificate used for ssl termination if enabled
	CertificateName pulumi.StringInput `pulumi:"certificateName"`
	// the port on which the load balancer instance will listen
	EntryPort pulumi.IntInput `pulumi:"entryPort"`
	// the protocol used for traffic to the load balancer
	EntryProtocol pulumi.StringInput `pulumi:"entryProtocol"`
	// the port on the backend Droplets to which the load balancer will send traffic
	TargetPort pulumi.IntInput `pulumi:"targetPort"`
	// the protocol used for traffic to the backend droplets
	TargetProtocol pulumi.StringInput `pulumi:"targetProtocol"`
	// whether ssl encrypted traffic will be passed through to the backend droplets
	TlsPassthrough pulumi.BoolInput `pulumi:"tlsPassthrough"`
}

func (GetLoadBalancerForwardingRuleArgs) ElementType

func (GetLoadBalancerForwardingRuleArgs) ToGetLoadBalancerForwardingRuleOutput

func (i GetLoadBalancerForwardingRuleArgs) ToGetLoadBalancerForwardingRuleOutput() GetLoadBalancerForwardingRuleOutput

func (GetLoadBalancerForwardingRuleArgs) ToGetLoadBalancerForwardingRuleOutputWithContext

func (i GetLoadBalancerForwardingRuleArgs) ToGetLoadBalancerForwardingRuleOutputWithContext(ctx context.Context) GetLoadBalancerForwardingRuleOutput

type GetLoadBalancerForwardingRuleArray

type GetLoadBalancerForwardingRuleArray []GetLoadBalancerForwardingRuleInput

func (GetLoadBalancerForwardingRuleArray) ElementType

func (GetLoadBalancerForwardingRuleArray) ToGetLoadBalancerForwardingRuleArrayOutput

func (i GetLoadBalancerForwardingRuleArray) ToGetLoadBalancerForwardingRuleArrayOutput() GetLoadBalancerForwardingRuleArrayOutput

func (GetLoadBalancerForwardingRuleArray) ToGetLoadBalancerForwardingRuleArrayOutputWithContext

func (i GetLoadBalancerForwardingRuleArray) ToGetLoadBalancerForwardingRuleArrayOutputWithContext(ctx context.Context) GetLoadBalancerForwardingRuleArrayOutput

type GetLoadBalancerForwardingRuleArrayInput

type GetLoadBalancerForwardingRuleArrayInput interface {
	pulumi.Input

	ToGetLoadBalancerForwardingRuleArrayOutput() GetLoadBalancerForwardingRuleArrayOutput
	ToGetLoadBalancerForwardingRuleArrayOutputWithContext(context.Context) GetLoadBalancerForwardingRuleArrayOutput
}

GetLoadBalancerForwardingRuleArrayInput is an input type that accepts GetLoadBalancerForwardingRuleArray and GetLoadBalancerForwardingRuleArrayOutput values. You can construct a concrete instance of `GetLoadBalancerForwardingRuleArrayInput` via:

GetLoadBalancerForwardingRuleArray{ GetLoadBalancerForwardingRuleArgs{...} }

type GetLoadBalancerForwardingRuleArrayOutput

type GetLoadBalancerForwardingRuleArrayOutput struct{ *pulumi.OutputState }

func (GetLoadBalancerForwardingRuleArrayOutput) ElementType

func (GetLoadBalancerForwardingRuleArrayOutput) Index

func (GetLoadBalancerForwardingRuleArrayOutput) ToGetLoadBalancerForwardingRuleArrayOutput

func (o GetLoadBalancerForwardingRuleArrayOutput) ToGetLoadBalancerForwardingRuleArrayOutput() GetLoadBalancerForwardingRuleArrayOutput

func (GetLoadBalancerForwardingRuleArrayOutput) ToGetLoadBalancerForwardingRuleArrayOutputWithContext

func (o GetLoadBalancerForwardingRuleArrayOutput) ToGetLoadBalancerForwardingRuleArrayOutputWithContext(ctx context.Context) GetLoadBalancerForwardingRuleArrayOutput

type GetLoadBalancerForwardingRuleInput

type GetLoadBalancerForwardingRuleInput interface {
	pulumi.Input

	ToGetLoadBalancerForwardingRuleOutput() GetLoadBalancerForwardingRuleOutput
	ToGetLoadBalancerForwardingRuleOutputWithContext(context.Context) GetLoadBalancerForwardingRuleOutput
}

GetLoadBalancerForwardingRuleInput is an input type that accepts GetLoadBalancerForwardingRuleArgs and GetLoadBalancerForwardingRuleOutput values. You can construct a concrete instance of `GetLoadBalancerForwardingRuleInput` via:

GetLoadBalancerForwardingRuleArgs{...}

type GetLoadBalancerForwardingRuleOutput

type GetLoadBalancerForwardingRuleOutput struct{ *pulumi.OutputState }

func (GetLoadBalancerForwardingRuleOutput) CertificateId

the id of the tls certificate used for ssl termination if enabled

func (GetLoadBalancerForwardingRuleOutput) CertificateName added in v4.4.0

the name of the tls certificate used for ssl termination if enabled

func (GetLoadBalancerForwardingRuleOutput) ElementType

func (GetLoadBalancerForwardingRuleOutput) EntryPort

the port on which the load balancer instance will listen

func (GetLoadBalancerForwardingRuleOutput) EntryProtocol

the protocol used for traffic to the load balancer

func (GetLoadBalancerForwardingRuleOutput) TargetPort

the port on the backend Droplets to which the load balancer will send traffic

func (GetLoadBalancerForwardingRuleOutput) TargetProtocol

the protocol used for traffic to the backend droplets

func (GetLoadBalancerForwardingRuleOutput) TlsPassthrough

whether ssl encrypted traffic will be passed through to the backend droplets

func (GetLoadBalancerForwardingRuleOutput) ToGetLoadBalancerForwardingRuleOutput

func (o GetLoadBalancerForwardingRuleOutput) ToGetLoadBalancerForwardingRuleOutput() GetLoadBalancerForwardingRuleOutput

func (GetLoadBalancerForwardingRuleOutput) ToGetLoadBalancerForwardingRuleOutputWithContext

func (o GetLoadBalancerForwardingRuleOutput) ToGetLoadBalancerForwardingRuleOutputWithContext(ctx context.Context) GetLoadBalancerForwardingRuleOutput

type GetLoadBalancerGlbSetting added in v4.28.0

type GetLoadBalancerGlbSetting struct {
	// CDN specific configurations
	Cdns []GetLoadBalancerGlbSettingCdn `pulumi:"cdns"`
	// target port rules
	TargetPort int `pulumi:"targetPort"`
	// target protocol rules
	TargetProtocol string `pulumi:"targetProtocol"`
}

type GetLoadBalancerGlbSettingArgs added in v4.28.0

type GetLoadBalancerGlbSettingArgs struct {
	// CDN specific configurations
	Cdns GetLoadBalancerGlbSettingCdnArrayInput `pulumi:"cdns"`
	// target port rules
	TargetPort pulumi.IntInput `pulumi:"targetPort"`
	// target protocol rules
	TargetProtocol pulumi.StringInput `pulumi:"targetProtocol"`
}

func (GetLoadBalancerGlbSettingArgs) ElementType added in v4.28.0

func (GetLoadBalancerGlbSettingArgs) ToGetLoadBalancerGlbSettingOutput added in v4.28.0

func (i GetLoadBalancerGlbSettingArgs) ToGetLoadBalancerGlbSettingOutput() GetLoadBalancerGlbSettingOutput

func (GetLoadBalancerGlbSettingArgs) ToGetLoadBalancerGlbSettingOutputWithContext added in v4.28.0

func (i GetLoadBalancerGlbSettingArgs) ToGetLoadBalancerGlbSettingOutputWithContext(ctx context.Context) GetLoadBalancerGlbSettingOutput

type GetLoadBalancerGlbSettingArray added in v4.28.0

type GetLoadBalancerGlbSettingArray []GetLoadBalancerGlbSettingInput

func (GetLoadBalancerGlbSettingArray) ElementType added in v4.28.0

func (GetLoadBalancerGlbSettingArray) ToGetLoadBalancerGlbSettingArrayOutput added in v4.28.0

func (i GetLoadBalancerGlbSettingArray) ToGetLoadBalancerGlbSettingArrayOutput() GetLoadBalancerGlbSettingArrayOutput

func (GetLoadBalancerGlbSettingArray) ToGetLoadBalancerGlbSettingArrayOutputWithContext added in v4.28.0

func (i GetLoadBalancerGlbSettingArray) ToGetLoadBalancerGlbSettingArrayOutputWithContext(ctx context.Context) GetLoadBalancerGlbSettingArrayOutput

type GetLoadBalancerGlbSettingArrayInput added in v4.28.0

type GetLoadBalancerGlbSettingArrayInput interface {
	pulumi.Input

	ToGetLoadBalancerGlbSettingArrayOutput() GetLoadBalancerGlbSettingArrayOutput
	ToGetLoadBalancerGlbSettingArrayOutputWithContext(context.Context) GetLoadBalancerGlbSettingArrayOutput
}

GetLoadBalancerGlbSettingArrayInput is an input type that accepts GetLoadBalancerGlbSettingArray and GetLoadBalancerGlbSettingArrayOutput values. You can construct a concrete instance of `GetLoadBalancerGlbSettingArrayInput` via:

GetLoadBalancerGlbSettingArray{ GetLoadBalancerGlbSettingArgs{...} }

type GetLoadBalancerGlbSettingArrayOutput added in v4.28.0

type GetLoadBalancerGlbSettingArrayOutput struct{ *pulumi.OutputState }

func (GetLoadBalancerGlbSettingArrayOutput) ElementType added in v4.28.0

func (GetLoadBalancerGlbSettingArrayOutput) Index added in v4.28.0

func (GetLoadBalancerGlbSettingArrayOutput) ToGetLoadBalancerGlbSettingArrayOutput added in v4.28.0

func (o GetLoadBalancerGlbSettingArrayOutput) ToGetLoadBalancerGlbSettingArrayOutput() GetLoadBalancerGlbSettingArrayOutput

func (GetLoadBalancerGlbSettingArrayOutput) ToGetLoadBalancerGlbSettingArrayOutputWithContext added in v4.28.0

func (o GetLoadBalancerGlbSettingArrayOutput) ToGetLoadBalancerGlbSettingArrayOutputWithContext(ctx context.Context) GetLoadBalancerGlbSettingArrayOutput

type GetLoadBalancerGlbSettingCdn added in v4.28.0

type GetLoadBalancerGlbSettingCdn struct {
	// cache enable flag
	IsEnabled bool `pulumi:"isEnabled"`
}

type GetLoadBalancerGlbSettingCdnArgs added in v4.28.0

type GetLoadBalancerGlbSettingCdnArgs struct {
	// cache enable flag
	IsEnabled pulumi.BoolInput `pulumi:"isEnabled"`
}

func (GetLoadBalancerGlbSettingCdnArgs) ElementType added in v4.28.0

func (GetLoadBalancerGlbSettingCdnArgs) ToGetLoadBalancerGlbSettingCdnOutput added in v4.28.0

func (i GetLoadBalancerGlbSettingCdnArgs) ToGetLoadBalancerGlbSettingCdnOutput() GetLoadBalancerGlbSettingCdnOutput

func (GetLoadBalancerGlbSettingCdnArgs) ToGetLoadBalancerGlbSettingCdnOutputWithContext added in v4.28.0

func (i GetLoadBalancerGlbSettingCdnArgs) ToGetLoadBalancerGlbSettingCdnOutputWithContext(ctx context.Context) GetLoadBalancerGlbSettingCdnOutput

type GetLoadBalancerGlbSettingCdnArray added in v4.28.0

type GetLoadBalancerGlbSettingCdnArray []GetLoadBalancerGlbSettingCdnInput

func (GetLoadBalancerGlbSettingCdnArray) ElementType added in v4.28.0

func (GetLoadBalancerGlbSettingCdnArray) ToGetLoadBalancerGlbSettingCdnArrayOutput added in v4.28.0

func (i GetLoadBalancerGlbSettingCdnArray) ToGetLoadBalancerGlbSettingCdnArrayOutput() GetLoadBalancerGlbSettingCdnArrayOutput

func (GetLoadBalancerGlbSettingCdnArray) ToGetLoadBalancerGlbSettingCdnArrayOutputWithContext added in v4.28.0

func (i GetLoadBalancerGlbSettingCdnArray) ToGetLoadBalancerGlbSettingCdnArrayOutputWithContext(ctx context.Context) GetLoadBalancerGlbSettingCdnArrayOutput

type GetLoadBalancerGlbSettingCdnArrayInput added in v4.28.0

type GetLoadBalancerGlbSettingCdnArrayInput interface {
	pulumi.Input

	ToGetLoadBalancerGlbSettingCdnArrayOutput() GetLoadBalancerGlbSettingCdnArrayOutput
	ToGetLoadBalancerGlbSettingCdnArrayOutputWithContext(context.Context) GetLoadBalancerGlbSettingCdnArrayOutput
}

GetLoadBalancerGlbSettingCdnArrayInput is an input type that accepts GetLoadBalancerGlbSettingCdnArray and GetLoadBalancerGlbSettingCdnArrayOutput values. You can construct a concrete instance of `GetLoadBalancerGlbSettingCdnArrayInput` via:

GetLoadBalancerGlbSettingCdnArray{ GetLoadBalancerGlbSettingCdnArgs{...} }

type GetLoadBalancerGlbSettingCdnArrayOutput added in v4.28.0

type GetLoadBalancerGlbSettingCdnArrayOutput struct{ *pulumi.OutputState }

func (GetLoadBalancerGlbSettingCdnArrayOutput) ElementType added in v4.28.0

func (GetLoadBalancerGlbSettingCdnArrayOutput) Index added in v4.28.0

func (GetLoadBalancerGlbSettingCdnArrayOutput) ToGetLoadBalancerGlbSettingCdnArrayOutput added in v4.28.0

func (o GetLoadBalancerGlbSettingCdnArrayOutput) ToGetLoadBalancerGlbSettingCdnArrayOutput() GetLoadBalancerGlbSettingCdnArrayOutput

func (GetLoadBalancerGlbSettingCdnArrayOutput) ToGetLoadBalancerGlbSettingCdnArrayOutputWithContext added in v4.28.0

func (o GetLoadBalancerGlbSettingCdnArrayOutput) ToGetLoadBalancerGlbSettingCdnArrayOutputWithContext(ctx context.Context) GetLoadBalancerGlbSettingCdnArrayOutput

type GetLoadBalancerGlbSettingCdnInput added in v4.28.0

type GetLoadBalancerGlbSettingCdnInput interface {
	pulumi.Input

	ToGetLoadBalancerGlbSettingCdnOutput() GetLoadBalancerGlbSettingCdnOutput
	ToGetLoadBalancerGlbSettingCdnOutputWithContext(context.Context) GetLoadBalancerGlbSettingCdnOutput
}

GetLoadBalancerGlbSettingCdnInput is an input type that accepts GetLoadBalancerGlbSettingCdnArgs and GetLoadBalancerGlbSettingCdnOutput values. You can construct a concrete instance of `GetLoadBalancerGlbSettingCdnInput` via:

GetLoadBalancerGlbSettingCdnArgs{...}

type GetLoadBalancerGlbSettingCdnOutput added in v4.28.0

type GetLoadBalancerGlbSettingCdnOutput struct{ *pulumi.OutputState }

func (GetLoadBalancerGlbSettingCdnOutput) ElementType added in v4.28.0

func (GetLoadBalancerGlbSettingCdnOutput) IsEnabled added in v4.28.0

cache enable flag

func (GetLoadBalancerGlbSettingCdnOutput) ToGetLoadBalancerGlbSettingCdnOutput added in v4.28.0

func (o GetLoadBalancerGlbSettingCdnOutput) ToGetLoadBalancerGlbSettingCdnOutput() GetLoadBalancerGlbSettingCdnOutput

func (GetLoadBalancerGlbSettingCdnOutput) ToGetLoadBalancerGlbSettingCdnOutputWithContext added in v4.28.0

func (o GetLoadBalancerGlbSettingCdnOutput) ToGetLoadBalancerGlbSettingCdnOutputWithContext(ctx context.Context) GetLoadBalancerGlbSettingCdnOutput

type GetLoadBalancerGlbSettingInput added in v4.28.0

type GetLoadBalancerGlbSettingInput interface {
	pulumi.Input

	ToGetLoadBalancerGlbSettingOutput() GetLoadBalancerGlbSettingOutput
	ToGetLoadBalancerGlbSettingOutputWithContext(context.Context) GetLoadBalancerGlbSettingOutput
}

GetLoadBalancerGlbSettingInput is an input type that accepts GetLoadBalancerGlbSettingArgs and GetLoadBalancerGlbSettingOutput values. You can construct a concrete instance of `GetLoadBalancerGlbSettingInput` via:

GetLoadBalancerGlbSettingArgs{...}

type GetLoadBalancerGlbSettingOutput added in v4.28.0

type GetLoadBalancerGlbSettingOutput struct{ *pulumi.OutputState }

func (GetLoadBalancerGlbSettingOutput) Cdns added in v4.28.0

CDN specific configurations

func (GetLoadBalancerGlbSettingOutput) ElementType added in v4.28.0

func (GetLoadBalancerGlbSettingOutput) TargetPort added in v4.28.0

target port rules

func (GetLoadBalancerGlbSettingOutput) TargetProtocol added in v4.28.0

target protocol rules

func (GetLoadBalancerGlbSettingOutput) ToGetLoadBalancerGlbSettingOutput added in v4.28.0

func (o GetLoadBalancerGlbSettingOutput) ToGetLoadBalancerGlbSettingOutput() GetLoadBalancerGlbSettingOutput

func (GetLoadBalancerGlbSettingOutput) ToGetLoadBalancerGlbSettingOutputWithContext added in v4.28.0

func (o GetLoadBalancerGlbSettingOutput) ToGetLoadBalancerGlbSettingOutputWithContext(ctx context.Context) GetLoadBalancerGlbSettingOutput

type GetLoadBalancerHealthcheck

type GetLoadBalancerHealthcheck struct {
	// the number of seconds between between two consecutive health checks
	CheckIntervalSeconds int `pulumi:"checkIntervalSeconds"`
	// the number of times a health check must pass for a backend droplet to be marked 'healthy' and be re-added to the pool
	HealthyThreshold int `pulumi:"healthyThreshold"`
	// the path on the backend Droplets to which the Load Balancer will send a request
	Path string `pulumi:"path"`
	// the port on the backend droplets on which the health check will attempt a connection
	Port int `pulumi:"port"`
	// the protocol used for health checks sent to the backend droplets
	Protocol string `pulumi:"protocol"`
	// the number of seconds to wait for a response until marking a health check as failed
	ResponseTimeoutSeconds int `pulumi:"responseTimeoutSeconds"`
	// The number of times a health check must fail for a backend droplet to be marked 'unhealthy' and be removed from the pool
	UnhealthyThreshold int `pulumi:"unhealthyThreshold"`
}

type GetLoadBalancerHealthcheckArgs

type GetLoadBalancerHealthcheckArgs struct {
	// the number of seconds between between two consecutive health checks
	CheckIntervalSeconds pulumi.IntInput `pulumi:"checkIntervalSeconds"`
	// the number of times a health check must pass for a backend droplet to be marked 'healthy' and be re-added to the pool
	HealthyThreshold pulumi.IntInput `pulumi:"healthyThreshold"`
	// the path on the backend Droplets to which the Load Balancer will send a request
	Path pulumi.StringInput `pulumi:"path"`
	// the port on the backend droplets on which the health check will attempt a connection
	Port pulumi.IntInput `pulumi:"port"`
	// the protocol used for health checks sent to the backend droplets
	Protocol pulumi.StringInput `pulumi:"protocol"`
	// the number of seconds to wait for a response until marking a health check as failed
	ResponseTimeoutSeconds pulumi.IntInput `pulumi:"responseTimeoutSeconds"`
	// The number of times a health check must fail for a backend droplet to be marked 'unhealthy' and be removed from the pool
	UnhealthyThreshold pulumi.IntInput `pulumi:"unhealthyThreshold"`
}

func (GetLoadBalancerHealthcheckArgs) ElementType

func (GetLoadBalancerHealthcheckArgs) ToGetLoadBalancerHealthcheckOutput

func (i GetLoadBalancerHealthcheckArgs) ToGetLoadBalancerHealthcheckOutput() GetLoadBalancerHealthcheckOutput

func (GetLoadBalancerHealthcheckArgs) ToGetLoadBalancerHealthcheckOutputWithContext

func (i GetLoadBalancerHealthcheckArgs) ToGetLoadBalancerHealthcheckOutputWithContext(ctx context.Context) GetLoadBalancerHealthcheckOutput

type GetLoadBalancerHealthcheckArray

type GetLoadBalancerHealthcheckArray []GetLoadBalancerHealthcheckInput

func (GetLoadBalancerHealthcheckArray) ElementType

func (GetLoadBalancerHealthcheckArray) ToGetLoadBalancerHealthcheckArrayOutput

func (i GetLoadBalancerHealthcheckArray) ToGetLoadBalancerHealthcheckArrayOutput() GetLoadBalancerHealthcheckArrayOutput

func (GetLoadBalancerHealthcheckArray) ToGetLoadBalancerHealthcheckArrayOutputWithContext

func (i GetLoadBalancerHealthcheckArray) ToGetLoadBalancerHealthcheckArrayOutputWithContext(ctx context.Context) GetLoadBalancerHealthcheckArrayOutput

type GetLoadBalancerHealthcheckArrayInput

type GetLoadBalancerHealthcheckArrayInput interface {
	pulumi.Input

	ToGetLoadBalancerHealthcheckArrayOutput() GetLoadBalancerHealthcheckArrayOutput
	ToGetLoadBalancerHealthcheckArrayOutputWithContext(context.Context) GetLoadBalancerHealthcheckArrayOutput
}

GetLoadBalancerHealthcheckArrayInput is an input type that accepts GetLoadBalancerHealthcheckArray and GetLoadBalancerHealthcheckArrayOutput values. You can construct a concrete instance of `GetLoadBalancerHealthcheckArrayInput` via:

GetLoadBalancerHealthcheckArray{ GetLoadBalancerHealthcheckArgs{...} }

type GetLoadBalancerHealthcheckArrayOutput

type GetLoadBalancerHealthcheckArrayOutput struct{ *pulumi.OutputState }

func (GetLoadBalancerHealthcheckArrayOutput) ElementType

func (GetLoadBalancerHealthcheckArrayOutput) Index

func (GetLoadBalancerHealthcheckArrayOutput) ToGetLoadBalancerHealthcheckArrayOutput

func (o GetLoadBalancerHealthcheckArrayOutput) ToGetLoadBalancerHealthcheckArrayOutput() GetLoadBalancerHealthcheckArrayOutput

func (GetLoadBalancerHealthcheckArrayOutput) ToGetLoadBalancerHealthcheckArrayOutputWithContext

func (o GetLoadBalancerHealthcheckArrayOutput) ToGetLoadBalancerHealthcheckArrayOutputWithContext(ctx context.Context) GetLoadBalancerHealthcheckArrayOutput

type GetLoadBalancerHealthcheckInput

type GetLoadBalancerHealthcheckInput interface {
	pulumi.Input

	ToGetLoadBalancerHealthcheckOutput() GetLoadBalancerHealthcheckOutput
	ToGetLoadBalancerHealthcheckOutputWithContext(context.Context) GetLoadBalancerHealthcheckOutput
}

GetLoadBalancerHealthcheckInput is an input type that accepts GetLoadBalancerHealthcheckArgs and GetLoadBalancerHealthcheckOutput values. You can construct a concrete instance of `GetLoadBalancerHealthcheckInput` via:

GetLoadBalancerHealthcheckArgs{...}

type GetLoadBalancerHealthcheckOutput

type GetLoadBalancerHealthcheckOutput struct{ *pulumi.OutputState }

func (GetLoadBalancerHealthcheckOutput) CheckIntervalSeconds

func (o GetLoadBalancerHealthcheckOutput) CheckIntervalSeconds() pulumi.IntOutput

the number of seconds between between two consecutive health checks

func (GetLoadBalancerHealthcheckOutput) ElementType

func (GetLoadBalancerHealthcheckOutput) HealthyThreshold

func (o GetLoadBalancerHealthcheckOutput) HealthyThreshold() pulumi.IntOutput

the number of times a health check must pass for a backend droplet to be marked 'healthy' and be re-added to the pool

func (GetLoadBalancerHealthcheckOutput) Path

the path on the backend Droplets to which the Load Balancer will send a request

func (GetLoadBalancerHealthcheckOutput) Port

the port on the backend droplets on which the health check will attempt a connection

func (GetLoadBalancerHealthcheckOutput) Protocol

the protocol used for health checks sent to the backend droplets

func (GetLoadBalancerHealthcheckOutput) ResponseTimeoutSeconds

func (o GetLoadBalancerHealthcheckOutput) ResponseTimeoutSeconds() pulumi.IntOutput

the number of seconds to wait for a response until marking a health check as failed

func (GetLoadBalancerHealthcheckOutput) ToGetLoadBalancerHealthcheckOutput

func (o GetLoadBalancerHealthcheckOutput) ToGetLoadBalancerHealthcheckOutput() GetLoadBalancerHealthcheckOutput

func (GetLoadBalancerHealthcheckOutput) ToGetLoadBalancerHealthcheckOutputWithContext

func (o GetLoadBalancerHealthcheckOutput) ToGetLoadBalancerHealthcheckOutputWithContext(ctx context.Context) GetLoadBalancerHealthcheckOutput

func (GetLoadBalancerHealthcheckOutput) UnhealthyThreshold

func (o GetLoadBalancerHealthcheckOutput) UnhealthyThreshold() pulumi.IntOutput

The number of times a health check must fail for a backend droplet to be marked 'unhealthy' and be removed from the pool

type GetLoadBalancerStickySession

type GetLoadBalancerStickySession struct {
	// the name of the cookie sent to the client
	CookieName string `pulumi:"cookieName"`
	// the number of seconds until the cookie set by the Load Balancer expires
	CookieTtlSeconds int `pulumi:"cookieTtlSeconds"`
	// how and if requests from a client will be persistently served by the same backend droplet
	Type string `pulumi:"type"`
}

type GetLoadBalancerStickySessionArgs

type GetLoadBalancerStickySessionArgs struct {
	// the name of the cookie sent to the client
	CookieName pulumi.StringInput `pulumi:"cookieName"`
	// the number of seconds until the cookie set by the Load Balancer expires
	CookieTtlSeconds pulumi.IntInput `pulumi:"cookieTtlSeconds"`
	// how and if requests from a client will be persistently served by the same backend droplet
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetLoadBalancerStickySessionArgs) ElementType

func (GetLoadBalancerStickySessionArgs) ToGetLoadBalancerStickySessionOutput

func (i GetLoadBalancerStickySessionArgs) ToGetLoadBalancerStickySessionOutput() GetLoadBalancerStickySessionOutput

func (GetLoadBalancerStickySessionArgs) ToGetLoadBalancerStickySessionOutputWithContext

func (i GetLoadBalancerStickySessionArgs) ToGetLoadBalancerStickySessionOutputWithContext(ctx context.Context) GetLoadBalancerStickySessionOutput

type GetLoadBalancerStickySessionArray

type GetLoadBalancerStickySessionArray []GetLoadBalancerStickySessionInput

func (GetLoadBalancerStickySessionArray) ElementType

func (GetLoadBalancerStickySessionArray) ToGetLoadBalancerStickySessionArrayOutput

func (i GetLoadBalancerStickySessionArray) ToGetLoadBalancerStickySessionArrayOutput() GetLoadBalancerStickySessionArrayOutput

func (GetLoadBalancerStickySessionArray) ToGetLoadBalancerStickySessionArrayOutputWithContext

func (i GetLoadBalancerStickySessionArray) ToGetLoadBalancerStickySessionArrayOutputWithContext(ctx context.Context) GetLoadBalancerStickySessionArrayOutput

type GetLoadBalancerStickySessionArrayInput

type GetLoadBalancerStickySessionArrayInput interface {
	pulumi.Input

	ToGetLoadBalancerStickySessionArrayOutput() GetLoadBalancerStickySessionArrayOutput
	ToGetLoadBalancerStickySessionArrayOutputWithContext(context.Context) GetLoadBalancerStickySessionArrayOutput
}

GetLoadBalancerStickySessionArrayInput is an input type that accepts GetLoadBalancerStickySessionArray and GetLoadBalancerStickySessionArrayOutput values. You can construct a concrete instance of `GetLoadBalancerStickySessionArrayInput` via:

GetLoadBalancerStickySessionArray{ GetLoadBalancerStickySessionArgs{...} }

type GetLoadBalancerStickySessionArrayOutput

type GetLoadBalancerStickySessionArrayOutput struct{ *pulumi.OutputState }

func (GetLoadBalancerStickySessionArrayOutput) ElementType

func (GetLoadBalancerStickySessionArrayOutput) Index

func (GetLoadBalancerStickySessionArrayOutput) ToGetLoadBalancerStickySessionArrayOutput

func (o GetLoadBalancerStickySessionArrayOutput) ToGetLoadBalancerStickySessionArrayOutput() GetLoadBalancerStickySessionArrayOutput

func (GetLoadBalancerStickySessionArrayOutput) ToGetLoadBalancerStickySessionArrayOutputWithContext

func (o GetLoadBalancerStickySessionArrayOutput) ToGetLoadBalancerStickySessionArrayOutputWithContext(ctx context.Context) GetLoadBalancerStickySessionArrayOutput

type GetLoadBalancerStickySessionInput

type GetLoadBalancerStickySessionInput interface {
	pulumi.Input

	ToGetLoadBalancerStickySessionOutput() GetLoadBalancerStickySessionOutput
	ToGetLoadBalancerStickySessionOutputWithContext(context.Context) GetLoadBalancerStickySessionOutput
}

GetLoadBalancerStickySessionInput is an input type that accepts GetLoadBalancerStickySessionArgs and GetLoadBalancerStickySessionOutput values. You can construct a concrete instance of `GetLoadBalancerStickySessionInput` via:

GetLoadBalancerStickySessionArgs{...}

type GetLoadBalancerStickySessionOutput

type GetLoadBalancerStickySessionOutput struct{ *pulumi.OutputState }

func (GetLoadBalancerStickySessionOutput) CookieName

the name of the cookie sent to the client

func (GetLoadBalancerStickySessionOutput) CookieTtlSeconds

the number of seconds until the cookie set by the Load Balancer expires

func (GetLoadBalancerStickySessionOutput) ElementType

func (GetLoadBalancerStickySessionOutput) ToGetLoadBalancerStickySessionOutput

func (o GetLoadBalancerStickySessionOutput) ToGetLoadBalancerStickySessionOutput() GetLoadBalancerStickySessionOutput

func (GetLoadBalancerStickySessionOutput) ToGetLoadBalancerStickySessionOutputWithContext

func (o GetLoadBalancerStickySessionOutput) ToGetLoadBalancerStickySessionOutputWithContext(ctx context.Context) GetLoadBalancerStickySessionOutput

func (GetLoadBalancerStickySessionOutput) Type

how and if requests from a client will be persistently served by the same backend droplet

type GetProjectsArgs

type GetProjectsArgs struct {
	// Filter the results.
	// The `filter` block is documented below.
	Filters []GetProjectsFilter `pulumi:"filters"`
	// Sort the results.
	// The `sort` block is documented below.
	Sorts []GetProjectsSort `pulumi:"sorts"`
}

A collection of arguments for invoking getProjects.

type GetProjectsFilter

type GetProjectsFilter struct {
	// Set to `true` to require that a field match all of the `values` instead of just one or more of
	// them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure
	// that all of the `values` are present in the list or set.
	All *bool `pulumi:"all"`
	// Filter the projects by this key. This may be one of `name`,
	// `purpose`, `description`, `environment`, or `isDefault`.
	Key string `pulumi:"key"`
	// One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to
	// match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as
	// substrings to find within the string field.
	MatchBy *string `pulumi:"matchBy"`
	// A list of values to match against the `key` field. Only retrieves projects
	// where the `key` field takes on one or more of the values provided here.
	Values []string `pulumi:"values"`
}

type GetProjectsFilterArgs

type GetProjectsFilterArgs struct {
	// Set to `true` to require that a field match all of the `values` instead of just one or more of
	// them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure
	// that all of the `values` are present in the list or set.
	All pulumi.BoolPtrInput `pulumi:"all"`
	// Filter the projects by this key. This may be one of `name`,
	// `purpose`, `description`, `environment`, or `isDefault`.
	Key pulumi.StringInput `pulumi:"key"`
	// One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to
	// match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as
	// substrings to find within the string field.
	MatchBy pulumi.StringPtrInput `pulumi:"matchBy"`
	// A list of values to match against the `key` field. Only retrieves projects
	// where the `key` field takes on one or more of the values provided here.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetProjectsFilterArgs) ElementType

func (GetProjectsFilterArgs) ElementType() reflect.Type

func (GetProjectsFilterArgs) ToGetProjectsFilterOutput

func (i GetProjectsFilterArgs) ToGetProjectsFilterOutput() GetProjectsFilterOutput

func (GetProjectsFilterArgs) ToGetProjectsFilterOutputWithContext

func (i GetProjectsFilterArgs) ToGetProjectsFilterOutputWithContext(ctx context.Context) GetProjectsFilterOutput

type GetProjectsFilterArray

type GetProjectsFilterArray []GetProjectsFilterInput

func (GetProjectsFilterArray) ElementType

func (GetProjectsFilterArray) ElementType() reflect.Type

func (GetProjectsFilterArray) ToGetProjectsFilterArrayOutput

func (i GetProjectsFilterArray) ToGetProjectsFilterArrayOutput() GetProjectsFilterArrayOutput

func (GetProjectsFilterArray) ToGetProjectsFilterArrayOutputWithContext

func (i GetProjectsFilterArray) ToGetProjectsFilterArrayOutputWithContext(ctx context.Context) GetProjectsFilterArrayOutput

type GetProjectsFilterArrayInput

type GetProjectsFilterArrayInput interface {
	pulumi.Input

	ToGetProjectsFilterArrayOutput() GetProjectsFilterArrayOutput
	ToGetProjectsFilterArrayOutputWithContext(context.Context) GetProjectsFilterArrayOutput
}

GetProjectsFilterArrayInput is an input type that accepts GetProjectsFilterArray and GetProjectsFilterArrayOutput values. You can construct a concrete instance of `GetProjectsFilterArrayInput` via:

GetProjectsFilterArray{ GetProjectsFilterArgs{...} }

type GetProjectsFilterArrayOutput

type GetProjectsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetProjectsFilterArrayOutput) ElementType

func (GetProjectsFilterArrayOutput) Index

func (GetProjectsFilterArrayOutput) ToGetProjectsFilterArrayOutput

func (o GetProjectsFilterArrayOutput) ToGetProjectsFilterArrayOutput() GetProjectsFilterArrayOutput

func (GetProjectsFilterArrayOutput) ToGetProjectsFilterArrayOutputWithContext

func (o GetProjectsFilterArrayOutput) ToGetProjectsFilterArrayOutputWithContext(ctx context.Context) GetProjectsFilterArrayOutput

type GetProjectsFilterInput

type GetProjectsFilterInput interface {
	pulumi.Input

	ToGetProjectsFilterOutput() GetProjectsFilterOutput
	ToGetProjectsFilterOutputWithContext(context.Context) GetProjectsFilterOutput
}

GetProjectsFilterInput is an input type that accepts GetProjectsFilterArgs and GetProjectsFilterOutput values. You can construct a concrete instance of `GetProjectsFilterInput` via:

GetProjectsFilterArgs{...}

type GetProjectsFilterOutput

type GetProjectsFilterOutput struct{ *pulumi.OutputState }

func (GetProjectsFilterOutput) All

Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set.

func (GetProjectsFilterOutput) ElementType

func (GetProjectsFilterOutput) ElementType() reflect.Type

func (GetProjectsFilterOutput) Key

Filter the projects by this key. This may be one of `name`, `purpose`, `description`, `environment`, or `isDefault`.

func (GetProjectsFilterOutput) MatchBy

One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field.

func (GetProjectsFilterOutput) ToGetProjectsFilterOutput

func (o GetProjectsFilterOutput) ToGetProjectsFilterOutput() GetProjectsFilterOutput

func (GetProjectsFilterOutput) ToGetProjectsFilterOutputWithContext

func (o GetProjectsFilterOutput) ToGetProjectsFilterOutputWithContext(ctx context.Context) GetProjectsFilterOutput

func (GetProjectsFilterOutput) Values

A list of values to match against the `key` field. Only retrieves projects where the `key` field takes on one or more of the values provided here.

type GetProjectsOutputArgs added in v4.9.0

type GetProjectsOutputArgs struct {
	// Filter the results.
	// The `filter` block is documented below.
	Filters GetProjectsFilterArrayInput `pulumi:"filters"`
	// Sort the results.
	// The `sort` block is documented below.
	Sorts GetProjectsSortArrayInput `pulumi:"sorts"`
}

A collection of arguments for invoking getProjects.

func (GetProjectsOutputArgs) ElementType added in v4.9.0

func (GetProjectsOutputArgs) ElementType() reflect.Type

type GetProjectsProject

type GetProjectsProject struct {
	// The date and time when the project was created, (ISO8601)
	CreatedAt string `pulumi:"createdAt"`
	// The description of the project
	Description string `pulumi:"description"`
	// The environment of the project's resources. The possible values are: `Development`, `Staging`, `Production`.
	Environment string `pulumi:"environment"`
	// The ID of the project
	Id        string `pulumi:"id"`
	IsDefault bool   `pulumi:"isDefault"`
	// The name of the project
	Name string `pulumi:"name"`
	// The ID of the project owner
	OwnerId int `pulumi:"ownerId"`
	// The unique universal identifier of the project owner
	OwnerUuid string `pulumi:"ownerUuid"`
	// The purpose of the project (Default: "Web Application")
	Purpose string `pulumi:"purpose"`
	// A set of uniform resource names (URNs) for the resources associated with the project
	Resources []string `pulumi:"resources"`
	// The date and time when the project was last updated, (ISO8601)
	UpdatedAt string `pulumi:"updatedAt"`
}

type GetProjectsProjectArgs

type GetProjectsProjectArgs struct {
	// The date and time when the project was created, (ISO8601)
	CreatedAt pulumi.StringInput `pulumi:"createdAt"`
	// The description of the project
	Description pulumi.StringInput `pulumi:"description"`
	// The environment of the project's resources. The possible values are: `Development`, `Staging`, `Production`.
	Environment pulumi.StringInput `pulumi:"environment"`
	// The ID of the project
	Id        pulumi.StringInput `pulumi:"id"`
	IsDefault pulumi.BoolInput   `pulumi:"isDefault"`
	// The name of the project
	Name pulumi.StringInput `pulumi:"name"`
	// The ID of the project owner
	OwnerId pulumi.IntInput `pulumi:"ownerId"`
	// The unique universal identifier of the project owner
	OwnerUuid pulumi.StringInput `pulumi:"ownerUuid"`
	// The purpose of the project (Default: "Web Application")
	Purpose pulumi.StringInput `pulumi:"purpose"`
	// A set of uniform resource names (URNs) for the resources associated with the project
	Resources pulumi.StringArrayInput `pulumi:"resources"`
	// The date and time when the project was last updated, (ISO8601)
	UpdatedAt pulumi.StringInput `pulumi:"updatedAt"`
}

func (GetProjectsProjectArgs) ElementType

func (GetProjectsProjectArgs) ElementType() reflect.Type

func (GetProjectsProjectArgs) ToGetProjectsProjectOutput

func (i GetProjectsProjectArgs) ToGetProjectsProjectOutput() GetProjectsProjectOutput

func (GetProjectsProjectArgs) ToGetProjectsProjectOutputWithContext

func (i GetProjectsProjectArgs) ToGetProjectsProjectOutputWithContext(ctx context.Context) GetProjectsProjectOutput

type GetProjectsProjectArray

type GetProjectsProjectArray []GetProjectsProjectInput

func (GetProjectsProjectArray) ElementType

func (GetProjectsProjectArray) ElementType() reflect.Type

func (GetProjectsProjectArray) ToGetProjectsProjectArrayOutput

func (i GetProjectsProjectArray) ToGetProjectsProjectArrayOutput() GetProjectsProjectArrayOutput

func (GetProjectsProjectArray) ToGetProjectsProjectArrayOutputWithContext

func (i GetProjectsProjectArray) ToGetProjectsProjectArrayOutputWithContext(ctx context.Context) GetProjectsProjectArrayOutput

type GetProjectsProjectArrayInput

type GetProjectsProjectArrayInput interface {
	pulumi.Input

	ToGetProjectsProjectArrayOutput() GetProjectsProjectArrayOutput
	ToGetProjectsProjectArrayOutputWithContext(context.Context) GetProjectsProjectArrayOutput
}

GetProjectsProjectArrayInput is an input type that accepts GetProjectsProjectArray and GetProjectsProjectArrayOutput values. You can construct a concrete instance of `GetProjectsProjectArrayInput` via:

GetProjectsProjectArray{ GetProjectsProjectArgs{...} }

type GetProjectsProjectArrayOutput

type GetProjectsProjectArrayOutput struct{ *pulumi.OutputState }

func (GetProjectsProjectArrayOutput) ElementType

func (GetProjectsProjectArrayOutput) Index

func (GetProjectsProjectArrayOutput) ToGetProjectsProjectArrayOutput

func (o GetProjectsProjectArrayOutput) ToGetProjectsProjectArrayOutput() GetProjectsProjectArrayOutput

func (GetProjectsProjectArrayOutput) ToGetProjectsProjectArrayOutputWithContext

func (o GetProjectsProjectArrayOutput) ToGetProjectsProjectArrayOutputWithContext(ctx context.Context) GetProjectsProjectArrayOutput

type GetProjectsProjectInput

type GetProjectsProjectInput interface {
	pulumi.Input

	ToGetProjectsProjectOutput() GetProjectsProjectOutput
	ToGetProjectsProjectOutputWithContext(context.Context) GetProjectsProjectOutput
}

GetProjectsProjectInput is an input type that accepts GetProjectsProjectArgs and GetProjectsProjectOutput values. You can construct a concrete instance of `GetProjectsProjectInput` via:

GetProjectsProjectArgs{...}

type GetProjectsProjectOutput

type GetProjectsProjectOutput struct{ *pulumi.OutputState }

func (GetProjectsProjectOutput) CreatedAt

The date and time when the project was created, (ISO8601)

func (GetProjectsProjectOutput) Description

The description of the project

func (GetProjectsProjectOutput) ElementType

func (GetProjectsProjectOutput) ElementType() reflect.Type

func (GetProjectsProjectOutput) Environment

The environment of the project's resources. The possible values are: `Development`, `Staging`, `Production`.

func (GetProjectsProjectOutput) Id

The ID of the project

func (GetProjectsProjectOutput) IsDefault

func (GetProjectsProjectOutput) Name

The name of the project

func (GetProjectsProjectOutput) OwnerId

The ID of the project owner

func (GetProjectsProjectOutput) OwnerUuid

The unique universal identifier of the project owner

func (GetProjectsProjectOutput) Purpose

The purpose of the project (Default: "Web Application")

func (GetProjectsProjectOutput) Resources

A set of uniform resource names (URNs) for the resources associated with the project

func (GetProjectsProjectOutput) ToGetProjectsProjectOutput

func (o GetProjectsProjectOutput) ToGetProjectsProjectOutput() GetProjectsProjectOutput

func (GetProjectsProjectOutput) ToGetProjectsProjectOutputWithContext

func (o GetProjectsProjectOutput) ToGetProjectsProjectOutputWithContext(ctx context.Context) GetProjectsProjectOutput

func (GetProjectsProjectOutput) UpdatedAt

The date and time when the project was last updated, (ISO8601)

type GetProjectsResult

type GetProjectsResult struct {
	Filters []GetProjectsFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A set of projects satisfying any `filter` and `sort` criteria. Each project has
	// the following attributes:
	Projects []GetProjectsProject `pulumi:"projects"`
	Sorts    []GetProjectsSort    `pulumi:"sorts"`
}

A collection of values returned by getProjects.

func GetProjects

func GetProjects(ctx *pulumi.Context, args *GetProjectsArgs, opts ...pulumi.InvokeOption) (*GetProjectsResult, error)

Retrieve information about all DigitalOcean projects associated with an account, with the ability to filter and sort the results. If no filters are specified, all projects will be returned.

Note: You can use the `Project` data source to obtain metadata about a single project if you already know the `id` to retrieve or the unique `name` of the project.

## Example Usage

Use the `filter` block with a `key` string and `values` list to filter projects.

For example to find all staging environment projects:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.GetProjects(ctx, &digitalocean.GetProjectsArgs{
			Filters: []digitalocean.GetProjectsFilter{
				{
					Key: "environment",
					Values: []string{
						"Staging",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

You can filter on multiple fields and sort the results as well:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.GetProjects(ctx, &digitalocean.GetProjectsArgs{
			Filters: []digitalocean.GetProjectsFilter{
				{
					Key: "environment",
					Values: []string{
						"Production",
					},
				},
				{
					Key: "is_default",
					Values: []string{
						"false",
					},
				},
			},
			Sorts: []digitalocean.GetProjectsSort{
				{
					Direction: pulumi.StringRef("asc"),
					Key:       "name",
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetProjectsResultOutput added in v4.9.0

type GetProjectsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProjects.

func GetProjectsOutput added in v4.9.0

func GetProjectsOutput(ctx *pulumi.Context, args GetProjectsOutputArgs, opts ...pulumi.InvokeOption) GetProjectsResultOutput

func (GetProjectsResultOutput) ElementType added in v4.9.0

func (GetProjectsResultOutput) ElementType() reflect.Type

func (GetProjectsResultOutput) Filters added in v4.9.0

func (GetProjectsResultOutput) Id added in v4.9.0

The provider-assigned unique ID for this managed resource.

func (GetProjectsResultOutput) Projects added in v4.9.0

A set of projects satisfying any `filter` and `sort` criteria. Each project has the following attributes:

func (GetProjectsResultOutput) Sorts added in v4.9.0

func (GetProjectsResultOutput) ToGetProjectsResultOutput added in v4.9.0

func (o GetProjectsResultOutput) ToGetProjectsResultOutput() GetProjectsResultOutput

func (GetProjectsResultOutput) ToGetProjectsResultOutputWithContext added in v4.9.0

func (o GetProjectsResultOutput) ToGetProjectsResultOutputWithContext(ctx context.Context) GetProjectsResultOutput

type GetProjectsSort

type GetProjectsSort struct {
	// The sort direction. This may be either `asc` or `desc`.
	Direction *string `pulumi:"direction"`
	// Sort the projects by this key. This may be one of `name`,
	// `purpose`, `description`, or `environment`.
	Key string `pulumi:"key"`
}

type GetProjectsSortArgs

type GetProjectsSortArgs struct {
	// The sort direction. This may be either `asc` or `desc`.
	Direction pulumi.StringPtrInput `pulumi:"direction"`
	// Sort the projects by this key. This may be one of `name`,
	// `purpose`, `description`, or `environment`.
	Key pulumi.StringInput `pulumi:"key"`
}

func (GetProjectsSortArgs) ElementType

func (GetProjectsSortArgs) ElementType() reflect.Type

func (GetProjectsSortArgs) ToGetProjectsSortOutput

func (i GetProjectsSortArgs) ToGetProjectsSortOutput() GetProjectsSortOutput

func (GetProjectsSortArgs) ToGetProjectsSortOutputWithContext

func (i GetProjectsSortArgs) ToGetProjectsSortOutputWithContext(ctx context.Context) GetProjectsSortOutput

type GetProjectsSortArray

type GetProjectsSortArray []GetProjectsSortInput

func (GetProjectsSortArray) ElementType

func (GetProjectsSortArray) ElementType() reflect.Type

func (GetProjectsSortArray) ToGetProjectsSortArrayOutput

func (i GetProjectsSortArray) ToGetProjectsSortArrayOutput() GetProjectsSortArrayOutput

func (GetProjectsSortArray) ToGetProjectsSortArrayOutputWithContext

func (i GetProjectsSortArray) ToGetProjectsSortArrayOutputWithContext(ctx context.Context) GetProjectsSortArrayOutput

type GetProjectsSortArrayInput

type GetProjectsSortArrayInput interface {
	pulumi.Input

	ToGetProjectsSortArrayOutput() GetProjectsSortArrayOutput
	ToGetProjectsSortArrayOutputWithContext(context.Context) GetProjectsSortArrayOutput
}

GetProjectsSortArrayInput is an input type that accepts GetProjectsSortArray and GetProjectsSortArrayOutput values. You can construct a concrete instance of `GetProjectsSortArrayInput` via:

GetProjectsSortArray{ GetProjectsSortArgs{...} }

type GetProjectsSortArrayOutput

type GetProjectsSortArrayOutput struct{ *pulumi.OutputState }

func (GetProjectsSortArrayOutput) ElementType

func (GetProjectsSortArrayOutput) ElementType() reflect.Type

func (GetProjectsSortArrayOutput) Index

func (GetProjectsSortArrayOutput) ToGetProjectsSortArrayOutput

func (o GetProjectsSortArrayOutput) ToGetProjectsSortArrayOutput() GetProjectsSortArrayOutput

func (GetProjectsSortArrayOutput) ToGetProjectsSortArrayOutputWithContext

func (o GetProjectsSortArrayOutput) ToGetProjectsSortArrayOutputWithContext(ctx context.Context) GetProjectsSortArrayOutput

type GetProjectsSortInput

type GetProjectsSortInput interface {
	pulumi.Input

	ToGetProjectsSortOutput() GetProjectsSortOutput
	ToGetProjectsSortOutputWithContext(context.Context) GetProjectsSortOutput
}

GetProjectsSortInput is an input type that accepts GetProjectsSortArgs and GetProjectsSortOutput values. You can construct a concrete instance of `GetProjectsSortInput` via:

GetProjectsSortArgs{...}

type GetProjectsSortOutput

type GetProjectsSortOutput struct{ *pulumi.OutputState }

func (GetProjectsSortOutput) Direction

The sort direction. This may be either `asc` or `desc`.

func (GetProjectsSortOutput) ElementType

func (GetProjectsSortOutput) ElementType() reflect.Type

func (GetProjectsSortOutput) Key

Sort the projects by this key. This may be one of `name`, `purpose`, `description`, or `environment`.

func (GetProjectsSortOutput) ToGetProjectsSortOutput

func (o GetProjectsSortOutput) ToGetProjectsSortOutput() GetProjectsSortOutput

func (GetProjectsSortOutput) ToGetProjectsSortOutputWithContext

func (o GetProjectsSortOutput) ToGetProjectsSortOutputWithContext(ctx context.Context) GetProjectsSortOutput

type GetRecordArgs

type GetRecordArgs struct {
	// The domain name of the record.
	Domain string `pulumi:"domain"`
	// The name of the record.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getRecord.

type GetRecordOutputArgs added in v4.9.0

type GetRecordOutputArgs struct {
	// The domain name of the record.
	Domain pulumi.StringInput `pulumi:"domain"`
	// The name of the record.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getRecord.

func (GetRecordOutputArgs) ElementType added in v4.9.0

func (GetRecordOutputArgs) ElementType() reflect.Type

type GetRecordResult

type GetRecordResult struct {
	// Variable data depending on record type. For example, the "data" value for an A record would be the IPv4 address to which the domain will be mapped. For a CAA record, it would contain the domain name of the CA being granted permission to issue certificates.
	Data   string `pulumi:"data"`
	Domain string `pulumi:"domain"`
	// An unsigned integer between 0-255 used for CAA records.
	Flags int `pulumi:"flags"`
	// The provider-assigned unique ID for this managed resource.
	Id   string `pulumi:"id"`
	Name string `pulumi:"name"`
	// The port for SRV records.
	Port int `pulumi:"port"`
	// The priority for SRV and MX records.
	Priority int `pulumi:"priority"`
	// The parameter tag for CAA records.
	Tag string `pulumi:"tag"`
	// This value is the time to live for the record, in seconds. This defines the time frame that clients can cache queried information before a refresh should be requested.
	Ttl int `pulumi:"ttl"`
	// The type of the DNS record.
	Type string `pulumi:"type"`
	// The weight for SRV records.
	Weight int `pulumi:"weight"`
}

A collection of values returned by getRecord.

func GetRecord

func GetRecord(ctx *pulumi.Context, args *GetRecordArgs, opts ...pulumi.InvokeOption) (*GetRecordResult, error)

Get information on a DNS record. This data source provides the name, TTL, and zone file as configured on your DigitalOcean account. This is useful if the record in question is not managed by the provider.

An error is triggered if the provided domain name or record are not managed with your DigitalOcean account.

## Example Usage

Get data from a DNS record:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := digitalocean.GetRecord(ctx, &digitalocean.GetRecordArgs{
			Domain: "example.com",
			Name:   "test",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("recordType", example.Type)
		ctx.Export("recordTtl", example.Ttl)
		return nil
	})
}

```

type GetRecordResultOutput added in v4.9.0

type GetRecordResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRecord.

func GetRecordOutput added in v4.9.0

func GetRecordOutput(ctx *pulumi.Context, args GetRecordOutputArgs, opts ...pulumi.InvokeOption) GetRecordResultOutput

func (GetRecordResultOutput) Data added in v4.9.0

Variable data depending on record type. For example, the "data" value for an A record would be the IPv4 address to which the domain will be mapped. For a CAA record, it would contain the domain name of the CA being granted permission to issue certificates.

func (GetRecordResultOutput) Domain added in v4.9.0

func (GetRecordResultOutput) ElementType added in v4.9.0

func (GetRecordResultOutput) ElementType() reflect.Type

func (GetRecordResultOutput) Flags added in v4.9.0

An unsigned integer between 0-255 used for CAA records.

func (GetRecordResultOutput) Id added in v4.9.0

The provider-assigned unique ID for this managed resource.

func (GetRecordResultOutput) Name added in v4.9.0

func (GetRecordResultOutput) Port added in v4.9.0

The port for SRV records.

func (GetRecordResultOutput) Priority added in v4.9.0

func (o GetRecordResultOutput) Priority() pulumi.IntOutput

The priority for SRV and MX records.

func (GetRecordResultOutput) Tag added in v4.9.0

The parameter tag for CAA records.

func (GetRecordResultOutput) ToGetRecordResultOutput added in v4.9.0

func (o GetRecordResultOutput) ToGetRecordResultOutput() GetRecordResultOutput

func (GetRecordResultOutput) ToGetRecordResultOutputWithContext added in v4.9.0

func (o GetRecordResultOutput) ToGetRecordResultOutputWithContext(ctx context.Context) GetRecordResultOutput

func (GetRecordResultOutput) Ttl added in v4.9.0

This value is the time to live for the record, in seconds. This defines the time frame that clients can cache queried information before a refresh should be requested.

func (GetRecordResultOutput) Type added in v4.9.0

The type of the DNS record.

func (GetRecordResultOutput) Weight added in v4.9.0

The weight for SRV records.

type GetRecordsArgs

type GetRecordsArgs struct {
	// The domain name to search for DNS records
	Domain string `pulumi:"domain"`
	// Filter the results.
	// The `filter` block is documented below.
	Filters []GetRecordsFilter `pulumi:"filters"`
	// Sort the results.
	// The `sort` block is documented below.
	Sorts []GetRecordsSort `pulumi:"sorts"`
}

A collection of arguments for invoking getRecords.

type GetRecordsFilter

type GetRecordsFilter struct {
	// Set to `true` to require that a field match all of the `values` instead of just one or more of
	// them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure
	// that all of the `values` are present in the list or set.
	All *bool `pulumi:"all"`
	// Filter the DNS records by this key. This may be one of `domain`, `flags`, `name`, `port`,
	// `priority`, `tag`, `ttl`, `type`, `value`, or `weight`.
	Key string `pulumi:"key"`
	// One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to
	// match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as
	// substrings to find within the string field.
	MatchBy *string `pulumi:"matchBy"`
	// A list of values to match against the `key` field. Only retrieves DNS records
	// where the `key` field takes on one or more of the values provided here.
	Values []string `pulumi:"values"`
}

type GetRecordsFilterArgs

type GetRecordsFilterArgs struct {
	// Set to `true` to require that a field match all of the `values` instead of just one or more of
	// them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure
	// that all of the `values` are present in the list or set.
	All pulumi.BoolPtrInput `pulumi:"all"`
	// Filter the DNS records by this key. This may be one of `domain`, `flags`, `name`, `port`,
	// `priority`, `tag`, `ttl`, `type`, `value`, or `weight`.
	Key pulumi.StringInput `pulumi:"key"`
	// One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to
	// match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as
	// substrings to find within the string field.
	MatchBy pulumi.StringPtrInput `pulumi:"matchBy"`
	// A list of values to match against the `key` field. Only retrieves DNS records
	// where the `key` field takes on one or more of the values provided here.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetRecordsFilterArgs) ElementType

func (GetRecordsFilterArgs) ElementType() reflect.Type

func (GetRecordsFilterArgs) ToGetRecordsFilterOutput

func (i GetRecordsFilterArgs) ToGetRecordsFilterOutput() GetRecordsFilterOutput

func (GetRecordsFilterArgs) ToGetRecordsFilterOutputWithContext

func (i GetRecordsFilterArgs) ToGetRecordsFilterOutputWithContext(ctx context.Context) GetRecordsFilterOutput

type GetRecordsFilterArray

type GetRecordsFilterArray []GetRecordsFilterInput

func (GetRecordsFilterArray) ElementType

func (GetRecordsFilterArray) ElementType() reflect.Type

func (GetRecordsFilterArray) ToGetRecordsFilterArrayOutput

func (i GetRecordsFilterArray) ToGetRecordsFilterArrayOutput() GetRecordsFilterArrayOutput

func (GetRecordsFilterArray) ToGetRecordsFilterArrayOutputWithContext

func (i GetRecordsFilterArray) ToGetRecordsFilterArrayOutputWithContext(ctx context.Context) GetRecordsFilterArrayOutput

type GetRecordsFilterArrayInput

type GetRecordsFilterArrayInput interface {
	pulumi.Input

	ToGetRecordsFilterArrayOutput() GetRecordsFilterArrayOutput
	ToGetRecordsFilterArrayOutputWithContext(context.Context) GetRecordsFilterArrayOutput
}

GetRecordsFilterArrayInput is an input type that accepts GetRecordsFilterArray and GetRecordsFilterArrayOutput values. You can construct a concrete instance of `GetRecordsFilterArrayInput` via:

GetRecordsFilterArray{ GetRecordsFilterArgs{...} }

type GetRecordsFilterArrayOutput

type GetRecordsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetRecordsFilterArrayOutput) ElementType

func (GetRecordsFilterArrayOutput) Index

func (GetRecordsFilterArrayOutput) ToGetRecordsFilterArrayOutput

func (o GetRecordsFilterArrayOutput) ToGetRecordsFilterArrayOutput() GetRecordsFilterArrayOutput

func (GetRecordsFilterArrayOutput) ToGetRecordsFilterArrayOutputWithContext

func (o GetRecordsFilterArrayOutput) ToGetRecordsFilterArrayOutputWithContext(ctx context.Context) GetRecordsFilterArrayOutput

type GetRecordsFilterInput

type GetRecordsFilterInput interface {
	pulumi.Input

	ToGetRecordsFilterOutput() GetRecordsFilterOutput
	ToGetRecordsFilterOutputWithContext(context.Context) GetRecordsFilterOutput
}

GetRecordsFilterInput is an input type that accepts GetRecordsFilterArgs and GetRecordsFilterOutput values. You can construct a concrete instance of `GetRecordsFilterInput` via:

GetRecordsFilterArgs{...}

type GetRecordsFilterOutput

type GetRecordsFilterOutput struct{ *pulumi.OutputState }

func (GetRecordsFilterOutput) All

Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set.

func (GetRecordsFilterOutput) ElementType

func (GetRecordsFilterOutput) ElementType() reflect.Type

func (GetRecordsFilterOutput) Key

Filter the DNS records by this key. This may be one of `domain`, `flags`, `name`, `port`, `priority`, `tag`, `ttl`, `type`, `value`, or `weight`.

func (GetRecordsFilterOutput) MatchBy

One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field.

func (GetRecordsFilterOutput) ToGetRecordsFilterOutput

func (o GetRecordsFilterOutput) ToGetRecordsFilterOutput() GetRecordsFilterOutput

func (GetRecordsFilterOutput) ToGetRecordsFilterOutputWithContext

func (o GetRecordsFilterOutput) ToGetRecordsFilterOutputWithContext(ctx context.Context) GetRecordsFilterOutput

func (GetRecordsFilterOutput) Values

A list of values to match against the `key` field. Only retrieves DNS records where the `key` field takes on one or more of the values provided here.

type GetRecordsOutputArgs added in v4.9.0

type GetRecordsOutputArgs struct {
	// The domain name to search for DNS records
	Domain pulumi.StringInput `pulumi:"domain"`
	// Filter the results.
	// The `filter` block is documented below.
	Filters GetRecordsFilterArrayInput `pulumi:"filters"`
	// Sort the results.
	// The `sort` block is documented below.
	Sorts GetRecordsSortArrayInput `pulumi:"sorts"`
}

A collection of arguments for invoking getRecords.

func (GetRecordsOutputArgs) ElementType added in v4.9.0

func (GetRecordsOutputArgs) ElementType() reflect.Type

type GetRecordsRecord

type GetRecordsRecord struct {
	// The domain name to search for DNS records
	Domain string `pulumi:"domain"`
	// An unsigned integer between 0-255 used for CAA records.
	Flags int `pulumi:"flags"`
	// The ID of the record.
	Id int `pulumi:"id"`
	// The name of the DNS record.
	Name string `pulumi:"name"`
	// The port for SRV records.
	Port int `pulumi:"port"`
	// The priority for SRV and MX records.
	Priority int `pulumi:"priority"`
	// The parameter tag for CAA records.
	Tag string `pulumi:"tag"`
	// This value is the time to live for the record, in seconds. This defines the time frame that clients can cache queried information before a refresh should be requested.
	Ttl int `pulumi:"ttl"`
	// The type of the DNS record.
	Type string `pulumi:"type"`
	// Variable data depending on record type. For example, the "data" value for an A record would be the IPv4 address to which the domain will be mapped. For a CAA record, it would contain the domain name of the CA being granted permission to issue certificates.
	Value string `pulumi:"value"`
	// The weight for SRV records.
	Weight int `pulumi:"weight"`
}

type GetRecordsRecordArgs

type GetRecordsRecordArgs struct {
	// The domain name to search for DNS records
	Domain pulumi.StringInput `pulumi:"domain"`
	// An unsigned integer between 0-255 used for CAA records.
	Flags pulumi.IntInput `pulumi:"flags"`
	// The ID of the record.
	Id pulumi.IntInput `pulumi:"id"`
	// The name of the DNS record.
	Name pulumi.StringInput `pulumi:"name"`
	// The port for SRV records.
	Port pulumi.IntInput `pulumi:"port"`
	// The priority for SRV and MX records.
	Priority pulumi.IntInput `pulumi:"priority"`
	// The parameter tag for CAA records.
	Tag pulumi.StringInput `pulumi:"tag"`
	// This value is the time to live for the record, in seconds. This defines the time frame that clients can cache queried information before a refresh should be requested.
	Ttl pulumi.IntInput `pulumi:"ttl"`
	// The type of the DNS record.
	Type pulumi.StringInput `pulumi:"type"`
	// Variable data depending on record type. For example, the "data" value for an A record would be the IPv4 address to which the domain will be mapped. For a CAA record, it would contain the domain name of the CA being granted permission to issue certificates.
	Value pulumi.StringInput `pulumi:"value"`
	// The weight for SRV records.
	Weight pulumi.IntInput `pulumi:"weight"`
}

func (GetRecordsRecordArgs) ElementType

func (GetRecordsRecordArgs) ElementType() reflect.Type

func (GetRecordsRecordArgs) ToGetRecordsRecordOutput

func (i GetRecordsRecordArgs) ToGetRecordsRecordOutput() GetRecordsRecordOutput

func (GetRecordsRecordArgs) ToGetRecordsRecordOutputWithContext

func (i GetRecordsRecordArgs) ToGetRecordsRecordOutputWithContext(ctx context.Context) GetRecordsRecordOutput

type GetRecordsRecordArray

type GetRecordsRecordArray []GetRecordsRecordInput

func (GetRecordsRecordArray) ElementType

func (GetRecordsRecordArray) ElementType() reflect.Type

func (GetRecordsRecordArray) ToGetRecordsRecordArrayOutput

func (i GetRecordsRecordArray) ToGetRecordsRecordArrayOutput() GetRecordsRecordArrayOutput

func (GetRecordsRecordArray) ToGetRecordsRecordArrayOutputWithContext

func (i GetRecordsRecordArray) ToGetRecordsRecordArrayOutputWithContext(ctx context.Context) GetRecordsRecordArrayOutput

type GetRecordsRecordArrayInput

type GetRecordsRecordArrayInput interface {
	pulumi.Input

	ToGetRecordsRecordArrayOutput() GetRecordsRecordArrayOutput
	ToGetRecordsRecordArrayOutputWithContext(context.Context) GetRecordsRecordArrayOutput
}

GetRecordsRecordArrayInput is an input type that accepts GetRecordsRecordArray and GetRecordsRecordArrayOutput values. You can construct a concrete instance of `GetRecordsRecordArrayInput` via:

GetRecordsRecordArray{ GetRecordsRecordArgs{...} }

type GetRecordsRecordArrayOutput

type GetRecordsRecordArrayOutput struct{ *pulumi.OutputState }

func (GetRecordsRecordArrayOutput) ElementType

func (GetRecordsRecordArrayOutput) Index

func (GetRecordsRecordArrayOutput) ToGetRecordsRecordArrayOutput

func (o GetRecordsRecordArrayOutput) ToGetRecordsRecordArrayOutput() GetRecordsRecordArrayOutput

func (GetRecordsRecordArrayOutput) ToGetRecordsRecordArrayOutputWithContext

func (o GetRecordsRecordArrayOutput) ToGetRecordsRecordArrayOutputWithContext(ctx context.Context) GetRecordsRecordArrayOutput

type GetRecordsRecordInput

type GetRecordsRecordInput interface {
	pulumi.Input

	ToGetRecordsRecordOutput() GetRecordsRecordOutput
	ToGetRecordsRecordOutputWithContext(context.Context) GetRecordsRecordOutput
}

GetRecordsRecordInput is an input type that accepts GetRecordsRecordArgs and GetRecordsRecordOutput values. You can construct a concrete instance of `GetRecordsRecordInput` via:

GetRecordsRecordArgs{...}

type GetRecordsRecordOutput

type GetRecordsRecordOutput struct{ *pulumi.OutputState }

func (GetRecordsRecordOutput) Domain

The domain name to search for DNS records

func (GetRecordsRecordOutput) ElementType

func (GetRecordsRecordOutput) ElementType() reflect.Type

func (GetRecordsRecordOutput) Flags

An unsigned integer between 0-255 used for CAA records.

func (GetRecordsRecordOutput) Id

The ID of the record.

func (GetRecordsRecordOutput) Name

The name of the DNS record.

func (GetRecordsRecordOutput) Port

The port for SRV records.

func (GetRecordsRecordOutput) Priority

The priority for SRV and MX records.

func (GetRecordsRecordOutput) Tag

The parameter tag for CAA records.

func (GetRecordsRecordOutput) ToGetRecordsRecordOutput

func (o GetRecordsRecordOutput) ToGetRecordsRecordOutput() GetRecordsRecordOutput

func (GetRecordsRecordOutput) ToGetRecordsRecordOutputWithContext

func (o GetRecordsRecordOutput) ToGetRecordsRecordOutputWithContext(ctx context.Context) GetRecordsRecordOutput

func (GetRecordsRecordOutput) Ttl

This value is the time to live for the record, in seconds. This defines the time frame that clients can cache queried information before a refresh should be requested.

func (GetRecordsRecordOutput) Type

The type of the DNS record.

func (GetRecordsRecordOutput) Value

Variable data depending on record type. For example, the "data" value for an A record would be the IPv4 address to which the domain will be mapped. For a CAA record, it would contain the domain name of the CA being granted permission to issue certificates.

func (GetRecordsRecordOutput) Weight

The weight for SRV records.

type GetRecordsResult

type GetRecordsResult struct {
	// Domain of the DNS record.
	Domain  string             `pulumi:"domain"`
	Filters []GetRecordsFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id      string             `pulumi:"id"`
	Records []GetRecordsRecord `pulumi:"records"`
	Sorts   []GetRecordsSort   `pulumi:"sorts"`
}

A collection of values returned by getRecords.

func GetRecords

func GetRecords(ctx *pulumi.Context, args *GetRecordsArgs, opts ...pulumi.InvokeOption) (*GetRecordsResult, error)

Retrieve information about all DNS records within a domain, with the ability to filter and sort the results. If no filters are specified, all records will be returned.

type GetRecordsResultOutput added in v4.9.0

type GetRecordsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRecords.

func GetRecordsOutput added in v4.9.0

func GetRecordsOutput(ctx *pulumi.Context, args GetRecordsOutputArgs, opts ...pulumi.InvokeOption) GetRecordsResultOutput

func (GetRecordsResultOutput) Domain added in v4.9.0

Domain of the DNS record.

func (GetRecordsResultOutput) ElementType added in v4.9.0

func (GetRecordsResultOutput) ElementType() reflect.Type

func (GetRecordsResultOutput) Filters added in v4.9.0

func (GetRecordsResultOutput) Id added in v4.9.0

The provider-assigned unique ID for this managed resource.

func (GetRecordsResultOutput) Records added in v4.9.0

func (GetRecordsResultOutput) Sorts added in v4.9.0

func (GetRecordsResultOutput) ToGetRecordsResultOutput added in v4.9.0

func (o GetRecordsResultOutput) ToGetRecordsResultOutput() GetRecordsResultOutput

func (GetRecordsResultOutput) ToGetRecordsResultOutputWithContext added in v4.9.0

func (o GetRecordsResultOutput) ToGetRecordsResultOutputWithContext(ctx context.Context) GetRecordsResultOutput

type GetRecordsSort

type GetRecordsSort struct {
	// The sort direction. This may be either `asc` or `desc`.
	Direction *string `pulumi:"direction"`
	// Sort the DNS records by this key. This may be one of `domain`, `flags`, `name`, `port`,
	// `priority`, `tag`, `ttl`, `type`, `value`, or `weight`.
	Key string `pulumi:"key"`
}

type GetRecordsSortArgs

type GetRecordsSortArgs struct {
	// The sort direction. This may be either `asc` or `desc`.
	Direction pulumi.StringPtrInput `pulumi:"direction"`
	// Sort the DNS records by this key. This may be one of `domain`, `flags`, `name`, `port`,
	// `priority`, `tag`, `ttl`, `type`, `value`, or `weight`.
	Key pulumi.StringInput `pulumi:"key"`
}

func (GetRecordsSortArgs) ElementType

func (GetRecordsSortArgs) ElementType() reflect.Type

func (GetRecordsSortArgs) ToGetRecordsSortOutput

func (i GetRecordsSortArgs) ToGetRecordsSortOutput() GetRecordsSortOutput

func (GetRecordsSortArgs) ToGetRecordsSortOutputWithContext

func (i GetRecordsSortArgs) ToGetRecordsSortOutputWithContext(ctx context.Context) GetRecordsSortOutput

type GetRecordsSortArray

type GetRecordsSortArray []GetRecordsSortInput

func (GetRecordsSortArray) ElementType

func (GetRecordsSortArray) ElementType() reflect.Type

func (GetRecordsSortArray) ToGetRecordsSortArrayOutput

func (i GetRecordsSortArray) ToGetRecordsSortArrayOutput() GetRecordsSortArrayOutput

func (GetRecordsSortArray) ToGetRecordsSortArrayOutputWithContext

func (i GetRecordsSortArray) ToGetRecordsSortArrayOutputWithContext(ctx context.Context) GetRecordsSortArrayOutput

type GetRecordsSortArrayInput

type GetRecordsSortArrayInput interface {
	pulumi.Input

	ToGetRecordsSortArrayOutput() GetRecordsSortArrayOutput
	ToGetRecordsSortArrayOutputWithContext(context.Context) GetRecordsSortArrayOutput
}

GetRecordsSortArrayInput is an input type that accepts GetRecordsSortArray and GetRecordsSortArrayOutput values. You can construct a concrete instance of `GetRecordsSortArrayInput` via:

GetRecordsSortArray{ GetRecordsSortArgs{...} }

type GetRecordsSortArrayOutput

type GetRecordsSortArrayOutput struct{ *pulumi.OutputState }

func (GetRecordsSortArrayOutput) ElementType

func (GetRecordsSortArrayOutput) ElementType() reflect.Type

func (GetRecordsSortArrayOutput) Index

func (GetRecordsSortArrayOutput) ToGetRecordsSortArrayOutput

func (o GetRecordsSortArrayOutput) ToGetRecordsSortArrayOutput() GetRecordsSortArrayOutput

func (GetRecordsSortArrayOutput) ToGetRecordsSortArrayOutputWithContext

func (o GetRecordsSortArrayOutput) ToGetRecordsSortArrayOutputWithContext(ctx context.Context) GetRecordsSortArrayOutput

type GetRecordsSortInput

type GetRecordsSortInput interface {
	pulumi.Input

	ToGetRecordsSortOutput() GetRecordsSortOutput
	ToGetRecordsSortOutputWithContext(context.Context) GetRecordsSortOutput
}

GetRecordsSortInput is an input type that accepts GetRecordsSortArgs and GetRecordsSortOutput values. You can construct a concrete instance of `GetRecordsSortInput` via:

GetRecordsSortArgs{...}

type GetRecordsSortOutput

type GetRecordsSortOutput struct{ *pulumi.OutputState }

func (GetRecordsSortOutput) Direction

The sort direction. This may be either `asc` or `desc`.

func (GetRecordsSortOutput) ElementType

func (GetRecordsSortOutput) ElementType() reflect.Type

func (GetRecordsSortOutput) Key

Sort the DNS records by this key. This may be one of `domain`, `flags`, `name`, `port`, `priority`, `tag`, `ttl`, `type`, `value`, or `weight`.

func (GetRecordsSortOutput) ToGetRecordsSortOutput

func (o GetRecordsSortOutput) ToGetRecordsSortOutput() GetRecordsSortOutput

func (GetRecordsSortOutput) ToGetRecordsSortOutputWithContext

func (o GetRecordsSortOutput) ToGetRecordsSortOutputWithContext(ctx context.Context) GetRecordsSortOutput

type GetRegionArgs

type GetRegionArgs struct {
	// A human-readable string that is used as a unique identifier for each region.
	Slug string `pulumi:"slug"`
}

A collection of arguments for invoking getRegion.

type GetRegionOutputArgs added in v4.9.0

type GetRegionOutputArgs struct {
	// A human-readable string that is used as a unique identifier for each region.
	Slug pulumi.StringInput `pulumi:"slug"`
}

A collection of arguments for invoking getRegion.

func (GetRegionOutputArgs) ElementType added in v4.9.0

func (GetRegionOutputArgs) ElementType() reflect.Type

type GetRegionResult

type GetRegionResult struct {
	// A boolean value that represents whether new Droplets can be created in this region.
	Available bool `pulumi:"available"`
	// A set of features available in this region.
	Features []string `pulumi:"features"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The display name of the region.
	Name string `pulumi:"name"`
	// A set of identifying slugs for the Droplet sizes available in this region.
	Sizes []string `pulumi:"sizes"`
	// A human-readable string that is used as a unique identifier for each region.
	Slug string `pulumi:"slug"`
}

A collection of values returned by getRegion.

func GetRegion

func GetRegion(ctx *pulumi.Context, args *GetRegionArgs, opts ...pulumi.InvokeOption) (*GetRegionResult, error)

Get information on a single DigitalOcean region. This is useful to find out what Droplet sizes and features are supported within a region.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		sfo2, err := digitalocean.GetRegion(ctx, &digitalocean.GetRegionArgs{
			Slug: "sfo2",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("regionName", sfo2.Name)
		return nil
	})
}

```

type GetRegionResultOutput added in v4.9.0

type GetRegionResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRegion.

func GetRegionOutput added in v4.9.0

func GetRegionOutput(ctx *pulumi.Context, args GetRegionOutputArgs, opts ...pulumi.InvokeOption) GetRegionResultOutput

func (GetRegionResultOutput) Available added in v4.9.0

func (o GetRegionResultOutput) Available() pulumi.BoolOutput

A boolean value that represents whether new Droplets can be created in this region.

func (GetRegionResultOutput) ElementType added in v4.9.0

func (GetRegionResultOutput) ElementType() reflect.Type

func (GetRegionResultOutput) Features added in v4.9.0

A set of features available in this region.

func (GetRegionResultOutput) Id added in v4.9.0

The provider-assigned unique ID for this managed resource.

func (GetRegionResultOutput) Name added in v4.9.0

The display name of the region.

func (GetRegionResultOutput) Sizes added in v4.9.0

A set of identifying slugs for the Droplet sizes available in this region.

func (GetRegionResultOutput) Slug added in v4.9.0

A human-readable string that is used as a unique identifier for each region.

func (GetRegionResultOutput) ToGetRegionResultOutput added in v4.9.0

func (o GetRegionResultOutput) ToGetRegionResultOutput() GetRegionResultOutput

func (GetRegionResultOutput) ToGetRegionResultOutputWithContext added in v4.9.0

func (o GetRegionResultOutput) ToGetRegionResultOutputWithContext(ctx context.Context) GetRegionResultOutput

type GetRegionsArgs

type GetRegionsArgs struct {
	// Filter the results.
	// The `filter` block is documented below.
	Filters []GetRegionsFilter `pulumi:"filters"`
	// Sort the results.
	// The `sort` block is documented below.
	Sorts []GetRegionsSort `pulumi:"sorts"`
}

A collection of arguments for invoking getRegions.

type GetRegionsFilter

type GetRegionsFilter struct {
	// Set to `true` to require that a field match all of the `values` instead of just one or more of
	// them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure
	// that all of the `values` are present in the list or set.
	All *bool `pulumi:"all"`
	// Filter the regions by this key. This may be one of `slug`,
	// `name`, `available`, `features`, or `sizes`.
	Key string `pulumi:"key"`
	// One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to
	// match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as
	// substrings to find within the string field.
	MatchBy *string `pulumi:"matchBy"`
	// A list of values to match against the `key` field. Only retrieves regions
	// where the `key` field takes on one or more of the values provided here.
	Values []string `pulumi:"values"`
}

type GetRegionsFilterArgs

type GetRegionsFilterArgs struct {
	// Set to `true` to require that a field match all of the `values` instead of just one or more of
	// them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure
	// that all of the `values` are present in the list or set.
	All pulumi.BoolPtrInput `pulumi:"all"`
	// Filter the regions by this key. This may be one of `slug`,
	// `name`, `available`, `features`, or `sizes`.
	Key pulumi.StringInput `pulumi:"key"`
	// One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to
	// match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as
	// substrings to find within the string field.
	MatchBy pulumi.StringPtrInput `pulumi:"matchBy"`
	// A list of values to match against the `key` field. Only retrieves regions
	// where the `key` field takes on one or more of the values provided here.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetRegionsFilterArgs) ElementType

func (GetRegionsFilterArgs) ElementType() reflect.Type

func (GetRegionsFilterArgs) ToGetRegionsFilterOutput

func (i GetRegionsFilterArgs) ToGetRegionsFilterOutput() GetRegionsFilterOutput

func (GetRegionsFilterArgs) ToGetRegionsFilterOutputWithContext

func (i GetRegionsFilterArgs) ToGetRegionsFilterOutputWithContext(ctx context.Context) GetRegionsFilterOutput

type GetRegionsFilterArray

type GetRegionsFilterArray []GetRegionsFilterInput

func (GetRegionsFilterArray) ElementType

func (GetRegionsFilterArray) ElementType() reflect.Type

func (GetRegionsFilterArray) ToGetRegionsFilterArrayOutput

func (i GetRegionsFilterArray) ToGetRegionsFilterArrayOutput() GetRegionsFilterArrayOutput

func (GetRegionsFilterArray) ToGetRegionsFilterArrayOutputWithContext

func (i GetRegionsFilterArray) ToGetRegionsFilterArrayOutputWithContext(ctx context.Context) GetRegionsFilterArrayOutput

type GetRegionsFilterArrayInput

type GetRegionsFilterArrayInput interface {
	pulumi.Input

	ToGetRegionsFilterArrayOutput() GetRegionsFilterArrayOutput
	ToGetRegionsFilterArrayOutputWithContext(context.Context) GetRegionsFilterArrayOutput
}

GetRegionsFilterArrayInput is an input type that accepts GetRegionsFilterArray and GetRegionsFilterArrayOutput values. You can construct a concrete instance of `GetRegionsFilterArrayInput` via:

GetRegionsFilterArray{ GetRegionsFilterArgs{...} }

type GetRegionsFilterArrayOutput

type GetRegionsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetRegionsFilterArrayOutput) ElementType

func (GetRegionsFilterArrayOutput) Index

func (GetRegionsFilterArrayOutput) ToGetRegionsFilterArrayOutput

func (o GetRegionsFilterArrayOutput) ToGetRegionsFilterArrayOutput() GetRegionsFilterArrayOutput

func (GetRegionsFilterArrayOutput) ToGetRegionsFilterArrayOutputWithContext

func (o GetRegionsFilterArrayOutput) ToGetRegionsFilterArrayOutputWithContext(ctx context.Context) GetRegionsFilterArrayOutput

type GetRegionsFilterInput

type GetRegionsFilterInput interface {
	pulumi.Input

	ToGetRegionsFilterOutput() GetRegionsFilterOutput
	ToGetRegionsFilterOutputWithContext(context.Context) GetRegionsFilterOutput
}

GetRegionsFilterInput is an input type that accepts GetRegionsFilterArgs and GetRegionsFilterOutput values. You can construct a concrete instance of `GetRegionsFilterInput` via:

GetRegionsFilterArgs{...}

type GetRegionsFilterOutput

type GetRegionsFilterOutput struct{ *pulumi.OutputState }

func (GetRegionsFilterOutput) All

Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set.

func (GetRegionsFilterOutput) ElementType

func (GetRegionsFilterOutput) ElementType() reflect.Type

func (GetRegionsFilterOutput) Key

Filter the regions by this key. This may be one of `slug`, `name`, `available`, `features`, or `sizes`.

func (GetRegionsFilterOutput) MatchBy

One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field.

func (GetRegionsFilterOutput) ToGetRegionsFilterOutput

func (o GetRegionsFilterOutput) ToGetRegionsFilterOutput() GetRegionsFilterOutput

func (GetRegionsFilterOutput) ToGetRegionsFilterOutputWithContext

func (o GetRegionsFilterOutput) ToGetRegionsFilterOutputWithContext(ctx context.Context) GetRegionsFilterOutput

func (GetRegionsFilterOutput) Values

A list of values to match against the `key` field. Only retrieves regions where the `key` field takes on one or more of the values provided here.

type GetRegionsOutputArgs added in v4.9.0

type GetRegionsOutputArgs struct {
	// Filter the results.
	// The `filter` block is documented below.
	Filters GetRegionsFilterArrayInput `pulumi:"filters"`
	// Sort the results.
	// The `sort` block is documented below.
	Sorts GetRegionsSortArrayInput `pulumi:"sorts"`
}

A collection of arguments for invoking getRegions.

func (GetRegionsOutputArgs) ElementType added in v4.9.0

func (GetRegionsOutputArgs) ElementType() reflect.Type

type GetRegionsRegion

type GetRegionsRegion struct {
	// A boolean value that represents whether new Droplets can be created in this region.
	Available bool `pulumi:"available"`
	// A set of features available in this region.
	Features []string `pulumi:"features"`
	// The display name of the region.
	Name string `pulumi:"name"`
	// A set of identifying slugs for the Droplet sizes available in this region.
	Sizes []string `pulumi:"sizes"`
	// A human-readable string that is used as a unique identifier for each region.
	Slug string `pulumi:"slug"`
}

type GetRegionsRegionArgs

type GetRegionsRegionArgs struct {
	// A boolean value that represents whether new Droplets can be created in this region.
	Available pulumi.BoolInput `pulumi:"available"`
	// A set of features available in this region.
	Features pulumi.StringArrayInput `pulumi:"features"`
	// The display name of the region.
	Name pulumi.StringInput `pulumi:"name"`
	// A set of identifying slugs for the Droplet sizes available in this region.
	Sizes pulumi.StringArrayInput `pulumi:"sizes"`
	// A human-readable string that is used as a unique identifier for each region.
	Slug pulumi.StringInput `pulumi:"slug"`
}

func (GetRegionsRegionArgs) ElementType

func (GetRegionsRegionArgs) ElementType() reflect.Type

func (GetRegionsRegionArgs) ToGetRegionsRegionOutput

func (i GetRegionsRegionArgs) ToGetRegionsRegionOutput() GetRegionsRegionOutput

func (GetRegionsRegionArgs) ToGetRegionsRegionOutputWithContext

func (i GetRegionsRegionArgs) ToGetRegionsRegionOutputWithContext(ctx context.Context) GetRegionsRegionOutput

type GetRegionsRegionArray

type GetRegionsRegionArray []GetRegionsRegionInput

func (GetRegionsRegionArray) ElementType

func (GetRegionsRegionArray) ElementType() reflect.Type

func (GetRegionsRegionArray) ToGetRegionsRegionArrayOutput

func (i GetRegionsRegionArray) ToGetRegionsRegionArrayOutput() GetRegionsRegionArrayOutput

func (GetRegionsRegionArray) ToGetRegionsRegionArrayOutputWithContext

func (i GetRegionsRegionArray) ToGetRegionsRegionArrayOutputWithContext(ctx context.Context) GetRegionsRegionArrayOutput

type GetRegionsRegionArrayInput

type GetRegionsRegionArrayInput interface {
	pulumi.Input

	ToGetRegionsRegionArrayOutput() GetRegionsRegionArrayOutput
	ToGetRegionsRegionArrayOutputWithContext(context.Context) GetRegionsRegionArrayOutput
}

GetRegionsRegionArrayInput is an input type that accepts GetRegionsRegionArray and GetRegionsRegionArrayOutput values. You can construct a concrete instance of `GetRegionsRegionArrayInput` via:

GetRegionsRegionArray{ GetRegionsRegionArgs{...} }

type GetRegionsRegionArrayOutput

type GetRegionsRegionArrayOutput struct{ *pulumi.OutputState }

func (GetRegionsRegionArrayOutput) ElementType

func (GetRegionsRegionArrayOutput) Index

func (GetRegionsRegionArrayOutput) ToGetRegionsRegionArrayOutput

func (o GetRegionsRegionArrayOutput) ToGetRegionsRegionArrayOutput() GetRegionsRegionArrayOutput

func (GetRegionsRegionArrayOutput) ToGetRegionsRegionArrayOutputWithContext

func (o GetRegionsRegionArrayOutput) ToGetRegionsRegionArrayOutputWithContext(ctx context.Context) GetRegionsRegionArrayOutput

type GetRegionsRegionInput

type GetRegionsRegionInput interface {
	pulumi.Input

	ToGetRegionsRegionOutput() GetRegionsRegionOutput
	ToGetRegionsRegionOutputWithContext(context.Context) GetRegionsRegionOutput
}

GetRegionsRegionInput is an input type that accepts GetRegionsRegionArgs and GetRegionsRegionOutput values. You can construct a concrete instance of `GetRegionsRegionInput` via:

GetRegionsRegionArgs{...}

type GetRegionsRegionOutput

type GetRegionsRegionOutput struct{ *pulumi.OutputState }

func (GetRegionsRegionOutput) Available

A boolean value that represents whether new Droplets can be created in this region.

func (GetRegionsRegionOutput) ElementType

func (GetRegionsRegionOutput) ElementType() reflect.Type

func (GetRegionsRegionOutput) Features

A set of features available in this region.

func (GetRegionsRegionOutput) Name

The display name of the region.

func (GetRegionsRegionOutput) Sizes

A set of identifying slugs for the Droplet sizes available in this region.

func (GetRegionsRegionOutput) Slug

A human-readable string that is used as a unique identifier for each region.

func (GetRegionsRegionOutput) ToGetRegionsRegionOutput

func (o GetRegionsRegionOutput) ToGetRegionsRegionOutput() GetRegionsRegionOutput

func (GetRegionsRegionOutput) ToGetRegionsRegionOutputWithContext

func (o GetRegionsRegionOutput) ToGetRegionsRegionOutputWithContext(ctx context.Context) GetRegionsRegionOutput

type GetRegionsResult

type GetRegionsResult struct {
	Filters []GetRegionsFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A set of regions satisfying any `filter` and `sort` criteria. Each region has the following attributes:
	Regions []GetRegionsRegion `pulumi:"regions"`
	Sorts   []GetRegionsSort   `pulumi:"sorts"`
}

A collection of values returned by getRegions.

func GetRegions

func GetRegions(ctx *pulumi.Context, args *GetRegionsArgs, opts ...pulumi.InvokeOption) (*GetRegionsResult, error)

Retrieve information about all supported DigitalOcean regions, with the ability to filter and sort the results. If no filters are specified, all regions will be returned.

Note: You can use the `getRegion` data source to obtain metadata about a single region if you already know the `slug` to retrieve.

## Example Usage

Use the `filter` block with a `key` string and `values` list to filter regions.

For example to find all available regions:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.GetRegions(ctx, &digitalocean.GetRegionsArgs{
			Filters: []digitalocean.GetRegionsFilter{
				{
					Key: "available",
					Values: []string{
						"true",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

You can filter on multiple fields and sort the results as well:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.GetRegions(ctx, &digitalocean.GetRegionsArgs{
			Filters: []digitalocean.GetRegionsFilter{
				{
					Key: "available",
					Values: []string{
						"true",
					},
				},
				{
					Key: "features",
					Values: []string{
						"private_networking",
					},
				},
			},
			Sorts: []digitalocean.GetRegionsSort{
				{
					Direction: pulumi.StringRef("desc"),
					Key:       "name",
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetRegionsResultOutput added in v4.9.0

type GetRegionsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRegions.

func GetRegionsOutput added in v4.9.0

func GetRegionsOutput(ctx *pulumi.Context, args GetRegionsOutputArgs, opts ...pulumi.InvokeOption) GetRegionsResultOutput

func (GetRegionsResultOutput) ElementType added in v4.9.0

func (GetRegionsResultOutput) ElementType() reflect.Type

func (GetRegionsResultOutput) Filters added in v4.9.0

func (GetRegionsResultOutput) Id added in v4.9.0

The provider-assigned unique ID for this managed resource.

func (GetRegionsResultOutput) Regions added in v4.9.0

A set of regions satisfying any `filter` and `sort` criteria. Each region has the following attributes:

func (GetRegionsResultOutput) Sorts added in v4.9.0

func (GetRegionsResultOutput) ToGetRegionsResultOutput added in v4.9.0

func (o GetRegionsResultOutput) ToGetRegionsResultOutput() GetRegionsResultOutput

func (GetRegionsResultOutput) ToGetRegionsResultOutputWithContext added in v4.9.0

func (o GetRegionsResultOutput) ToGetRegionsResultOutputWithContext(ctx context.Context) GetRegionsResultOutput

type GetRegionsSort

type GetRegionsSort struct {
	// The sort direction. This may be either `asc` or `desc`.
	Direction *string `pulumi:"direction"`
	// Sort the regions by this key. This may be one of `slug`,
	// `name`, or `available`.
	Key string `pulumi:"key"`
}

type GetRegionsSortArgs

type GetRegionsSortArgs struct {
	// The sort direction. This may be either `asc` or `desc`.
	Direction pulumi.StringPtrInput `pulumi:"direction"`
	// Sort the regions by this key. This may be one of `slug`,
	// `name`, or `available`.
	Key pulumi.StringInput `pulumi:"key"`
}

func (GetRegionsSortArgs) ElementType

func (GetRegionsSortArgs) ElementType() reflect.Type

func (GetRegionsSortArgs) ToGetRegionsSortOutput

func (i GetRegionsSortArgs) ToGetRegionsSortOutput() GetRegionsSortOutput

func (GetRegionsSortArgs) ToGetRegionsSortOutputWithContext

func (i GetRegionsSortArgs) ToGetRegionsSortOutputWithContext(ctx context.Context) GetRegionsSortOutput

type GetRegionsSortArray

type GetRegionsSortArray []GetRegionsSortInput

func (GetRegionsSortArray) ElementType

func (GetRegionsSortArray) ElementType() reflect.Type

func (GetRegionsSortArray) ToGetRegionsSortArrayOutput

func (i GetRegionsSortArray) ToGetRegionsSortArrayOutput() GetRegionsSortArrayOutput

func (GetRegionsSortArray) ToGetRegionsSortArrayOutputWithContext

func (i GetRegionsSortArray) ToGetRegionsSortArrayOutputWithContext(ctx context.Context) GetRegionsSortArrayOutput

type GetRegionsSortArrayInput

type GetRegionsSortArrayInput interface {
	pulumi.Input

	ToGetRegionsSortArrayOutput() GetRegionsSortArrayOutput
	ToGetRegionsSortArrayOutputWithContext(context.Context) GetRegionsSortArrayOutput
}

GetRegionsSortArrayInput is an input type that accepts GetRegionsSortArray and GetRegionsSortArrayOutput values. You can construct a concrete instance of `GetRegionsSortArrayInput` via:

GetRegionsSortArray{ GetRegionsSortArgs{...} }

type GetRegionsSortArrayOutput

type GetRegionsSortArrayOutput struct{ *pulumi.OutputState }

func (GetRegionsSortArrayOutput) ElementType

func (GetRegionsSortArrayOutput) ElementType() reflect.Type

func (GetRegionsSortArrayOutput) Index

func (GetRegionsSortArrayOutput) ToGetRegionsSortArrayOutput

func (o GetRegionsSortArrayOutput) ToGetRegionsSortArrayOutput() GetRegionsSortArrayOutput

func (GetRegionsSortArrayOutput) ToGetRegionsSortArrayOutputWithContext

func (o GetRegionsSortArrayOutput) ToGetRegionsSortArrayOutputWithContext(ctx context.Context) GetRegionsSortArrayOutput

type GetRegionsSortInput

type GetRegionsSortInput interface {
	pulumi.Input

	ToGetRegionsSortOutput() GetRegionsSortOutput
	ToGetRegionsSortOutputWithContext(context.Context) GetRegionsSortOutput
}

GetRegionsSortInput is an input type that accepts GetRegionsSortArgs and GetRegionsSortOutput values. You can construct a concrete instance of `GetRegionsSortInput` via:

GetRegionsSortArgs{...}

type GetRegionsSortOutput

type GetRegionsSortOutput struct{ *pulumi.OutputState }

func (GetRegionsSortOutput) Direction

The sort direction. This may be either `asc` or `desc`.

func (GetRegionsSortOutput) ElementType

func (GetRegionsSortOutput) ElementType() reflect.Type

func (GetRegionsSortOutput) Key

Sort the regions by this key. This may be one of `slug`, `name`, or `available`.

func (GetRegionsSortOutput) ToGetRegionsSortOutput

func (o GetRegionsSortOutput) ToGetRegionsSortOutput() GetRegionsSortOutput

func (GetRegionsSortOutput) ToGetRegionsSortOutputWithContext

func (o GetRegionsSortOutput) ToGetRegionsSortOutputWithContext(ctx context.Context) GetRegionsSortOutput

type GetSizesArgs

type GetSizesArgs struct {
	// Filter the results.
	// The `filter` block is documented below.
	Filters []GetSizesFilter `pulumi:"filters"`
	// Sort the results.
	// The `sort` block is documented below.
	Sorts []GetSizesSort `pulumi:"sorts"`
}

A collection of arguments for invoking getSizes.

type GetSizesFilter

type GetSizesFilter struct {
	// Set to `true` to require that a field match all of the `values` instead of just one or more of
	// them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure
	// that all of the `values` are present in the list or set.
	All *bool `pulumi:"all"`
	// Filter the sizes by this key. This may be one of `slug`,
	// `regions`, `memory`, `vcpus`, `disk`, `transfer`, `priceMonthly`,
	// `priceHourly`, or `available`.
	Key string `pulumi:"key"`
	// One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to
	// match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as
	// substrings to find within the string field.
	MatchBy *string `pulumi:"matchBy"`
	// Only retrieves sizes which keys has value that matches
	// one of the values provided here.
	Values []string `pulumi:"values"`
}

type GetSizesFilterArgs

type GetSizesFilterArgs struct {
	// Set to `true` to require that a field match all of the `values` instead of just one or more of
	// them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure
	// that all of the `values` are present in the list or set.
	All pulumi.BoolPtrInput `pulumi:"all"`
	// Filter the sizes by this key. This may be one of `slug`,
	// `regions`, `memory`, `vcpus`, `disk`, `transfer`, `priceMonthly`,
	// `priceHourly`, or `available`.
	Key pulumi.StringInput `pulumi:"key"`
	// One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to
	// match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as
	// substrings to find within the string field.
	MatchBy pulumi.StringPtrInput `pulumi:"matchBy"`
	// Only retrieves sizes which keys has value that matches
	// one of the values provided here.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetSizesFilterArgs) ElementType

func (GetSizesFilterArgs) ElementType() reflect.Type

func (GetSizesFilterArgs) ToGetSizesFilterOutput

func (i GetSizesFilterArgs) ToGetSizesFilterOutput() GetSizesFilterOutput

func (GetSizesFilterArgs) ToGetSizesFilterOutputWithContext

func (i GetSizesFilterArgs) ToGetSizesFilterOutputWithContext(ctx context.Context) GetSizesFilterOutput

type GetSizesFilterArray

type GetSizesFilterArray []GetSizesFilterInput

func (GetSizesFilterArray) ElementType

func (GetSizesFilterArray) ElementType() reflect.Type

func (GetSizesFilterArray) ToGetSizesFilterArrayOutput

func (i GetSizesFilterArray) ToGetSizesFilterArrayOutput() GetSizesFilterArrayOutput

func (GetSizesFilterArray) ToGetSizesFilterArrayOutputWithContext

func (i GetSizesFilterArray) ToGetSizesFilterArrayOutputWithContext(ctx context.Context) GetSizesFilterArrayOutput

type GetSizesFilterArrayInput

type GetSizesFilterArrayInput interface {
	pulumi.Input

	ToGetSizesFilterArrayOutput() GetSizesFilterArrayOutput
	ToGetSizesFilterArrayOutputWithContext(context.Context) GetSizesFilterArrayOutput
}

GetSizesFilterArrayInput is an input type that accepts GetSizesFilterArray and GetSizesFilterArrayOutput values. You can construct a concrete instance of `GetSizesFilterArrayInput` via:

GetSizesFilterArray{ GetSizesFilterArgs{...} }

type GetSizesFilterArrayOutput

type GetSizesFilterArrayOutput struct{ *pulumi.OutputState }

func (GetSizesFilterArrayOutput) ElementType

func (GetSizesFilterArrayOutput) ElementType() reflect.Type

func (GetSizesFilterArrayOutput) Index

func (GetSizesFilterArrayOutput) ToGetSizesFilterArrayOutput

func (o GetSizesFilterArrayOutput) ToGetSizesFilterArrayOutput() GetSizesFilterArrayOutput

func (GetSizesFilterArrayOutput) ToGetSizesFilterArrayOutputWithContext

func (o GetSizesFilterArrayOutput) ToGetSizesFilterArrayOutputWithContext(ctx context.Context) GetSizesFilterArrayOutput

type GetSizesFilterInput

type GetSizesFilterInput interface {
	pulumi.Input

	ToGetSizesFilterOutput() GetSizesFilterOutput
	ToGetSizesFilterOutputWithContext(context.Context) GetSizesFilterOutput
}

GetSizesFilterInput is an input type that accepts GetSizesFilterArgs and GetSizesFilterOutput values. You can construct a concrete instance of `GetSizesFilterInput` via:

GetSizesFilterArgs{...}

type GetSizesFilterOutput

type GetSizesFilterOutput struct{ *pulumi.OutputState }

func (GetSizesFilterOutput) All

Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set.

func (GetSizesFilterOutput) ElementType

func (GetSizesFilterOutput) ElementType() reflect.Type

func (GetSizesFilterOutput) Key

Filter the sizes by this key. This may be one of `slug`, `regions`, `memory`, `vcpus`, `disk`, `transfer`, `priceMonthly`, `priceHourly`, or `available`.

func (GetSizesFilterOutput) MatchBy

One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field.

func (GetSizesFilterOutput) ToGetSizesFilterOutput

func (o GetSizesFilterOutput) ToGetSizesFilterOutput() GetSizesFilterOutput

func (GetSizesFilterOutput) ToGetSizesFilterOutputWithContext

func (o GetSizesFilterOutput) ToGetSizesFilterOutputWithContext(ctx context.Context) GetSizesFilterOutput

func (GetSizesFilterOutput) Values

Only retrieves sizes which keys has value that matches one of the values provided here.

type GetSizesOutputArgs added in v4.9.0

type GetSizesOutputArgs struct {
	// Filter the results.
	// The `filter` block is documented below.
	Filters GetSizesFilterArrayInput `pulumi:"filters"`
	// Sort the results.
	// The `sort` block is documented below.
	Sorts GetSizesSortArrayInput `pulumi:"sorts"`
}

A collection of arguments for invoking getSizes.

func (GetSizesOutputArgs) ElementType added in v4.9.0

func (GetSizesOutputArgs) ElementType() reflect.Type

type GetSizesResult

type GetSizesResult struct {
	Filters []GetSizesFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id    string         `pulumi:"id"`
	Sizes []GetSizesSize `pulumi:"sizes"`
	Sorts []GetSizesSort `pulumi:"sorts"`
}

A collection of values returned by getSizes.

func GetSizes

func GetSizes(ctx *pulumi.Context, args *GetSizesArgs, opts ...pulumi.InvokeOption) (*GetSizesResult, error)

Retrieves information about the Droplet sizes that DigitalOcean supports, with the ability to filter and sort the results. If no filters are specified, all sizes will be returned.

type GetSizesResultOutput added in v4.9.0

type GetSizesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSizes.

func GetSizesOutput added in v4.9.0

func GetSizesOutput(ctx *pulumi.Context, args GetSizesOutputArgs, opts ...pulumi.InvokeOption) GetSizesResultOutput

func (GetSizesResultOutput) ElementType added in v4.9.0

func (GetSizesResultOutput) ElementType() reflect.Type

func (GetSizesResultOutput) Filters added in v4.9.0

func (GetSizesResultOutput) Id added in v4.9.0

The provider-assigned unique ID for this managed resource.

func (GetSizesResultOutput) Sizes added in v4.9.0

func (GetSizesResultOutput) Sorts added in v4.9.0

func (GetSizesResultOutput) ToGetSizesResultOutput added in v4.9.0

func (o GetSizesResultOutput) ToGetSizesResultOutput() GetSizesResultOutput

func (GetSizesResultOutput) ToGetSizesResultOutputWithContext added in v4.9.0

func (o GetSizesResultOutput) ToGetSizesResultOutputWithContext(ctx context.Context) GetSizesResultOutput

type GetSizesSize

type GetSizesSize struct {
	// This represents whether new Droplets can be created with this size.
	Available bool `pulumi:"available"`
	// The amount of disk space set aside for Droplets of this size. The value is measured in gigabytes.
	Disk int `pulumi:"disk"`
	// The amount of RAM allocated to Droplets created of this size. The value is measured in megabytes.
	Memory int `pulumi:"memory"`
	// The hourly cost of Droplets created in this size as measured hourly. The value is measured in US dollars.
	PriceHourly float64 `pulumi:"priceHourly"`
	// The monthly cost of Droplets created in this size if they are kept for an entire month. The value is measured in US dollars.
	PriceMonthly float64 `pulumi:"priceMonthly"`
	// List of region slugs where Droplets can be created in this size.
	Regions []string `pulumi:"regions"`
	// A human-readable string that is used to uniquely identify each size.
	Slug string `pulumi:"slug"`
	// The amount of transfer bandwidth that is available for Droplets created in this size. This only counts traffic on the public interface. The value is given in terabytes.
	Transfer float64 `pulumi:"transfer"`
	// The number of CPUs allocated to Droplets of this size.
	Vcpus int `pulumi:"vcpus"`
}

type GetSizesSizeArgs

type GetSizesSizeArgs struct {
	// This represents whether new Droplets can be created with this size.
	Available pulumi.BoolInput `pulumi:"available"`
	// The amount of disk space set aside for Droplets of this size. The value is measured in gigabytes.
	Disk pulumi.IntInput `pulumi:"disk"`
	// The amount of RAM allocated to Droplets created of this size. The value is measured in megabytes.
	Memory pulumi.IntInput `pulumi:"memory"`
	// The hourly cost of Droplets created in this size as measured hourly. The value is measured in US dollars.
	PriceHourly pulumi.Float64Input `pulumi:"priceHourly"`
	// The monthly cost of Droplets created in this size if they are kept for an entire month. The value is measured in US dollars.
	PriceMonthly pulumi.Float64Input `pulumi:"priceMonthly"`
	// List of region slugs where Droplets can be created in this size.
	Regions pulumi.StringArrayInput `pulumi:"regions"`
	// A human-readable string that is used to uniquely identify each size.
	Slug pulumi.StringInput `pulumi:"slug"`
	// The amount of transfer bandwidth that is available for Droplets created in this size. This only counts traffic on the public interface. The value is given in terabytes.
	Transfer pulumi.Float64Input `pulumi:"transfer"`
	// The number of CPUs allocated to Droplets of this size.
	Vcpus pulumi.IntInput `pulumi:"vcpus"`
}

func (GetSizesSizeArgs) ElementType

func (GetSizesSizeArgs) ElementType() reflect.Type

func (GetSizesSizeArgs) ToGetSizesSizeOutput

func (i GetSizesSizeArgs) ToGetSizesSizeOutput() GetSizesSizeOutput

func (GetSizesSizeArgs) ToGetSizesSizeOutputWithContext

func (i GetSizesSizeArgs) ToGetSizesSizeOutputWithContext(ctx context.Context) GetSizesSizeOutput

type GetSizesSizeArray

type GetSizesSizeArray []GetSizesSizeInput

func (GetSizesSizeArray) ElementType

func (GetSizesSizeArray) ElementType() reflect.Type

func (GetSizesSizeArray) ToGetSizesSizeArrayOutput

func (i GetSizesSizeArray) ToGetSizesSizeArrayOutput() GetSizesSizeArrayOutput

func (GetSizesSizeArray) ToGetSizesSizeArrayOutputWithContext

func (i GetSizesSizeArray) ToGetSizesSizeArrayOutputWithContext(ctx context.Context) GetSizesSizeArrayOutput

type GetSizesSizeArrayInput

type GetSizesSizeArrayInput interface {
	pulumi.Input

	ToGetSizesSizeArrayOutput() GetSizesSizeArrayOutput
	ToGetSizesSizeArrayOutputWithContext(context.Context) GetSizesSizeArrayOutput
}

GetSizesSizeArrayInput is an input type that accepts GetSizesSizeArray and GetSizesSizeArrayOutput values. You can construct a concrete instance of `GetSizesSizeArrayInput` via:

GetSizesSizeArray{ GetSizesSizeArgs{...} }

type GetSizesSizeArrayOutput

type GetSizesSizeArrayOutput struct{ *pulumi.OutputState }

func (GetSizesSizeArrayOutput) ElementType

func (GetSizesSizeArrayOutput) ElementType() reflect.Type

func (GetSizesSizeArrayOutput) Index

func (GetSizesSizeArrayOutput) ToGetSizesSizeArrayOutput

func (o GetSizesSizeArrayOutput) ToGetSizesSizeArrayOutput() GetSizesSizeArrayOutput

func (GetSizesSizeArrayOutput) ToGetSizesSizeArrayOutputWithContext

func (o GetSizesSizeArrayOutput) ToGetSizesSizeArrayOutputWithContext(ctx context.Context) GetSizesSizeArrayOutput

type GetSizesSizeInput

type GetSizesSizeInput interface {
	pulumi.Input

	ToGetSizesSizeOutput() GetSizesSizeOutput
	ToGetSizesSizeOutputWithContext(context.Context) GetSizesSizeOutput
}

GetSizesSizeInput is an input type that accepts GetSizesSizeArgs and GetSizesSizeOutput values. You can construct a concrete instance of `GetSizesSizeInput` via:

GetSizesSizeArgs{...}

type GetSizesSizeOutput

type GetSizesSizeOutput struct{ *pulumi.OutputState }

func (GetSizesSizeOutput) Available

func (o GetSizesSizeOutput) Available() pulumi.BoolOutput

This represents whether new Droplets can be created with this size.

func (GetSizesSizeOutput) Disk

The amount of disk space set aside for Droplets of this size. The value is measured in gigabytes.

func (GetSizesSizeOutput) ElementType

func (GetSizesSizeOutput) ElementType() reflect.Type

func (GetSizesSizeOutput) Memory

func (o GetSizesSizeOutput) Memory() pulumi.IntOutput

The amount of RAM allocated to Droplets created of this size. The value is measured in megabytes.

func (GetSizesSizeOutput) PriceHourly

func (o GetSizesSizeOutput) PriceHourly() pulumi.Float64Output

The hourly cost of Droplets created in this size as measured hourly. The value is measured in US dollars.

func (GetSizesSizeOutput) PriceMonthly

func (o GetSizesSizeOutput) PriceMonthly() pulumi.Float64Output

The monthly cost of Droplets created in this size if they are kept for an entire month. The value is measured in US dollars.

func (GetSizesSizeOutput) Regions

List of region slugs where Droplets can be created in this size.

func (GetSizesSizeOutput) Slug

A human-readable string that is used to uniquely identify each size.

func (GetSizesSizeOutput) ToGetSizesSizeOutput

func (o GetSizesSizeOutput) ToGetSizesSizeOutput() GetSizesSizeOutput

func (GetSizesSizeOutput) ToGetSizesSizeOutputWithContext

func (o GetSizesSizeOutput) ToGetSizesSizeOutputWithContext(ctx context.Context) GetSizesSizeOutput

func (GetSizesSizeOutput) Transfer

The amount of transfer bandwidth that is available for Droplets created in this size. This only counts traffic on the public interface. The value is given in terabytes.

func (GetSizesSizeOutput) Vcpus

The number of CPUs allocated to Droplets of this size.

type GetSizesSort

type GetSizesSort struct {
	// The sort direction. This may be either `asc` or `desc`.
	Direction *string `pulumi:"direction"`
	// Sort the sizes by this key. This may be one of `slug`,
	// `memory`, `vcpus`, `disk`, `transfer`, `priceMonthly`, or `priceHourly`.
	Key string `pulumi:"key"`
}

type GetSizesSortArgs

type GetSizesSortArgs struct {
	// The sort direction. This may be either `asc` or `desc`.
	Direction pulumi.StringPtrInput `pulumi:"direction"`
	// Sort the sizes by this key. This may be one of `slug`,
	// `memory`, `vcpus`, `disk`, `transfer`, `priceMonthly`, or `priceHourly`.
	Key pulumi.StringInput `pulumi:"key"`
}

func (GetSizesSortArgs) ElementType

func (GetSizesSortArgs) ElementType() reflect.Type

func (GetSizesSortArgs) ToGetSizesSortOutput

func (i GetSizesSortArgs) ToGetSizesSortOutput() GetSizesSortOutput

func (GetSizesSortArgs) ToGetSizesSortOutputWithContext

func (i GetSizesSortArgs) ToGetSizesSortOutputWithContext(ctx context.Context) GetSizesSortOutput

type GetSizesSortArray

type GetSizesSortArray []GetSizesSortInput

func (GetSizesSortArray) ElementType

func (GetSizesSortArray) ElementType() reflect.Type

func (GetSizesSortArray) ToGetSizesSortArrayOutput

func (i GetSizesSortArray) ToGetSizesSortArrayOutput() GetSizesSortArrayOutput

func (GetSizesSortArray) ToGetSizesSortArrayOutputWithContext

func (i GetSizesSortArray) ToGetSizesSortArrayOutputWithContext(ctx context.Context) GetSizesSortArrayOutput

type GetSizesSortArrayInput

type GetSizesSortArrayInput interface {
	pulumi.Input

	ToGetSizesSortArrayOutput() GetSizesSortArrayOutput
	ToGetSizesSortArrayOutputWithContext(context.Context) GetSizesSortArrayOutput
}

GetSizesSortArrayInput is an input type that accepts GetSizesSortArray and GetSizesSortArrayOutput values. You can construct a concrete instance of `GetSizesSortArrayInput` via:

GetSizesSortArray{ GetSizesSortArgs{...} }

type GetSizesSortArrayOutput

type GetSizesSortArrayOutput struct{ *pulumi.OutputState }

func (GetSizesSortArrayOutput) ElementType

func (GetSizesSortArrayOutput) ElementType() reflect.Type

func (GetSizesSortArrayOutput) Index

func (GetSizesSortArrayOutput) ToGetSizesSortArrayOutput

func (o GetSizesSortArrayOutput) ToGetSizesSortArrayOutput() GetSizesSortArrayOutput

func (GetSizesSortArrayOutput) ToGetSizesSortArrayOutputWithContext

func (o GetSizesSortArrayOutput) ToGetSizesSortArrayOutputWithContext(ctx context.Context) GetSizesSortArrayOutput

type GetSizesSortInput

type GetSizesSortInput interface {
	pulumi.Input

	ToGetSizesSortOutput() GetSizesSortOutput
	ToGetSizesSortOutputWithContext(context.Context) GetSizesSortOutput
}

GetSizesSortInput is an input type that accepts GetSizesSortArgs and GetSizesSortOutput values. You can construct a concrete instance of `GetSizesSortInput` via:

GetSizesSortArgs{...}

type GetSizesSortOutput

type GetSizesSortOutput struct{ *pulumi.OutputState }

func (GetSizesSortOutput) Direction

The sort direction. This may be either `asc` or `desc`.

func (GetSizesSortOutput) ElementType

func (GetSizesSortOutput) ElementType() reflect.Type

func (GetSizesSortOutput) Key

Sort the sizes by this key. This may be one of `slug`, `memory`, `vcpus`, `disk`, `transfer`, `priceMonthly`, or `priceHourly`.

func (GetSizesSortOutput) ToGetSizesSortOutput

func (o GetSizesSortOutput) ToGetSizesSortOutput() GetSizesSortOutput

func (GetSizesSortOutput) ToGetSizesSortOutputWithContext

func (o GetSizesSortOutput) ToGetSizesSortOutputWithContext(ctx context.Context) GetSizesSortOutput

type GetSpacesBucketObjectsArgs

type GetSpacesBucketObjectsArgs struct {
	// Lists object keys in this Spaces bucket
	Bucket string `pulumi:"bucket"`
	// A character used to group keys (Default: none)
	Delimiter *string `pulumi:"delimiter"`
	// Encodes keys using this method (Default: none; besides none, only "url" can be used)
	EncodingType *string `pulumi:"encodingType"`
	// Maximum object keys to return (Default: 1000)
	MaxKeys *int `pulumi:"maxKeys"`
	// Limits results to object keys with this prefix (Default: none)
	Prefix *string `pulumi:"prefix"`
	// The slug of the region where the bucket is stored.
	Region string `pulumi:"region"`
}

A collection of arguments for invoking getSpacesBucketObjects.

type GetSpacesBucketObjectsOutputArgs added in v4.9.0

type GetSpacesBucketObjectsOutputArgs struct {
	// Lists object keys in this Spaces bucket
	Bucket pulumi.StringInput `pulumi:"bucket"`
	// A character used to group keys (Default: none)
	Delimiter pulumi.StringPtrInput `pulumi:"delimiter"`
	// Encodes keys using this method (Default: none; besides none, only "url" can be used)
	EncodingType pulumi.StringPtrInput `pulumi:"encodingType"`
	// Maximum object keys to return (Default: 1000)
	MaxKeys pulumi.IntPtrInput `pulumi:"maxKeys"`
	// Limits results to object keys with this prefix (Default: none)
	Prefix pulumi.StringPtrInput `pulumi:"prefix"`
	// The slug of the region where the bucket is stored.
	Region pulumi.StringInput `pulumi:"region"`
}

A collection of arguments for invoking getSpacesBucketObjects.

func (GetSpacesBucketObjectsOutputArgs) ElementType added in v4.9.0

type GetSpacesBucketObjectsResult

type GetSpacesBucketObjectsResult struct {
	Bucket string `pulumi:"bucket"`
	// List of any keys between `prefix` and the next occurrence of `delimiter` (i.e., similar to subdirectories of the `prefix` "directory"); the list is only returned when you specify `delimiter`
	CommonPrefixes []string `pulumi:"commonPrefixes"`
	Delimiter      *string  `pulumi:"delimiter"`
	EncodingType   *string  `pulumi:"encodingType"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// List of strings representing object keys
	Keys    []string `pulumi:"keys"`
	MaxKeys *int     `pulumi:"maxKeys"`
	// List of strings representing object owner IDs
	Owners []string `pulumi:"owners"`
	Prefix *string  `pulumi:"prefix"`
	Region string   `pulumi:"region"`
}

A collection of values returned by getSpacesBucketObjects.

func GetSpacesBucketObjects

func GetSpacesBucketObjects(ctx *pulumi.Context, args *GetSpacesBucketObjectsArgs, opts ...pulumi.InvokeOption) (*GetSpacesBucketObjectsResult, error)

> **NOTE on `maxKeys`:** Retrieving very large numbers of keys can adversely affect the provider's performance.

The bucket-objects data source returns keys (i.e., file names) and other metadata about objects in a Spaces bucket.

type GetSpacesBucketObjectsResultOutput added in v4.9.0

type GetSpacesBucketObjectsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSpacesBucketObjects.

func GetSpacesBucketObjectsOutput added in v4.9.0

func (GetSpacesBucketObjectsResultOutput) Bucket added in v4.9.0

func (GetSpacesBucketObjectsResultOutput) CommonPrefixes added in v4.9.0

List of any keys between `prefix` and the next occurrence of `delimiter` (i.e., similar to subdirectories of the `prefix` "directory"); the list is only returned when you specify `delimiter`

func (GetSpacesBucketObjectsResultOutput) Delimiter added in v4.9.0

func (GetSpacesBucketObjectsResultOutput) ElementType added in v4.9.0

func (GetSpacesBucketObjectsResultOutput) EncodingType added in v4.9.0

func (GetSpacesBucketObjectsResultOutput) Id added in v4.9.0

The provider-assigned unique ID for this managed resource.

func (GetSpacesBucketObjectsResultOutput) Keys added in v4.9.0

List of strings representing object keys

func (GetSpacesBucketObjectsResultOutput) MaxKeys added in v4.9.0

func (GetSpacesBucketObjectsResultOutput) Owners added in v4.9.0

List of strings representing object owner IDs

func (GetSpacesBucketObjectsResultOutput) Prefix added in v4.9.0

func (GetSpacesBucketObjectsResultOutput) Region added in v4.9.0

func (GetSpacesBucketObjectsResultOutput) ToGetSpacesBucketObjectsResultOutput added in v4.9.0

func (o GetSpacesBucketObjectsResultOutput) ToGetSpacesBucketObjectsResultOutput() GetSpacesBucketObjectsResultOutput

func (GetSpacesBucketObjectsResultOutput) ToGetSpacesBucketObjectsResultOutputWithContext added in v4.9.0

func (o GetSpacesBucketObjectsResultOutput) ToGetSpacesBucketObjectsResultOutputWithContext(ctx context.Context) GetSpacesBucketObjectsResultOutput

type GetSpacesBucketsArgs

type GetSpacesBucketsArgs struct {
	// Filter the results.
	// The `filter` block is documented below.
	Filters []GetSpacesBucketsFilter `pulumi:"filters"`
	// Sort the results.
	// The `sort` block is documented below.
	Sorts []GetSpacesBucketsSort `pulumi:"sorts"`
}

A collection of arguments for invoking getSpacesBuckets.

type GetSpacesBucketsBucket

type GetSpacesBucketsBucket struct {
	// The FQDN of the bucket (e.g. bucket-name.nyc3.digitaloceanspaces.com)
	BucketDomainName string `pulumi:"bucketDomainName"`
	// The FQDN of the bucket without the bucket name (e.g. nyc3.digitaloceanspaces.com)
	Endpoint string `pulumi:"endpoint"`
	// The name of the Spaces bucket
	Name string `pulumi:"name"`
	// The slug of the region where the bucket is stored.
	Region string `pulumi:"region"`
	// The uniform resource name of the bucket
	Urn string `pulumi:"urn"`
}

type GetSpacesBucketsBucketArgs

type GetSpacesBucketsBucketArgs struct {
	// The FQDN of the bucket (e.g. bucket-name.nyc3.digitaloceanspaces.com)
	BucketDomainName pulumi.StringInput `pulumi:"bucketDomainName"`
	// The FQDN of the bucket without the bucket name (e.g. nyc3.digitaloceanspaces.com)
	Endpoint pulumi.StringInput `pulumi:"endpoint"`
	// The name of the Spaces bucket
	Name pulumi.StringInput `pulumi:"name"`
	// The slug of the region where the bucket is stored.
	Region pulumi.StringInput `pulumi:"region"`
	// The uniform resource name of the bucket
	Urn pulumi.StringInput `pulumi:"urn"`
}

func (GetSpacesBucketsBucketArgs) ElementType

func (GetSpacesBucketsBucketArgs) ElementType() reflect.Type

func (GetSpacesBucketsBucketArgs) ToGetSpacesBucketsBucketOutput

func (i GetSpacesBucketsBucketArgs) ToGetSpacesBucketsBucketOutput() GetSpacesBucketsBucketOutput

func (GetSpacesBucketsBucketArgs) ToGetSpacesBucketsBucketOutputWithContext

func (i GetSpacesBucketsBucketArgs) ToGetSpacesBucketsBucketOutputWithContext(ctx context.Context) GetSpacesBucketsBucketOutput

type GetSpacesBucketsBucketArray

type GetSpacesBucketsBucketArray []GetSpacesBucketsBucketInput

func (GetSpacesBucketsBucketArray) ElementType

func (GetSpacesBucketsBucketArray) ToGetSpacesBucketsBucketArrayOutput

func (i GetSpacesBucketsBucketArray) ToGetSpacesBucketsBucketArrayOutput() GetSpacesBucketsBucketArrayOutput

func (GetSpacesBucketsBucketArray) ToGetSpacesBucketsBucketArrayOutputWithContext

func (i GetSpacesBucketsBucketArray) ToGetSpacesBucketsBucketArrayOutputWithContext(ctx context.Context) GetSpacesBucketsBucketArrayOutput

type GetSpacesBucketsBucketArrayInput

type GetSpacesBucketsBucketArrayInput interface {
	pulumi.Input

	ToGetSpacesBucketsBucketArrayOutput() GetSpacesBucketsBucketArrayOutput
	ToGetSpacesBucketsBucketArrayOutputWithContext(context.Context) GetSpacesBucketsBucketArrayOutput
}

GetSpacesBucketsBucketArrayInput is an input type that accepts GetSpacesBucketsBucketArray and GetSpacesBucketsBucketArrayOutput values. You can construct a concrete instance of `GetSpacesBucketsBucketArrayInput` via:

GetSpacesBucketsBucketArray{ GetSpacesBucketsBucketArgs{...} }

type GetSpacesBucketsBucketArrayOutput

type GetSpacesBucketsBucketArrayOutput struct{ *pulumi.OutputState }

func (GetSpacesBucketsBucketArrayOutput) ElementType

func (GetSpacesBucketsBucketArrayOutput) Index

func (GetSpacesBucketsBucketArrayOutput) ToGetSpacesBucketsBucketArrayOutput

func (o GetSpacesBucketsBucketArrayOutput) ToGetSpacesBucketsBucketArrayOutput() GetSpacesBucketsBucketArrayOutput

func (GetSpacesBucketsBucketArrayOutput) ToGetSpacesBucketsBucketArrayOutputWithContext

func (o GetSpacesBucketsBucketArrayOutput) ToGetSpacesBucketsBucketArrayOutputWithContext(ctx context.Context) GetSpacesBucketsBucketArrayOutput

type GetSpacesBucketsBucketInput

type GetSpacesBucketsBucketInput interface {
	pulumi.Input

	ToGetSpacesBucketsBucketOutput() GetSpacesBucketsBucketOutput
	ToGetSpacesBucketsBucketOutputWithContext(context.Context) GetSpacesBucketsBucketOutput
}

GetSpacesBucketsBucketInput is an input type that accepts GetSpacesBucketsBucketArgs and GetSpacesBucketsBucketOutput values. You can construct a concrete instance of `GetSpacesBucketsBucketInput` via:

GetSpacesBucketsBucketArgs{...}

type GetSpacesBucketsBucketOutput

type GetSpacesBucketsBucketOutput struct{ *pulumi.OutputState }

func (GetSpacesBucketsBucketOutput) BucketDomainName

func (o GetSpacesBucketsBucketOutput) BucketDomainName() pulumi.StringOutput

The FQDN of the bucket (e.g. bucket-name.nyc3.digitaloceanspaces.com)

func (GetSpacesBucketsBucketOutput) ElementType

func (GetSpacesBucketsBucketOutput) Endpoint added in v4.17.0

The FQDN of the bucket without the bucket name (e.g. nyc3.digitaloceanspaces.com)

func (GetSpacesBucketsBucketOutput) Name

The name of the Spaces bucket

func (GetSpacesBucketsBucketOutput) Region

The slug of the region where the bucket is stored.

func (GetSpacesBucketsBucketOutput) ToGetSpacesBucketsBucketOutput

func (o GetSpacesBucketsBucketOutput) ToGetSpacesBucketsBucketOutput() GetSpacesBucketsBucketOutput

func (GetSpacesBucketsBucketOutput) ToGetSpacesBucketsBucketOutputWithContext

func (o GetSpacesBucketsBucketOutput) ToGetSpacesBucketsBucketOutputWithContext(ctx context.Context) GetSpacesBucketsBucketOutput

func (GetSpacesBucketsBucketOutput) Urn

The uniform resource name of the bucket

type GetSpacesBucketsFilter

type GetSpacesBucketsFilter struct {
	// Set to `true` to require that a field match all of the `values` instead of just one or more of
	// them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure
	// that all of the `values` are present in the list or set.
	All *bool `pulumi:"all"`
	// Filter the images by this key. This may be one of `bucketDomainName`, `name`, `region`, or `urn`.
	Key string `pulumi:"key"`
	// One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to
	// match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as
	// substrings to find within the string field.
	MatchBy *string `pulumi:"matchBy"`
	// A list of values to match against the `key` field. Only retrieves Spaces buckets
	// where the `key` field takes on one or more of the values provided here.
	Values []string `pulumi:"values"`
}

type GetSpacesBucketsFilterArgs

type GetSpacesBucketsFilterArgs struct {
	// Set to `true` to require that a field match all of the `values` instead of just one or more of
	// them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure
	// that all of the `values` are present in the list or set.
	All pulumi.BoolPtrInput `pulumi:"all"`
	// Filter the images by this key. This may be one of `bucketDomainName`, `name`, `region`, or `urn`.
	Key pulumi.StringInput `pulumi:"key"`
	// One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to
	// match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as
	// substrings to find within the string field.
	MatchBy pulumi.StringPtrInput `pulumi:"matchBy"`
	// A list of values to match against the `key` field. Only retrieves Spaces buckets
	// where the `key` field takes on one or more of the values provided here.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetSpacesBucketsFilterArgs) ElementType

func (GetSpacesBucketsFilterArgs) ElementType() reflect.Type

func (GetSpacesBucketsFilterArgs) ToGetSpacesBucketsFilterOutput

func (i GetSpacesBucketsFilterArgs) ToGetSpacesBucketsFilterOutput() GetSpacesBucketsFilterOutput

func (GetSpacesBucketsFilterArgs) ToGetSpacesBucketsFilterOutputWithContext

func (i GetSpacesBucketsFilterArgs) ToGetSpacesBucketsFilterOutputWithContext(ctx context.Context) GetSpacesBucketsFilterOutput

type GetSpacesBucketsFilterArray

type GetSpacesBucketsFilterArray []GetSpacesBucketsFilterInput

func (GetSpacesBucketsFilterArray) ElementType

func (GetSpacesBucketsFilterArray) ToGetSpacesBucketsFilterArrayOutput

func (i GetSpacesBucketsFilterArray) ToGetSpacesBucketsFilterArrayOutput() GetSpacesBucketsFilterArrayOutput

func (GetSpacesBucketsFilterArray) ToGetSpacesBucketsFilterArrayOutputWithContext

func (i GetSpacesBucketsFilterArray) ToGetSpacesBucketsFilterArrayOutputWithContext(ctx context.Context) GetSpacesBucketsFilterArrayOutput

type GetSpacesBucketsFilterArrayInput

type GetSpacesBucketsFilterArrayInput interface {
	pulumi.Input

	ToGetSpacesBucketsFilterArrayOutput() GetSpacesBucketsFilterArrayOutput
	ToGetSpacesBucketsFilterArrayOutputWithContext(context.Context) GetSpacesBucketsFilterArrayOutput
}

GetSpacesBucketsFilterArrayInput is an input type that accepts GetSpacesBucketsFilterArray and GetSpacesBucketsFilterArrayOutput values. You can construct a concrete instance of `GetSpacesBucketsFilterArrayInput` via:

GetSpacesBucketsFilterArray{ GetSpacesBucketsFilterArgs{...} }

type GetSpacesBucketsFilterArrayOutput

type GetSpacesBucketsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetSpacesBucketsFilterArrayOutput) ElementType

func (GetSpacesBucketsFilterArrayOutput) Index

func (GetSpacesBucketsFilterArrayOutput) ToGetSpacesBucketsFilterArrayOutput

func (o GetSpacesBucketsFilterArrayOutput) ToGetSpacesBucketsFilterArrayOutput() GetSpacesBucketsFilterArrayOutput

func (GetSpacesBucketsFilterArrayOutput) ToGetSpacesBucketsFilterArrayOutputWithContext

func (o GetSpacesBucketsFilterArrayOutput) ToGetSpacesBucketsFilterArrayOutputWithContext(ctx context.Context) GetSpacesBucketsFilterArrayOutput

type GetSpacesBucketsFilterInput

type GetSpacesBucketsFilterInput interface {
	pulumi.Input

	ToGetSpacesBucketsFilterOutput() GetSpacesBucketsFilterOutput
	ToGetSpacesBucketsFilterOutputWithContext(context.Context) GetSpacesBucketsFilterOutput
}

GetSpacesBucketsFilterInput is an input type that accepts GetSpacesBucketsFilterArgs and GetSpacesBucketsFilterOutput values. You can construct a concrete instance of `GetSpacesBucketsFilterInput` via:

GetSpacesBucketsFilterArgs{...}

type GetSpacesBucketsFilterOutput

type GetSpacesBucketsFilterOutput struct{ *pulumi.OutputState }

func (GetSpacesBucketsFilterOutput) All

Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set.

func (GetSpacesBucketsFilterOutput) ElementType

func (GetSpacesBucketsFilterOutput) Key

Filter the images by this key. This may be one of `bucketDomainName`, `name`, `region`, or `urn`.

func (GetSpacesBucketsFilterOutput) MatchBy

One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field.

func (GetSpacesBucketsFilterOutput) ToGetSpacesBucketsFilterOutput

func (o GetSpacesBucketsFilterOutput) ToGetSpacesBucketsFilterOutput() GetSpacesBucketsFilterOutput

func (GetSpacesBucketsFilterOutput) ToGetSpacesBucketsFilterOutputWithContext

func (o GetSpacesBucketsFilterOutput) ToGetSpacesBucketsFilterOutputWithContext(ctx context.Context) GetSpacesBucketsFilterOutput

func (GetSpacesBucketsFilterOutput) Values

A list of values to match against the `key` field. Only retrieves Spaces buckets where the `key` field takes on one or more of the values provided here.

type GetSpacesBucketsOutputArgs added in v4.9.0

type GetSpacesBucketsOutputArgs struct {
	// Filter the results.
	// The `filter` block is documented below.
	Filters GetSpacesBucketsFilterArrayInput `pulumi:"filters"`
	// Sort the results.
	// The `sort` block is documented below.
	Sorts GetSpacesBucketsSortArrayInput `pulumi:"sorts"`
}

A collection of arguments for invoking getSpacesBuckets.

func (GetSpacesBucketsOutputArgs) ElementType added in v4.9.0

func (GetSpacesBucketsOutputArgs) ElementType() reflect.Type

type GetSpacesBucketsResult

type GetSpacesBucketsResult struct {
	// A list of Spaces buckets satisfying any `filter` and `sort` criteria. Each bucket has the following attributes:
	Buckets []GetSpacesBucketsBucket `pulumi:"buckets"`
	Filters []GetSpacesBucketsFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id    string                 `pulumi:"id"`
	Sorts []GetSpacesBucketsSort `pulumi:"sorts"`
}

A collection of values returned by getSpacesBuckets.

func GetSpacesBuckets

func GetSpacesBuckets(ctx *pulumi.Context, args *GetSpacesBucketsArgs, opts ...pulumi.InvokeOption) (*GetSpacesBucketsResult, error)

Get information on Spaces buckets for use in other resources, with the ability to filter and sort the results. If no filters are specified, all Spaces buckets will be returned.

Note: You can use the `SpacesBucket` data source to obtain metadata about a single bucket if you already know its `name` and `region`.

## Example Usage

Use the `filter` block with a `key` string and `values` list to filter buckets.

Get all buckets in a region:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.GetSpacesBuckets(ctx, &digitalocean.GetSpacesBucketsArgs{
			Filters: []digitalocean.GetSpacesBucketsFilter{
				{
					Key: "region",
					Values: []string{
						"nyc3",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` You can sort the results as well:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.GetSpacesBuckets(ctx, &digitalocean.GetSpacesBucketsArgs{
			Filters: []digitalocean.GetSpacesBucketsFilter{
				{
					Key: "region",
					Values: []string{
						"nyc3",
					},
				},
			},
			Sorts: []digitalocean.GetSpacesBucketsSort{
				{
					Direction: pulumi.StringRef("desc"),
					Key:       "name",
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetSpacesBucketsResultOutput added in v4.9.0

type GetSpacesBucketsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSpacesBuckets.

func GetSpacesBucketsOutput added in v4.9.0

func (GetSpacesBucketsResultOutput) Buckets added in v4.9.0

A list of Spaces buckets satisfying any `filter` and `sort` criteria. Each bucket has the following attributes:

func (GetSpacesBucketsResultOutput) ElementType added in v4.9.0

func (GetSpacesBucketsResultOutput) Filters added in v4.9.0

func (GetSpacesBucketsResultOutput) Id added in v4.9.0

The provider-assigned unique ID for this managed resource.

func (GetSpacesBucketsResultOutput) Sorts added in v4.9.0

func (GetSpacesBucketsResultOutput) ToGetSpacesBucketsResultOutput added in v4.9.0

func (o GetSpacesBucketsResultOutput) ToGetSpacesBucketsResultOutput() GetSpacesBucketsResultOutput

func (GetSpacesBucketsResultOutput) ToGetSpacesBucketsResultOutputWithContext added in v4.9.0

func (o GetSpacesBucketsResultOutput) ToGetSpacesBucketsResultOutputWithContext(ctx context.Context) GetSpacesBucketsResultOutput

type GetSpacesBucketsSort

type GetSpacesBucketsSort struct {
	// The sort direction. This may be either `asc` or `desc`.
	Direction *string `pulumi:"direction"`
	// Sort the images by this key. This may be one of `bucketDomainName`, `name`, `region`, or `urn`.
	Key string `pulumi:"key"`
}

type GetSpacesBucketsSortArgs

type GetSpacesBucketsSortArgs struct {
	// The sort direction. This may be either `asc` or `desc`.
	Direction pulumi.StringPtrInput `pulumi:"direction"`
	// Sort the images by this key. This may be one of `bucketDomainName`, `name`, `region`, or `urn`.
	Key pulumi.StringInput `pulumi:"key"`
}

func (GetSpacesBucketsSortArgs) ElementType

func (GetSpacesBucketsSortArgs) ElementType() reflect.Type

func (GetSpacesBucketsSortArgs) ToGetSpacesBucketsSortOutput

func (i GetSpacesBucketsSortArgs) ToGetSpacesBucketsSortOutput() GetSpacesBucketsSortOutput

func (GetSpacesBucketsSortArgs) ToGetSpacesBucketsSortOutputWithContext

func (i GetSpacesBucketsSortArgs) ToGetSpacesBucketsSortOutputWithContext(ctx context.Context) GetSpacesBucketsSortOutput

type GetSpacesBucketsSortArray

type GetSpacesBucketsSortArray []GetSpacesBucketsSortInput

func (GetSpacesBucketsSortArray) ElementType

func (GetSpacesBucketsSortArray) ElementType() reflect.Type

func (GetSpacesBucketsSortArray) ToGetSpacesBucketsSortArrayOutput

func (i GetSpacesBucketsSortArray) ToGetSpacesBucketsSortArrayOutput() GetSpacesBucketsSortArrayOutput

func (GetSpacesBucketsSortArray) ToGetSpacesBucketsSortArrayOutputWithContext

func (i GetSpacesBucketsSortArray) ToGetSpacesBucketsSortArrayOutputWithContext(ctx context.Context) GetSpacesBucketsSortArrayOutput

type GetSpacesBucketsSortArrayInput

type GetSpacesBucketsSortArrayInput interface {
	pulumi.Input

	ToGetSpacesBucketsSortArrayOutput() GetSpacesBucketsSortArrayOutput
	ToGetSpacesBucketsSortArrayOutputWithContext(context.Context) GetSpacesBucketsSortArrayOutput
}

GetSpacesBucketsSortArrayInput is an input type that accepts GetSpacesBucketsSortArray and GetSpacesBucketsSortArrayOutput values. You can construct a concrete instance of `GetSpacesBucketsSortArrayInput` via:

GetSpacesBucketsSortArray{ GetSpacesBucketsSortArgs{...} }

type GetSpacesBucketsSortArrayOutput

type GetSpacesBucketsSortArrayOutput struct{ *pulumi.OutputState }

func (GetSpacesBucketsSortArrayOutput) ElementType

func (GetSpacesBucketsSortArrayOutput) Index

func (GetSpacesBucketsSortArrayOutput) ToGetSpacesBucketsSortArrayOutput

func (o GetSpacesBucketsSortArrayOutput) ToGetSpacesBucketsSortArrayOutput() GetSpacesBucketsSortArrayOutput

func (GetSpacesBucketsSortArrayOutput) ToGetSpacesBucketsSortArrayOutputWithContext

func (o GetSpacesBucketsSortArrayOutput) ToGetSpacesBucketsSortArrayOutputWithContext(ctx context.Context) GetSpacesBucketsSortArrayOutput

type GetSpacesBucketsSortInput

type GetSpacesBucketsSortInput interface {
	pulumi.Input

	ToGetSpacesBucketsSortOutput() GetSpacesBucketsSortOutput
	ToGetSpacesBucketsSortOutputWithContext(context.Context) GetSpacesBucketsSortOutput
}

GetSpacesBucketsSortInput is an input type that accepts GetSpacesBucketsSortArgs and GetSpacesBucketsSortOutput values. You can construct a concrete instance of `GetSpacesBucketsSortInput` via:

GetSpacesBucketsSortArgs{...}

type GetSpacesBucketsSortOutput

type GetSpacesBucketsSortOutput struct{ *pulumi.OutputState }

func (GetSpacesBucketsSortOutput) Direction

The sort direction. This may be either `asc` or `desc`.

func (GetSpacesBucketsSortOutput) ElementType

func (GetSpacesBucketsSortOutput) ElementType() reflect.Type

func (GetSpacesBucketsSortOutput) Key

Sort the images by this key. This may be one of `bucketDomainName`, `name`, `region`, or `urn`.

func (GetSpacesBucketsSortOutput) ToGetSpacesBucketsSortOutput

func (o GetSpacesBucketsSortOutput) ToGetSpacesBucketsSortOutput() GetSpacesBucketsSortOutput

func (GetSpacesBucketsSortOutput) ToGetSpacesBucketsSortOutputWithContext

func (o GetSpacesBucketsSortOutput) ToGetSpacesBucketsSortOutputWithContext(ctx context.Context) GetSpacesBucketsSortOutput

type GetSshKeysArgs

type GetSshKeysArgs struct {
	// Filter the results.
	// The `filter` block is documented below.
	Filters []GetSshKeysFilter `pulumi:"filters"`
	// Sort the results.
	// The `sort` block is documented below.
	Sorts []GetSshKeysSort `pulumi:"sorts"`
}

A collection of arguments for invoking getSshKeys.

type GetSshKeysFilter

type GetSshKeysFilter struct {
	All *bool `pulumi:"all"`
	// Filter the SSH Keys by this key. This may be one of `name`, `publicKey`, or `fingerprint`.
	Key     string  `pulumi:"key"`
	MatchBy *string `pulumi:"matchBy"`
	// A list of values to match against the key field. Only retrieves SSH keys where the key field matches one or more of the values provided here.
	Values []string `pulumi:"values"`
}

type GetSshKeysFilterArgs

type GetSshKeysFilterArgs struct {
	All pulumi.BoolPtrInput `pulumi:"all"`
	// Filter the SSH Keys by this key. This may be one of `name`, `publicKey`, or `fingerprint`.
	Key     pulumi.StringInput    `pulumi:"key"`
	MatchBy pulumi.StringPtrInput `pulumi:"matchBy"`
	// A list of values to match against the key field. Only retrieves SSH keys where the key field matches one or more of the values provided here.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetSshKeysFilterArgs) ElementType

func (GetSshKeysFilterArgs) ElementType() reflect.Type

func (GetSshKeysFilterArgs) ToGetSshKeysFilterOutput

func (i GetSshKeysFilterArgs) ToGetSshKeysFilterOutput() GetSshKeysFilterOutput

func (GetSshKeysFilterArgs) ToGetSshKeysFilterOutputWithContext

func (i GetSshKeysFilterArgs) ToGetSshKeysFilterOutputWithContext(ctx context.Context) GetSshKeysFilterOutput

type GetSshKeysFilterArray

type GetSshKeysFilterArray []GetSshKeysFilterInput

func (GetSshKeysFilterArray) ElementType

func (GetSshKeysFilterArray) ElementType() reflect.Type

func (GetSshKeysFilterArray) ToGetSshKeysFilterArrayOutput

func (i GetSshKeysFilterArray) ToGetSshKeysFilterArrayOutput() GetSshKeysFilterArrayOutput

func (GetSshKeysFilterArray) ToGetSshKeysFilterArrayOutputWithContext

func (i GetSshKeysFilterArray) ToGetSshKeysFilterArrayOutputWithContext(ctx context.Context) GetSshKeysFilterArrayOutput

type GetSshKeysFilterArrayInput

type GetSshKeysFilterArrayInput interface {
	pulumi.Input

	ToGetSshKeysFilterArrayOutput() GetSshKeysFilterArrayOutput
	ToGetSshKeysFilterArrayOutputWithContext(context.Context) GetSshKeysFilterArrayOutput
}

GetSshKeysFilterArrayInput is an input type that accepts GetSshKeysFilterArray and GetSshKeysFilterArrayOutput values. You can construct a concrete instance of `GetSshKeysFilterArrayInput` via:

GetSshKeysFilterArray{ GetSshKeysFilterArgs{...} }

type GetSshKeysFilterArrayOutput

type GetSshKeysFilterArrayOutput struct{ *pulumi.OutputState }

func (GetSshKeysFilterArrayOutput) ElementType

func (GetSshKeysFilterArrayOutput) Index

func (GetSshKeysFilterArrayOutput) ToGetSshKeysFilterArrayOutput

func (o GetSshKeysFilterArrayOutput) ToGetSshKeysFilterArrayOutput() GetSshKeysFilterArrayOutput

func (GetSshKeysFilterArrayOutput) ToGetSshKeysFilterArrayOutputWithContext

func (o GetSshKeysFilterArrayOutput) ToGetSshKeysFilterArrayOutputWithContext(ctx context.Context) GetSshKeysFilterArrayOutput

type GetSshKeysFilterInput

type GetSshKeysFilterInput interface {
	pulumi.Input

	ToGetSshKeysFilterOutput() GetSshKeysFilterOutput
	ToGetSshKeysFilterOutputWithContext(context.Context) GetSshKeysFilterOutput
}

GetSshKeysFilterInput is an input type that accepts GetSshKeysFilterArgs and GetSshKeysFilterOutput values. You can construct a concrete instance of `GetSshKeysFilterInput` via:

GetSshKeysFilterArgs{...}

type GetSshKeysFilterOutput

type GetSshKeysFilterOutput struct{ *pulumi.OutputState }

func (GetSshKeysFilterOutput) All

func (GetSshKeysFilterOutput) ElementType

func (GetSshKeysFilterOutput) ElementType() reflect.Type

func (GetSshKeysFilterOutput) Key

Filter the SSH Keys by this key. This may be one of `name`, `publicKey`, or `fingerprint`.

func (GetSshKeysFilterOutput) MatchBy

func (GetSshKeysFilterOutput) ToGetSshKeysFilterOutput

func (o GetSshKeysFilterOutput) ToGetSshKeysFilterOutput() GetSshKeysFilterOutput

func (GetSshKeysFilterOutput) ToGetSshKeysFilterOutputWithContext

func (o GetSshKeysFilterOutput) ToGetSshKeysFilterOutputWithContext(ctx context.Context) GetSshKeysFilterOutput

func (GetSshKeysFilterOutput) Values

A list of values to match against the key field. Only retrieves SSH keys where the key field matches one or more of the values provided here.

type GetSshKeysOutputArgs added in v4.9.0

type GetSshKeysOutputArgs struct {
	// Filter the results.
	// The `filter` block is documented below.
	Filters GetSshKeysFilterArrayInput `pulumi:"filters"`
	// Sort the results.
	// The `sort` block is documented below.
	Sorts GetSshKeysSortArrayInput `pulumi:"sorts"`
}

A collection of arguments for invoking getSshKeys.

func (GetSshKeysOutputArgs) ElementType added in v4.9.0

func (GetSshKeysOutputArgs) ElementType() reflect.Type

type GetSshKeysResult

type GetSshKeysResult struct {
	Filters []GetSshKeysFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id    string           `pulumi:"id"`
	Sorts []GetSshKeysSort `pulumi:"sorts"`
	// A list of SSH Keys. Each SSH Key has the following attributes:
	SshKeys []GetSshKeysSshKey `pulumi:"sshKeys"`
}

A collection of values returned by getSshKeys.

func GetSshKeys

func GetSshKeys(ctx *pulumi.Context, args *GetSshKeysArgs, opts ...pulumi.InvokeOption) (*GetSshKeysResult, error)

Get information on SSH Keys for use in other resources.

This data source is useful if the SSH Keys in question are not managed by the provider or you need to utilize any of the SSH Keys' data.

Note: You can use the `SshKey` data source to obtain metadata about a single SSH Key if you already know the unique `name` to retrieve.

## Example Usage

For example, to find all SSH keys:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.GetSshKeys(ctx, &digitalocean.GetSshKeysArgs{
			Sorts: []digitalocean.GetSshKeysSort{
				{
					Direction: pulumi.StringRef("asc"),
					Key:       "name",
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

Or to find ones matching specific values:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.GetSshKeys(ctx, &digitalocean.GetSshKeysArgs{
			Filters: []digitalocean.GetSshKeysFilter{
				{
					Key: "name",
					Values: []string{
						"laptop",
						"desktop",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetSshKeysResultOutput added in v4.9.0

type GetSshKeysResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSshKeys.

func GetSshKeysOutput added in v4.9.0

func GetSshKeysOutput(ctx *pulumi.Context, args GetSshKeysOutputArgs, opts ...pulumi.InvokeOption) GetSshKeysResultOutput

func (GetSshKeysResultOutput) ElementType added in v4.9.0

func (GetSshKeysResultOutput) ElementType() reflect.Type

func (GetSshKeysResultOutput) Filters added in v4.9.0

func (GetSshKeysResultOutput) Id added in v4.9.0

The provider-assigned unique ID for this managed resource.

func (GetSshKeysResultOutput) Sorts added in v4.9.0

func (GetSshKeysResultOutput) SshKeys added in v4.9.0

A list of SSH Keys. Each SSH Key has the following attributes:

func (GetSshKeysResultOutput) ToGetSshKeysResultOutput added in v4.9.0

func (o GetSshKeysResultOutput) ToGetSshKeysResultOutput() GetSshKeysResultOutput

func (GetSshKeysResultOutput) ToGetSshKeysResultOutputWithContext added in v4.9.0

func (o GetSshKeysResultOutput) ToGetSshKeysResultOutputWithContext(ctx context.Context) GetSshKeysResultOutput

type GetSshKeysSort

type GetSshKeysSort struct {
	// The sort direction. This may be either `asc` or `desc`.
	Direction *string `pulumi:"direction"`
	// Sort the SSH Keys by this key. This may be one of `name`, `publicKey`, or `fingerprint`.
	Key string `pulumi:"key"`
}

type GetSshKeysSortArgs

type GetSshKeysSortArgs struct {
	// The sort direction. This may be either `asc` or `desc`.
	Direction pulumi.StringPtrInput `pulumi:"direction"`
	// Sort the SSH Keys by this key. This may be one of `name`, `publicKey`, or `fingerprint`.
	Key pulumi.StringInput `pulumi:"key"`
}

func (GetSshKeysSortArgs) ElementType

func (GetSshKeysSortArgs) ElementType() reflect.Type

func (GetSshKeysSortArgs) ToGetSshKeysSortOutput

func (i GetSshKeysSortArgs) ToGetSshKeysSortOutput() GetSshKeysSortOutput

func (GetSshKeysSortArgs) ToGetSshKeysSortOutputWithContext

func (i GetSshKeysSortArgs) ToGetSshKeysSortOutputWithContext(ctx context.Context) GetSshKeysSortOutput

type GetSshKeysSortArray

type GetSshKeysSortArray []GetSshKeysSortInput

func (GetSshKeysSortArray) ElementType

func (GetSshKeysSortArray) ElementType() reflect.Type

func (GetSshKeysSortArray) ToGetSshKeysSortArrayOutput

func (i GetSshKeysSortArray) ToGetSshKeysSortArrayOutput() GetSshKeysSortArrayOutput

func (GetSshKeysSortArray) ToGetSshKeysSortArrayOutputWithContext

func (i GetSshKeysSortArray) ToGetSshKeysSortArrayOutputWithContext(ctx context.Context) GetSshKeysSortArrayOutput

type GetSshKeysSortArrayInput

type GetSshKeysSortArrayInput interface {
	pulumi.Input

	ToGetSshKeysSortArrayOutput() GetSshKeysSortArrayOutput
	ToGetSshKeysSortArrayOutputWithContext(context.Context) GetSshKeysSortArrayOutput
}

GetSshKeysSortArrayInput is an input type that accepts GetSshKeysSortArray and GetSshKeysSortArrayOutput values. You can construct a concrete instance of `GetSshKeysSortArrayInput` via:

GetSshKeysSortArray{ GetSshKeysSortArgs{...} }

type GetSshKeysSortArrayOutput

type GetSshKeysSortArrayOutput struct{ *pulumi.OutputState }

func (GetSshKeysSortArrayOutput) ElementType

func (GetSshKeysSortArrayOutput) ElementType() reflect.Type

func (GetSshKeysSortArrayOutput) Index

func (GetSshKeysSortArrayOutput) ToGetSshKeysSortArrayOutput

func (o GetSshKeysSortArrayOutput) ToGetSshKeysSortArrayOutput() GetSshKeysSortArrayOutput

func (GetSshKeysSortArrayOutput) ToGetSshKeysSortArrayOutputWithContext

func (o GetSshKeysSortArrayOutput) ToGetSshKeysSortArrayOutputWithContext(ctx context.Context) GetSshKeysSortArrayOutput

type GetSshKeysSortInput

type GetSshKeysSortInput interface {
	pulumi.Input

	ToGetSshKeysSortOutput() GetSshKeysSortOutput
	ToGetSshKeysSortOutputWithContext(context.Context) GetSshKeysSortOutput
}

GetSshKeysSortInput is an input type that accepts GetSshKeysSortArgs and GetSshKeysSortOutput values. You can construct a concrete instance of `GetSshKeysSortInput` via:

GetSshKeysSortArgs{...}

type GetSshKeysSortOutput

type GetSshKeysSortOutput struct{ *pulumi.OutputState }

func (GetSshKeysSortOutput) Direction

The sort direction. This may be either `asc` or `desc`.

func (GetSshKeysSortOutput) ElementType

func (GetSshKeysSortOutput) ElementType() reflect.Type

func (GetSshKeysSortOutput) Key

Sort the SSH Keys by this key. This may be one of `name`, `publicKey`, or `fingerprint`.

func (GetSshKeysSortOutput) ToGetSshKeysSortOutput

func (o GetSshKeysSortOutput) ToGetSshKeysSortOutput() GetSshKeysSortOutput

func (GetSshKeysSortOutput) ToGetSshKeysSortOutputWithContext

func (o GetSshKeysSortOutput) ToGetSshKeysSortOutputWithContext(ctx context.Context) GetSshKeysSortOutput

type GetSshKeysSshKey

type GetSshKeysSshKey struct {
	// The fingerprint of the public key of the ssh key.
	Fingerprint string `pulumi:"fingerprint"`
	// The ID of the ssh key.
	Id int `pulumi:"id"`
	// The name of the ssh key.
	Name string `pulumi:"name"`
	// The public key of the ssh key.
	PublicKey string `pulumi:"publicKey"`
}

type GetSshKeysSshKeyArgs

type GetSshKeysSshKeyArgs struct {
	// The fingerprint of the public key of the ssh key.
	Fingerprint pulumi.StringInput `pulumi:"fingerprint"`
	// The ID of the ssh key.
	Id pulumi.IntInput `pulumi:"id"`
	// The name of the ssh key.
	Name pulumi.StringInput `pulumi:"name"`
	// The public key of the ssh key.
	PublicKey pulumi.StringInput `pulumi:"publicKey"`
}

func (GetSshKeysSshKeyArgs) ElementType

func (GetSshKeysSshKeyArgs) ElementType() reflect.Type

func (GetSshKeysSshKeyArgs) ToGetSshKeysSshKeyOutput

func (i GetSshKeysSshKeyArgs) ToGetSshKeysSshKeyOutput() GetSshKeysSshKeyOutput

func (GetSshKeysSshKeyArgs) ToGetSshKeysSshKeyOutputWithContext

func (i GetSshKeysSshKeyArgs) ToGetSshKeysSshKeyOutputWithContext(ctx context.Context) GetSshKeysSshKeyOutput

type GetSshKeysSshKeyArray

type GetSshKeysSshKeyArray []GetSshKeysSshKeyInput

func (GetSshKeysSshKeyArray) ElementType

func (GetSshKeysSshKeyArray) ElementType() reflect.Type

func (GetSshKeysSshKeyArray) ToGetSshKeysSshKeyArrayOutput

func (i GetSshKeysSshKeyArray) ToGetSshKeysSshKeyArrayOutput() GetSshKeysSshKeyArrayOutput

func (GetSshKeysSshKeyArray) ToGetSshKeysSshKeyArrayOutputWithContext

func (i GetSshKeysSshKeyArray) ToGetSshKeysSshKeyArrayOutputWithContext(ctx context.Context) GetSshKeysSshKeyArrayOutput

type GetSshKeysSshKeyArrayInput

type GetSshKeysSshKeyArrayInput interface {
	pulumi.Input

	ToGetSshKeysSshKeyArrayOutput() GetSshKeysSshKeyArrayOutput
	ToGetSshKeysSshKeyArrayOutputWithContext(context.Context) GetSshKeysSshKeyArrayOutput
}

GetSshKeysSshKeyArrayInput is an input type that accepts GetSshKeysSshKeyArray and GetSshKeysSshKeyArrayOutput values. You can construct a concrete instance of `GetSshKeysSshKeyArrayInput` via:

GetSshKeysSshKeyArray{ GetSshKeysSshKeyArgs{...} }

type GetSshKeysSshKeyArrayOutput

type GetSshKeysSshKeyArrayOutput struct{ *pulumi.OutputState }

func (GetSshKeysSshKeyArrayOutput) ElementType

func (GetSshKeysSshKeyArrayOutput) Index

func (GetSshKeysSshKeyArrayOutput) ToGetSshKeysSshKeyArrayOutput

func (o GetSshKeysSshKeyArrayOutput) ToGetSshKeysSshKeyArrayOutput() GetSshKeysSshKeyArrayOutput

func (GetSshKeysSshKeyArrayOutput) ToGetSshKeysSshKeyArrayOutputWithContext

func (o GetSshKeysSshKeyArrayOutput) ToGetSshKeysSshKeyArrayOutputWithContext(ctx context.Context) GetSshKeysSshKeyArrayOutput

type GetSshKeysSshKeyInput

type GetSshKeysSshKeyInput interface {
	pulumi.Input

	ToGetSshKeysSshKeyOutput() GetSshKeysSshKeyOutput
	ToGetSshKeysSshKeyOutputWithContext(context.Context) GetSshKeysSshKeyOutput
}

GetSshKeysSshKeyInput is an input type that accepts GetSshKeysSshKeyArgs and GetSshKeysSshKeyOutput values. You can construct a concrete instance of `GetSshKeysSshKeyInput` via:

GetSshKeysSshKeyArgs{...}

type GetSshKeysSshKeyOutput

type GetSshKeysSshKeyOutput struct{ *pulumi.OutputState }

func (GetSshKeysSshKeyOutput) ElementType

func (GetSshKeysSshKeyOutput) ElementType() reflect.Type

func (GetSshKeysSshKeyOutput) Fingerprint

func (o GetSshKeysSshKeyOutput) Fingerprint() pulumi.StringOutput

The fingerprint of the public key of the ssh key.

func (GetSshKeysSshKeyOutput) Id

The ID of the ssh key.

func (GetSshKeysSshKeyOutput) Name

The name of the ssh key.

func (GetSshKeysSshKeyOutput) PublicKey

The public key of the ssh key.

func (GetSshKeysSshKeyOutput) ToGetSshKeysSshKeyOutput

func (o GetSshKeysSshKeyOutput) ToGetSshKeysSshKeyOutput() GetSshKeysSshKeyOutput

func (GetSshKeysSshKeyOutput) ToGetSshKeysSshKeyOutputWithContext

func (o GetSshKeysSshKeyOutput) ToGetSshKeysSshKeyOutputWithContext(ctx context.Context) GetSshKeysSshKeyOutput

type GetTagsArgs

type GetTagsArgs struct {
	// Filter the results.
	// The `filter` block is documented below.
	Filters []GetTagsFilter `pulumi:"filters"`
	// Sort the results.
	// The `sort` block is documented below.
	Sorts []GetTagsSort `pulumi:"sorts"`
}

A collection of arguments for invoking getTags.

type GetTagsFilter

type GetTagsFilter struct {
	// Set to `true` to require that a field match all of the `values` instead of just one or more of
	// them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure
	// that all of the `values` are present in the list or set.
	All *bool `pulumi:"all"`
	// Filter the tags by this key. This may be one of `name`, `totalResourceCount`,  `dropletsCount`, `imagesCount`, `volumesCount`, `volumeSnapshotsCount`, or `databasesCount`.
	Key string `pulumi:"key"`
	// One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to
	// match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as
	// substrings to find within the string field.
	MatchBy *string `pulumi:"matchBy"`
	// Only retrieves tags which keys has value that matches
	// one of the values provided here.
	Values []string `pulumi:"values"`
}

type GetTagsFilterArgs

type GetTagsFilterArgs struct {
	// Set to `true` to require that a field match all of the `values` instead of just one or more of
	// them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure
	// that all of the `values` are present in the list or set.
	All pulumi.BoolPtrInput `pulumi:"all"`
	// Filter the tags by this key. This may be one of `name`, `totalResourceCount`,  `dropletsCount`, `imagesCount`, `volumesCount`, `volumeSnapshotsCount`, or `databasesCount`.
	Key pulumi.StringInput `pulumi:"key"`
	// One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to
	// match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as
	// substrings to find within the string field.
	MatchBy pulumi.StringPtrInput `pulumi:"matchBy"`
	// Only retrieves tags which keys has value that matches
	// one of the values provided here.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetTagsFilterArgs) ElementType

func (GetTagsFilterArgs) ElementType() reflect.Type

func (GetTagsFilterArgs) ToGetTagsFilterOutput

func (i GetTagsFilterArgs) ToGetTagsFilterOutput() GetTagsFilterOutput

func (GetTagsFilterArgs) ToGetTagsFilterOutputWithContext

func (i GetTagsFilterArgs) ToGetTagsFilterOutputWithContext(ctx context.Context) GetTagsFilterOutput

type GetTagsFilterArray

type GetTagsFilterArray []GetTagsFilterInput

func (GetTagsFilterArray) ElementType

func (GetTagsFilterArray) ElementType() reflect.Type

func (GetTagsFilterArray) ToGetTagsFilterArrayOutput

func (i GetTagsFilterArray) ToGetTagsFilterArrayOutput() GetTagsFilterArrayOutput

func (GetTagsFilterArray) ToGetTagsFilterArrayOutputWithContext

func (i GetTagsFilterArray) ToGetTagsFilterArrayOutputWithContext(ctx context.Context) GetTagsFilterArrayOutput

type GetTagsFilterArrayInput

type GetTagsFilterArrayInput interface {
	pulumi.Input

	ToGetTagsFilterArrayOutput() GetTagsFilterArrayOutput
	ToGetTagsFilterArrayOutputWithContext(context.Context) GetTagsFilterArrayOutput
}

GetTagsFilterArrayInput is an input type that accepts GetTagsFilterArray and GetTagsFilterArrayOutput values. You can construct a concrete instance of `GetTagsFilterArrayInput` via:

GetTagsFilterArray{ GetTagsFilterArgs{...} }

type GetTagsFilterArrayOutput

type GetTagsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetTagsFilterArrayOutput) ElementType

func (GetTagsFilterArrayOutput) ElementType() reflect.Type

func (GetTagsFilterArrayOutput) Index

func (GetTagsFilterArrayOutput) ToGetTagsFilterArrayOutput

func (o GetTagsFilterArrayOutput) ToGetTagsFilterArrayOutput() GetTagsFilterArrayOutput

func (GetTagsFilterArrayOutput) ToGetTagsFilterArrayOutputWithContext

func (o GetTagsFilterArrayOutput) ToGetTagsFilterArrayOutputWithContext(ctx context.Context) GetTagsFilterArrayOutput

type GetTagsFilterInput

type GetTagsFilterInput interface {
	pulumi.Input

	ToGetTagsFilterOutput() GetTagsFilterOutput
	ToGetTagsFilterOutputWithContext(context.Context) GetTagsFilterOutput
}

GetTagsFilterInput is an input type that accepts GetTagsFilterArgs and GetTagsFilterOutput values. You can construct a concrete instance of `GetTagsFilterInput` via:

GetTagsFilterArgs{...}

type GetTagsFilterOutput

type GetTagsFilterOutput struct{ *pulumi.OutputState }

func (GetTagsFilterOutput) All

Set to `true` to require that a field match all of the `values` instead of just one or more of them. This is useful when matching against multi-valued fields such as lists or sets where you want to ensure that all of the `values` are present in the list or set.

func (GetTagsFilterOutput) ElementType

func (GetTagsFilterOutput) ElementType() reflect.Type

func (GetTagsFilterOutput) Key

Filter the tags by this key. This may be one of `name`, `totalResourceCount`, `dropletsCount`, `imagesCount`, `volumesCount`, `volumeSnapshotsCount`, or `databasesCount`.

func (GetTagsFilterOutput) MatchBy

One of `exact` (default), `re`, or `substring`. For string-typed fields, specify `re` to match by using the `values` as regular expressions, or specify `substring` to match by treating the `values` as substrings to find within the string field.

func (GetTagsFilterOutput) ToGetTagsFilterOutput

func (o GetTagsFilterOutput) ToGetTagsFilterOutput() GetTagsFilterOutput

func (GetTagsFilterOutput) ToGetTagsFilterOutputWithContext

func (o GetTagsFilterOutput) ToGetTagsFilterOutputWithContext(ctx context.Context) GetTagsFilterOutput

func (GetTagsFilterOutput) Values

Only retrieves tags which keys has value that matches one of the values provided here.

type GetTagsOutputArgs added in v4.9.0

type GetTagsOutputArgs struct {
	// Filter the results.
	// The `filter` block is documented below.
	Filters GetTagsFilterArrayInput `pulumi:"filters"`
	// Sort the results.
	// The `sort` block is documented below.
	Sorts GetTagsSortArrayInput `pulumi:"sorts"`
}

A collection of arguments for invoking getTags.

func (GetTagsOutputArgs) ElementType added in v4.9.0

func (GetTagsOutputArgs) ElementType() reflect.Type

type GetTagsResult

type GetTagsResult struct {
	Filters []GetTagsFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id    string        `pulumi:"id"`
	Sorts []GetTagsSort `pulumi:"sorts"`
	Tags  []GetTagsTag  `pulumi:"tags"`
}

A collection of values returned by getTags.

func GetTags

func GetTags(ctx *pulumi.Context, args *GetTagsArgs, opts ...pulumi.InvokeOption) (*GetTagsResult, error)

Returns a list of tags in your DigitalOcean account, with the ability to filter and sort the results. If no filters are specified, all tags will be returned.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		list, err := digitalocean.GetTags(ctx, &digitalocean.GetTagsArgs{
			Sorts: []digitalocean.GetTagsSort{
				{
					Key:       "total_resource_count",
					Direction: pulumi.StringRef("asc"),
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("sortedTags", list.Tags)
		return nil
	})
}

```

type GetTagsResultOutput added in v4.9.0

type GetTagsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTags.

func GetTagsOutput added in v4.9.0

func GetTagsOutput(ctx *pulumi.Context, args GetTagsOutputArgs, opts ...pulumi.InvokeOption) GetTagsResultOutput

func (GetTagsResultOutput) ElementType added in v4.9.0

func (GetTagsResultOutput) ElementType() reflect.Type

func (GetTagsResultOutput) Filters added in v4.9.0

func (GetTagsResultOutput) Id added in v4.9.0

The provider-assigned unique ID for this managed resource.

func (GetTagsResultOutput) Sorts added in v4.9.0

func (GetTagsResultOutput) Tags added in v4.9.0

func (GetTagsResultOutput) ToGetTagsResultOutput added in v4.9.0

func (o GetTagsResultOutput) ToGetTagsResultOutput() GetTagsResultOutput

func (GetTagsResultOutput) ToGetTagsResultOutputWithContext added in v4.9.0

func (o GetTagsResultOutput) ToGetTagsResultOutputWithContext(ctx context.Context) GetTagsResultOutput

type GetTagsSort

type GetTagsSort struct {
	// The sort direction. This may be either `asc` or `desc`.
	Direction *string `pulumi:"direction"`
	// Sort the tags by this key. This may be one of `name`, `totalResourceCount`,  `dropletsCount`, `imagesCount`, `volumesCount`, `volumeSnapshotsCount`, or `databasesCount`.
	Key string `pulumi:"key"`
}

type GetTagsSortArgs

type GetTagsSortArgs struct {
	// The sort direction. This may be either `asc` or `desc`.
	Direction pulumi.StringPtrInput `pulumi:"direction"`
	// Sort the tags by this key. This may be one of `name`, `totalResourceCount`,  `dropletsCount`, `imagesCount`, `volumesCount`, `volumeSnapshotsCount`, or `databasesCount`.
	Key pulumi.StringInput `pulumi:"key"`
}

func (GetTagsSortArgs) ElementType

func (GetTagsSortArgs) ElementType() reflect.Type

func (GetTagsSortArgs) ToGetTagsSortOutput

func (i GetTagsSortArgs) ToGetTagsSortOutput() GetTagsSortOutput

func (GetTagsSortArgs) ToGetTagsSortOutputWithContext

func (i GetTagsSortArgs) ToGetTagsSortOutputWithContext(ctx context.Context) GetTagsSortOutput

type GetTagsSortArray

type GetTagsSortArray []GetTagsSortInput

func (GetTagsSortArray) ElementType

func (GetTagsSortArray) ElementType() reflect.Type

func (GetTagsSortArray) ToGetTagsSortArrayOutput

func (i GetTagsSortArray) ToGetTagsSortArrayOutput() GetTagsSortArrayOutput

func (GetTagsSortArray) ToGetTagsSortArrayOutputWithContext

func (i GetTagsSortArray) ToGetTagsSortArrayOutputWithContext(ctx context.Context) GetTagsSortArrayOutput

type GetTagsSortArrayInput

type GetTagsSortArrayInput interface {
	pulumi.Input

	ToGetTagsSortArrayOutput() GetTagsSortArrayOutput
	ToGetTagsSortArrayOutputWithContext(context.Context) GetTagsSortArrayOutput
}

GetTagsSortArrayInput is an input type that accepts GetTagsSortArray and GetTagsSortArrayOutput values. You can construct a concrete instance of `GetTagsSortArrayInput` via:

GetTagsSortArray{ GetTagsSortArgs{...} }

type GetTagsSortArrayOutput

type GetTagsSortArrayOutput struct{ *pulumi.OutputState }

func (GetTagsSortArrayOutput) ElementType

func (GetTagsSortArrayOutput) ElementType() reflect.Type

func (GetTagsSortArrayOutput) Index

func (GetTagsSortArrayOutput) ToGetTagsSortArrayOutput

func (o GetTagsSortArrayOutput) ToGetTagsSortArrayOutput() GetTagsSortArrayOutput

func (GetTagsSortArrayOutput) ToGetTagsSortArrayOutputWithContext

func (o GetTagsSortArrayOutput) ToGetTagsSortArrayOutputWithContext(ctx context.Context) GetTagsSortArrayOutput

type GetTagsSortInput

type GetTagsSortInput interface {
	pulumi.Input

	ToGetTagsSortOutput() GetTagsSortOutput
	ToGetTagsSortOutputWithContext(context.Context) GetTagsSortOutput
}

GetTagsSortInput is an input type that accepts GetTagsSortArgs and GetTagsSortOutput values. You can construct a concrete instance of `GetTagsSortInput` via:

GetTagsSortArgs{...}

type GetTagsSortOutput

type GetTagsSortOutput struct{ *pulumi.OutputState }

func (GetTagsSortOutput) Direction

The sort direction. This may be either `asc` or `desc`.

func (GetTagsSortOutput) ElementType

func (GetTagsSortOutput) ElementType() reflect.Type

func (GetTagsSortOutput) Key

Sort the tags by this key. This may be one of `name`, `totalResourceCount`, `dropletsCount`, `imagesCount`, `volumesCount`, `volumeSnapshotsCount`, or `databasesCount`.

func (GetTagsSortOutput) ToGetTagsSortOutput

func (o GetTagsSortOutput) ToGetTagsSortOutput() GetTagsSortOutput

func (GetTagsSortOutput) ToGetTagsSortOutputWithContext

func (o GetTagsSortOutput) ToGetTagsSortOutputWithContext(ctx context.Context) GetTagsSortOutput

type GetTagsTag

type GetTagsTag struct {
	// A count of the database clusters that the tag is applied to.
	DatabasesCount int `pulumi:"databasesCount"`
	// A count of the Droplets the tag is applied to.
	DropletsCount int `pulumi:"dropletsCount"`
	// A count of the images that the tag is applied to.
	ImagesCount int `pulumi:"imagesCount"`
	// The name of the tag.
	Name string `pulumi:"name"`
	// A count of the total number of resources that the tag is applied to.
	TotalResourceCount int `pulumi:"totalResourceCount"`
	// A count of the volume snapshots that the tag is applied to.
	VolumeSnapshotsCount int `pulumi:"volumeSnapshotsCount"`
	// A count of the volumes that the tag is applied to.
	VolumesCount int `pulumi:"volumesCount"`
}

type GetTagsTagArgs

type GetTagsTagArgs struct {
	// A count of the database clusters that the tag is applied to.
	DatabasesCount pulumi.IntInput `pulumi:"databasesCount"`
	// A count of the Droplets the tag is applied to.
	DropletsCount pulumi.IntInput `pulumi:"dropletsCount"`
	// A count of the images that the tag is applied to.
	ImagesCount pulumi.IntInput `pulumi:"imagesCount"`
	// The name of the tag.
	Name pulumi.StringInput `pulumi:"name"`
	// A count of the total number of resources that the tag is applied to.
	TotalResourceCount pulumi.IntInput `pulumi:"totalResourceCount"`
	// A count of the volume snapshots that the tag is applied to.
	VolumeSnapshotsCount pulumi.IntInput `pulumi:"volumeSnapshotsCount"`
	// A count of the volumes that the tag is applied to.
	VolumesCount pulumi.IntInput `pulumi:"volumesCount"`
}

func (GetTagsTagArgs) ElementType

func (GetTagsTagArgs) ElementType() reflect.Type

func (GetTagsTagArgs) ToGetTagsTagOutput

func (i GetTagsTagArgs) ToGetTagsTagOutput() GetTagsTagOutput

func (GetTagsTagArgs) ToGetTagsTagOutputWithContext

func (i GetTagsTagArgs) ToGetTagsTagOutputWithContext(ctx context.Context) GetTagsTagOutput

type GetTagsTagArray

type GetTagsTagArray []GetTagsTagInput

func (GetTagsTagArray) ElementType

func (GetTagsTagArray) ElementType() reflect.Type

func (GetTagsTagArray) ToGetTagsTagArrayOutput

func (i GetTagsTagArray) ToGetTagsTagArrayOutput() GetTagsTagArrayOutput

func (GetTagsTagArray) ToGetTagsTagArrayOutputWithContext

func (i GetTagsTagArray) ToGetTagsTagArrayOutputWithContext(ctx context.Context) GetTagsTagArrayOutput

type GetTagsTagArrayInput

type GetTagsTagArrayInput interface {
	pulumi.Input

	ToGetTagsTagArrayOutput() GetTagsTagArrayOutput
	ToGetTagsTagArrayOutputWithContext(context.Context) GetTagsTagArrayOutput
}

GetTagsTagArrayInput is an input type that accepts GetTagsTagArray and GetTagsTagArrayOutput values. You can construct a concrete instance of `GetTagsTagArrayInput` via:

GetTagsTagArray{ GetTagsTagArgs{...} }

type GetTagsTagArrayOutput

type GetTagsTagArrayOutput struct{ *pulumi.OutputState }

func (GetTagsTagArrayOutput) ElementType

func (GetTagsTagArrayOutput) ElementType() reflect.Type

func (GetTagsTagArrayOutput) Index

func (GetTagsTagArrayOutput) ToGetTagsTagArrayOutput

func (o GetTagsTagArrayOutput) ToGetTagsTagArrayOutput() GetTagsTagArrayOutput

func (GetTagsTagArrayOutput) ToGetTagsTagArrayOutputWithContext

func (o GetTagsTagArrayOutput) ToGetTagsTagArrayOutputWithContext(ctx context.Context) GetTagsTagArrayOutput

type GetTagsTagInput

type GetTagsTagInput interface {
	pulumi.Input

	ToGetTagsTagOutput() GetTagsTagOutput
	ToGetTagsTagOutputWithContext(context.Context) GetTagsTagOutput
}

GetTagsTagInput is an input type that accepts GetTagsTagArgs and GetTagsTagOutput values. You can construct a concrete instance of `GetTagsTagInput` via:

GetTagsTagArgs{...}

type GetTagsTagOutput

type GetTagsTagOutput struct{ *pulumi.OutputState }

func (GetTagsTagOutput) DatabasesCount

func (o GetTagsTagOutput) DatabasesCount() pulumi.IntOutput

A count of the database clusters that the tag is applied to.

func (GetTagsTagOutput) DropletsCount

func (o GetTagsTagOutput) DropletsCount() pulumi.IntOutput

A count of the Droplets the tag is applied to.

func (GetTagsTagOutput) ElementType

func (GetTagsTagOutput) ElementType() reflect.Type

func (GetTagsTagOutput) ImagesCount

func (o GetTagsTagOutput) ImagesCount() pulumi.IntOutput

A count of the images that the tag is applied to.

func (GetTagsTagOutput) Name

The name of the tag.

func (GetTagsTagOutput) ToGetTagsTagOutput

func (o GetTagsTagOutput) ToGetTagsTagOutput() GetTagsTagOutput

func (GetTagsTagOutput) ToGetTagsTagOutputWithContext

func (o GetTagsTagOutput) ToGetTagsTagOutputWithContext(ctx context.Context) GetTagsTagOutput

func (GetTagsTagOutput) TotalResourceCount

func (o GetTagsTagOutput) TotalResourceCount() pulumi.IntOutput

A count of the total number of resources that the tag is applied to.

func (GetTagsTagOutput) VolumeSnapshotsCount

func (o GetTagsTagOutput) VolumeSnapshotsCount() pulumi.IntOutput

A count of the volume snapshots that the tag is applied to.

func (GetTagsTagOutput) VolumesCount

func (o GetTagsTagOutput) VolumesCount() pulumi.IntOutput

A count of the volumes that the tag is applied to.

type KubernetesCluster

type KubernetesCluster struct {
	pulumi.CustomResourceState

	// A boolean value indicating whether the cluster will be automatically upgraded to new patch releases during its maintenance window.
	AutoUpgrade pulumi.BoolPtrOutput `pulumi:"autoUpgrade"`
	// The range of IP addresses in the overlay network of the Kubernetes cluster.
	ClusterSubnet pulumi.StringOutput `pulumi:"clusterSubnet"`
	// The uniform resource name (URN) for the Kubernetes cluster.
	ClusterUrn pulumi.StringOutput `pulumi:"clusterUrn"`
	// The date and time when the node was created.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// **Use with caution.** When set to true, all associated DigitalOcean resources created via the Kubernetes API (load balancers, volumes, and volume snapshots) will be destroyed along with the cluster when it is destroyed.
	//
	// This resource supports customized create timeouts. The default timeout is 30 minutes.
	DestroyAllAssociatedResources pulumi.BoolPtrOutput `pulumi:"destroyAllAssociatedResources"`
	// The base URL of the API server on the Kubernetes master node.
	Endpoint pulumi.StringOutput `pulumi:"endpoint"`
	// Enable/disable the high availability control plane for a cluster. Once enabled for a cluster, high availability cannot be disabled. Default: false
	Ha pulumi.BoolPtrOutput `pulumi:"ha"`
	// The public IPv4 address of the Kubernetes master node. This will not be set if high availability is configured on the cluster (v1.21+)
	Ipv4Address pulumi.StringOutput `pulumi:"ipv4Address"`
	// A representation of the Kubernetes cluster's kubeconfig with the following attributes:
	KubeConfigs KubernetesClusterKubeConfigArrayOutput `pulumi:"kubeConfigs"`
	// A block representing the cluster's maintenance window. Updates will be applied within this window. If not specified, a default maintenance window will be chosen. `autoUpgrade` must be set to `true` for this to have an effect.
	MaintenancePolicy KubernetesClusterMaintenancePolicyOutput `pulumi:"maintenancePolicy"`
	// A name for the Kubernetes cluster.
	Name pulumi.StringOutput `pulumi:"name"`
	// A block representing the cluster's default node pool. Additional node pools may be added to the cluster using the `KubernetesNodePool` resource. The following arguments may be specified:
	NodePool KubernetesClusterNodePoolOutput `pulumi:"nodePool"`
	// The slug identifier for the region where the Kubernetes cluster will be created.
	Region pulumi.StringOutput `pulumi:"region"`
	// Enables or disables the DigitalOcean container registry integration for the cluster. This requires that a container registry has first been created for the account. Default: false
	RegistryIntegration pulumi.BoolPtrOutput `pulumi:"registryIntegration"`
	// The range of assignable IP addresses for services running in the Kubernetes cluster.
	ServiceSubnet pulumi.StringOutput `pulumi:"serviceSubnet"`
	// A string indicating the current status of the individual node.
	Status pulumi.StringOutput `pulumi:"status"`
	// Enable/disable surge upgrades for a cluster. Default: false
	SurgeUpgrade pulumi.BoolPtrOutput `pulumi:"surgeUpgrade"`
	// A list of tag names to be applied to the Kubernetes cluster.
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
	// The date and time when the node was last updated.
	UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"`
	// The slug identifier for the version of Kubernetes used for the cluster. Use [doctl](https://github.com/digitalocean/doctl) to find the available versions `doctl kubernetes options versions`. (**Note:** A cluster may only be upgraded to newer versions in-place. If the version is decreased, a new resource will be created.)
	Version pulumi.StringOutput `pulumi:"version"`
	// The ID of the VPC where the Kubernetes cluster will be located.
	VpcUuid pulumi.StringOutput `pulumi:"vpcUuid"`
}

## Import

Before importing a Kubernetes cluster, the cluster's default node pool must be tagged with

the `terraform:default-node-pool` tag. The provider will automatically add this tag if

the cluster only has a single node pool. Clusters with more than one node pool, however, will require

that you manually add the `terraform:default-node-pool` tag to the node pool that you intend to be

the default node pool.

Then the Kubernetes cluster and its default node pool can be imported using the cluster's `id`, e.g.

```sh $ pulumi import digitalocean:index/kubernetesCluster:KubernetesCluster mycluster 1b8b2100-0e9f-4e8f-ad78-9eb578c2a0af ```

Additional node pools must be imported separately as `digitalocean_kubernetes_cluster`

resources, e.g.

```sh $ pulumi import digitalocean:index/kubernetesCluster:KubernetesCluster mynodepool 9d76f410-9284-4436-9633-4066852442c8 ```

func GetKubernetesCluster

func GetKubernetesCluster(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *KubernetesClusterState, opts ...pulumi.ResourceOption) (*KubernetesCluster, error)

GetKubernetesCluster gets an existing KubernetesCluster 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 NewKubernetesCluster

func NewKubernetesCluster(ctx *pulumi.Context,
	name string, args *KubernetesClusterArgs, opts ...pulumi.ResourceOption) (*KubernetesCluster, error)

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

func (*KubernetesCluster) ElementType

func (*KubernetesCluster) ElementType() reflect.Type

func (*KubernetesCluster) ToKubernetesClusterOutput

func (i *KubernetesCluster) ToKubernetesClusterOutput() KubernetesClusterOutput

func (*KubernetesCluster) ToKubernetesClusterOutputWithContext

func (i *KubernetesCluster) ToKubernetesClusterOutputWithContext(ctx context.Context) KubernetesClusterOutput

type KubernetesClusterArgs

type KubernetesClusterArgs struct {
	// A boolean value indicating whether the cluster will be automatically upgraded to new patch releases during its maintenance window.
	AutoUpgrade pulumi.BoolPtrInput
	// **Use with caution.** When set to true, all associated DigitalOcean resources created via the Kubernetes API (load balancers, volumes, and volume snapshots) will be destroyed along with the cluster when it is destroyed.
	//
	// This resource supports customized create timeouts. The default timeout is 30 minutes.
	DestroyAllAssociatedResources pulumi.BoolPtrInput
	// Enable/disable the high availability control plane for a cluster. Once enabled for a cluster, high availability cannot be disabled. Default: false
	Ha pulumi.BoolPtrInput
	// A block representing the cluster's maintenance window. Updates will be applied within this window. If not specified, a default maintenance window will be chosen. `autoUpgrade` must be set to `true` for this to have an effect.
	MaintenancePolicy KubernetesClusterMaintenancePolicyPtrInput
	// A name for the Kubernetes cluster.
	Name pulumi.StringPtrInput
	// A block representing the cluster's default node pool. Additional node pools may be added to the cluster using the `KubernetesNodePool` resource. The following arguments may be specified:
	NodePool KubernetesClusterNodePoolInput
	// The slug identifier for the region where the Kubernetes cluster will be created.
	Region pulumi.StringInput
	// Enables or disables the DigitalOcean container registry integration for the cluster. This requires that a container registry has first been created for the account. Default: false
	RegistryIntegration pulumi.BoolPtrInput
	// Enable/disable surge upgrades for a cluster. Default: false
	SurgeUpgrade pulumi.BoolPtrInput
	// A list of tag names to be applied to the Kubernetes cluster.
	Tags pulumi.StringArrayInput
	// The slug identifier for the version of Kubernetes used for the cluster. Use [doctl](https://github.com/digitalocean/doctl) to find the available versions `doctl kubernetes options versions`. (**Note:** A cluster may only be upgraded to newer versions in-place. If the version is decreased, a new resource will be created.)
	Version pulumi.StringInput
	// The ID of the VPC where the Kubernetes cluster will be located.
	VpcUuid pulumi.StringPtrInput
}

The set of arguments for constructing a KubernetesCluster resource.

func (KubernetesClusterArgs) ElementType

func (KubernetesClusterArgs) ElementType() reflect.Type

type KubernetesClusterArray

type KubernetesClusterArray []KubernetesClusterInput

func (KubernetesClusterArray) ElementType

func (KubernetesClusterArray) ElementType() reflect.Type

func (KubernetesClusterArray) ToKubernetesClusterArrayOutput

func (i KubernetesClusterArray) ToKubernetesClusterArrayOutput() KubernetesClusterArrayOutput

func (KubernetesClusterArray) ToKubernetesClusterArrayOutputWithContext

func (i KubernetesClusterArray) ToKubernetesClusterArrayOutputWithContext(ctx context.Context) KubernetesClusterArrayOutput

type KubernetesClusterArrayInput

type KubernetesClusterArrayInput interface {
	pulumi.Input

	ToKubernetesClusterArrayOutput() KubernetesClusterArrayOutput
	ToKubernetesClusterArrayOutputWithContext(context.Context) KubernetesClusterArrayOutput
}

KubernetesClusterArrayInput is an input type that accepts KubernetesClusterArray and KubernetesClusterArrayOutput values. You can construct a concrete instance of `KubernetesClusterArrayInput` via:

KubernetesClusterArray{ KubernetesClusterArgs{...} }

type KubernetesClusterArrayOutput

type KubernetesClusterArrayOutput struct{ *pulumi.OutputState }

func (KubernetesClusterArrayOutput) ElementType

func (KubernetesClusterArrayOutput) Index

func (KubernetesClusterArrayOutput) ToKubernetesClusterArrayOutput

func (o KubernetesClusterArrayOutput) ToKubernetesClusterArrayOutput() KubernetesClusterArrayOutput

func (KubernetesClusterArrayOutput) ToKubernetesClusterArrayOutputWithContext

func (o KubernetesClusterArrayOutput) ToKubernetesClusterArrayOutputWithContext(ctx context.Context) KubernetesClusterArrayOutput

type KubernetesClusterInput

type KubernetesClusterInput interface {
	pulumi.Input

	ToKubernetesClusterOutput() KubernetesClusterOutput
	ToKubernetesClusterOutputWithContext(ctx context.Context) KubernetesClusterOutput
}

type KubernetesClusterKubeConfig

type KubernetesClusterKubeConfig struct {
	// The base64 encoded public certificate used by clients to access the cluster. Only available if token authentication is not supported on your cluster.
	ClientCertificate *string `pulumi:"clientCertificate"`
	// The base64 encoded private key used by clients to access the cluster. Only available if token authentication is not supported on your cluster.
	ClientKey *string `pulumi:"clientKey"`
	// The base64 encoded public certificate for the cluster's certificate authority.
	ClusterCaCertificate *string `pulumi:"clusterCaCertificate"`
	// The date and time when the credentials will expire and need to be regenerated.
	ExpiresAt *string `pulumi:"expiresAt"`
	// The URL of the API server on the Kubernetes master node.
	Host *string `pulumi:"host"`
	// The full contents of the Kubernetes cluster's kubeconfig file.
	RawConfig *string `pulumi:"rawConfig"`
	// The DigitalOcean API access token used by clients to access the cluster.
	Token *string `pulumi:"token"`
}

type KubernetesClusterKubeConfigArgs

type KubernetesClusterKubeConfigArgs struct {
	// The base64 encoded public certificate used by clients to access the cluster. Only available if token authentication is not supported on your cluster.
	ClientCertificate pulumi.StringPtrInput `pulumi:"clientCertificate"`
	// The base64 encoded private key used by clients to access the cluster. Only available if token authentication is not supported on your cluster.
	ClientKey pulumi.StringPtrInput `pulumi:"clientKey"`
	// The base64 encoded public certificate for the cluster's certificate authority.
	ClusterCaCertificate pulumi.StringPtrInput `pulumi:"clusterCaCertificate"`
	// The date and time when the credentials will expire and need to be regenerated.
	ExpiresAt pulumi.StringPtrInput `pulumi:"expiresAt"`
	// The URL of the API server on the Kubernetes master node.
	Host pulumi.StringPtrInput `pulumi:"host"`
	// The full contents of the Kubernetes cluster's kubeconfig file.
	RawConfig pulumi.StringPtrInput `pulumi:"rawConfig"`
	// The DigitalOcean API access token used by clients to access the cluster.
	Token pulumi.StringPtrInput `pulumi:"token"`
}

func (KubernetesClusterKubeConfigArgs) ElementType

func (KubernetesClusterKubeConfigArgs) ToKubernetesClusterKubeConfigOutput

func (i KubernetesClusterKubeConfigArgs) ToKubernetesClusterKubeConfigOutput() KubernetesClusterKubeConfigOutput

func (KubernetesClusterKubeConfigArgs) ToKubernetesClusterKubeConfigOutputWithContext

func (i KubernetesClusterKubeConfigArgs) ToKubernetesClusterKubeConfigOutputWithContext(ctx context.Context) KubernetesClusterKubeConfigOutput

type KubernetesClusterKubeConfigArray

type KubernetesClusterKubeConfigArray []KubernetesClusterKubeConfigInput

func (KubernetesClusterKubeConfigArray) ElementType

func (KubernetesClusterKubeConfigArray) ToKubernetesClusterKubeConfigArrayOutput

func (i KubernetesClusterKubeConfigArray) ToKubernetesClusterKubeConfigArrayOutput() KubernetesClusterKubeConfigArrayOutput

func (KubernetesClusterKubeConfigArray) ToKubernetesClusterKubeConfigArrayOutputWithContext

func (i KubernetesClusterKubeConfigArray) ToKubernetesClusterKubeConfigArrayOutputWithContext(ctx context.Context) KubernetesClusterKubeConfigArrayOutput

type KubernetesClusterKubeConfigArrayInput

type KubernetesClusterKubeConfigArrayInput interface {
	pulumi.Input

	ToKubernetesClusterKubeConfigArrayOutput() KubernetesClusterKubeConfigArrayOutput
	ToKubernetesClusterKubeConfigArrayOutputWithContext(context.Context) KubernetesClusterKubeConfigArrayOutput
}

KubernetesClusterKubeConfigArrayInput is an input type that accepts KubernetesClusterKubeConfigArray and KubernetesClusterKubeConfigArrayOutput values. You can construct a concrete instance of `KubernetesClusterKubeConfigArrayInput` via:

KubernetesClusterKubeConfigArray{ KubernetesClusterKubeConfigArgs{...} }

type KubernetesClusterKubeConfigArrayOutput

type KubernetesClusterKubeConfigArrayOutput struct{ *pulumi.OutputState }

func (KubernetesClusterKubeConfigArrayOutput) ElementType

func (KubernetesClusterKubeConfigArrayOutput) Index

func (KubernetesClusterKubeConfigArrayOutput) ToKubernetesClusterKubeConfigArrayOutput

func (o KubernetesClusterKubeConfigArrayOutput) ToKubernetesClusterKubeConfigArrayOutput() KubernetesClusterKubeConfigArrayOutput

func (KubernetesClusterKubeConfigArrayOutput) ToKubernetesClusterKubeConfigArrayOutputWithContext

func (o KubernetesClusterKubeConfigArrayOutput) ToKubernetesClusterKubeConfigArrayOutputWithContext(ctx context.Context) KubernetesClusterKubeConfigArrayOutput

type KubernetesClusterKubeConfigInput

type KubernetesClusterKubeConfigInput interface {
	pulumi.Input

	ToKubernetesClusterKubeConfigOutput() KubernetesClusterKubeConfigOutput
	ToKubernetesClusterKubeConfigOutputWithContext(context.Context) KubernetesClusterKubeConfigOutput
}

KubernetesClusterKubeConfigInput is an input type that accepts KubernetesClusterKubeConfigArgs and KubernetesClusterKubeConfigOutput values. You can construct a concrete instance of `KubernetesClusterKubeConfigInput` via:

KubernetesClusterKubeConfigArgs{...}

type KubernetesClusterKubeConfigOutput

type KubernetesClusterKubeConfigOutput struct{ *pulumi.OutputState }

func (KubernetesClusterKubeConfigOutput) ClientCertificate

The base64 encoded public certificate used by clients to access the cluster. Only available if token authentication is not supported on your cluster.

func (KubernetesClusterKubeConfigOutput) ClientKey

The base64 encoded private key used by clients to access the cluster. Only available if token authentication is not supported on your cluster.

func (KubernetesClusterKubeConfigOutput) ClusterCaCertificate

func (o KubernetesClusterKubeConfigOutput) ClusterCaCertificate() pulumi.StringPtrOutput

The base64 encoded public certificate for the cluster's certificate authority.

func (KubernetesClusterKubeConfigOutput) ElementType

func (KubernetesClusterKubeConfigOutput) ExpiresAt

The date and time when the credentials will expire and need to be regenerated.

func (KubernetesClusterKubeConfigOutput) Host

The URL of the API server on the Kubernetes master node.

func (KubernetesClusterKubeConfigOutput) RawConfig

The full contents of the Kubernetes cluster's kubeconfig file.

func (KubernetesClusterKubeConfigOutput) ToKubernetesClusterKubeConfigOutput

func (o KubernetesClusterKubeConfigOutput) ToKubernetesClusterKubeConfigOutput() KubernetesClusterKubeConfigOutput

func (KubernetesClusterKubeConfigOutput) ToKubernetesClusterKubeConfigOutputWithContext

func (o KubernetesClusterKubeConfigOutput) ToKubernetesClusterKubeConfigOutputWithContext(ctx context.Context) KubernetesClusterKubeConfigOutput

func (KubernetesClusterKubeConfigOutput) Token

The DigitalOcean API access token used by clients to access the cluster.

type KubernetesClusterMaintenancePolicy added in v4.5.0

type KubernetesClusterMaintenancePolicy struct {
	// The day of the maintenance window policy. May be one of "monday" through "sunday", or "any" to indicate an arbitrary week day.
	Day *string `pulumi:"day"`
	// A string denoting the duration of the service window, e.g., "04:00".
	Duration *string `pulumi:"duration"`
	// The start time in UTC of the maintenance window policy in 24-hour clock format / HH:MM notation (e.g., 15:00).
	StartTime *string `pulumi:"startTime"`
}

type KubernetesClusterMaintenancePolicyArgs added in v4.5.0

type KubernetesClusterMaintenancePolicyArgs struct {
	// The day of the maintenance window policy. May be one of "monday" through "sunday", or "any" to indicate an arbitrary week day.
	Day pulumi.StringPtrInput `pulumi:"day"`
	// A string denoting the duration of the service window, e.g., "04:00".
	Duration pulumi.StringPtrInput `pulumi:"duration"`
	// The start time in UTC of the maintenance window policy in 24-hour clock format / HH:MM notation (e.g., 15:00).
	StartTime pulumi.StringPtrInput `pulumi:"startTime"`
}

func (KubernetesClusterMaintenancePolicyArgs) ElementType added in v4.5.0

func (KubernetesClusterMaintenancePolicyArgs) ToKubernetesClusterMaintenancePolicyOutput added in v4.5.0

func (i KubernetesClusterMaintenancePolicyArgs) ToKubernetesClusterMaintenancePolicyOutput() KubernetesClusterMaintenancePolicyOutput

func (KubernetesClusterMaintenancePolicyArgs) ToKubernetesClusterMaintenancePolicyOutputWithContext added in v4.5.0

func (i KubernetesClusterMaintenancePolicyArgs) ToKubernetesClusterMaintenancePolicyOutputWithContext(ctx context.Context) KubernetesClusterMaintenancePolicyOutput

func (KubernetesClusterMaintenancePolicyArgs) ToKubernetesClusterMaintenancePolicyPtrOutput added in v4.5.0

func (i KubernetesClusterMaintenancePolicyArgs) ToKubernetesClusterMaintenancePolicyPtrOutput() KubernetesClusterMaintenancePolicyPtrOutput

func (KubernetesClusterMaintenancePolicyArgs) ToKubernetesClusterMaintenancePolicyPtrOutputWithContext added in v4.5.0

func (i KubernetesClusterMaintenancePolicyArgs) ToKubernetesClusterMaintenancePolicyPtrOutputWithContext(ctx context.Context) KubernetesClusterMaintenancePolicyPtrOutput

type KubernetesClusterMaintenancePolicyInput added in v4.5.0

type KubernetesClusterMaintenancePolicyInput interface {
	pulumi.Input

	ToKubernetesClusterMaintenancePolicyOutput() KubernetesClusterMaintenancePolicyOutput
	ToKubernetesClusterMaintenancePolicyOutputWithContext(context.Context) KubernetesClusterMaintenancePolicyOutput
}

KubernetesClusterMaintenancePolicyInput is an input type that accepts KubernetesClusterMaintenancePolicyArgs and KubernetesClusterMaintenancePolicyOutput values. You can construct a concrete instance of `KubernetesClusterMaintenancePolicyInput` via:

KubernetesClusterMaintenancePolicyArgs{...}

type KubernetesClusterMaintenancePolicyOutput added in v4.5.0

type KubernetesClusterMaintenancePolicyOutput struct{ *pulumi.OutputState }

func (KubernetesClusterMaintenancePolicyOutput) Day added in v4.5.0

The day of the maintenance window policy. May be one of "monday" through "sunday", or "any" to indicate an arbitrary week day.

func (KubernetesClusterMaintenancePolicyOutput) Duration added in v4.5.0

A string denoting the duration of the service window, e.g., "04:00".

func (KubernetesClusterMaintenancePolicyOutput) ElementType added in v4.5.0

func (KubernetesClusterMaintenancePolicyOutput) StartTime added in v4.5.0

The start time in UTC of the maintenance window policy in 24-hour clock format / HH:MM notation (e.g., 15:00).

func (KubernetesClusterMaintenancePolicyOutput) ToKubernetesClusterMaintenancePolicyOutput added in v4.5.0

func (o KubernetesClusterMaintenancePolicyOutput) ToKubernetesClusterMaintenancePolicyOutput() KubernetesClusterMaintenancePolicyOutput

func (KubernetesClusterMaintenancePolicyOutput) ToKubernetesClusterMaintenancePolicyOutputWithContext added in v4.5.0

func (o KubernetesClusterMaintenancePolicyOutput) ToKubernetesClusterMaintenancePolicyOutputWithContext(ctx context.Context) KubernetesClusterMaintenancePolicyOutput

func (KubernetesClusterMaintenancePolicyOutput) ToKubernetesClusterMaintenancePolicyPtrOutput added in v4.5.0

func (o KubernetesClusterMaintenancePolicyOutput) ToKubernetesClusterMaintenancePolicyPtrOutput() KubernetesClusterMaintenancePolicyPtrOutput

func (KubernetesClusterMaintenancePolicyOutput) ToKubernetesClusterMaintenancePolicyPtrOutputWithContext added in v4.5.0

func (o KubernetesClusterMaintenancePolicyOutput) ToKubernetesClusterMaintenancePolicyPtrOutputWithContext(ctx context.Context) KubernetesClusterMaintenancePolicyPtrOutput

type KubernetesClusterMaintenancePolicyPtrInput added in v4.5.0

type KubernetesClusterMaintenancePolicyPtrInput interface {
	pulumi.Input

	ToKubernetesClusterMaintenancePolicyPtrOutput() KubernetesClusterMaintenancePolicyPtrOutput
	ToKubernetesClusterMaintenancePolicyPtrOutputWithContext(context.Context) KubernetesClusterMaintenancePolicyPtrOutput
}

KubernetesClusterMaintenancePolicyPtrInput is an input type that accepts KubernetesClusterMaintenancePolicyArgs, KubernetesClusterMaintenancePolicyPtr and KubernetesClusterMaintenancePolicyPtrOutput values. You can construct a concrete instance of `KubernetesClusterMaintenancePolicyPtrInput` via:

        KubernetesClusterMaintenancePolicyArgs{...}

or:

        nil

type KubernetesClusterMaintenancePolicyPtrOutput added in v4.5.0

type KubernetesClusterMaintenancePolicyPtrOutput struct{ *pulumi.OutputState }

func (KubernetesClusterMaintenancePolicyPtrOutput) Day added in v4.5.0

The day of the maintenance window policy. May be one of "monday" through "sunday", or "any" to indicate an arbitrary week day.

func (KubernetesClusterMaintenancePolicyPtrOutput) Duration added in v4.5.0

A string denoting the duration of the service window, e.g., "04:00".

func (KubernetesClusterMaintenancePolicyPtrOutput) Elem added in v4.5.0

func (KubernetesClusterMaintenancePolicyPtrOutput) ElementType added in v4.5.0

func (KubernetesClusterMaintenancePolicyPtrOutput) StartTime added in v4.5.0

The start time in UTC of the maintenance window policy in 24-hour clock format / HH:MM notation (e.g., 15:00).

func (KubernetesClusterMaintenancePolicyPtrOutput) ToKubernetesClusterMaintenancePolicyPtrOutput added in v4.5.0

func (o KubernetesClusterMaintenancePolicyPtrOutput) ToKubernetesClusterMaintenancePolicyPtrOutput() KubernetesClusterMaintenancePolicyPtrOutput

func (KubernetesClusterMaintenancePolicyPtrOutput) ToKubernetesClusterMaintenancePolicyPtrOutputWithContext added in v4.5.0

func (o KubernetesClusterMaintenancePolicyPtrOutput) ToKubernetesClusterMaintenancePolicyPtrOutputWithContext(ctx context.Context) KubernetesClusterMaintenancePolicyPtrOutput

type KubernetesClusterMap

type KubernetesClusterMap map[string]KubernetesClusterInput

func (KubernetesClusterMap) ElementType

func (KubernetesClusterMap) ElementType() reflect.Type

func (KubernetesClusterMap) ToKubernetesClusterMapOutput

func (i KubernetesClusterMap) ToKubernetesClusterMapOutput() KubernetesClusterMapOutput

func (KubernetesClusterMap) ToKubernetesClusterMapOutputWithContext

func (i KubernetesClusterMap) ToKubernetesClusterMapOutputWithContext(ctx context.Context) KubernetesClusterMapOutput

type KubernetesClusterMapInput

type KubernetesClusterMapInput interface {
	pulumi.Input

	ToKubernetesClusterMapOutput() KubernetesClusterMapOutput
	ToKubernetesClusterMapOutputWithContext(context.Context) KubernetesClusterMapOutput
}

KubernetesClusterMapInput is an input type that accepts KubernetesClusterMap and KubernetesClusterMapOutput values. You can construct a concrete instance of `KubernetesClusterMapInput` via:

KubernetesClusterMap{ "key": KubernetesClusterArgs{...} }

type KubernetesClusterMapOutput

type KubernetesClusterMapOutput struct{ *pulumi.OutputState }

func (KubernetesClusterMapOutput) ElementType

func (KubernetesClusterMapOutput) ElementType() reflect.Type

func (KubernetesClusterMapOutput) MapIndex

func (KubernetesClusterMapOutput) ToKubernetesClusterMapOutput

func (o KubernetesClusterMapOutput) ToKubernetesClusterMapOutput() KubernetesClusterMapOutput

func (KubernetesClusterMapOutput) ToKubernetesClusterMapOutputWithContext

func (o KubernetesClusterMapOutput) ToKubernetesClusterMapOutputWithContext(ctx context.Context) KubernetesClusterMapOutput

type KubernetesClusterNodePool

type KubernetesClusterNodePool struct {
	// A computed field representing the actual number of nodes in the node pool, which is especially useful when auto-scaling is enabled.
	ActualNodeCount *int `pulumi:"actualNodeCount"`
	// Enable auto-scaling of the number of nodes in the node pool within the given min/max range.
	AutoScale *bool `pulumi:"autoScale"`
	// A unique ID that can be used to identify and reference the node.
	Id *string `pulumi:"id"`
	// A map of key/value pairs to apply to nodes in the pool. The labels are exposed in the Kubernetes API as labels in the metadata of the corresponding [Node resources](https://kubernetes.io/docs/concepts/architecture/nodes/).
	Labels map[string]string `pulumi:"labels"`
	// If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
	MaxNodes *int `pulumi:"maxNodes"`
	// If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.
	MinNodes *int `pulumi:"minNodes"`
	// A name for the node pool.
	Name string `pulumi:"name"`
	// The number of Droplet instances in the node pool. If auto-scaling is enabled, this should only be set if the desired result is to explicitly reset the number of nodes to this value. If auto-scaling is enabled, and the node count is outside of the given min/max range, it will use the min nodes value.
	NodeCount *int `pulumi:"nodeCount"`
	// A list of nodes in the pool. Each node exports the following attributes:
	Nodes []KubernetesClusterNodePoolNode `pulumi:"nodes"`
	// The slug identifier for the type of Droplet to be used as workers in the node pool.
	Size string `pulumi:"size"`
	// A list of tag names applied to the node pool.
	Tags []string `pulumi:"tags"`
	// A block representing a taint applied to all nodes in the pool. Each taint exports the following attributes (taints must be unique by key and effect pair):
	Taints []KubernetesClusterNodePoolTaint `pulumi:"taints"`
}

type KubernetesClusterNodePoolArgs

type KubernetesClusterNodePoolArgs struct {
	// A computed field representing the actual number of nodes in the node pool, which is especially useful when auto-scaling is enabled.
	ActualNodeCount pulumi.IntPtrInput `pulumi:"actualNodeCount"`
	// Enable auto-scaling of the number of nodes in the node pool within the given min/max range.
	AutoScale pulumi.BoolPtrInput `pulumi:"autoScale"`
	// A unique ID that can be used to identify and reference the node.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// A map of key/value pairs to apply to nodes in the pool. The labels are exposed in the Kubernetes API as labels in the metadata of the corresponding [Node resources](https://kubernetes.io/docs/concepts/architecture/nodes/).
	Labels pulumi.StringMapInput `pulumi:"labels"`
	// If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
	MaxNodes pulumi.IntPtrInput `pulumi:"maxNodes"`
	// If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.
	MinNodes pulumi.IntPtrInput `pulumi:"minNodes"`
	// A name for the node pool.
	Name pulumi.StringInput `pulumi:"name"`
	// The number of Droplet instances in the node pool. If auto-scaling is enabled, this should only be set if the desired result is to explicitly reset the number of nodes to this value. If auto-scaling is enabled, and the node count is outside of the given min/max range, it will use the min nodes value.
	NodeCount pulumi.IntPtrInput `pulumi:"nodeCount"`
	// A list of nodes in the pool. Each node exports the following attributes:
	Nodes KubernetesClusterNodePoolNodeArrayInput `pulumi:"nodes"`
	// The slug identifier for the type of Droplet to be used as workers in the node pool.
	Size pulumi.StringInput `pulumi:"size"`
	// A list of tag names applied to the node pool.
	Tags pulumi.StringArrayInput `pulumi:"tags"`
	// A block representing a taint applied to all nodes in the pool. Each taint exports the following attributes (taints must be unique by key and effect pair):
	Taints KubernetesClusterNodePoolTaintArrayInput `pulumi:"taints"`
}

func (KubernetesClusterNodePoolArgs) ElementType

func (KubernetesClusterNodePoolArgs) ToKubernetesClusterNodePoolOutput

func (i KubernetesClusterNodePoolArgs) ToKubernetesClusterNodePoolOutput() KubernetesClusterNodePoolOutput

func (KubernetesClusterNodePoolArgs) ToKubernetesClusterNodePoolOutputWithContext

func (i KubernetesClusterNodePoolArgs) ToKubernetesClusterNodePoolOutputWithContext(ctx context.Context) KubernetesClusterNodePoolOutput

func (KubernetesClusterNodePoolArgs) ToKubernetesClusterNodePoolPtrOutput

func (i KubernetesClusterNodePoolArgs) ToKubernetesClusterNodePoolPtrOutput() KubernetesClusterNodePoolPtrOutput

func (KubernetesClusterNodePoolArgs) ToKubernetesClusterNodePoolPtrOutputWithContext

func (i KubernetesClusterNodePoolArgs) ToKubernetesClusterNodePoolPtrOutputWithContext(ctx context.Context) KubernetesClusterNodePoolPtrOutput

type KubernetesClusterNodePoolInput

type KubernetesClusterNodePoolInput interface {
	pulumi.Input

	ToKubernetesClusterNodePoolOutput() KubernetesClusterNodePoolOutput
	ToKubernetesClusterNodePoolOutputWithContext(context.Context) KubernetesClusterNodePoolOutput
}

KubernetesClusterNodePoolInput is an input type that accepts KubernetesClusterNodePoolArgs and KubernetesClusterNodePoolOutput values. You can construct a concrete instance of `KubernetesClusterNodePoolInput` via:

KubernetesClusterNodePoolArgs{...}

type KubernetesClusterNodePoolNode

type KubernetesClusterNodePoolNode struct {
	// The date and time when the node was created.
	CreatedAt *string `pulumi:"createdAt"`
	// The id of the node's droplet
	DropletId *string `pulumi:"dropletId"`
	// A unique ID that can be used to identify and reference the node.
	Id *string `pulumi:"id"`
	// A name for the Kubernetes cluster.
	Name *string `pulumi:"name"`
	// A string indicating the current status of the individual node.
	Status *string `pulumi:"status"`
	// The date and time when the node was last updated.
	UpdatedAt *string `pulumi:"updatedAt"`
}

type KubernetesClusterNodePoolNodeArgs

type KubernetesClusterNodePoolNodeArgs struct {
	// The date and time when the node was created.
	CreatedAt pulumi.StringPtrInput `pulumi:"createdAt"`
	// The id of the node's droplet
	DropletId pulumi.StringPtrInput `pulumi:"dropletId"`
	// A unique ID that can be used to identify and reference the node.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// A name for the Kubernetes cluster.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// A string indicating the current status of the individual node.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// The date and time when the node was last updated.
	UpdatedAt pulumi.StringPtrInput `pulumi:"updatedAt"`
}

func (KubernetesClusterNodePoolNodeArgs) ElementType

func (KubernetesClusterNodePoolNodeArgs) ToKubernetesClusterNodePoolNodeOutput

func (i KubernetesClusterNodePoolNodeArgs) ToKubernetesClusterNodePoolNodeOutput() KubernetesClusterNodePoolNodeOutput

func (KubernetesClusterNodePoolNodeArgs) ToKubernetesClusterNodePoolNodeOutputWithContext

func (i KubernetesClusterNodePoolNodeArgs) ToKubernetesClusterNodePoolNodeOutputWithContext(ctx context.Context) KubernetesClusterNodePoolNodeOutput

type KubernetesClusterNodePoolNodeArray

type KubernetesClusterNodePoolNodeArray []KubernetesClusterNodePoolNodeInput

func (KubernetesClusterNodePoolNodeArray) ElementType

func (KubernetesClusterNodePoolNodeArray) ToKubernetesClusterNodePoolNodeArrayOutput

func (i KubernetesClusterNodePoolNodeArray) ToKubernetesClusterNodePoolNodeArrayOutput() KubernetesClusterNodePoolNodeArrayOutput

func (KubernetesClusterNodePoolNodeArray) ToKubernetesClusterNodePoolNodeArrayOutputWithContext

func (i KubernetesClusterNodePoolNodeArray) ToKubernetesClusterNodePoolNodeArrayOutputWithContext(ctx context.Context) KubernetesClusterNodePoolNodeArrayOutput

type KubernetesClusterNodePoolNodeArrayInput

type KubernetesClusterNodePoolNodeArrayInput interface {
	pulumi.Input

	ToKubernetesClusterNodePoolNodeArrayOutput() KubernetesClusterNodePoolNodeArrayOutput
	ToKubernetesClusterNodePoolNodeArrayOutputWithContext(context.Context) KubernetesClusterNodePoolNodeArrayOutput
}

KubernetesClusterNodePoolNodeArrayInput is an input type that accepts KubernetesClusterNodePoolNodeArray and KubernetesClusterNodePoolNodeArrayOutput values. You can construct a concrete instance of `KubernetesClusterNodePoolNodeArrayInput` via:

KubernetesClusterNodePoolNodeArray{ KubernetesClusterNodePoolNodeArgs{...} }

type KubernetesClusterNodePoolNodeArrayOutput

type KubernetesClusterNodePoolNodeArrayOutput struct{ *pulumi.OutputState }

func (KubernetesClusterNodePoolNodeArrayOutput) ElementType

func (KubernetesClusterNodePoolNodeArrayOutput) Index

func (KubernetesClusterNodePoolNodeArrayOutput) ToKubernetesClusterNodePoolNodeArrayOutput

func (o KubernetesClusterNodePoolNodeArrayOutput) ToKubernetesClusterNodePoolNodeArrayOutput() KubernetesClusterNodePoolNodeArrayOutput

func (KubernetesClusterNodePoolNodeArrayOutput) ToKubernetesClusterNodePoolNodeArrayOutputWithContext

func (o KubernetesClusterNodePoolNodeArrayOutput) ToKubernetesClusterNodePoolNodeArrayOutputWithContext(ctx context.Context) KubernetesClusterNodePoolNodeArrayOutput

type KubernetesClusterNodePoolNodeInput

type KubernetesClusterNodePoolNodeInput interface {
	pulumi.Input

	ToKubernetesClusterNodePoolNodeOutput() KubernetesClusterNodePoolNodeOutput
	ToKubernetesClusterNodePoolNodeOutputWithContext(context.Context) KubernetesClusterNodePoolNodeOutput
}

KubernetesClusterNodePoolNodeInput is an input type that accepts KubernetesClusterNodePoolNodeArgs and KubernetesClusterNodePoolNodeOutput values. You can construct a concrete instance of `KubernetesClusterNodePoolNodeInput` via:

KubernetesClusterNodePoolNodeArgs{...}

type KubernetesClusterNodePoolNodeOutput

type KubernetesClusterNodePoolNodeOutput struct{ *pulumi.OutputState }

func (KubernetesClusterNodePoolNodeOutput) CreatedAt

The date and time when the node was created.

func (KubernetesClusterNodePoolNodeOutput) DropletId

The id of the node's droplet

func (KubernetesClusterNodePoolNodeOutput) ElementType

func (KubernetesClusterNodePoolNodeOutput) Id

A unique ID that can be used to identify and reference the node.

func (KubernetesClusterNodePoolNodeOutput) Name

A name for the Kubernetes cluster.

func (KubernetesClusterNodePoolNodeOutput) Status

A string indicating the current status of the individual node.

func (KubernetesClusterNodePoolNodeOutput) ToKubernetesClusterNodePoolNodeOutput

func (o KubernetesClusterNodePoolNodeOutput) ToKubernetesClusterNodePoolNodeOutput() KubernetesClusterNodePoolNodeOutput

func (KubernetesClusterNodePoolNodeOutput) ToKubernetesClusterNodePoolNodeOutputWithContext

func (o KubernetesClusterNodePoolNodeOutput) ToKubernetesClusterNodePoolNodeOutputWithContext(ctx context.Context) KubernetesClusterNodePoolNodeOutput

func (KubernetesClusterNodePoolNodeOutput) UpdatedAt

The date and time when the node was last updated.

type KubernetesClusterNodePoolOutput

type KubernetesClusterNodePoolOutput struct{ *pulumi.OutputState }

func (KubernetesClusterNodePoolOutput) ActualNodeCount

A computed field representing the actual number of nodes in the node pool, which is especially useful when auto-scaling is enabled.

func (KubernetesClusterNodePoolOutput) AutoScale

Enable auto-scaling of the number of nodes in the node pool within the given min/max range.

func (KubernetesClusterNodePoolOutput) ElementType

func (KubernetesClusterNodePoolOutput) Id

A unique ID that can be used to identify and reference the node.

func (KubernetesClusterNodePoolOutput) Labels

A map of key/value pairs to apply to nodes in the pool. The labels are exposed in the Kubernetes API as labels in the metadata of the corresponding [Node resources](https://kubernetes.io/docs/concepts/architecture/nodes/).

func (KubernetesClusterNodePoolOutput) MaxNodes

If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.

func (KubernetesClusterNodePoolOutput) MinNodes

If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.

func (KubernetesClusterNodePoolOutput) Name

A name for the node pool.

func (KubernetesClusterNodePoolOutput) NodeCount

The number of Droplet instances in the node pool. If auto-scaling is enabled, this should only be set if the desired result is to explicitly reset the number of nodes to this value. If auto-scaling is enabled, and the node count is outside of the given min/max range, it will use the min nodes value.

func (KubernetesClusterNodePoolOutput) Nodes

A list of nodes in the pool. Each node exports the following attributes:

func (KubernetesClusterNodePoolOutput) Size

The slug identifier for the type of Droplet to be used as workers in the node pool.

func (KubernetesClusterNodePoolOutput) Tags

A list of tag names applied to the node pool.

func (KubernetesClusterNodePoolOutput) Taints

A block representing a taint applied to all nodes in the pool. Each taint exports the following attributes (taints must be unique by key and effect pair):

func (KubernetesClusterNodePoolOutput) ToKubernetesClusterNodePoolOutput

func (o KubernetesClusterNodePoolOutput) ToKubernetesClusterNodePoolOutput() KubernetesClusterNodePoolOutput

func (KubernetesClusterNodePoolOutput) ToKubernetesClusterNodePoolOutputWithContext

func (o KubernetesClusterNodePoolOutput) ToKubernetesClusterNodePoolOutputWithContext(ctx context.Context) KubernetesClusterNodePoolOutput

func (KubernetesClusterNodePoolOutput) ToKubernetesClusterNodePoolPtrOutput

func (o KubernetesClusterNodePoolOutput) ToKubernetesClusterNodePoolPtrOutput() KubernetesClusterNodePoolPtrOutput

func (KubernetesClusterNodePoolOutput) ToKubernetesClusterNodePoolPtrOutputWithContext

func (o KubernetesClusterNodePoolOutput) ToKubernetesClusterNodePoolPtrOutputWithContext(ctx context.Context) KubernetesClusterNodePoolPtrOutput

type KubernetesClusterNodePoolPtrInput

type KubernetesClusterNodePoolPtrInput interface {
	pulumi.Input

	ToKubernetesClusterNodePoolPtrOutput() KubernetesClusterNodePoolPtrOutput
	ToKubernetesClusterNodePoolPtrOutputWithContext(context.Context) KubernetesClusterNodePoolPtrOutput
}

KubernetesClusterNodePoolPtrInput is an input type that accepts KubernetesClusterNodePoolArgs, KubernetesClusterNodePoolPtr and KubernetesClusterNodePoolPtrOutput values. You can construct a concrete instance of `KubernetesClusterNodePoolPtrInput` via:

        KubernetesClusterNodePoolArgs{...}

or:

        nil

type KubernetesClusterNodePoolPtrOutput

type KubernetesClusterNodePoolPtrOutput struct{ *pulumi.OutputState }

func (KubernetesClusterNodePoolPtrOutput) ActualNodeCount

A computed field representing the actual number of nodes in the node pool, which is especially useful when auto-scaling is enabled.

func (KubernetesClusterNodePoolPtrOutput) AutoScale

Enable auto-scaling of the number of nodes in the node pool within the given min/max range.

func (KubernetesClusterNodePoolPtrOutput) Elem

func (KubernetesClusterNodePoolPtrOutput) ElementType

func (KubernetesClusterNodePoolPtrOutput) Id

A unique ID that can be used to identify and reference the node.

func (KubernetesClusterNodePoolPtrOutput) Labels

A map of key/value pairs to apply to nodes in the pool. The labels are exposed in the Kubernetes API as labels in the metadata of the corresponding [Node resources](https://kubernetes.io/docs/concepts/architecture/nodes/).

func (KubernetesClusterNodePoolPtrOutput) MaxNodes

If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.

func (KubernetesClusterNodePoolPtrOutput) MinNodes

If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.

func (KubernetesClusterNodePoolPtrOutput) Name

A name for the node pool.

func (KubernetesClusterNodePoolPtrOutput) NodeCount

The number of Droplet instances in the node pool. If auto-scaling is enabled, this should only be set if the desired result is to explicitly reset the number of nodes to this value. If auto-scaling is enabled, and the node count is outside of the given min/max range, it will use the min nodes value.

func (KubernetesClusterNodePoolPtrOutput) Nodes

A list of nodes in the pool. Each node exports the following attributes:

func (KubernetesClusterNodePoolPtrOutput) Size

The slug identifier for the type of Droplet to be used as workers in the node pool.

func (KubernetesClusterNodePoolPtrOutput) Tags

A list of tag names applied to the node pool.

func (KubernetesClusterNodePoolPtrOutput) Taints

A block representing a taint applied to all nodes in the pool. Each taint exports the following attributes (taints must be unique by key and effect pair):

func (KubernetesClusterNodePoolPtrOutput) ToKubernetesClusterNodePoolPtrOutput

func (o KubernetesClusterNodePoolPtrOutput) ToKubernetesClusterNodePoolPtrOutput() KubernetesClusterNodePoolPtrOutput

func (KubernetesClusterNodePoolPtrOutput) ToKubernetesClusterNodePoolPtrOutputWithContext

func (o KubernetesClusterNodePoolPtrOutput) ToKubernetesClusterNodePoolPtrOutputWithContext(ctx context.Context) KubernetesClusterNodePoolPtrOutput

type KubernetesClusterNodePoolTaint

type KubernetesClusterNodePoolTaint struct {
	// How the node reacts to pods that it won't tolerate. Available effect values are: "NoSchedule", "PreferNoSchedule", "NoExecute".
	Effect string `pulumi:"effect"`
	// An arbitrary string. The "key" and "value" fields of the "taint" object form a key-value pair.
	Key string `pulumi:"key"`
	// An arbitrary string. The "key" and "value" fields of the "taint" object form a key-value pair.
	Value string `pulumi:"value"`
}

type KubernetesClusterNodePoolTaintArgs

type KubernetesClusterNodePoolTaintArgs struct {
	// How the node reacts to pods that it won't tolerate. Available effect values are: "NoSchedule", "PreferNoSchedule", "NoExecute".
	Effect pulumi.StringInput `pulumi:"effect"`
	// An arbitrary string. The "key" and "value" fields of the "taint" object form a key-value pair.
	Key pulumi.StringInput `pulumi:"key"`
	// An arbitrary string. The "key" and "value" fields of the "taint" object form a key-value pair.
	Value pulumi.StringInput `pulumi:"value"`
}

func (KubernetesClusterNodePoolTaintArgs) ElementType

func (KubernetesClusterNodePoolTaintArgs) ToKubernetesClusterNodePoolTaintOutput

func (i KubernetesClusterNodePoolTaintArgs) ToKubernetesClusterNodePoolTaintOutput() KubernetesClusterNodePoolTaintOutput

func (KubernetesClusterNodePoolTaintArgs) ToKubernetesClusterNodePoolTaintOutputWithContext

func (i KubernetesClusterNodePoolTaintArgs) ToKubernetesClusterNodePoolTaintOutputWithContext(ctx context.Context) KubernetesClusterNodePoolTaintOutput

type KubernetesClusterNodePoolTaintArray

type KubernetesClusterNodePoolTaintArray []KubernetesClusterNodePoolTaintInput

func (KubernetesClusterNodePoolTaintArray) ElementType

func (KubernetesClusterNodePoolTaintArray) ToKubernetesClusterNodePoolTaintArrayOutput

func (i KubernetesClusterNodePoolTaintArray) ToKubernetesClusterNodePoolTaintArrayOutput() KubernetesClusterNodePoolTaintArrayOutput

func (KubernetesClusterNodePoolTaintArray) ToKubernetesClusterNodePoolTaintArrayOutputWithContext

func (i KubernetesClusterNodePoolTaintArray) ToKubernetesClusterNodePoolTaintArrayOutputWithContext(ctx context.Context) KubernetesClusterNodePoolTaintArrayOutput

type KubernetesClusterNodePoolTaintArrayInput

type KubernetesClusterNodePoolTaintArrayInput interface {
	pulumi.Input

	ToKubernetesClusterNodePoolTaintArrayOutput() KubernetesClusterNodePoolTaintArrayOutput
	ToKubernetesClusterNodePoolTaintArrayOutputWithContext(context.Context) KubernetesClusterNodePoolTaintArrayOutput
}

KubernetesClusterNodePoolTaintArrayInput is an input type that accepts KubernetesClusterNodePoolTaintArray and KubernetesClusterNodePoolTaintArrayOutput values. You can construct a concrete instance of `KubernetesClusterNodePoolTaintArrayInput` via:

KubernetesClusterNodePoolTaintArray{ KubernetesClusterNodePoolTaintArgs{...} }

type KubernetesClusterNodePoolTaintArrayOutput

type KubernetesClusterNodePoolTaintArrayOutput struct{ *pulumi.OutputState }

func (KubernetesClusterNodePoolTaintArrayOutput) ElementType

func (KubernetesClusterNodePoolTaintArrayOutput) Index

func (KubernetesClusterNodePoolTaintArrayOutput) ToKubernetesClusterNodePoolTaintArrayOutput

func (o KubernetesClusterNodePoolTaintArrayOutput) ToKubernetesClusterNodePoolTaintArrayOutput() KubernetesClusterNodePoolTaintArrayOutput

func (KubernetesClusterNodePoolTaintArrayOutput) ToKubernetesClusterNodePoolTaintArrayOutputWithContext

func (o KubernetesClusterNodePoolTaintArrayOutput) ToKubernetesClusterNodePoolTaintArrayOutputWithContext(ctx context.Context) KubernetesClusterNodePoolTaintArrayOutput

type KubernetesClusterNodePoolTaintInput

type KubernetesClusterNodePoolTaintInput interface {
	pulumi.Input

	ToKubernetesClusterNodePoolTaintOutput() KubernetesClusterNodePoolTaintOutput
	ToKubernetesClusterNodePoolTaintOutputWithContext(context.Context) KubernetesClusterNodePoolTaintOutput
}

KubernetesClusterNodePoolTaintInput is an input type that accepts KubernetesClusterNodePoolTaintArgs and KubernetesClusterNodePoolTaintOutput values. You can construct a concrete instance of `KubernetesClusterNodePoolTaintInput` via:

KubernetesClusterNodePoolTaintArgs{...}

type KubernetesClusterNodePoolTaintOutput

type KubernetesClusterNodePoolTaintOutput struct{ *pulumi.OutputState }

func (KubernetesClusterNodePoolTaintOutput) Effect

How the node reacts to pods that it won't tolerate. Available effect values are: "NoSchedule", "PreferNoSchedule", "NoExecute".

func (KubernetesClusterNodePoolTaintOutput) ElementType

func (KubernetesClusterNodePoolTaintOutput) Key

An arbitrary string. The "key" and "value" fields of the "taint" object form a key-value pair.

func (KubernetesClusterNodePoolTaintOutput) ToKubernetesClusterNodePoolTaintOutput

func (o KubernetesClusterNodePoolTaintOutput) ToKubernetesClusterNodePoolTaintOutput() KubernetesClusterNodePoolTaintOutput

func (KubernetesClusterNodePoolTaintOutput) ToKubernetesClusterNodePoolTaintOutputWithContext

func (o KubernetesClusterNodePoolTaintOutput) ToKubernetesClusterNodePoolTaintOutputWithContext(ctx context.Context) KubernetesClusterNodePoolTaintOutput

func (KubernetesClusterNodePoolTaintOutput) Value

An arbitrary string. The "key" and "value" fields of the "taint" object form a key-value pair.

type KubernetesClusterOutput

type KubernetesClusterOutput struct{ *pulumi.OutputState }

func (KubernetesClusterOutput) AutoUpgrade added in v4.13.0

A boolean value indicating whether the cluster will be automatically upgraded to new patch releases during its maintenance window.

func (KubernetesClusterOutput) ClusterSubnet added in v4.13.0

func (o KubernetesClusterOutput) ClusterSubnet() pulumi.StringOutput

The range of IP addresses in the overlay network of the Kubernetes cluster.

func (KubernetesClusterOutput) ClusterUrn added in v4.13.0

The uniform resource name (URN) for the Kubernetes cluster.

func (KubernetesClusterOutput) CreatedAt added in v4.13.0

The date and time when the node was created.

func (KubernetesClusterOutput) DestroyAllAssociatedResources added in v4.20.0

func (o KubernetesClusterOutput) DestroyAllAssociatedResources() pulumi.BoolPtrOutput

**Use with caution.** When set to true, all associated DigitalOcean resources created via the Kubernetes API (load balancers, volumes, and volume snapshots) will be destroyed along with the cluster when it is destroyed.

This resource supports customized create timeouts. The default timeout is 30 minutes.

func (KubernetesClusterOutput) ElementType

func (KubernetesClusterOutput) ElementType() reflect.Type

func (KubernetesClusterOutput) Endpoint added in v4.13.0

The base URL of the API server on the Kubernetes master node.

func (KubernetesClusterOutput) Ha added in v4.13.0

Enable/disable the high availability control plane for a cluster. Once enabled for a cluster, high availability cannot be disabled. Default: false

func (KubernetesClusterOutput) Ipv4Address added in v4.13.0

The public IPv4 address of the Kubernetes master node. This will not be set if high availability is configured on the cluster (v1.21+)

func (KubernetesClusterOutput) KubeConfigs added in v4.13.0

A representation of the Kubernetes cluster's kubeconfig with the following attributes:

func (KubernetesClusterOutput) MaintenancePolicy added in v4.13.0

A block representing the cluster's maintenance window. Updates will be applied within this window. If not specified, a default maintenance window will be chosen. `autoUpgrade` must be set to `true` for this to have an effect.

func (KubernetesClusterOutput) Name added in v4.13.0

A name for the Kubernetes cluster.

func (KubernetesClusterOutput) NodePool added in v4.13.0

A block representing the cluster's default node pool. Additional node pools may be added to the cluster using the `KubernetesNodePool` resource. The following arguments may be specified:

func (KubernetesClusterOutput) Region added in v4.13.0

The slug identifier for the region where the Kubernetes cluster will be created.

func (KubernetesClusterOutput) RegistryIntegration added in v4.19.3

func (o KubernetesClusterOutput) RegistryIntegration() pulumi.BoolPtrOutput

Enables or disables the DigitalOcean container registry integration for the cluster. This requires that a container registry has first been created for the account. Default: false

func (KubernetesClusterOutput) ServiceSubnet added in v4.13.0

func (o KubernetesClusterOutput) ServiceSubnet() pulumi.StringOutput

The range of assignable IP addresses for services running in the Kubernetes cluster.

func (KubernetesClusterOutput) Status added in v4.13.0

A string indicating the current status of the individual node.

func (KubernetesClusterOutput) SurgeUpgrade added in v4.13.0

func (o KubernetesClusterOutput) SurgeUpgrade() pulumi.BoolPtrOutput

Enable/disable surge upgrades for a cluster. Default: false

func (KubernetesClusterOutput) Tags added in v4.13.0

A list of tag names to be applied to the Kubernetes cluster.

func (KubernetesClusterOutput) ToKubernetesClusterOutput

func (o KubernetesClusterOutput) ToKubernetesClusterOutput() KubernetesClusterOutput

func (KubernetesClusterOutput) ToKubernetesClusterOutputWithContext

func (o KubernetesClusterOutput) ToKubernetesClusterOutputWithContext(ctx context.Context) KubernetesClusterOutput

func (KubernetesClusterOutput) UpdatedAt added in v4.13.0

The date and time when the node was last updated.

func (KubernetesClusterOutput) Version added in v4.13.0

The slug identifier for the version of Kubernetes used for the cluster. Use [doctl](https://github.com/digitalocean/doctl) to find the available versions `doctl kubernetes options versions`. (**Note:** A cluster may only be upgraded to newer versions in-place. If the version is decreased, a new resource will be created.)

func (KubernetesClusterOutput) VpcUuid added in v4.13.0

The ID of the VPC where the Kubernetes cluster will be located.

type KubernetesClusterState

type KubernetesClusterState struct {
	// A boolean value indicating whether the cluster will be automatically upgraded to new patch releases during its maintenance window.
	AutoUpgrade pulumi.BoolPtrInput
	// The range of IP addresses in the overlay network of the Kubernetes cluster.
	ClusterSubnet pulumi.StringPtrInput
	// The uniform resource name (URN) for the Kubernetes cluster.
	ClusterUrn pulumi.StringPtrInput
	// The date and time when the node was created.
	CreatedAt pulumi.StringPtrInput
	// **Use with caution.** When set to true, all associated DigitalOcean resources created via the Kubernetes API (load balancers, volumes, and volume snapshots) will be destroyed along with the cluster when it is destroyed.
	//
	// This resource supports customized create timeouts. The default timeout is 30 minutes.
	DestroyAllAssociatedResources pulumi.BoolPtrInput
	// The base URL of the API server on the Kubernetes master node.
	Endpoint pulumi.StringPtrInput
	// Enable/disable the high availability control plane for a cluster. Once enabled for a cluster, high availability cannot be disabled. Default: false
	Ha pulumi.BoolPtrInput
	// The public IPv4 address of the Kubernetes master node. This will not be set if high availability is configured on the cluster (v1.21+)
	Ipv4Address pulumi.StringPtrInput
	// A representation of the Kubernetes cluster's kubeconfig with the following attributes:
	KubeConfigs KubernetesClusterKubeConfigArrayInput
	// A block representing the cluster's maintenance window. Updates will be applied within this window. If not specified, a default maintenance window will be chosen. `autoUpgrade` must be set to `true` for this to have an effect.
	MaintenancePolicy KubernetesClusterMaintenancePolicyPtrInput
	// A name for the Kubernetes cluster.
	Name pulumi.StringPtrInput
	// A block representing the cluster's default node pool. Additional node pools may be added to the cluster using the `KubernetesNodePool` resource. The following arguments may be specified:
	NodePool KubernetesClusterNodePoolPtrInput
	// The slug identifier for the region where the Kubernetes cluster will be created.
	Region pulumi.StringPtrInput
	// Enables or disables the DigitalOcean container registry integration for the cluster. This requires that a container registry has first been created for the account. Default: false
	RegistryIntegration pulumi.BoolPtrInput
	// The range of assignable IP addresses for services running in the Kubernetes cluster.
	ServiceSubnet pulumi.StringPtrInput
	// A string indicating the current status of the individual node.
	Status pulumi.StringPtrInput
	// Enable/disable surge upgrades for a cluster. Default: false
	SurgeUpgrade pulumi.BoolPtrInput
	// A list of tag names to be applied to the Kubernetes cluster.
	Tags pulumi.StringArrayInput
	// The date and time when the node was last updated.
	UpdatedAt pulumi.StringPtrInput
	// The slug identifier for the version of Kubernetes used for the cluster. Use [doctl](https://github.com/digitalocean/doctl) to find the available versions `doctl kubernetes options versions`. (**Note:** A cluster may only be upgraded to newer versions in-place. If the version is decreased, a new resource will be created.)
	Version pulumi.StringPtrInput
	// The ID of the VPC where the Kubernetes cluster will be located.
	VpcUuid pulumi.StringPtrInput
}

func (KubernetesClusterState) ElementType

func (KubernetesClusterState) ElementType() reflect.Type

type KubernetesNodePool

type KubernetesNodePool struct {
	pulumi.CustomResourceState

	// A computed field representing the actual number of nodes in the node pool, which is especially useful when auto-scaling is enabled.
	ActualNodeCount pulumi.IntOutput `pulumi:"actualNodeCount"`
	// Enable auto-scaling of the number of nodes in the node pool within the given min/max range.
	AutoScale pulumi.BoolPtrOutput `pulumi:"autoScale"`
	// The ID of the Kubernetes cluster to which the node pool is associated.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// A map of key/value pairs to apply to nodes in the pool. The labels are exposed in the Kubernetes API as labels in the metadata of the corresponding [Node resources](https://kubernetes.io/docs/concepts/architecture/nodes/).
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
	MaxNodes pulumi.IntPtrOutput `pulumi:"maxNodes"`
	// If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.
	MinNodes pulumi.IntPtrOutput `pulumi:"minNodes"`
	// A name for the node pool.
	Name pulumi.StringOutput `pulumi:"name"`
	// The number of Droplet instances in the node pool. If auto-scaling is enabled, this should only be set if the desired result is to explicitly reset the number of nodes to this value. If auto-scaling is enabled, and the node count is outside of the given min/max range, it will use the min nodes value.
	NodeCount pulumi.IntPtrOutput `pulumi:"nodeCount"`
	// A list of nodes in the pool. Each node exports the following attributes:
	Nodes KubernetesNodePoolNodeArrayOutput `pulumi:"nodes"`
	// The slug identifier for the type of Droplet to be used as workers in the node pool.
	Size pulumi.StringOutput `pulumi:"size"`
	// A list of tag names to be applied to the Kubernetes cluster.
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
	// A list of taints applied to all nodes in the pool.
	//
	// This resource supports customized create timeouts. The default timeout is 30 minutes.
	Taints KubernetesNodePoolTaintArrayOutput `pulumi:"taints"`
}

Provides a DigitalOcean Kubernetes node pool resource. While the default node pool must be defined in the `KubernetesCluster` resource, this resource can be used to add additional ones to a cluster.

## Example Usage

### Basic Example

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		foo, err := digitalocean.NewKubernetesCluster(ctx, "foo", &digitalocean.KubernetesClusterArgs{
			Region:  pulumi.String(digitalocean.RegionNYC1),
			Version: pulumi.String("1.22.8-do.1"),
			NodePool: &digitalocean.KubernetesClusterNodePoolArgs{
				Name:      pulumi.String("front-end-pool"),
				Size:      pulumi.String("s-2vcpu-2gb"),
				NodeCount: pulumi.Int(3),
			},
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewKubernetesNodePool(ctx, "bar", &digitalocean.KubernetesNodePoolArgs{
			ClusterId: foo.ID(),
			Size:      pulumi.String(digitalocean.DropletSlugDropletC2),
			NodeCount: pulumi.Int(2),
			Tags: pulumi.StringArray{
				pulumi.String("backend"),
			},
			Labels: pulumi.StringMap{
				"service":  pulumi.String("backend"),
				"priority": pulumi.String("high"),
			},
			Taints: digitalocean.KubernetesNodePoolTaintArray{
				&digitalocean.KubernetesNodePoolTaintArgs{
					Key:    pulumi.String("workloadKind"),
					Value:  pulumi.String("database"),
					Effect: pulumi.String("NoSchedule"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Autoscaling Example

Node pools may also be configured to [autoscale](https://www.digitalocean.com/docs/kubernetes/how-to/autoscale/). For example:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.NewKubernetesNodePool(ctx, "autoscale-pool-01", &digitalocean.KubernetesNodePoolArgs{
			ClusterId: pulumi.Any(digitalocean_kubernetes_cluster.Foo.Id),
			Size:      pulumi.String(digitalocean.DropletSlugDropletS1VCPU2GB),
			AutoScale: pulumi.Bool(true),
			MinNodes:  pulumi.Int(1),
			MaxNodes:  pulumi.Int(5),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

If you are importing an existing Kubernetes cluster with a single node pool, just

import the cluster. Additional node pools can be imported by using their `id`, e.g.

```sh $ pulumi import digitalocean:index/kubernetesNodePool:KubernetesNodePool mynodepool 9d76f410-9284-4436-9633-4066852442c8 ```

Note: If the node pool has the `terraform:default-node-pool` tag, then it is a default node pool for an

existing cluster. The provider will refuse to import the node pool in that case because the node pool

is managed by the `digitalocean_kubernetes_cluster` resource and not by this

`digitalocean_kubernetes_node_pool` resource.

func GetKubernetesNodePool

func GetKubernetesNodePool(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *KubernetesNodePoolState, opts ...pulumi.ResourceOption) (*KubernetesNodePool, error)

GetKubernetesNodePool gets an existing KubernetesNodePool 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 NewKubernetesNodePool

func NewKubernetesNodePool(ctx *pulumi.Context,
	name string, args *KubernetesNodePoolArgs, opts ...pulumi.ResourceOption) (*KubernetesNodePool, error)

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

func (*KubernetesNodePool) ElementType

func (*KubernetesNodePool) ElementType() reflect.Type

func (*KubernetesNodePool) ToKubernetesNodePoolOutput

func (i *KubernetesNodePool) ToKubernetesNodePoolOutput() KubernetesNodePoolOutput

func (*KubernetesNodePool) ToKubernetesNodePoolOutputWithContext

func (i *KubernetesNodePool) ToKubernetesNodePoolOutputWithContext(ctx context.Context) KubernetesNodePoolOutput

type KubernetesNodePoolArgs

type KubernetesNodePoolArgs struct {
	// Enable auto-scaling of the number of nodes in the node pool within the given min/max range.
	AutoScale pulumi.BoolPtrInput
	// The ID of the Kubernetes cluster to which the node pool is associated.
	ClusterId pulumi.StringInput
	// A map of key/value pairs to apply to nodes in the pool. The labels are exposed in the Kubernetes API as labels in the metadata of the corresponding [Node resources](https://kubernetes.io/docs/concepts/architecture/nodes/).
	Labels pulumi.StringMapInput
	// If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
	MaxNodes pulumi.IntPtrInput
	// If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.
	MinNodes pulumi.IntPtrInput
	// A name for the node pool.
	Name pulumi.StringPtrInput
	// The number of Droplet instances in the node pool. If auto-scaling is enabled, this should only be set if the desired result is to explicitly reset the number of nodes to this value. If auto-scaling is enabled, and the node count is outside of the given min/max range, it will use the min nodes value.
	NodeCount pulumi.IntPtrInput
	// The slug identifier for the type of Droplet to be used as workers in the node pool.
	Size pulumi.StringInput
	// A list of tag names to be applied to the Kubernetes cluster.
	Tags pulumi.StringArrayInput
	// A list of taints applied to all nodes in the pool.
	//
	// This resource supports customized create timeouts. The default timeout is 30 minutes.
	Taints KubernetesNodePoolTaintArrayInput
}

The set of arguments for constructing a KubernetesNodePool resource.

func (KubernetesNodePoolArgs) ElementType

func (KubernetesNodePoolArgs) ElementType() reflect.Type

type KubernetesNodePoolArray

type KubernetesNodePoolArray []KubernetesNodePoolInput

func (KubernetesNodePoolArray) ElementType

func (KubernetesNodePoolArray) ElementType() reflect.Type

func (KubernetesNodePoolArray) ToKubernetesNodePoolArrayOutput

func (i KubernetesNodePoolArray) ToKubernetesNodePoolArrayOutput() KubernetesNodePoolArrayOutput

func (KubernetesNodePoolArray) ToKubernetesNodePoolArrayOutputWithContext

func (i KubernetesNodePoolArray) ToKubernetesNodePoolArrayOutputWithContext(ctx context.Context) KubernetesNodePoolArrayOutput

type KubernetesNodePoolArrayInput

type KubernetesNodePoolArrayInput interface {
	pulumi.Input

	ToKubernetesNodePoolArrayOutput() KubernetesNodePoolArrayOutput
	ToKubernetesNodePoolArrayOutputWithContext(context.Context) KubernetesNodePoolArrayOutput
}

KubernetesNodePoolArrayInput is an input type that accepts KubernetesNodePoolArray and KubernetesNodePoolArrayOutput values. You can construct a concrete instance of `KubernetesNodePoolArrayInput` via:

KubernetesNodePoolArray{ KubernetesNodePoolArgs{...} }

type KubernetesNodePoolArrayOutput

type KubernetesNodePoolArrayOutput struct{ *pulumi.OutputState }

func (KubernetesNodePoolArrayOutput) ElementType

func (KubernetesNodePoolArrayOutput) Index

func (KubernetesNodePoolArrayOutput) ToKubernetesNodePoolArrayOutput

func (o KubernetesNodePoolArrayOutput) ToKubernetesNodePoolArrayOutput() KubernetesNodePoolArrayOutput

func (KubernetesNodePoolArrayOutput) ToKubernetesNodePoolArrayOutputWithContext

func (o KubernetesNodePoolArrayOutput) ToKubernetesNodePoolArrayOutputWithContext(ctx context.Context) KubernetesNodePoolArrayOutput

type KubernetesNodePoolInput

type KubernetesNodePoolInput interface {
	pulumi.Input

	ToKubernetesNodePoolOutput() KubernetesNodePoolOutput
	ToKubernetesNodePoolOutputWithContext(ctx context.Context) KubernetesNodePoolOutput
}

type KubernetesNodePoolMap

type KubernetesNodePoolMap map[string]KubernetesNodePoolInput

func (KubernetesNodePoolMap) ElementType

func (KubernetesNodePoolMap) ElementType() reflect.Type

func (KubernetesNodePoolMap) ToKubernetesNodePoolMapOutput

func (i KubernetesNodePoolMap) ToKubernetesNodePoolMapOutput() KubernetesNodePoolMapOutput

func (KubernetesNodePoolMap) ToKubernetesNodePoolMapOutputWithContext

func (i KubernetesNodePoolMap) ToKubernetesNodePoolMapOutputWithContext(ctx context.Context) KubernetesNodePoolMapOutput

type KubernetesNodePoolMapInput

type KubernetesNodePoolMapInput interface {
	pulumi.Input

	ToKubernetesNodePoolMapOutput() KubernetesNodePoolMapOutput
	ToKubernetesNodePoolMapOutputWithContext(context.Context) KubernetesNodePoolMapOutput
}

KubernetesNodePoolMapInput is an input type that accepts KubernetesNodePoolMap and KubernetesNodePoolMapOutput values. You can construct a concrete instance of `KubernetesNodePoolMapInput` via:

KubernetesNodePoolMap{ "key": KubernetesNodePoolArgs{...} }

type KubernetesNodePoolMapOutput

type KubernetesNodePoolMapOutput struct{ *pulumi.OutputState }

func (KubernetesNodePoolMapOutput) ElementType

func (KubernetesNodePoolMapOutput) MapIndex

func (KubernetesNodePoolMapOutput) ToKubernetesNodePoolMapOutput

func (o KubernetesNodePoolMapOutput) ToKubernetesNodePoolMapOutput() KubernetesNodePoolMapOutput

func (KubernetesNodePoolMapOutput) ToKubernetesNodePoolMapOutputWithContext

func (o KubernetesNodePoolMapOutput) ToKubernetesNodePoolMapOutputWithContext(ctx context.Context) KubernetesNodePoolMapOutput

type KubernetesNodePoolNode

type KubernetesNodePoolNode struct {
	// The date and time when the node was created.
	CreatedAt *string `pulumi:"createdAt"`
	// The id of the node's droplet
	DropletId *string `pulumi:"dropletId"`
	// A unique ID that can be used to identify and reference the node.
	Id *string `pulumi:"id"`
	// A name for the node pool.
	Name *string `pulumi:"name"`
	// A string indicating the current status of the individual node.
	Status *string `pulumi:"status"`
	// The date and time when the node was last updated.
	UpdatedAt *string `pulumi:"updatedAt"`
}

type KubernetesNodePoolNodeArgs

type KubernetesNodePoolNodeArgs struct {
	// The date and time when the node was created.
	CreatedAt pulumi.StringPtrInput `pulumi:"createdAt"`
	// The id of the node's droplet
	DropletId pulumi.StringPtrInput `pulumi:"dropletId"`
	// A unique ID that can be used to identify and reference the node.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// A name for the node pool.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// A string indicating the current status of the individual node.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// The date and time when the node was last updated.
	UpdatedAt pulumi.StringPtrInput `pulumi:"updatedAt"`
}

func (KubernetesNodePoolNodeArgs) ElementType

func (KubernetesNodePoolNodeArgs) ElementType() reflect.Type

func (KubernetesNodePoolNodeArgs) ToKubernetesNodePoolNodeOutput

func (i KubernetesNodePoolNodeArgs) ToKubernetesNodePoolNodeOutput() KubernetesNodePoolNodeOutput

func (KubernetesNodePoolNodeArgs) ToKubernetesNodePoolNodeOutputWithContext

func (i KubernetesNodePoolNodeArgs) ToKubernetesNodePoolNodeOutputWithContext(ctx context.Context) KubernetesNodePoolNodeOutput

type KubernetesNodePoolNodeArray

type KubernetesNodePoolNodeArray []KubernetesNodePoolNodeInput

func (KubernetesNodePoolNodeArray) ElementType

func (KubernetesNodePoolNodeArray) ToKubernetesNodePoolNodeArrayOutput

func (i KubernetesNodePoolNodeArray) ToKubernetesNodePoolNodeArrayOutput() KubernetesNodePoolNodeArrayOutput

func (KubernetesNodePoolNodeArray) ToKubernetesNodePoolNodeArrayOutputWithContext

func (i KubernetesNodePoolNodeArray) ToKubernetesNodePoolNodeArrayOutputWithContext(ctx context.Context) KubernetesNodePoolNodeArrayOutput

type KubernetesNodePoolNodeArrayInput

type KubernetesNodePoolNodeArrayInput interface {
	pulumi.Input

	ToKubernetesNodePoolNodeArrayOutput() KubernetesNodePoolNodeArrayOutput
	ToKubernetesNodePoolNodeArrayOutputWithContext(context.Context) KubernetesNodePoolNodeArrayOutput
}

KubernetesNodePoolNodeArrayInput is an input type that accepts KubernetesNodePoolNodeArray and KubernetesNodePoolNodeArrayOutput values. You can construct a concrete instance of `KubernetesNodePoolNodeArrayInput` via:

KubernetesNodePoolNodeArray{ KubernetesNodePoolNodeArgs{...} }

type KubernetesNodePoolNodeArrayOutput

type KubernetesNodePoolNodeArrayOutput struct{ *pulumi.OutputState }

func (KubernetesNodePoolNodeArrayOutput) ElementType

func (KubernetesNodePoolNodeArrayOutput) Index

func (KubernetesNodePoolNodeArrayOutput) ToKubernetesNodePoolNodeArrayOutput

func (o KubernetesNodePoolNodeArrayOutput) ToKubernetesNodePoolNodeArrayOutput() KubernetesNodePoolNodeArrayOutput

func (KubernetesNodePoolNodeArrayOutput) ToKubernetesNodePoolNodeArrayOutputWithContext

func (o KubernetesNodePoolNodeArrayOutput) ToKubernetesNodePoolNodeArrayOutputWithContext(ctx context.Context) KubernetesNodePoolNodeArrayOutput

type KubernetesNodePoolNodeInput

type KubernetesNodePoolNodeInput interface {
	pulumi.Input

	ToKubernetesNodePoolNodeOutput() KubernetesNodePoolNodeOutput
	ToKubernetesNodePoolNodeOutputWithContext(context.Context) KubernetesNodePoolNodeOutput
}

KubernetesNodePoolNodeInput is an input type that accepts KubernetesNodePoolNodeArgs and KubernetesNodePoolNodeOutput values. You can construct a concrete instance of `KubernetesNodePoolNodeInput` via:

KubernetesNodePoolNodeArgs{...}

type KubernetesNodePoolNodeOutput

type KubernetesNodePoolNodeOutput struct{ *pulumi.OutputState }

func (KubernetesNodePoolNodeOutput) CreatedAt

The date and time when the node was created.

func (KubernetesNodePoolNodeOutput) DropletId

The id of the node's droplet

func (KubernetesNodePoolNodeOutput) ElementType

func (KubernetesNodePoolNodeOutput) Id

A unique ID that can be used to identify and reference the node.

func (KubernetesNodePoolNodeOutput) Name

A name for the node pool.

func (KubernetesNodePoolNodeOutput) Status

A string indicating the current status of the individual node.

func (KubernetesNodePoolNodeOutput) ToKubernetesNodePoolNodeOutput

func (o KubernetesNodePoolNodeOutput) ToKubernetesNodePoolNodeOutput() KubernetesNodePoolNodeOutput

func (KubernetesNodePoolNodeOutput) ToKubernetesNodePoolNodeOutputWithContext

func (o KubernetesNodePoolNodeOutput) ToKubernetesNodePoolNodeOutputWithContext(ctx context.Context) KubernetesNodePoolNodeOutput

func (KubernetesNodePoolNodeOutput) UpdatedAt

The date and time when the node was last updated.

type KubernetesNodePoolOutput

type KubernetesNodePoolOutput struct{ *pulumi.OutputState }

func (KubernetesNodePoolOutput) ActualNodeCount added in v4.13.0

func (o KubernetesNodePoolOutput) ActualNodeCount() pulumi.IntOutput

A computed field representing the actual number of nodes in the node pool, which is especially useful when auto-scaling is enabled.

func (KubernetesNodePoolOutput) AutoScale added in v4.13.0

Enable auto-scaling of the number of nodes in the node pool within the given min/max range.

func (KubernetesNodePoolOutput) ClusterId added in v4.13.0

The ID of the Kubernetes cluster to which the node pool is associated.

func (KubernetesNodePoolOutput) ElementType

func (KubernetesNodePoolOutput) ElementType() reflect.Type

func (KubernetesNodePoolOutput) Labels added in v4.13.0

A map of key/value pairs to apply to nodes in the pool. The labels are exposed in the Kubernetes API as labels in the metadata of the corresponding [Node resources](https://kubernetes.io/docs/concepts/architecture/nodes/).

func (KubernetesNodePoolOutput) MaxNodes added in v4.13.0

If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.

func (KubernetesNodePoolOutput) MinNodes added in v4.13.0

If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.

func (KubernetesNodePoolOutput) Name added in v4.13.0

A name for the node pool.

func (KubernetesNodePoolOutput) NodeCount added in v4.13.0

The number of Droplet instances in the node pool. If auto-scaling is enabled, this should only be set if the desired result is to explicitly reset the number of nodes to this value. If auto-scaling is enabled, and the node count is outside of the given min/max range, it will use the min nodes value.

func (KubernetesNodePoolOutput) Nodes added in v4.13.0

A list of nodes in the pool. Each node exports the following attributes:

func (KubernetesNodePoolOutput) Size added in v4.13.0

The slug identifier for the type of Droplet to be used as workers in the node pool.

func (KubernetesNodePoolOutput) Tags added in v4.13.0

A list of tag names to be applied to the Kubernetes cluster.

func (KubernetesNodePoolOutput) Taints added in v4.13.0

A list of taints applied to all nodes in the pool.

This resource supports customized create timeouts. The default timeout is 30 minutes.

func (KubernetesNodePoolOutput) ToKubernetesNodePoolOutput

func (o KubernetesNodePoolOutput) ToKubernetesNodePoolOutput() KubernetesNodePoolOutput

func (KubernetesNodePoolOutput) ToKubernetesNodePoolOutputWithContext

func (o KubernetesNodePoolOutput) ToKubernetesNodePoolOutputWithContext(ctx context.Context) KubernetesNodePoolOutput

type KubernetesNodePoolState

type KubernetesNodePoolState struct {
	// A computed field representing the actual number of nodes in the node pool, which is especially useful when auto-scaling is enabled.
	ActualNodeCount pulumi.IntPtrInput
	// Enable auto-scaling of the number of nodes in the node pool within the given min/max range.
	AutoScale pulumi.BoolPtrInput
	// The ID of the Kubernetes cluster to which the node pool is associated.
	ClusterId pulumi.StringPtrInput
	// A map of key/value pairs to apply to nodes in the pool. The labels are exposed in the Kubernetes API as labels in the metadata of the corresponding [Node resources](https://kubernetes.io/docs/concepts/architecture/nodes/).
	Labels pulumi.StringMapInput
	// If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
	MaxNodes pulumi.IntPtrInput
	// If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.
	MinNodes pulumi.IntPtrInput
	// A name for the node pool.
	Name pulumi.StringPtrInput
	// The number of Droplet instances in the node pool. If auto-scaling is enabled, this should only be set if the desired result is to explicitly reset the number of nodes to this value. If auto-scaling is enabled, and the node count is outside of the given min/max range, it will use the min nodes value.
	NodeCount pulumi.IntPtrInput
	// A list of nodes in the pool. Each node exports the following attributes:
	Nodes KubernetesNodePoolNodeArrayInput
	// The slug identifier for the type of Droplet to be used as workers in the node pool.
	Size pulumi.StringPtrInput
	// A list of tag names to be applied to the Kubernetes cluster.
	Tags pulumi.StringArrayInput
	// A list of taints applied to all nodes in the pool.
	//
	// This resource supports customized create timeouts. The default timeout is 30 minutes.
	Taints KubernetesNodePoolTaintArrayInput
}

func (KubernetesNodePoolState) ElementType

func (KubernetesNodePoolState) ElementType() reflect.Type

type KubernetesNodePoolTaint

type KubernetesNodePoolTaint struct {
	// How the node reacts to pods that it won't tolerate. Available effect values are: "NoSchedule", "PreferNoSchedule", "NoExecute".
	Effect string `pulumi:"effect"`
	// An arbitrary string. The "key" and "value" fields of the "taint" object form a key-value pair.
	Key string `pulumi:"key"`
	// An arbitrary string. The "key" and "value" fields of the "taint" object form a key-value pair.
	Value string `pulumi:"value"`
}

type KubernetesNodePoolTaintArgs

type KubernetesNodePoolTaintArgs struct {
	// How the node reacts to pods that it won't tolerate. Available effect values are: "NoSchedule", "PreferNoSchedule", "NoExecute".
	Effect pulumi.StringInput `pulumi:"effect"`
	// An arbitrary string. The "key" and "value" fields of the "taint" object form a key-value pair.
	Key pulumi.StringInput `pulumi:"key"`
	// An arbitrary string. The "key" and "value" fields of the "taint" object form a key-value pair.
	Value pulumi.StringInput `pulumi:"value"`
}

func (KubernetesNodePoolTaintArgs) ElementType

func (KubernetesNodePoolTaintArgs) ToKubernetesNodePoolTaintOutput

func (i KubernetesNodePoolTaintArgs) ToKubernetesNodePoolTaintOutput() KubernetesNodePoolTaintOutput

func (KubernetesNodePoolTaintArgs) ToKubernetesNodePoolTaintOutputWithContext

func (i KubernetesNodePoolTaintArgs) ToKubernetesNodePoolTaintOutputWithContext(ctx context.Context) KubernetesNodePoolTaintOutput

type KubernetesNodePoolTaintArray

type KubernetesNodePoolTaintArray []KubernetesNodePoolTaintInput

func (KubernetesNodePoolTaintArray) ElementType

func (KubernetesNodePoolTaintArray) ToKubernetesNodePoolTaintArrayOutput

func (i KubernetesNodePoolTaintArray) ToKubernetesNodePoolTaintArrayOutput() KubernetesNodePoolTaintArrayOutput

func (KubernetesNodePoolTaintArray) ToKubernetesNodePoolTaintArrayOutputWithContext

func (i KubernetesNodePoolTaintArray) ToKubernetesNodePoolTaintArrayOutputWithContext(ctx context.Context) KubernetesNodePoolTaintArrayOutput

type KubernetesNodePoolTaintArrayInput

type KubernetesNodePoolTaintArrayInput interface {
	pulumi.Input

	ToKubernetesNodePoolTaintArrayOutput() KubernetesNodePoolTaintArrayOutput
	ToKubernetesNodePoolTaintArrayOutputWithContext(context.Context) KubernetesNodePoolTaintArrayOutput
}

KubernetesNodePoolTaintArrayInput is an input type that accepts KubernetesNodePoolTaintArray and KubernetesNodePoolTaintArrayOutput values. You can construct a concrete instance of `KubernetesNodePoolTaintArrayInput` via:

KubernetesNodePoolTaintArray{ KubernetesNodePoolTaintArgs{...} }

type KubernetesNodePoolTaintArrayOutput

type KubernetesNodePoolTaintArrayOutput struct{ *pulumi.OutputState }

func (KubernetesNodePoolTaintArrayOutput) ElementType

func (KubernetesNodePoolTaintArrayOutput) Index

func (KubernetesNodePoolTaintArrayOutput) ToKubernetesNodePoolTaintArrayOutput

func (o KubernetesNodePoolTaintArrayOutput) ToKubernetesNodePoolTaintArrayOutput() KubernetesNodePoolTaintArrayOutput

func (KubernetesNodePoolTaintArrayOutput) ToKubernetesNodePoolTaintArrayOutputWithContext

func (o KubernetesNodePoolTaintArrayOutput) ToKubernetesNodePoolTaintArrayOutputWithContext(ctx context.Context) KubernetesNodePoolTaintArrayOutput

type KubernetesNodePoolTaintInput

type KubernetesNodePoolTaintInput interface {
	pulumi.Input

	ToKubernetesNodePoolTaintOutput() KubernetesNodePoolTaintOutput
	ToKubernetesNodePoolTaintOutputWithContext(context.Context) KubernetesNodePoolTaintOutput
}

KubernetesNodePoolTaintInput is an input type that accepts KubernetesNodePoolTaintArgs and KubernetesNodePoolTaintOutput values. You can construct a concrete instance of `KubernetesNodePoolTaintInput` via:

KubernetesNodePoolTaintArgs{...}

type KubernetesNodePoolTaintOutput

type KubernetesNodePoolTaintOutput struct{ *pulumi.OutputState }

func (KubernetesNodePoolTaintOutput) Effect

How the node reacts to pods that it won't tolerate. Available effect values are: "NoSchedule", "PreferNoSchedule", "NoExecute".

func (KubernetesNodePoolTaintOutput) ElementType

func (KubernetesNodePoolTaintOutput) Key

An arbitrary string. The "key" and "value" fields of the "taint" object form a key-value pair.

func (KubernetesNodePoolTaintOutput) ToKubernetesNodePoolTaintOutput

func (o KubernetesNodePoolTaintOutput) ToKubernetesNodePoolTaintOutput() KubernetesNodePoolTaintOutput

func (KubernetesNodePoolTaintOutput) ToKubernetesNodePoolTaintOutputWithContext

func (o KubernetesNodePoolTaintOutput) ToKubernetesNodePoolTaintOutputWithContext(ctx context.Context) KubernetesNodePoolTaintOutput

func (KubernetesNodePoolTaintOutput) Value

An arbitrary string. The "key" and "value" fields of the "taint" object form a key-value pair.

type LoadBalancer

type LoadBalancer struct {
	pulumi.CustomResourceState

	// **Deprecated** This field has been deprecated. You can no longer specify an algorithm for load balancers.
	// or `leastConnections`. The default value is `roundRobin`.
	//
	// Deprecated: This field has been deprecated. You can no longer specify an algorithm for load balancers.
	Algorithm pulumi.StringPtrOutput `pulumi:"algorithm"`
	// A boolean value indicating whether to disable automatic DNS record creation for Let's Encrypt certificates that are added to the load balancer. Default value is `false`.
	DisableLetsEncryptDnsRecords pulumi.BoolPtrOutput `pulumi:"disableLetsEncryptDnsRecords"`
	// A list of `domains` required to ingress traffic to a Global Load Balancer. The `domains` block is documented below.
	// **NOTE**: this is a closed beta feature and not available for public use.
	Domains LoadBalancerDomainArrayOutput `pulumi:"domains"`
	// A list of the IDs of each droplet to be attached to the Load Balancer.
	DropletIds pulumi.IntArrayOutput `pulumi:"dropletIds"`
	// The name of a Droplet tag corresponding to Droplets to be assigned to the Load Balancer.
	DropletTag pulumi.StringPtrOutput `pulumi:"dropletTag"`
	// A boolean value indicating whether HTTP keepalive connections are maintained to target Droplets. Default value is `false`.
	EnableBackendKeepalive pulumi.BoolPtrOutput `pulumi:"enableBackendKeepalive"`
	// A boolean value indicating whether PROXY
	// Protocol should be used to pass information from connecting client requests to
	// the backend service. Default value is `false`.
	EnableProxyProtocol pulumi.BoolPtrOutput `pulumi:"enableProxyProtocol"`
	// A block containing rules for allowing/denying traffic to the Load Balancer. The `firewall` block is documented below. Only 1 firewall is allowed.
	Firewall LoadBalancerFirewallOutput `pulumi:"firewall"`
	// A list of `forwardingRule` to be assigned to the
	// Load Balancer. The `forwardingRule` block is documented below.
	ForwardingRules LoadBalancerForwardingRuleArrayOutput `pulumi:"forwardingRules"`
	// A block containing `glbSettings` required to define target rules for a Global Load Balancer. The `glbSettings` block is documented below.
	// **NOTE**: this is a closed beta feature and not available for public use.
	GlbSettings LoadBalancerGlbSettingsOutput `pulumi:"glbSettings"`
	// A `healthcheck` block to be assigned to the
	// Load Balancer. The `healthcheck` block is documented below. Only 1 healthcheck is allowed.
	Healthcheck LoadBalancerHealthcheckOutput `pulumi:"healthcheck"`
	// Specifies the idle timeout for HTTPS connections on the load balancer in seconds.
	HttpIdleTimeoutSeconds pulumi.IntOutput `pulumi:"httpIdleTimeoutSeconds"`
	// The ip of the Load Balancer
	Ip pulumi.StringOutput `pulumi:"ip"`
	// The uniform resource name for the Load Balancer
	LoadBalancerUrn pulumi.StringOutput `pulumi:"loadBalancerUrn"`
	// The Load Balancer name
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the project that the load balancer is associated with. If no ID is provided at creation, the load balancer associates with the user's default project.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// A boolean value indicating whether
	// HTTP requests to the Load Balancer on port 80 will be redirected to HTTPS on port 443.
	// Default value is `false`.
	RedirectHttpToHttps pulumi.BoolPtrOutput `pulumi:"redirectHttpToHttps"`
	// The region to start in
	Region pulumi.StringPtrOutput `pulumi:"region"`
	// The size of the Load Balancer. It must be either `lb-small`, `lb-medium`, or `lb-large`. Defaults to `lb-small`. Only one of `size` or `sizeUnit` may be provided.
	Size pulumi.StringPtrOutput `pulumi:"size"`
	// The size of the Load Balancer. It must be in the range (1, 100). Defaults to `1`. Only one of `size` or `sizeUnit` may be provided.
	SizeUnit pulumi.IntOutput    `pulumi:"sizeUnit"`
	Status   pulumi.StringOutput `pulumi:"status"`
	// A `stickySessions` block to be assigned to the
	// Load Balancer. The `stickySessions` block is documented below. Only 1 stickySessions block is allowed.
	StickySessions LoadBalancerStickySessionsOutput `pulumi:"stickySessions"`
	// A list of Load Balancer IDs to be attached behind a Global Load Balancer.
	// **NOTE**: this is a closed beta feature and not available for public use.
	TargetLoadBalancerIds pulumi.StringArrayOutput `pulumi:"targetLoadBalancerIds"`
	// the type of the load balancer (GLOBAL or REGIONAL)
	Type pulumi.StringPtrOutput `pulumi:"type"`
	// The ID of the VPC where the load balancer will be located.
	VpcUuid pulumi.StringOutput `pulumi:"vpcUuid"`
}

Provides a DigitalOcean Load Balancer resource. This can be used to create, modify, and delete Load Balancers.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		web, err := digitalocean.NewDroplet(ctx, "web", &digitalocean.DropletArgs{
			Size:   pulumi.String(digitalocean.DropletSlugDropletS1VCPU1GB),
			Image:  pulumi.String("ubuntu-18-04-x64"),
			Region: pulumi.String(digitalocean.RegionNYC3),
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewLoadBalancer(ctx, "public", &digitalocean.LoadBalancerArgs{
			Region: pulumi.String(digitalocean.RegionNYC3),
			ForwardingRules: digitalocean.LoadBalancerForwardingRuleArray{
				&digitalocean.LoadBalancerForwardingRuleArgs{
					EntryPort:      pulumi.Int(80),
					EntryProtocol:  pulumi.String("http"),
					TargetPort:     pulumi.Int(80),
					TargetProtocol: pulumi.String("http"),
				},
			},
			Healthcheck: &digitalocean.LoadBalancerHealthcheckArgs{
				Port:     pulumi.Int(22),
				Protocol: pulumi.String("tcp"),
			},
			DropletIds: pulumi.IntArray{
				web.ID(),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

When managing certificates attached to the load balancer, make sure to add the `createBeforeDestroy` lifecycle property in order to ensure the certificate is correctly updated when changed. The order of operations will then be: `Create new certificate` > `Update loadbalancer with new certificate` -> `Delete old certificate`. When doing so, you must also change the name of the certificate, as there cannot be multiple certificates with the same name in an account.

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cert, err := digitalocean.NewCertificate(ctx, "cert", &digitalocean.CertificateArgs{
			PrivateKey:      pulumi.String("file('key.pem')"),
			LeafCertificate: pulumi.String("file('cert.pem')"),
		})
		if err != nil {
			return err
		}
		web, err := digitalocean.NewDroplet(ctx, "web", &digitalocean.DropletArgs{
			Size:   pulumi.String(digitalocean.DropletSlugDropletS1VCPU1GB),
			Image:  pulumi.String("ubuntu-18-04-x64"),
			Region: pulumi.String(digitalocean.RegionNYC3),
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewLoadBalancer(ctx, "public", &digitalocean.LoadBalancerArgs{
			Region: pulumi.String(digitalocean.RegionNYC3),
			ForwardingRules: digitalocean.LoadBalancerForwardingRuleArray{
				&digitalocean.LoadBalancerForwardingRuleArgs{
					EntryPort:       pulumi.Int(443),
					EntryProtocol:   pulumi.String("https"),
					TargetPort:      pulumi.Int(80),
					TargetProtocol:  pulumi.String("http"),
					CertificateName: cert.Name,
				},
			},
			Healthcheck: &digitalocean.LoadBalancerHealthcheckArgs{
				Port:     pulumi.Int(22),
				Protocol: pulumi.String("tcp"),
			},
			DropletIds: pulumi.IntArray{
				web.ID(),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Load Balancers can be imported using the `id`, e.g.

```sh $ pulumi import digitalocean:index/loadBalancer:LoadBalancer myloadbalancer 4de7ac8b-495b-4884-9a69-1050c6793cd6 ```

func GetLoadBalancer

func GetLoadBalancer(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LoadBalancerState, opts ...pulumi.ResourceOption) (*LoadBalancer, error)

GetLoadBalancer gets an existing LoadBalancer 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 NewLoadBalancer

func NewLoadBalancer(ctx *pulumi.Context,
	name string, args *LoadBalancerArgs, opts ...pulumi.ResourceOption) (*LoadBalancer, error)

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

func (*LoadBalancer) ElementType

func (*LoadBalancer) ElementType() reflect.Type

func (*LoadBalancer) ToLoadBalancerOutput

func (i *LoadBalancer) ToLoadBalancerOutput() LoadBalancerOutput

func (*LoadBalancer) ToLoadBalancerOutputWithContext

func (i *LoadBalancer) ToLoadBalancerOutputWithContext(ctx context.Context) LoadBalancerOutput

type LoadBalancerArgs

type LoadBalancerArgs struct {
	// **Deprecated** This field has been deprecated. You can no longer specify an algorithm for load balancers.
	// or `leastConnections`. The default value is `roundRobin`.
	//
	// Deprecated: This field has been deprecated. You can no longer specify an algorithm for load balancers.
	Algorithm pulumi.StringPtrInput
	// A boolean value indicating whether to disable automatic DNS record creation for Let's Encrypt certificates that are added to the load balancer. Default value is `false`.
	DisableLetsEncryptDnsRecords pulumi.BoolPtrInput
	// A list of `domains` required to ingress traffic to a Global Load Balancer. The `domains` block is documented below.
	// **NOTE**: this is a closed beta feature and not available for public use.
	Domains LoadBalancerDomainArrayInput
	// A list of the IDs of each droplet to be attached to the Load Balancer.
	DropletIds pulumi.IntArrayInput
	// The name of a Droplet tag corresponding to Droplets to be assigned to the Load Balancer.
	DropletTag pulumi.StringPtrInput
	// A boolean value indicating whether HTTP keepalive connections are maintained to target Droplets. Default value is `false`.
	EnableBackendKeepalive pulumi.BoolPtrInput
	// A boolean value indicating whether PROXY
	// Protocol should be used to pass information from connecting client requests to
	// the backend service. Default value is `false`.
	EnableProxyProtocol pulumi.BoolPtrInput
	// A block containing rules for allowing/denying traffic to the Load Balancer. The `firewall` block is documented below. Only 1 firewall is allowed.
	Firewall LoadBalancerFirewallPtrInput
	// A list of `forwardingRule` to be assigned to the
	// Load Balancer. The `forwardingRule` block is documented below.
	ForwardingRules LoadBalancerForwardingRuleArrayInput
	// A block containing `glbSettings` required to define target rules for a Global Load Balancer. The `glbSettings` block is documented below.
	// **NOTE**: this is a closed beta feature and not available for public use.
	GlbSettings LoadBalancerGlbSettingsPtrInput
	// A `healthcheck` block to be assigned to the
	// Load Balancer. The `healthcheck` block is documented below. Only 1 healthcheck is allowed.
	Healthcheck LoadBalancerHealthcheckPtrInput
	// Specifies the idle timeout for HTTPS connections on the load balancer in seconds.
	HttpIdleTimeoutSeconds pulumi.IntPtrInput
	// The Load Balancer name
	Name pulumi.StringPtrInput
	// The ID of the project that the load balancer is associated with. If no ID is provided at creation, the load balancer associates with the user's default project.
	ProjectId pulumi.StringPtrInput
	// A boolean value indicating whether
	// HTTP requests to the Load Balancer on port 80 will be redirected to HTTPS on port 443.
	// Default value is `false`.
	RedirectHttpToHttps pulumi.BoolPtrInput
	// The region to start in
	Region pulumi.StringPtrInput
	// The size of the Load Balancer. It must be either `lb-small`, `lb-medium`, or `lb-large`. Defaults to `lb-small`. Only one of `size` or `sizeUnit` may be provided.
	Size pulumi.StringPtrInput
	// The size of the Load Balancer. It must be in the range (1, 100). Defaults to `1`. Only one of `size` or `sizeUnit` may be provided.
	SizeUnit pulumi.IntPtrInput
	// A `stickySessions` block to be assigned to the
	// Load Balancer. The `stickySessions` block is documented below. Only 1 stickySessions block is allowed.
	StickySessions LoadBalancerStickySessionsPtrInput
	// A list of Load Balancer IDs to be attached behind a Global Load Balancer.
	// **NOTE**: this is a closed beta feature and not available for public use.
	TargetLoadBalancerIds pulumi.StringArrayInput
	// the type of the load balancer (GLOBAL or REGIONAL)
	Type pulumi.StringPtrInput
	// The ID of the VPC where the load balancer will be located.
	VpcUuid pulumi.StringPtrInput
}

The set of arguments for constructing a LoadBalancer resource.

func (LoadBalancerArgs) ElementType

func (LoadBalancerArgs) ElementType() reflect.Type

type LoadBalancerArray

type LoadBalancerArray []LoadBalancerInput

func (LoadBalancerArray) ElementType

func (LoadBalancerArray) ElementType() reflect.Type

func (LoadBalancerArray) ToLoadBalancerArrayOutput

func (i LoadBalancerArray) ToLoadBalancerArrayOutput() LoadBalancerArrayOutput

func (LoadBalancerArray) ToLoadBalancerArrayOutputWithContext

func (i LoadBalancerArray) ToLoadBalancerArrayOutputWithContext(ctx context.Context) LoadBalancerArrayOutput

type LoadBalancerArrayInput

type LoadBalancerArrayInput interface {
	pulumi.Input

	ToLoadBalancerArrayOutput() LoadBalancerArrayOutput
	ToLoadBalancerArrayOutputWithContext(context.Context) LoadBalancerArrayOutput
}

LoadBalancerArrayInput is an input type that accepts LoadBalancerArray and LoadBalancerArrayOutput values. You can construct a concrete instance of `LoadBalancerArrayInput` via:

LoadBalancerArray{ LoadBalancerArgs{...} }

type LoadBalancerArrayOutput

type LoadBalancerArrayOutput struct{ *pulumi.OutputState }

func (LoadBalancerArrayOutput) ElementType

func (LoadBalancerArrayOutput) ElementType() reflect.Type

func (LoadBalancerArrayOutput) Index

func (LoadBalancerArrayOutput) ToLoadBalancerArrayOutput

func (o LoadBalancerArrayOutput) ToLoadBalancerArrayOutput() LoadBalancerArrayOutput

func (LoadBalancerArrayOutput) ToLoadBalancerArrayOutputWithContext

func (o LoadBalancerArrayOutput) ToLoadBalancerArrayOutputWithContext(ctx context.Context) LoadBalancerArrayOutput

type LoadBalancerDomain added in v4.28.0

type LoadBalancerDomain struct {
	// name of certificate required for TLS handshaking
	CertificateName *string `pulumi:"certificateName"`
	// Control flag to specify whether the domain is managed by DigitalOcean.
	IsManaged *bool `pulumi:"isManaged"`
	// The domain name to be used for ingressing traffic to a Global Load Balancer.
	Name string `pulumi:"name"`
	// list of domain SSL validation errors
	SslValidationErrorReasons []string `pulumi:"sslValidationErrorReasons"`
	// list of domain verification errors
	VerificationErrorReasons []string `pulumi:"verificationErrorReasons"`
}

type LoadBalancerDomainArgs added in v4.28.0

type LoadBalancerDomainArgs struct {
	// name of certificate required for TLS handshaking
	CertificateName pulumi.StringPtrInput `pulumi:"certificateName"`
	// Control flag to specify whether the domain is managed by DigitalOcean.
	IsManaged pulumi.BoolPtrInput `pulumi:"isManaged"`
	// The domain name to be used for ingressing traffic to a Global Load Balancer.
	Name pulumi.StringInput `pulumi:"name"`
	// list of domain SSL validation errors
	SslValidationErrorReasons pulumi.StringArrayInput `pulumi:"sslValidationErrorReasons"`
	// list of domain verification errors
	VerificationErrorReasons pulumi.StringArrayInput `pulumi:"verificationErrorReasons"`
}

func (LoadBalancerDomainArgs) ElementType added in v4.28.0

func (LoadBalancerDomainArgs) ElementType() reflect.Type

func (LoadBalancerDomainArgs) ToLoadBalancerDomainOutput added in v4.28.0

func (i LoadBalancerDomainArgs) ToLoadBalancerDomainOutput() LoadBalancerDomainOutput

func (LoadBalancerDomainArgs) ToLoadBalancerDomainOutputWithContext added in v4.28.0

func (i LoadBalancerDomainArgs) ToLoadBalancerDomainOutputWithContext(ctx context.Context) LoadBalancerDomainOutput

type LoadBalancerDomainArray added in v4.28.0

type LoadBalancerDomainArray []LoadBalancerDomainInput

func (LoadBalancerDomainArray) ElementType added in v4.28.0

func (LoadBalancerDomainArray) ElementType() reflect.Type

func (LoadBalancerDomainArray) ToLoadBalancerDomainArrayOutput added in v4.28.0

func (i LoadBalancerDomainArray) ToLoadBalancerDomainArrayOutput() LoadBalancerDomainArrayOutput

func (LoadBalancerDomainArray) ToLoadBalancerDomainArrayOutputWithContext added in v4.28.0

func (i LoadBalancerDomainArray) ToLoadBalancerDomainArrayOutputWithContext(ctx context.Context) LoadBalancerDomainArrayOutput

type LoadBalancerDomainArrayInput added in v4.28.0

type LoadBalancerDomainArrayInput interface {
	pulumi.Input

	ToLoadBalancerDomainArrayOutput() LoadBalancerDomainArrayOutput
	ToLoadBalancerDomainArrayOutputWithContext(context.Context) LoadBalancerDomainArrayOutput
}

LoadBalancerDomainArrayInput is an input type that accepts LoadBalancerDomainArray and LoadBalancerDomainArrayOutput values. You can construct a concrete instance of `LoadBalancerDomainArrayInput` via:

LoadBalancerDomainArray{ LoadBalancerDomainArgs{...} }

type LoadBalancerDomainArrayOutput added in v4.28.0

type LoadBalancerDomainArrayOutput struct{ *pulumi.OutputState }

func (LoadBalancerDomainArrayOutput) ElementType added in v4.28.0

func (LoadBalancerDomainArrayOutput) Index added in v4.28.0

func (LoadBalancerDomainArrayOutput) ToLoadBalancerDomainArrayOutput added in v4.28.0

func (o LoadBalancerDomainArrayOutput) ToLoadBalancerDomainArrayOutput() LoadBalancerDomainArrayOutput

func (LoadBalancerDomainArrayOutput) ToLoadBalancerDomainArrayOutputWithContext added in v4.28.0

func (o LoadBalancerDomainArrayOutput) ToLoadBalancerDomainArrayOutputWithContext(ctx context.Context) LoadBalancerDomainArrayOutput

type LoadBalancerDomainInput added in v4.28.0

type LoadBalancerDomainInput interface {
	pulumi.Input

	ToLoadBalancerDomainOutput() LoadBalancerDomainOutput
	ToLoadBalancerDomainOutputWithContext(context.Context) LoadBalancerDomainOutput
}

LoadBalancerDomainInput is an input type that accepts LoadBalancerDomainArgs and LoadBalancerDomainOutput values. You can construct a concrete instance of `LoadBalancerDomainInput` via:

LoadBalancerDomainArgs{...}

type LoadBalancerDomainOutput added in v4.28.0

type LoadBalancerDomainOutput struct{ *pulumi.OutputState }

func (LoadBalancerDomainOutput) CertificateName added in v4.28.0

func (o LoadBalancerDomainOutput) CertificateName() pulumi.StringPtrOutput

name of certificate required for TLS handshaking

func (LoadBalancerDomainOutput) ElementType added in v4.28.0

func (LoadBalancerDomainOutput) ElementType() reflect.Type

func (LoadBalancerDomainOutput) IsManaged added in v4.28.0

Control flag to specify whether the domain is managed by DigitalOcean.

func (LoadBalancerDomainOutput) Name added in v4.28.0

The domain name to be used for ingressing traffic to a Global Load Balancer.

func (LoadBalancerDomainOutput) SslValidationErrorReasons added in v4.28.0

func (o LoadBalancerDomainOutput) SslValidationErrorReasons() pulumi.StringArrayOutput

list of domain SSL validation errors

func (LoadBalancerDomainOutput) ToLoadBalancerDomainOutput added in v4.28.0

func (o LoadBalancerDomainOutput) ToLoadBalancerDomainOutput() LoadBalancerDomainOutput

func (LoadBalancerDomainOutput) ToLoadBalancerDomainOutputWithContext added in v4.28.0

func (o LoadBalancerDomainOutput) ToLoadBalancerDomainOutputWithContext(ctx context.Context) LoadBalancerDomainOutput

func (LoadBalancerDomainOutput) VerificationErrorReasons added in v4.28.0

func (o LoadBalancerDomainOutput) VerificationErrorReasons() pulumi.StringArrayOutput

list of domain verification errors

type LoadBalancerFirewall added in v4.18.0

type LoadBalancerFirewall struct {
	// A list of strings describing allow rules. Must be colon delimited strings of the form `{type}:{source}`
	// * Ex. `deny = ["cidr:1.2.0.0/16", "ip:2.3.4.5"]` or `allow = ["ip:1.2.3.4", "cidr:2.3.4.0/24"]`
	Allows []string `pulumi:"allows"`
	// A list of strings describing deny rules. Must be colon delimited strings of the form `{type}:{source}`
	Denies []string `pulumi:"denies"`
}

type LoadBalancerFirewallArgs added in v4.18.0

type LoadBalancerFirewallArgs struct {
	// A list of strings describing allow rules. Must be colon delimited strings of the form `{type}:{source}`
	// * Ex. `deny = ["cidr:1.2.0.0/16", "ip:2.3.4.5"]` or `allow = ["ip:1.2.3.4", "cidr:2.3.4.0/24"]`
	Allows pulumi.StringArrayInput `pulumi:"allows"`
	// A list of strings describing deny rules. Must be colon delimited strings of the form `{type}:{source}`
	Denies pulumi.StringArrayInput `pulumi:"denies"`
}

func (LoadBalancerFirewallArgs) ElementType added in v4.18.0

func (LoadBalancerFirewallArgs) ElementType() reflect.Type

func (LoadBalancerFirewallArgs) ToLoadBalancerFirewallOutput added in v4.18.0

func (i LoadBalancerFirewallArgs) ToLoadBalancerFirewallOutput() LoadBalancerFirewallOutput

func (LoadBalancerFirewallArgs) ToLoadBalancerFirewallOutputWithContext added in v4.18.0

func (i LoadBalancerFirewallArgs) ToLoadBalancerFirewallOutputWithContext(ctx context.Context) LoadBalancerFirewallOutput

func (LoadBalancerFirewallArgs) ToLoadBalancerFirewallPtrOutput added in v4.18.0

func (i LoadBalancerFirewallArgs) ToLoadBalancerFirewallPtrOutput() LoadBalancerFirewallPtrOutput

func (LoadBalancerFirewallArgs) ToLoadBalancerFirewallPtrOutputWithContext added in v4.18.0

func (i LoadBalancerFirewallArgs) ToLoadBalancerFirewallPtrOutputWithContext(ctx context.Context) LoadBalancerFirewallPtrOutput

type LoadBalancerFirewallInput added in v4.18.0

type LoadBalancerFirewallInput interface {
	pulumi.Input

	ToLoadBalancerFirewallOutput() LoadBalancerFirewallOutput
	ToLoadBalancerFirewallOutputWithContext(context.Context) LoadBalancerFirewallOutput
}

LoadBalancerFirewallInput is an input type that accepts LoadBalancerFirewallArgs and LoadBalancerFirewallOutput values. You can construct a concrete instance of `LoadBalancerFirewallInput` via:

LoadBalancerFirewallArgs{...}

type LoadBalancerFirewallOutput added in v4.18.0

type LoadBalancerFirewallOutput struct{ *pulumi.OutputState }

func (LoadBalancerFirewallOutput) Allows added in v4.18.0

A list of strings describing allow rules. Must be colon delimited strings of the form `{type}:{source}` * Ex. `deny = ["cidr:1.2.0.0/16", "ip:2.3.4.5"]` or `allow = ["ip:1.2.3.4", "cidr:2.3.4.0/24"]`

func (LoadBalancerFirewallOutput) Denies added in v4.18.0

A list of strings describing deny rules. Must be colon delimited strings of the form `{type}:{source}`

func (LoadBalancerFirewallOutput) ElementType added in v4.18.0

func (LoadBalancerFirewallOutput) ElementType() reflect.Type

func (LoadBalancerFirewallOutput) ToLoadBalancerFirewallOutput added in v4.18.0

func (o LoadBalancerFirewallOutput) ToLoadBalancerFirewallOutput() LoadBalancerFirewallOutput

func (LoadBalancerFirewallOutput) ToLoadBalancerFirewallOutputWithContext added in v4.18.0

func (o LoadBalancerFirewallOutput) ToLoadBalancerFirewallOutputWithContext(ctx context.Context) LoadBalancerFirewallOutput

func (LoadBalancerFirewallOutput) ToLoadBalancerFirewallPtrOutput added in v4.18.0

func (o LoadBalancerFirewallOutput) ToLoadBalancerFirewallPtrOutput() LoadBalancerFirewallPtrOutput

func (LoadBalancerFirewallOutput) ToLoadBalancerFirewallPtrOutputWithContext added in v4.18.0

func (o LoadBalancerFirewallOutput) ToLoadBalancerFirewallPtrOutputWithContext(ctx context.Context) LoadBalancerFirewallPtrOutput

type LoadBalancerFirewallPtrInput added in v4.18.0

type LoadBalancerFirewallPtrInput interface {
	pulumi.Input

	ToLoadBalancerFirewallPtrOutput() LoadBalancerFirewallPtrOutput
	ToLoadBalancerFirewallPtrOutputWithContext(context.Context) LoadBalancerFirewallPtrOutput
}

LoadBalancerFirewallPtrInput is an input type that accepts LoadBalancerFirewallArgs, LoadBalancerFirewallPtr and LoadBalancerFirewallPtrOutput values. You can construct a concrete instance of `LoadBalancerFirewallPtrInput` via:

        LoadBalancerFirewallArgs{...}

or:

        nil

func LoadBalancerFirewallPtr added in v4.18.0

func LoadBalancerFirewallPtr(v *LoadBalancerFirewallArgs) LoadBalancerFirewallPtrInput

type LoadBalancerFirewallPtrOutput added in v4.18.0

type LoadBalancerFirewallPtrOutput struct{ *pulumi.OutputState }

func (LoadBalancerFirewallPtrOutput) Allows added in v4.18.0

A list of strings describing allow rules. Must be colon delimited strings of the form `{type}:{source}` * Ex. `deny = ["cidr:1.2.0.0/16", "ip:2.3.4.5"]` or `allow = ["ip:1.2.3.4", "cidr:2.3.4.0/24"]`

func (LoadBalancerFirewallPtrOutput) Denies added in v4.18.0

A list of strings describing deny rules. Must be colon delimited strings of the form `{type}:{source}`

func (LoadBalancerFirewallPtrOutput) Elem added in v4.18.0

func (LoadBalancerFirewallPtrOutput) ElementType added in v4.18.0

func (LoadBalancerFirewallPtrOutput) ToLoadBalancerFirewallPtrOutput added in v4.18.0

func (o LoadBalancerFirewallPtrOutput) ToLoadBalancerFirewallPtrOutput() LoadBalancerFirewallPtrOutput

func (LoadBalancerFirewallPtrOutput) ToLoadBalancerFirewallPtrOutputWithContext added in v4.18.0

func (o LoadBalancerFirewallPtrOutput) ToLoadBalancerFirewallPtrOutputWithContext(ctx context.Context) LoadBalancerFirewallPtrOutput

type LoadBalancerForwardingRule

type LoadBalancerForwardingRule struct {
	// **Deprecated** The ID of the TLS certificate to be used for SSL termination.
	//
	// Deprecated: Certificate IDs may change, for example when a Let's Encrypt certificate is auto-renewed. Please specify 'certificate_name' instead.
	CertificateId *string `pulumi:"certificateId"`
	// The unique name of the TLS certificate to be used for SSL termination.
	CertificateName *string `pulumi:"certificateName"`
	// An integer representing the port on which the Load Balancer instance will listen.
	EntryPort int `pulumi:"entryPort"`
	// The protocol used for traffic to the Load Balancer. The possible values are: `http`, `https`, `http2`, `http3`, `tcp`, or `udp`.
	EntryProtocol string `pulumi:"entryProtocol"`
	// An integer representing the port on the backend Droplets to which the Load Balancer will send traffic.
	TargetPort int `pulumi:"targetPort"`
	// The protocol used for traffic from the Load Balancer to the backend Droplets. The possible values are: `http`, `https`, `http2`, `tcp`, or `udp`.
	TargetProtocol string `pulumi:"targetProtocol"`
	// A boolean value indicating whether SSL encrypted traffic will be passed through to the backend Droplets. The default value is `false`.
	TlsPassthrough *bool `pulumi:"tlsPassthrough"`
}

type LoadBalancerForwardingRuleArgs

type LoadBalancerForwardingRuleArgs struct {
	// **Deprecated** The ID of the TLS certificate to be used for SSL termination.
	//
	// Deprecated: Certificate IDs may change, for example when a Let's Encrypt certificate is auto-renewed. Please specify 'certificate_name' instead.
	CertificateId pulumi.StringPtrInput `pulumi:"certificateId"`
	// The unique name of the TLS certificate to be used for SSL termination.
	CertificateName pulumi.StringPtrInput `pulumi:"certificateName"`
	// An integer representing the port on which the Load Balancer instance will listen.
	EntryPort pulumi.IntInput `pulumi:"entryPort"`
	// The protocol used for traffic to the Load Balancer. The possible values are: `http`, `https`, `http2`, `http3`, `tcp`, or `udp`.
	EntryProtocol pulumi.StringInput `pulumi:"entryProtocol"`
	// An integer representing the port on the backend Droplets to which the Load Balancer will send traffic.
	TargetPort pulumi.IntInput `pulumi:"targetPort"`
	// The protocol used for traffic from the Load Balancer to the backend Droplets. The possible values are: `http`, `https`, `http2`, `tcp`, or `udp`.
	TargetProtocol pulumi.StringInput `pulumi:"targetProtocol"`
	// A boolean value indicating whether SSL encrypted traffic will be passed through to the backend Droplets. The default value is `false`.
	TlsPassthrough pulumi.BoolPtrInput `pulumi:"tlsPassthrough"`
}

func (LoadBalancerForwardingRuleArgs) ElementType

func (LoadBalancerForwardingRuleArgs) ToLoadBalancerForwardingRuleOutput

func (i LoadBalancerForwardingRuleArgs) ToLoadBalancerForwardingRuleOutput() LoadBalancerForwardingRuleOutput

func (LoadBalancerForwardingRuleArgs) ToLoadBalancerForwardingRuleOutputWithContext

func (i LoadBalancerForwardingRuleArgs) ToLoadBalancerForwardingRuleOutputWithContext(ctx context.Context) LoadBalancerForwardingRuleOutput

type LoadBalancerForwardingRuleArray

type LoadBalancerForwardingRuleArray []LoadBalancerForwardingRuleInput

func (LoadBalancerForwardingRuleArray) ElementType

func (LoadBalancerForwardingRuleArray) ToLoadBalancerForwardingRuleArrayOutput

func (i LoadBalancerForwardingRuleArray) ToLoadBalancerForwardingRuleArrayOutput() LoadBalancerForwardingRuleArrayOutput

func (LoadBalancerForwardingRuleArray) ToLoadBalancerForwardingRuleArrayOutputWithContext

func (i LoadBalancerForwardingRuleArray) ToLoadBalancerForwardingRuleArrayOutputWithContext(ctx context.Context) LoadBalancerForwardingRuleArrayOutput

type LoadBalancerForwardingRuleArrayInput

type LoadBalancerForwardingRuleArrayInput interface {
	pulumi.Input

	ToLoadBalancerForwardingRuleArrayOutput() LoadBalancerForwardingRuleArrayOutput
	ToLoadBalancerForwardingRuleArrayOutputWithContext(context.Context) LoadBalancerForwardingRuleArrayOutput
}

LoadBalancerForwardingRuleArrayInput is an input type that accepts LoadBalancerForwardingRuleArray and LoadBalancerForwardingRuleArrayOutput values. You can construct a concrete instance of `LoadBalancerForwardingRuleArrayInput` via:

LoadBalancerForwardingRuleArray{ LoadBalancerForwardingRuleArgs{...} }

type LoadBalancerForwardingRuleArrayOutput

type LoadBalancerForwardingRuleArrayOutput struct{ *pulumi.OutputState }

func (LoadBalancerForwardingRuleArrayOutput) ElementType

func (LoadBalancerForwardingRuleArrayOutput) Index

func (LoadBalancerForwardingRuleArrayOutput) ToLoadBalancerForwardingRuleArrayOutput

func (o LoadBalancerForwardingRuleArrayOutput) ToLoadBalancerForwardingRuleArrayOutput() LoadBalancerForwardingRuleArrayOutput

func (LoadBalancerForwardingRuleArrayOutput) ToLoadBalancerForwardingRuleArrayOutputWithContext

func (o LoadBalancerForwardingRuleArrayOutput) ToLoadBalancerForwardingRuleArrayOutputWithContext(ctx context.Context) LoadBalancerForwardingRuleArrayOutput

type LoadBalancerForwardingRuleInput

type LoadBalancerForwardingRuleInput interface {
	pulumi.Input

	ToLoadBalancerForwardingRuleOutput() LoadBalancerForwardingRuleOutput
	ToLoadBalancerForwardingRuleOutputWithContext(context.Context) LoadBalancerForwardingRuleOutput
}

LoadBalancerForwardingRuleInput is an input type that accepts LoadBalancerForwardingRuleArgs and LoadBalancerForwardingRuleOutput values. You can construct a concrete instance of `LoadBalancerForwardingRuleInput` via:

LoadBalancerForwardingRuleArgs{...}

type LoadBalancerForwardingRuleOutput

type LoadBalancerForwardingRuleOutput struct{ *pulumi.OutputState }

func (LoadBalancerForwardingRuleOutput) CertificateId deprecated

**Deprecated** The ID of the TLS certificate to be used for SSL termination.

Deprecated: Certificate IDs may change, for example when a Let's Encrypt certificate is auto-renewed. Please specify 'certificate_name' instead.

func (LoadBalancerForwardingRuleOutput) CertificateName

The unique name of the TLS certificate to be used for SSL termination.

func (LoadBalancerForwardingRuleOutput) ElementType

func (LoadBalancerForwardingRuleOutput) EntryPort

An integer representing the port on which the Load Balancer instance will listen.

func (LoadBalancerForwardingRuleOutput) EntryProtocol

The protocol used for traffic to the Load Balancer. The possible values are: `http`, `https`, `http2`, `http3`, `tcp`, or `udp`.

func (LoadBalancerForwardingRuleOutput) TargetPort

An integer representing the port on the backend Droplets to which the Load Balancer will send traffic.

func (LoadBalancerForwardingRuleOutput) TargetProtocol

The protocol used for traffic from the Load Balancer to the backend Droplets. The possible values are: `http`, `https`, `http2`, `tcp`, or `udp`.

func (LoadBalancerForwardingRuleOutput) TlsPassthrough

A boolean value indicating whether SSL encrypted traffic will be passed through to the backend Droplets. The default value is `false`.

func (LoadBalancerForwardingRuleOutput) ToLoadBalancerForwardingRuleOutput

func (o LoadBalancerForwardingRuleOutput) ToLoadBalancerForwardingRuleOutput() LoadBalancerForwardingRuleOutput

func (LoadBalancerForwardingRuleOutput) ToLoadBalancerForwardingRuleOutputWithContext

func (o LoadBalancerForwardingRuleOutput) ToLoadBalancerForwardingRuleOutputWithContext(ctx context.Context) LoadBalancerForwardingRuleOutput

type LoadBalancerGlbSettings added in v4.28.0

type LoadBalancerGlbSettings struct {
	// CDN configuration supporting the following:
	Cdn *LoadBalancerGlbSettingsCdn `pulumi:"cdn"`
	// An integer representing the port on the backend Droplets to which the Load Balancer will send traffic. The possible values are: `80` for `http` and `443` for `https`.
	TargetPort int `pulumi:"targetPort"`
	// The protocol used for traffic from the Load Balancer to the backend Droplets. The possible values are: `http` and `https`.
	TargetProtocol string `pulumi:"targetProtocol"`
}

type LoadBalancerGlbSettingsArgs added in v4.28.0

type LoadBalancerGlbSettingsArgs struct {
	// CDN configuration supporting the following:
	Cdn LoadBalancerGlbSettingsCdnPtrInput `pulumi:"cdn"`
	// An integer representing the port on the backend Droplets to which the Load Balancer will send traffic. The possible values are: `80` for `http` and `443` for `https`.
	TargetPort pulumi.IntInput `pulumi:"targetPort"`
	// The protocol used for traffic from the Load Balancer to the backend Droplets. The possible values are: `http` and `https`.
	TargetProtocol pulumi.StringInput `pulumi:"targetProtocol"`
}

func (LoadBalancerGlbSettingsArgs) ElementType added in v4.28.0

func (LoadBalancerGlbSettingsArgs) ToLoadBalancerGlbSettingsOutput added in v4.28.0

func (i LoadBalancerGlbSettingsArgs) ToLoadBalancerGlbSettingsOutput() LoadBalancerGlbSettingsOutput

func (LoadBalancerGlbSettingsArgs) ToLoadBalancerGlbSettingsOutputWithContext added in v4.28.0

func (i LoadBalancerGlbSettingsArgs) ToLoadBalancerGlbSettingsOutputWithContext(ctx context.Context) LoadBalancerGlbSettingsOutput

func (LoadBalancerGlbSettingsArgs) ToLoadBalancerGlbSettingsPtrOutput added in v4.28.0

func (i LoadBalancerGlbSettingsArgs) ToLoadBalancerGlbSettingsPtrOutput() LoadBalancerGlbSettingsPtrOutput

func (LoadBalancerGlbSettingsArgs) ToLoadBalancerGlbSettingsPtrOutputWithContext added in v4.28.0

func (i LoadBalancerGlbSettingsArgs) ToLoadBalancerGlbSettingsPtrOutputWithContext(ctx context.Context) LoadBalancerGlbSettingsPtrOutput

type LoadBalancerGlbSettingsCdn added in v4.28.0

type LoadBalancerGlbSettingsCdn struct {
	// Control flag to specify if caching is enabled.
	IsEnabled *bool `pulumi:"isEnabled"`
}

type LoadBalancerGlbSettingsCdnArgs added in v4.28.0

type LoadBalancerGlbSettingsCdnArgs struct {
	// Control flag to specify if caching is enabled.
	IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"`
}

func (LoadBalancerGlbSettingsCdnArgs) ElementType added in v4.28.0

func (LoadBalancerGlbSettingsCdnArgs) ToLoadBalancerGlbSettingsCdnOutput added in v4.28.0

func (i LoadBalancerGlbSettingsCdnArgs) ToLoadBalancerGlbSettingsCdnOutput() LoadBalancerGlbSettingsCdnOutput

func (LoadBalancerGlbSettingsCdnArgs) ToLoadBalancerGlbSettingsCdnOutputWithContext added in v4.28.0

func (i LoadBalancerGlbSettingsCdnArgs) ToLoadBalancerGlbSettingsCdnOutputWithContext(ctx context.Context) LoadBalancerGlbSettingsCdnOutput

func (LoadBalancerGlbSettingsCdnArgs) ToLoadBalancerGlbSettingsCdnPtrOutput added in v4.28.0

func (i LoadBalancerGlbSettingsCdnArgs) ToLoadBalancerGlbSettingsCdnPtrOutput() LoadBalancerGlbSettingsCdnPtrOutput

func (LoadBalancerGlbSettingsCdnArgs) ToLoadBalancerGlbSettingsCdnPtrOutputWithContext added in v4.28.0

func (i LoadBalancerGlbSettingsCdnArgs) ToLoadBalancerGlbSettingsCdnPtrOutputWithContext(ctx context.Context) LoadBalancerGlbSettingsCdnPtrOutput

type LoadBalancerGlbSettingsCdnInput added in v4.28.0

type LoadBalancerGlbSettingsCdnInput interface {
	pulumi.Input

	ToLoadBalancerGlbSettingsCdnOutput() LoadBalancerGlbSettingsCdnOutput
	ToLoadBalancerGlbSettingsCdnOutputWithContext(context.Context) LoadBalancerGlbSettingsCdnOutput
}

LoadBalancerGlbSettingsCdnInput is an input type that accepts LoadBalancerGlbSettingsCdnArgs and LoadBalancerGlbSettingsCdnOutput values. You can construct a concrete instance of `LoadBalancerGlbSettingsCdnInput` via:

LoadBalancerGlbSettingsCdnArgs{...}

type LoadBalancerGlbSettingsCdnOutput added in v4.28.0

type LoadBalancerGlbSettingsCdnOutput struct{ *pulumi.OutputState }

func (LoadBalancerGlbSettingsCdnOutput) ElementType added in v4.28.0

func (LoadBalancerGlbSettingsCdnOutput) IsEnabled added in v4.28.0

Control flag to specify if caching is enabled.

func (LoadBalancerGlbSettingsCdnOutput) ToLoadBalancerGlbSettingsCdnOutput added in v4.28.0

func (o LoadBalancerGlbSettingsCdnOutput) ToLoadBalancerGlbSettingsCdnOutput() LoadBalancerGlbSettingsCdnOutput

func (LoadBalancerGlbSettingsCdnOutput) ToLoadBalancerGlbSettingsCdnOutputWithContext added in v4.28.0

func (o LoadBalancerGlbSettingsCdnOutput) ToLoadBalancerGlbSettingsCdnOutputWithContext(ctx context.Context) LoadBalancerGlbSettingsCdnOutput

func (LoadBalancerGlbSettingsCdnOutput) ToLoadBalancerGlbSettingsCdnPtrOutput added in v4.28.0

func (o LoadBalancerGlbSettingsCdnOutput) ToLoadBalancerGlbSettingsCdnPtrOutput() LoadBalancerGlbSettingsCdnPtrOutput

func (LoadBalancerGlbSettingsCdnOutput) ToLoadBalancerGlbSettingsCdnPtrOutputWithContext added in v4.28.0

func (o LoadBalancerGlbSettingsCdnOutput) ToLoadBalancerGlbSettingsCdnPtrOutputWithContext(ctx context.Context) LoadBalancerGlbSettingsCdnPtrOutput

type LoadBalancerGlbSettingsCdnPtrInput added in v4.28.0

type LoadBalancerGlbSettingsCdnPtrInput interface {
	pulumi.Input

	ToLoadBalancerGlbSettingsCdnPtrOutput() LoadBalancerGlbSettingsCdnPtrOutput
	ToLoadBalancerGlbSettingsCdnPtrOutputWithContext(context.Context) LoadBalancerGlbSettingsCdnPtrOutput
}

LoadBalancerGlbSettingsCdnPtrInput is an input type that accepts LoadBalancerGlbSettingsCdnArgs, LoadBalancerGlbSettingsCdnPtr and LoadBalancerGlbSettingsCdnPtrOutput values. You can construct a concrete instance of `LoadBalancerGlbSettingsCdnPtrInput` via:

        LoadBalancerGlbSettingsCdnArgs{...}

or:

        nil

func LoadBalancerGlbSettingsCdnPtr added in v4.28.0

type LoadBalancerGlbSettingsCdnPtrOutput added in v4.28.0

type LoadBalancerGlbSettingsCdnPtrOutput struct{ *pulumi.OutputState }

func (LoadBalancerGlbSettingsCdnPtrOutput) Elem added in v4.28.0

func (LoadBalancerGlbSettingsCdnPtrOutput) ElementType added in v4.28.0

func (LoadBalancerGlbSettingsCdnPtrOutput) IsEnabled added in v4.28.0

Control flag to specify if caching is enabled.

func (LoadBalancerGlbSettingsCdnPtrOutput) ToLoadBalancerGlbSettingsCdnPtrOutput added in v4.28.0

func (o LoadBalancerGlbSettingsCdnPtrOutput) ToLoadBalancerGlbSettingsCdnPtrOutput() LoadBalancerGlbSettingsCdnPtrOutput

func (LoadBalancerGlbSettingsCdnPtrOutput) ToLoadBalancerGlbSettingsCdnPtrOutputWithContext added in v4.28.0

func (o LoadBalancerGlbSettingsCdnPtrOutput) ToLoadBalancerGlbSettingsCdnPtrOutputWithContext(ctx context.Context) LoadBalancerGlbSettingsCdnPtrOutput

type LoadBalancerGlbSettingsInput added in v4.28.0

type LoadBalancerGlbSettingsInput interface {
	pulumi.Input

	ToLoadBalancerGlbSettingsOutput() LoadBalancerGlbSettingsOutput
	ToLoadBalancerGlbSettingsOutputWithContext(context.Context) LoadBalancerGlbSettingsOutput
}

LoadBalancerGlbSettingsInput is an input type that accepts LoadBalancerGlbSettingsArgs and LoadBalancerGlbSettingsOutput values. You can construct a concrete instance of `LoadBalancerGlbSettingsInput` via:

LoadBalancerGlbSettingsArgs{...}

type LoadBalancerGlbSettingsOutput added in v4.28.0

type LoadBalancerGlbSettingsOutput struct{ *pulumi.OutputState }

func (LoadBalancerGlbSettingsOutput) Cdn added in v4.28.0

CDN configuration supporting the following:

func (LoadBalancerGlbSettingsOutput) ElementType added in v4.28.0

func (LoadBalancerGlbSettingsOutput) TargetPort added in v4.28.0

An integer representing the port on the backend Droplets to which the Load Balancer will send traffic. The possible values are: `80` for `http` and `443` for `https`.

func (LoadBalancerGlbSettingsOutput) TargetProtocol added in v4.28.0

The protocol used for traffic from the Load Balancer to the backend Droplets. The possible values are: `http` and `https`.

func (LoadBalancerGlbSettingsOutput) ToLoadBalancerGlbSettingsOutput added in v4.28.0

func (o LoadBalancerGlbSettingsOutput) ToLoadBalancerGlbSettingsOutput() LoadBalancerGlbSettingsOutput

func (LoadBalancerGlbSettingsOutput) ToLoadBalancerGlbSettingsOutputWithContext added in v4.28.0

func (o LoadBalancerGlbSettingsOutput) ToLoadBalancerGlbSettingsOutputWithContext(ctx context.Context) LoadBalancerGlbSettingsOutput

func (LoadBalancerGlbSettingsOutput) ToLoadBalancerGlbSettingsPtrOutput added in v4.28.0

func (o LoadBalancerGlbSettingsOutput) ToLoadBalancerGlbSettingsPtrOutput() LoadBalancerGlbSettingsPtrOutput

func (LoadBalancerGlbSettingsOutput) ToLoadBalancerGlbSettingsPtrOutputWithContext added in v4.28.0

func (o LoadBalancerGlbSettingsOutput) ToLoadBalancerGlbSettingsPtrOutputWithContext(ctx context.Context) LoadBalancerGlbSettingsPtrOutput

type LoadBalancerGlbSettingsPtrInput added in v4.28.0

type LoadBalancerGlbSettingsPtrInput interface {
	pulumi.Input

	ToLoadBalancerGlbSettingsPtrOutput() LoadBalancerGlbSettingsPtrOutput
	ToLoadBalancerGlbSettingsPtrOutputWithContext(context.Context) LoadBalancerGlbSettingsPtrOutput
}

LoadBalancerGlbSettingsPtrInput is an input type that accepts LoadBalancerGlbSettingsArgs, LoadBalancerGlbSettingsPtr and LoadBalancerGlbSettingsPtrOutput values. You can construct a concrete instance of `LoadBalancerGlbSettingsPtrInput` via:

        LoadBalancerGlbSettingsArgs{...}

or:

        nil

func LoadBalancerGlbSettingsPtr added in v4.28.0

func LoadBalancerGlbSettingsPtr(v *LoadBalancerGlbSettingsArgs) LoadBalancerGlbSettingsPtrInput

type LoadBalancerGlbSettingsPtrOutput added in v4.28.0

type LoadBalancerGlbSettingsPtrOutput struct{ *pulumi.OutputState }

func (LoadBalancerGlbSettingsPtrOutput) Cdn added in v4.28.0

CDN configuration supporting the following:

func (LoadBalancerGlbSettingsPtrOutput) Elem added in v4.28.0

func (LoadBalancerGlbSettingsPtrOutput) ElementType added in v4.28.0

func (LoadBalancerGlbSettingsPtrOutput) TargetPort added in v4.28.0

An integer representing the port on the backend Droplets to which the Load Balancer will send traffic. The possible values are: `80` for `http` and `443` for `https`.

func (LoadBalancerGlbSettingsPtrOutput) TargetProtocol added in v4.28.0

The protocol used for traffic from the Load Balancer to the backend Droplets. The possible values are: `http` and `https`.

func (LoadBalancerGlbSettingsPtrOutput) ToLoadBalancerGlbSettingsPtrOutput added in v4.28.0

func (o LoadBalancerGlbSettingsPtrOutput) ToLoadBalancerGlbSettingsPtrOutput() LoadBalancerGlbSettingsPtrOutput

func (LoadBalancerGlbSettingsPtrOutput) ToLoadBalancerGlbSettingsPtrOutputWithContext added in v4.28.0

func (o LoadBalancerGlbSettingsPtrOutput) ToLoadBalancerGlbSettingsPtrOutputWithContext(ctx context.Context) LoadBalancerGlbSettingsPtrOutput

type LoadBalancerHealthcheck

type LoadBalancerHealthcheck struct {
	// The number of seconds between two consecutive health checks. If not specified, the default value is `10`.
	CheckIntervalSeconds *int `pulumi:"checkIntervalSeconds"`
	// The number of times a health check must pass for a backend Droplet to be marked "healthy" and be re-added to the pool. If not specified, the default value is `5`.
	HealthyThreshold *int `pulumi:"healthyThreshold"`
	// The path on the backend Droplets to which the Load Balancer instance will send a request.
	Path *string `pulumi:"path"`
	// An integer representing the port on the backend Droplets on which the health check will attempt a connection.
	Port int `pulumi:"port"`
	// The protocol used for health checks sent to the backend Droplets. The possible values are `http`, `https` or `tcp`.
	Protocol string `pulumi:"protocol"`
	// The number of seconds the Load Balancer instance will wait for a response until marking a health check as failed. If not specified, the default value is `5`.
	ResponseTimeoutSeconds *int `pulumi:"responseTimeoutSeconds"`
	// The number of times a health check must fail for a backend Droplet to be marked "unhealthy" and be removed from the pool. If not specified, the default value is `3`.
	UnhealthyThreshold *int `pulumi:"unhealthyThreshold"`
}

type LoadBalancerHealthcheckArgs

type LoadBalancerHealthcheckArgs struct {
	// The number of seconds between two consecutive health checks. If not specified, the default value is `10`.
	CheckIntervalSeconds pulumi.IntPtrInput `pulumi:"checkIntervalSeconds"`
	// The number of times a health check must pass for a backend Droplet to be marked "healthy" and be re-added to the pool. If not specified, the default value is `5`.
	HealthyThreshold pulumi.IntPtrInput `pulumi:"healthyThreshold"`
	// The path on the backend Droplets to which the Load Balancer instance will send a request.
	Path pulumi.StringPtrInput `pulumi:"path"`
	// An integer representing the port on the backend Droplets on which the health check will attempt a connection.
	Port pulumi.IntInput `pulumi:"port"`
	// The protocol used for health checks sent to the backend Droplets. The possible values are `http`, `https` or `tcp`.
	Protocol pulumi.StringInput `pulumi:"protocol"`
	// The number of seconds the Load Balancer instance will wait for a response until marking a health check as failed. If not specified, the default value is `5`.
	ResponseTimeoutSeconds pulumi.IntPtrInput `pulumi:"responseTimeoutSeconds"`
	// The number of times a health check must fail for a backend Droplet to be marked "unhealthy" and be removed from the pool. If not specified, the default value is `3`.
	UnhealthyThreshold pulumi.IntPtrInput `pulumi:"unhealthyThreshold"`
}

func (LoadBalancerHealthcheckArgs) ElementType

func (LoadBalancerHealthcheckArgs) ToLoadBalancerHealthcheckOutput

func (i LoadBalancerHealthcheckArgs) ToLoadBalancerHealthcheckOutput() LoadBalancerHealthcheckOutput

func (LoadBalancerHealthcheckArgs) ToLoadBalancerHealthcheckOutputWithContext

func (i LoadBalancerHealthcheckArgs) ToLoadBalancerHealthcheckOutputWithContext(ctx context.Context) LoadBalancerHealthcheckOutput

func (LoadBalancerHealthcheckArgs) ToLoadBalancerHealthcheckPtrOutput

func (i LoadBalancerHealthcheckArgs) ToLoadBalancerHealthcheckPtrOutput() LoadBalancerHealthcheckPtrOutput

func (LoadBalancerHealthcheckArgs) ToLoadBalancerHealthcheckPtrOutputWithContext

func (i LoadBalancerHealthcheckArgs) ToLoadBalancerHealthcheckPtrOutputWithContext(ctx context.Context) LoadBalancerHealthcheckPtrOutput

type LoadBalancerHealthcheckInput

type LoadBalancerHealthcheckInput interface {
	pulumi.Input

	ToLoadBalancerHealthcheckOutput() LoadBalancerHealthcheckOutput
	ToLoadBalancerHealthcheckOutputWithContext(context.Context) LoadBalancerHealthcheckOutput
}

LoadBalancerHealthcheckInput is an input type that accepts LoadBalancerHealthcheckArgs and LoadBalancerHealthcheckOutput values. You can construct a concrete instance of `LoadBalancerHealthcheckInput` via:

LoadBalancerHealthcheckArgs{...}

type LoadBalancerHealthcheckOutput

type LoadBalancerHealthcheckOutput struct{ *pulumi.OutputState }

func (LoadBalancerHealthcheckOutput) CheckIntervalSeconds

func (o LoadBalancerHealthcheckOutput) CheckIntervalSeconds() pulumi.IntPtrOutput

The number of seconds between two consecutive health checks. If not specified, the default value is `10`.

func (LoadBalancerHealthcheckOutput) ElementType

func (LoadBalancerHealthcheckOutput) HealthyThreshold

func (o LoadBalancerHealthcheckOutput) HealthyThreshold() pulumi.IntPtrOutput

The number of times a health check must pass for a backend Droplet to be marked "healthy" and be re-added to the pool. If not specified, the default value is `5`.

func (LoadBalancerHealthcheckOutput) Path

The path on the backend Droplets to which the Load Balancer instance will send a request.

func (LoadBalancerHealthcheckOutput) Port

An integer representing the port on the backend Droplets on which the health check will attempt a connection.

func (LoadBalancerHealthcheckOutput) Protocol

The protocol used for health checks sent to the backend Droplets. The possible values are `http`, `https` or `tcp`.

func (LoadBalancerHealthcheckOutput) ResponseTimeoutSeconds

func (o LoadBalancerHealthcheckOutput) ResponseTimeoutSeconds() pulumi.IntPtrOutput

The number of seconds the Load Balancer instance will wait for a response until marking a health check as failed. If not specified, the default value is `5`.

func (LoadBalancerHealthcheckOutput) ToLoadBalancerHealthcheckOutput

func (o LoadBalancerHealthcheckOutput) ToLoadBalancerHealthcheckOutput() LoadBalancerHealthcheckOutput

func (LoadBalancerHealthcheckOutput) ToLoadBalancerHealthcheckOutputWithContext

func (o LoadBalancerHealthcheckOutput) ToLoadBalancerHealthcheckOutputWithContext(ctx context.Context) LoadBalancerHealthcheckOutput

func (LoadBalancerHealthcheckOutput) ToLoadBalancerHealthcheckPtrOutput

func (o LoadBalancerHealthcheckOutput) ToLoadBalancerHealthcheckPtrOutput() LoadBalancerHealthcheckPtrOutput

func (LoadBalancerHealthcheckOutput) ToLoadBalancerHealthcheckPtrOutputWithContext

func (o LoadBalancerHealthcheckOutput) ToLoadBalancerHealthcheckPtrOutputWithContext(ctx context.Context) LoadBalancerHealthcheckPtrOutput

func (LoadBalancerHealthcheckOutput) UnhealthyThreshold

func (o LoadBalancerHealthcheckOutput) UnhealthyThreshold() pulumi.IntPtrOutput

The number of times a health check must fail for a backend Droplet to be marked "unhealthy" and be removed from the pool. If not specified, the default value is `3`.

type LoadBalancerHealthcheckPtrInput

type LoadBalancerHealthcheckPtrInput interface {
	pulumi.Input

	ToLoadBalancerHealthcheckPtrOutput() LoadBalancerHealthcheckPtrOutput
	ToLoadBalancerHealthcheckPtrOutputWithContext(context.Context) LoadBalancerHealthcheckPtrOutput
}

LoadBalancerHealthcheckPtrInput is an input type that accepts LoadBalancerHealthcheckArgs, LoadBalancerHealthcheckPtr and LoadBalancerHealthcheckPtrOutput values. You can construct a concrete instance of `LoadBalancerHealthcheckPtrInput` via:

        LoadBalancerHealthcheckArgs{...}

or:

        nil

type LoadBalancerHealthcheckPtrOutput

type LoadBalancerHealthcheckPtrOutput struct{ *pulumi.OutputState }

func (LoadBalancerHealthcheckPtrOutput) CheckIntervalSeconds

func (o LoadBalancerHealthcheckPtrOutput) CheckIntervalSeconds() pulumi.IntPtrOutput

The number of seconds between two consecutive health checks. If not specified, the default value is `10`.

func (LoadBalancerHealthcheckPtrOutput) Elem

func (LoadBalancerHealthcheckPtrOutput) ElementType

func (LoadBalancerHealthcheckPtrOutput) HealthyThreshold

The number of times a health check must pass for a backend Droplet to be marked "healthy" and be re-added to the pool. If not specified, the default value is `5`.

func (LoadBalancerHealthcheckPtrOutput) Path

The path on the backend Droplets to which the Load Balancer instance will send a request.

func (LoadBalancerHealthcheckPtrOutput) Port

An integer representing the port on the backend Droplets on which the health check will attempt a connection.

func (LoadBalancerHealthcheckPtrOutput) Protocol

The protocol used for health checks sent to the backend Droplets. The possible values are `http`, `https` or `tcp`.

func (LoadBalancerHealthcheckPtrOutput) ResponseTimeoutSeconds

func (o LoadBalancerHealthcheckPtrOutput) ResponseTimeoutSeconds() pulumi.IntPtrOutput

The number of seconds the Load Balancer instance will wait for a response until marking a health check as failed. If not specified, the default value is `5`.

func (LoadBalancerHealthcheckPtrOutput) ToLoadBalancerHealthcheckPtrOutput

func (o LoadBalancerHealthcheckPtrOutput) ToLoadBalancerHealthcheckPtrOutput() LoadBalancerHealthcheckPtrOutput

func (LoadBalancerHealthcheckPtrOutput) ToLoadBalancerHealthcheckPtrOutputWithContext

func (o LoadBalancerHealthcheckPtrOutput) ToLoadBalancerHealthcheckPtrOutputWithContext(ctx context.Context) LoadBalancerHealthcheckPtrOutput

func (LoadBalancerHealthcheckPtrOutput) UnhealthyThreshold

func (o LoadBalancerHealthcheckPtrOutput) UnhealthyThreshold() pulumi.IntPtrOutput

The number of times a health check must fail for a backend Droplet to be marked "unhealthy" and be removed from the pool. If not specified, the default value is `3`.

type LoadBalancerInput

type LoadBalancerInput interface {
	pulumi.Input

	ToLoadBalancerOutput() LoadBalancerOutput
	ToLoadBalancerOutputWithContext(ctx context.Context) LoadBalancerOutput
}

type LoadBalancerMap

type LoadBalancerMap map[string]LoadBalancerInput

func (LoadBalancerMap) ElementType

func (LoadBalancerMap) ElementType() reflect.Type

func (LoadBalancerMap) ToLoadBalancerMapOutput

func (i LoadBalancerMap) ToLoadBalancerMapOutput() LoadBalancerMapOutput

func (LoadBalancerMap) ToLoadBalancerMapOutputWithContext

func (i LoadBalancerMap) ToLoadBalancerMapOutputWithContext(ctx context.Context) LoadBalancerMapOutput

type LoadBalancerMapInput

type LoadBalancerMapInput interface {
	pulumi.Input

	ToLoadBalancerMapOutput() LoadBalancerMapOutput
	ToLoadBalancerMapOutputWithContext(context.Context) LoadBalancerMapOutput
}

LoadBalancerMapInput is an input type that accepts LoadBalancerMap and LoadBalancerMapOutput values. You can construct a concrete instance of `LoadBalancerMapInput` via:

LoadBalancerMap{ "key": LoadBalancerArgs{...} }

type LoadBalancerMapOutput

type LoadBalancerMapOutput struct{ *pulumi.OutputState }

func (LoadBalancerMapOutput) ElementType

func (LoadBalancerMapOutput) ElementType() reflect.Type

func (LoadBalancerMapOutput) MapIndex

func (LoadBalancerMapOutput) ToLoadBalancerMapOutput

func (o LoadBalancerMapOutput) ToLoadBalancerMapOutput() LoadBalancerMapOutput

func (LoadBalancerMapOutput) ToLoadBalancerMapOutputWithContext

func (o LoadBalancerMapOutput) ToLoadBalancerMapOutputWithContext(ctx context.Context) LoadBalancerMapOutput

type LoadBalancerOutput

type LoadBalancerOutput struct{ *pulumi.OutputState }

func (LoadBalancerOutput) Algorithm deprecated added in v4.13.0

**Deprecated** This field has been deprecated. You can no longer specify an algorithm for load balancers. or `leastConnections`. The default value is `roundRobin`.

Deprecated: This field has been deprecated. You can no longer specify an algorithm for load balancers.

func (LoadBalancerOutput) DisableLetsEncryptDnsRecords added in v4.13.0

func (o LoadBalancerOutput) DisableLetsEncryptDnsRecords() pulumi.BoolPtrOutput

A boolean value indicating whether to disable automatic DNS record creation for Let's Encrypt certificates that are added to the load balancer. Default value is `false`.

func (LoadBalancerOutput) Domains added in v4.28.0

A list of `domains` required to ingress traffic to a Global Load Balancer. The `domains` block is documented below. **NOTE**: this is a closed beta feature and not available for public use.

func (LoadBalancerOutput) DropletIds added in v4.13.0

func (o LoadBalancerOutput) DropletIds() pulumi.IntArrayOutput

A list of the IDs of each droplet to be attached to the Load Balancer.

func (LoadBalancerOutput) DropletTag added in v4.13.0

func (o LoadBalancerOutput) DropletTag() pulumi.StringPtrOutput

The name of a Droplet tag corresponding to Droplets to be assigned to the Load Balancer.

func (LoadBalancerOutput) ElementType

func (LoadBalancerOutput) ElementType() reflect.Type

func (LoadBalancerOutput) EnableBackendKeepalive added in v4.13.0

func (o LoadBalancerOutput) EnableBackendKeepalive() pulumi.BoolPtrOutput

A boolean value indicating whether HTTP keepalive connections are maintained to target Droplets. Default value is `false`.

func (LoadBalancerOutput) EnableProxyProtocol added in v4.13.0

func (o LoadBalancerOutput) EnableProxyProtocol() pulumi.BoolPtrOutput

A boolean value indicating whether PROXY Protocol should be used to pass information from connecting client requests to the backend service. Default value is `false`.

func (LoadBalancerOutput) Firewall added in v4.18.0

A block containing rules for allowing/denying traffic to the Load Balancer. The `firewall` block is documented below. Only 1 firewall is allowed.

func (LoadBalancerOutput) ForwardingRules added in v4.13.0

A list of `forwardingRule` to be assigned to the Load Balancer. The `forwardingRule` block is documented below.

func (LoadBalancerOutput) GlbSettings added in v4.28.0

A block containing `glbSettings` required to define target rules for a Global Load Balancer. The `glbSettings` block is documented below. **NOTE**: this is a closed beta feature and not available for public use.

func (LoadBalancerOutput) Healthcheck added in v4.13.0

A `healthcheck` block to be assigned to the Load Balancer. The `healthcheck` block is documented below. Only 1 healthcheck is allowed.

func (LoadBalancerOutput) HttpIdleTimeoutSeconds added in v4.17.0

func (o LoadBalancerOutput) HttpIdleTimeoutSeconds() pulumi.IntOutput

Specifies the idle timeout for HTTPS connections on the load balancer in seconds.

func (LoadBalancerOutput) Ip added in v4.13.0

The ip of the Load Balancer

func (LoadBalancerOutput) LoadBalancerUrn added in v4.13.0

func (o LoadBalancerOutput) LoadBalancerUrn() pulumi.StringOutput

The uniform resource name for the Load Balancer

func (LoadBalancerOutput) Name added in v4.13.0

The Load Balancer name

func (LoadBalancerOutput) ProjectId added in v4.17.0

func (o LoadBalancerOutput) ProjectId() pulumi.StringOutput

The ID of the project that the load balancer is associated with. If no ID is provided at creation, the load balancer associates with the user's default project.

func (LoadBalancerOutput) RedirectHttpToHttps added in v4.13.0

func (o LoadBalancerOutput) RedirectHttpToHttps() pulumi.BoolPtrOutput

A boolean value indicating whether HTTP requests to the Load Balancer on port 80 will be redirected to HTTPS on port 443. Default value is `false`.

func (LoadBalancerOutput) Region added in v4.13.0

The region to start in

func (LoadBalancerOutput) Size added in v4.13.0

The size of the Load Balancer. It must be either `lb-small`, `lb-medium`, or `lb-large`. Defaults to `lb-small`. Only one of `size` or `sizeUnit` may be provided.

func (LoadBalancerOutput) SizeUnit added in v4.13.0

func (o LoadBalancerOutput) SizeUnit() pulumi.IntOutput

The size of the Load Balancer. It must be in the range (1, 100). Defaults to `1`. Only one of `size` or `sizeUnit` may be provided.

func (LoadBalancerOutput) Status added in v4.13.0

func (LoadBalancerOutput) StickySessions added in v4.13.0

A `stickySessions` block to be assigned to the Load Balancer. The `stickySessions` block is documented below. Only 1 stickySessions block is allowed.

func (LoadBalancerOutput) TargetLoadBalancerIds added in v4.28.0

func (o LoadBalancerOutput) TargetLoadBalancerIds() pulumi.StringArrayOutput

A list of Load Balancer IDs to be attached behind a Global Load Balancer. **NOTE**: this is a closed beta feature and not available for public use.

func (LoadBalancerOutput) ToLoadBalancerOutput

func (o LoadBalancerOutput) ToLoadBalancerOutput() LoadBalancerOutput

func (LoadBalancerOutput) ToLoadBalancerOutputWithContext

func (o LoadBalancerOutput) ToLoadBalancerOutputWithContext(ctx context.Context) LoadBalancerOutput

func (LoadBalancerOutput) Type added in v4.23.0

the type of the load balancer (GLOBAL or REGIONAL)

func (LoadBalancerOutput) VpcUuid added in v4.13.0

The ID of the VPC where the load balancer will be located.

type LoadBalancerState

type LoadBalancerState struct {
	// **Deprecated** This field has been deprecated. You can no longer specify an algorithm for load balancers.
	// or `leastConnections`. The default value is `roundRobin`.
	//
	// Deprecated: This field has been deprecated. You can no longer specify an algorithm for load balancers.
	Algorithm pulumi.StringPtrInput
	// A boolean value indicating whether to disable automatic DNS record creation for Let's Encrypt certificates that are added to the load balancer. Default value is `false`.
	DisableLetsEncryptDnsRecords pulumi.BoolPtrInput
	// A list of `domains` required to ingress traffic to a Global Load Balancer. The `domains` block is documented below.
	// **NOTE**: this is a closed beta feature and not available for public use.
	Domains LoadBalancerDomainArrayInput
	// A list of the IDs of each droplet to be attached to the Load Balancer.
	DropletIds pulumi.IntArrayInput
	// The name of a Droplet tag corresponding to Droplets to be assigned to the Load Balancer.
	DropletTag pulumi.StringPtrInput
	// A boolean value indicating whether HTTP keepalive connections are maintained to target Droplets. Default value is `false`.
	EnableBackendKeepalive pulumi.BoolPtrInput
	// A boolean value indicating whether PROXY
	// Protocol should be used to pass information from connecting client requests to
	// the backend service. Default value is `false`.
	EnableProxyProtocol pulumi.BoolPtrInput
	// A block containing rules for allowing/denying traffic to the Load Balancer. The `firewall` block is documented below. Only 1 firewall is allowed.
	Firewall LoadBalancerFirewallPtrInput
	// A list of `forwardingRule` to be assigned to the
	// Load Balancer. The `forwardingRule` block is documented below.
	ForwardingRules LoadBalancerForwardingRuleArrayInput
	// A block containing `glbSettings` required to define target rules for a Global Load Balancer. The `glbSettings` block is documented below.
	// **NOTE**: this is a closed beta feature and not available for public use.
	GlbSettings LoadBalancerGlbSettingsPtrInput
	// A `healthcheck` block to be assigned to the
	// Load Balancer. The `healthcheck` block is documented below. Only 1 healthcheck is allowed.
	Healthcheck LoadBalancerHealthcheckPtrInput
	// Specifies the idle timeout for HTTPS connections on the load balancer in seconds.
	HttpIdleTimeoutSeconds pulumi.IntPtrInput
	// The ip of the Load Balancer
	Ip pulumi.StringPtrInput
	// The uniform resource name for the Load Balancer
	LoadBalancerUrn pulumi.StringPtrInput
	// The Load Balancer name
	Name pulumi.StringPtrInput
	// The ID of the project that the load balancer is associated with. If no ID is provided at creation, the load balancer associates with the user's default project.
	ProjectId pulumi.StringPtrInput
	// A boolean value indicating whether
	// HTTP requests to the Load Balancer on port 80 will be redirected to HTTPS on port 443.
	// Default value is `false`.
	RedirectHttpToHttps pulumi.BoolPtrInput
	// The region to start in
	Region pulumi.StringPtrInput
	// The size of the Load Balancer. It must be either `lb-small`, `lb-medium`, or `lb-large`. Defaults to `lb-small`. Only one of `size` or `sizeUnit` may be provided.
	Size pulumi.StringPtrInput
	// The size of the Load Balancer. It must be in the range (1, 100). Defaults to `1`. Only one of `size` or `sizeUnit` may be provided.
	SizeUnit pulumi.IntPtrInput
	Status   pulumi.StringPtrInput
	// A `stickySessions` block to be assigned to the
	// Load Balancer. The `stickySessions` block is documented below. Only 1 stickySessions block is allowed.
	StickySessions LoadBalancerStickySessionsPtrInput
	// A list of Load Balancer IDs to be attached behind a Global Load Balancer.
	// **NOTE**: this is a closed beta feature and not available for public use.
	TargetLoadBalancerIds pulumi.StringArrayInput
	// the type of the load balancer (GLOBAL or REGIONAL)
	Type pulumi.StringPtrInput
	// The ID of the VPC where the load balancer will be located.
	VpcUuid pulumi.StringPtrInput
}

func (LoadBalancerState) ElementType

func (LoadBalancerState) ElementType() reflect.Type

type LoadBalancerStickySessions

type LoadBalancerStickySessions struct {
	// The name to be used for the cookie sent to the client. This attribute is required when using `cookies` for the sticky sessions type.
	CookieName *string `pulumi:"cookieName"`
	// The number of seconds until the cookie set by the Load Balancer expires. This attribute is required when using `cookies` for the sticky sessions type.
	CookieTtlSeconds *int `pulumi:"cookieTtlSeconds"`
	// An attribute indicating how and if requests from a client will be persistently served by the same backend Droplet. The possible values are `cookies` or `none`. If not specified, the default value is `none`.
	Type *string `pulumi:"type"`
}

type LoadBalancerStickySessionsArgs

type LoadBalancerStickySessionsArgs struct {
	// The name to be used for the cookie sent to the client. This attribute is required when using `cookies` for the sticky sessions type.
	CookieName pulumi.StringPtrInput `pulumi:"cookieName"`
	// The number of seconds until the cookie set by the Load Balancer expires. This attribute is required when using `cookies` for the sticky sessions type.
	CookieTtlSeconds pulumi.IntPtrInput `pulumi:"cookieTtlSeconds"`
	// An attribute indicating how and if requests from a client will be persistently served by the same backend Droplet. The possible values are `cookies` or `none`. If not specified, the default value is `none`.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (LoadBalancerStickySessionsArgs) ElementType

func (LoadBalancerStickySessionsArgs) ToLoadBalancerStickySessionsOutput

func (i LoadBalancerStickySessionsArgs) ToLoadBalancerStickySessionsOutput() LoadBalancerStickySessionsOutput

func (LoadBalancerStickySessionsArgs) ToLoadBalancerStickySessionsOutputWithContext

func (i LoadBalancerStickySessionsArgs) ToLoadBalancerStickySessionsOutputWithContext(ctx context.Context) LoadBalancerStickySessionsOutput

func (LoadBalancerStickySessionsArgs) ToLoadBalancerStickySessionsPtrOutput

func (i LoadBalancerStickySessionsArgs) ToLoadBalancerStickySessionsPtrOutput() LoadBalancerStickySessionsPtrOutput

func (LoadBalancerStickySessionsArgs) ToLoadBalancerStickySessionsPtrOutputWithContext

func (i LoadBalancerStickySessionsArgs) ToLoadBalancerStickySessionsPtrOutputWithContext(ctx context.Context) LoadBalancerStickySessionsPtrOutput

type LoadBalancerStickySessionsInput

type LoadBalancerStickySessionsInput interface {
	pulumi.Input

	ToLoadBalancerStickySessionsOutput() LoadBalancerStickySessionsOutput
	ToLoadBalancerStickySessionsOutputWithContext(context.Context) LoadBalancerStickySessionsOutput
}

LoadBalancerStickySessionsInput is an input type that accepts LoadBalancerStickySessionsArgs and LoadBalancerStickySessionsOutput values. You can construct a concrete instance of `LoadBalancerStickySessionsInput` via:

LoadBalancerStickySessionsArgs{...}

type LoadBalancerStickySessionsOutput

type LoadBalancerStickySessionsOutput struct{ *pulumi.OutputState }

func (LoadBalancerStickySessionsOutput) CookieName

The name to be used for the cookie sent to the client. This attribute is required when using `cookies` for the sticky sessions type.

func (LoadBalancerStickySessionsOutput) CookieTtlSeconds

The number of seconds until the cookie set by the Load Balancer expires. This attribute is required when using `cookies` for the sticky sessions type.

func (LoadBalancerStickySessionsOutput) ElementType

func (LoadBalancerStickySessionsOutput) ToLoadBalancerStickySessionsOutput

func (o LoadBalancerStickySessionsOutput) ToLoadBalancerStickySessionsOutput() LoadBalancerStickySessionsOutput

func (LoadBalancerStickySessionsOutput) ToLoadBalancerStickySessionsOutputWithContext

func (o LoadBalancerStickySessionsOutput) ToLoadBalancerStickySessionsOutputWithContext(ctx context.Context) LoadBalancerStickySessionsOutput

func (LoadBalancerStickySessionsOutput) ToLoadBalancerStickySessionsPtrOutput

func (o LoadBalancerStickySessionsOutput) ToLoadBalancerStickySessionsPtrOutput() LoadBalancerStickySessionsPtrOutput

func (LoadBalancerStickySessionsOutput) ToLoadBalancerStickySessionsPtrOutputWithContext

func (o LoadBalancerStickySessionsOutput) ToLoadBalancerStickySessionsPtrOutputWithContext(ctx context.Context) LoadBalancerStickySessionsPtrOutput

func (LoadBalancerStickySessionsOutput) Type

An attribute indicating how and if requests from a client will be persistently served by the same backend Droplet. The possible values are `cookies` or `none`. If not specified, the default value is `none`.

type LoadBalancerStickySessionsPtrInput

type LoadBalancerStickySessionsPtrInput interface {
	pulumi.Input

	ToLoadBalancerStickySessionsPtrOutput() LoadBalancerStickySessionsPtrOutput
	ToLoadBalancerStickySessionsPtrOutputWithContext(context.Context) LoadBalancerStickySessionsPtrOutput
}

LoadBalancerStickySessionsPtrInput is an input type that accepts LoadBalancerStickySessionsArgs, LoadBalancerStickySessionsPtr and LoadBalancerStickySessionsPtrOutput values. You can construct a concrete instance of `LoadBalancerStickySessionsPtrInput` via:

        LoadBalancerStickySessionsArgs{...}

or:

        nil

type LoadBalancerStickySessionsPtrOutput

type LoadBalancerStickySessionsPtrOutput struct{ *pulumi.OutputState }

func (LoadBalancerStickySessionsPtrOutput) CookieName

The name to be used for the cookie sent to the client. This attribute is required when using `cookies` for the sticky sessions type.

func (LoadBalancerStickySessionsPtrOutput) CookieTtlSeconds

The number of seconds until the cookie set by the Load Balancer expires. This attribute is required when using `cookies` for the sticky sessions type.

func (LoadBalancerStickySessionsPtrOutput) Elem

func (LoadBalancerStickySessionsPtrOutput) ElementType

func (LoadBalancerStickySessionsPtrOutput) ToLoadBalancerStickySessionsPtrOutput

func (o LoadBalancerStickySessionsPtrOutput) ToLoadBalancerStickySessionsPtrOutput() LoadBalancerStickySessionsPtrOutput

func (LoadBalancerStickySessionsPtrOutput) ToLoadBalancerStickySessionsPtrOutputWithContext

func (o LoadBalancerStickySessionsPtrOutput) ToLoadBalancerStickySessionsPtrOutputWithContext(ctx context.Context) LoadBalancerStickySessionsPtrOutput

func (LoadBalancerStickySessionsPtrOutput) Type

An attribute indicating how and if requests from a client will be persistently served by the same backend Droplet. The possible values are `cookies` or `none`. If not specified, the default value is `none`.

type LookupAppArgs

type LookupAppArgs struct {
	// The ID of the app to retrieve information about.
	AppId string `pulumi:"appId"`
}

A collection of arguments for invoking getApp.

type LookupAppOutputArgs added in v4.9.0

type LookupAppOutputArgs struct {
	// The ID of the app to retrieve information about.
	AppId pulumi.StringInput `pulumi:"appId"`
}

A collection of arguments for invoking getApp.

func (LookupAppOutputArgs) ElementType added in v4.9.0

func (LookupAppOutputArgs) ElementType() reflect.Type

type LookupAppResult

type LookupAppResult struct {
	// The ID the app's currently active deployment.
	ActiveDeploymentId string `pulumi:"activeDeploymentId"`
	AppId              string `pulumi:"appId"`
	// The date and time of when the app was created.
	CreatedAt string `pulumi:"createdAt"`
	// The default URL to access the app.
	DefaultIngress string `pulumi:"defaultIngress"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The live URL of the app.
	LiveUrl string `pulumi:"liveUrl"`
	// The ID of the project that the app is assigned to.
	ProjectId string `pulumi:"projectId"`
	// A DigitalOcean App spec describing the app.
	Specs []GetAppSpec `pulumi:"specs"`
	// The date and time of when the app was last updated.
	UpdatedAt string `pulumi:"updatedAt"`
	// The uniform resource identifier for the app.
	Urn string `pulumi:"urn"`
}

A collection of values returned by getApp.

func LookupApp

func LookupApp(ctx *pulumi.Context, args *LookupAppArgs, opts ...pulumi.InvokeOption) (*LookupAppResult, error)

Get information on a DigitalOcean App.

## Example Usage

Get the account:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := digitalocean.LookupApp(ctx, &digitalocean.LookupAppArgs{
			AppId: "e665d18d-7b56-44a9-92ce-31979174d544",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("defaultIngress", example.DefaultIngress)
		return nil
	})
}

```

type LookupAppResultOutput added in v4.9.0

type LookupAppResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getApp.

func LookupAppOutput added in v4.9.0

func LookupAppOutput(ctx *pulumi.Context, args LookupAppOutputArgs, opts ...pulumi.InvokeOption) LookupAppResultOutput

func (LookupAppResultOutput) ActiveDeploymentId added in v4.9.0

func (o LookupAppResultOutput) ActiveDeploymentId() pulumi.StringOutput

The ID the app's currently active deployment.

func (LookupAppResultOutput) AppId added in v4.9.0

func (LookupAppResultOutput) CreatedAt added in v4.9.0

The date and time of when the app was created.

func (LookupAppResultOutput) DefaultIngress added in v4.9.0

func (o LookupAppResultOutput) DefaultIngress() pulumi.StringOutput

The default URL to access the app.

func (LookupAppResultOutput) ElementType added in v4.9.0

func (LookupAppResultOutput) ElementType() reflect.Type

func (LookupAppResultOutput) Id added in v4.9.0

The provider-assigned unique ID for this managed resource.

func (LookupAppResultOutput) LiveUrl added in v4.9.0

The live URL of the app.

func (LookupAppResultOutput) ProjectId added in v4.26.0

The ID of the project that the app is assigned to.

func (LookupAppResultOutput) Specs added in v4.9.0

A DigitalOcean App spec describing the app.

func (LookupAppResultOutput) ToLookupAppResultOutput added in v4.9.0

func (o LookupAppResultOutput) ToLookupAppResultOutput() LookupAppResultOutput

func (LookupAppResultOutput) ToLookupAppResultOutputWithContext added in v4.9.0

func (o LookupAppResultOutput) ToLookupAppResultOutputWithContext(ctx context.Context) LookupAppResultOutput

func (LookupAppResultOutput) UpdatedAt added in v4.9.0

The date and time of when the app was last updated.

func (LookupAppResultOutput) Urn added in v4.15.0

The uniform resource identifier for the app.

type LookupCertificateArgs

type LookupCertificateArgs struct {
	// The name of certificate.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getCertificate.

type LookupCertificateOutputArgs added in v4.9.0

type LookupCertificateOutputArgs struct {
	// The name of certificate.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getCertificate.

func (LookupCertificateOutputArgs) ElementType added in v4.9.0

type LookupCertificateResult

type LookupCertificateResult struct {
	// Domains for which the certificate was issued.
	Domains []string `pulumi:"domains"`
	// The provider-assigned unique ID for this managed resource.
	Id   string `pulumi:"id"`
	Name string `pulumi:"name"`
	// The expiration date and time of the certificate.
	NotAfter string `pulumi:"notAfter"`
	// The SHA1 fingerprint of the certificate.
	Sha1Fingerprint string `pulumi:"sha1Fingerprint"`
	// the current state of the certificate.
	State string `pulumi:"state"`
	// The type of the certificate.
	Type string `pulumi:"type"`
	// The ID of the certificate.
	Uuid string `pulumi:"uuid"`
}

A collection of values returned by getCertificate.

func LookupCertificate

func LookupCertificate(ctx *pulumi.Context, args *LookupCertificateArgs, opts ...pulumi.InvokeOption) (*LookupCertificateResult, error)

Get information on a certificate. This data source provides the name, type, state, domains, expiry date, and the sha1 fingerprint as configured on your DigitalOcean account. This is useful if the certificate in question is not managed by this provider or you need to utilize any of the certificates data.

An error is triggered if the provided certificate name does not exist.

## Example Usage

Get the certificate:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.LookupCertificate(ctx, &digitalocean.LookupCertificateArgs{
			Name: "example",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupCertificateResultOutput added in v4.9.0

type LookupCertificateResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCertificate.

func LookupCertificateOutput added in v4.9.0

func (LookupCertificateResultOutput) Domains added in v4.9.0

Domains for which the certificate was issued.

func (LookupCertificateResultOutput) ElementType added in v4.9.0

func (LookupCertificateResultOutput) Id added in v4.9.0

The provider-assigned unique ID for this managed resource.

func (LookupCertificateResultOutput) Name added in v4.9.0

func (LookupCertificateResultOutput) NotAfter added in v4.9.0

The expiration date and time of the certificate.

func (LookupCertificateResultOutput) Sha1Fingerprint added in v4.9.0

The SHA1 fingerprint of the certificate.

func (LookupCertificateResultOutput) State added in v4.9.0

the current state of the certificate.

func (LookupCertificateResultOutput) ToLookupCertificateResultOutput added in v4.9.0

func (o LookupCertificateResultOutput) ToLookupCertificateResultOutput() LookupCertificateResultOutput

func (LookupCertificateResultOutput) ToLookupCertificateResultOutputWithContext added in v4.9.0

func (o LookupCertificateResultOutput) ToLookupCertificateResultOutputWithContext(ctx context.Context) LookupCertificateResultOutput

func (LookupCertificateResultOutput) Type added in v4.9.0

The type of the certificate.

func (LookupCertificateResultOutput) Uuid added in v4.9.0

The ID of the certificate.

type LookupContainerRegistryArgs

type LookupContainerRegistryArgs struct {
	// The name of the container registry.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getContainerRegistry.

type LookupContainerRegistryOutputArgs added in v4.9.0

type LookupContainerRegistryOutputArgs struct {
	// The name of the container registry.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getContainerRegistry.

func (LookupContainerRegistryOutputArgs) ElementType added in v4.9.0

type LookupContainerRegistryResult

type LookupContainerRegistryResult struct {
	// The date and time when the registry was created
	CreatedAt string `pulumi:"createdAt"`
	// The URL endpoint of the container registry. Ex: `registry.digitalocean.com/my_registry`
	Endpoint string `pulumi:"endpoint"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name of the container registry
	Name string `pulumi:"name"`
	// The slug identifier for the  region
	Region string `pulumi:"region"`
	// The domain of the container registry. Ex: `registry.digitalocean.com`
	ServerUrl string `pulumi:"serverUrl"`
	// The amount of storage used in the registry in bytes.
	StorageUsageBytes int `pulumi:"storageUsageBytes"`
	// The slug identifier for the subscription tier
	SubscriptionTierSlug string `pulumi:"subscriptionTierSlug"`
}

A collection of values returned by getContainerRegistry.

func LookupContainerRegistry

func LookupContainerRegistry(ctx *pulumi.Context, args *LookupContainerRegistryArgs, opts ...pulumi.InvokeOption) (*LookupContainerRegistryResult, error)

Get information on a container registry. This data source provides the name as configured on your DigitalOcean account. This is useful if the container registry name in question is not managed by this provider or you need validate if the container registry exists in the account.

An error is triggered if the provided container registry name does not exist.

## Example Usage

### Basic Example

Get the container registry:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.LookupContainerRegistry(ctx, &digitalocean.LookupContainerRegistryArgs{
			Name: "example",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupContainerRegistryResultOutput added in v4.9.0

type LookupContainerRegistryResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getContainerRegistry.

func (LookupContainerRegistryResultOutput) CreatedAt added in v4.12.0

The date and time when the registry was created

func (LookupContainerRegistryResultOutput) ElementType added in v4.9.0

func (LookupContainerRegistryResultOutput) Endpoint added in v4.9.0

The URL endpoint of the container registry. Ex: `registry.digitalocean.com/my_registry`

func (LookupContainerRegistryResultOutput) Id added in v4.9.0

The provider-assigned unique ID for this managed resource.

func (LookupContainerRegistryResultOutput) Name added in v4.9.0

The name of the container registry

func (LookupContainerRegistryResultOutput) Region added in v4.12.0

The slug identifier for the region

func (LookupContainerRegistryResultOutput) ServerUrl added in v4.9.0

The domain of the container registry. Ex: `registry.digitalocean.com`

func (LookupContainerRegistryResultOutput) StorageUsageBytes added in v4.12.0

The amount of storage used in the registry in bytes.

func (LookupContainerRegistryResultOutput) SubscriptionTierSlug added in v4.9.0

func (o LookupContainerRegistryResultOutput) SubscriptionTierSlug() pulumi.StringOutput

The slug identifier for the subscription tier

func (LookupContainerRegistryResultOutput) ToLookupContainerRegistryResultOutput added in v4.9.0

func (o LookupContainerRegistryResultOutput) ToLookupContainerRegistryResultOutput() LookupContainerRegistryResultOutput

func (LookupContainerRegistryResultOutput) ToLookupContainerRegistryResultOutputWithContext added in v4.9.0

func (o LookupContainerRegistryResultOutput) ToLookupContainerRegistryResultOutputWithContext(ctx context.Context) LookupContainerRegistryResultOutput

type LookupDatabaseClusterArgs

type LookupDatabaseClusterArgs struct {
	// The name of the database cluster.
	Name string   `pulumi:"name"`
	Tags []string `pulumi:"tags"`
}

A collection of arguments for invoking getDatabaseCluster.

type LookupDatabaseClusterOutputArgs added in v4.9.0

type LookupDatabaseClusterOutputArgs struct {
	// The name of the database cluster.
	Name pulumi.StringInput      `pulumi:"name"`
	Tags pulumi.StringArrayInput `pulumi:"tags"`
}

A collection of arguments for invoking getDatabaseCluster.

func (LookupDatabaseClusterOutputArgs) ElementType added in v4.9.0

type LookupDatabaseClusterResult

type LookupDatabaseClusterResult struct {
	// Name of the cluster's default database.
	Database string `pulumi:"database"`
	// Database engine used by the cluster (ex. `pg` for PostreSQL).
	Engine string `pulumi:"engine"`
	// Database cluster's hostname.
	Host string `pulumi:"host"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Defines when the automatic maintenance should be performed for the database cluster.
	MaintenanceWindows []GetDatabaseClusterMaintenanceWindow `pulumi:"maintenanceWindows"`
	Name               string                                `pulumi:"name"`
	// Number of nodes that will be included in the cluster.
	NodeCount int `pulumi:"nodeCount"`
	// Password for the cluster's default user.
	Password string `pulumi:"password"`
	// Network port that the database cluster is listening on.
	Port int `pulumi:"port"`
	// Same as `host`, but only accessible from resources within the account and in the same region.
	PrivateHost string `pulumi:"privateHost"`
	// The ID of the VPC where the database cluster is located.
	PrivateNetworkUuid string `pulumi:"privateNetworkUuid"`
	// Same as `uri`, but only accessible from resources within the account and in the same region.
	PrivateUri string `pulumi:"privateUri"`
	// The ID of the project that the database cluster is assigned to.
	ProjectId string `pulumi:"projectId"`
	// DigitalOcean region where the cluster will reside.
	Region string `pulumi:"region"`
	// Database droplet size associated with the cluster (ex. `db-s-1vcpu-1gb`).
	Size           string   `pulumi:"size"`
	StorageSizeMib string   `pulumi:"storageSizeMib"`
	Tags           []string `pulumi:"tags"`
	// The full URI for connecting to the database cluster.
	Uri string `pulumi:"uri"`
	// The uniform resource name of the database cluster.
	Urn string `pulumi:"urn"`
	// Username for the cluster's default user.
	User string `pulumi:"user"`
	// Engine version used by the cluster (ex. `11` for PostgreSQL 11).
	Version string `pulumi:"version"`
}

A collection of values returned by getDatabaseCluster.

func LookupDatabaseCluster

func LookupDatabaseCluster(ctx *pulumi.Context, args *LookupDatabaseClusterArgs, opts ...pulumi.InvokeOption) (*LookupDatabaseClusterResult, error)

Provides information on a DigitalOcean database cluster resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := digitalocean.LookupDatabaseCluster(ctx, &digitalocean.LookupDatabaseClusterArgs{
			Name: "example-cluster",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("databaseOutput", example.Uri)
		return nil
	})
}

```

type LookupDatabaseClusterResultOutput added in v4.9.0

type LookupDatabaseClusterResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDatabaseCluster.

func LookupDatabaseClusterOutput added in v4.9.0

func (LookupDatabaseClusterResultOutput) Database added in v4.9.0

Name of the cluster's default database.

func (LookupDatabaseClusterResultOutput) ElementType added in v4.9.0

func (LookupDatabaseClusterResultOutput) Engine added in v4.9.0

Database engine used by the cluster (ex. `pg` for PostreSQL).

func (LookupDatabaseClusterResultOutput) Host added in v4.9.0

Database cluster's hostname.

func (LookupDatabaseClusterResultOutput) Id added in v4.9.0

The provider-assigned unique ID for this managed resource.

func (LookupDatabaseClusterResultOutput) MaintenanceWindows added in v4.9.0

Defines when the automatic maintenance should be performed for the database cluster.

func (LookupDatabaseClusterResultOutput) Name added in v4.9.0

func (LookupDatabaseClusterResultOutput) NodeCount added in v4.9.0

Number of nodes that will be included in the cluster.

func (LookupDatabaseClusterResultOutput) Password added in v4.9.0

Password for the cluster's default user.

func (LookupDatabaseClusterResultOutput) Port added in v4.9.0

Network port that the database cluster is listening on.

func (LookupDatabaseClusterResultOutput) PrivateHost added in v4.9.0

Same as `host`, but only accessible from resources within the account and in the same region.

func (LookupDatabaseClusterResultOutput) PrivateNetworkUuid added in v4.9.0

func (o LookupDatabaseClusterResultOutput) PrivateNetworkUuid() pulumi.StringOutput

The ID of the VPC where the database cluster is located.

func (LookupDatabaseClusterResultOutput) PrivateUri added in v4.9.0

Same as `uri`, but only accessible from resources within the account and in the same region.

func (LookupDatabaseClusterResultOutput) ProjectId added in v4.19.0

The ID of the project that the database cluster is assigned to.

func (LookupDatabaseClusterResultOutput) Region added in v4.9.0

DigitalOcean region where the cluster will reside.

func (LookupDatabaseClusterResultOutput) Size added in v4.9.0

Database droplet size associated with the cluster (ex. `db-s-1vcpu-1gb`).

func (LookupDatabaseClusterResultOutput) StorageSizeMib added in v4.23.0

func (LookupDatabaseClusterResultOutput) Tags added in v4.9.0

func (LookupDatabaseClusterResultOutput) ToLookupDatabaseClusterResultOutput added in v4.9.0

func (o LookupDatabaseClusterResultOutput) ToLookupDatabaseClusterResultOutput() LookupDatabaseClusterResultOutput

func (LookupDatabaseClusterResultOutput) ToLookupDatabaseClusterResultOutputWithContext added in v4.9.0

func (o LookupDatabaseClusterResultOutput) ToLookupDatabaseClusterResultOutputWithContext(ctx context.Context) LookupDatabaseClusterResultOutput

func (LookupDatabaseClusterResultOutput) Uri added in v4.9.0

The full URI for connecting to the database cluster.

func (LookupDatabaseClusterResultOutput) Urn added in v4.9.0

The uniform resource name of the database cluster.

func (LookupDatabaseClusterResultOutput) User added in v4.9.0

Username for the cluster's default user.

func (LookupDatabaseClusterResultOutput) Version added in v4.9.0

Engine version used by the cluster (ex. `11` for PostgreSQL 11).

type LookupDatabaseConnectionPoolArgs added in v4.25.0

type LookupDatabaseConnectionPoolArgs struct {
	// The ID of the original source database cluster.
	ClusterId string `pulumi:"clusterId"`
	// The name for the database connection pool.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getDatabaseConnectionPool.

type LookupDatabaseConnectionPoolOutputArgs added in v4.25.0

type LookupDatabaseConnectionPoolOutputArgs struct {
	// The ID of the original source database cluster.
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// The name for the database connection pool.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getDatabaseConnectionPool.

func (LookupDatabaseConnectionPoolOutputArgs) ElementType added in v4.25.0

type LookupDatabaseConnectionPoolResult added in v4.25.0

type LookupDatabaseConnectionPoolResult struct {
	ClusterId string `pulumi:"clusterId"`
	// Name of the connection pool's default database.
	DbName string `pulumi:"dbName"`
	// Connection pool hostname.
	Host string `pulumi:"host"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The transaction mode for the connection pool.
	Mode string `pulumi:"mode"`
	Name string `pulumi:"name"`
	// Password for the connection pool's default user.
	Password string `pulumi:"password"`
	// Network port that the connection pool is listening on.
	Port int `pulumi:"port"`
	// Same as `host`, but only accessible from resources within the account and in the same region.
	PrivateHost string `pulumi:"privateHost"`
	// Same as `uri`, but only accessible from resources within the account and in the same region.
	PrivateUri string `pulumi:"privateUri"`
	// Size of the connection pool.
	Size int `pulumi:"size"`
	// The full URI for connecting to the database connection pool.
	Uri string `pulumi:"uri"`
	// Username for the connection pool's default user.
	User string `pulumi:"user"`
}

A collection of values returned by getDatabaseConnectionPool.

func LookupDatabaseConnectionPool added in v4.25.0

func LookupDatabaseConnectionPool(ctx *pulumi.Context, args *LookupDatabaseConnectionPoolArgs, opts ...pulumi.InvokeOption) (*LookupDatabaseConnectionPoolResult, error)

Provides information on a DigitalOcean PostgreSQL database connection pool.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := digitalocean.LookupDatabaseCluster(ctx, &digitalocean.LookupDatabaseClusterArgs{
			Name: "example-cluster",
		}, nil)
		if err != nil {
			return err
		}
		read_only, err := digitalocean.LookupDatabaseConnectionPool(ctx, &digitalocean.LookupDatabaseConnectionPoolArgs{
			ClusterId: example.Id,
			Name:      "pool-01",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("connectionPoolUriOutput", read_only.Uri)
		return nil
	})
}

```

type LookupDatabaseConnectionPoolResultOutput added in v4.25.0

type LookupDatabaseConnectionPoolResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDatabaseConnectionPool.

func (LookupDatabaseConnectionPoolResultOutput) ClusterId added in v4.25.0

func (LookupDatabaseConnectionPoolResultOutput) DbName added in v4.25.0

Name of the connection pool's default database.

func (LookupDatabaseConnectionPoolResultOutput) ElementType added in v4.25.0

func (LookupDatabaseConnectionPoolResultOutput) Host added in v4.25.0

Connection pool hostname.

func (LookupDatabaseConnectionPoolResultOutput) Id added in v4.25.0

The provider-assigned unique ID for this managed resource.

func (LookupDatabaseConnectionPoolResultOutput) Mode added in v4.25.0

The transaction mode for the connection pool.

func (LookupDatabaseConnectionPoolResultOutput) Name added in v4.25.0

func (LookupDatabaseConnectionPoolResultOutput) Password added in v4.25.0

Password for the connection pool's default user.

func (LookupDatabaseConnectionPoolResultOutput) Port added in v4.25.0

Network port that the connection pool is listening on.

func (LookupDatabaseConnectionPoolResultOutput) PrivateHost added in v4.25.0

Same as `host`, but only accessible from resources within the account and in the same region.

func (LookupDatabaseConnectionPoolResultOutput) PrivateUri added in v4.25.0

Same as `uri`, but only accessible from resources within the account and in the same region.

func (LookupDatabaseConnectionPoolResultOutput) Size added in v4.25.0

Size of the connection pool.

func (LookupDatabaseConnectionPoolResultOutput) ToLookupDatabaseConnectionPoolResultOutput added in v4.25.0

func (o LookupDatabaseConnectionPoolResultOutput) ToLookupDatabaseConnectionPoolResultOutput() LookupDatabaseConnectionPoolResultOutput

func (LookupDatabaseConnectionPoolResultOutput) ToLookupDatabaseConnectionPoolResultOutputWithContext added in v4.25.0

func (o LookupDatabaseConnectionPoolResultOutput) ToLookupDatabaseConnectionPoolResultOutputWithContext(ctx context.Context) LookupDatabaseConnectionPoolResultOutput

func (LookupDatabaseConnectionPoolResultOutput) Uri added in v4.25.0

The full URI for connecting to the database connection pool.

func (LookupDatabaseConnectionPoolResultOutput) User added in v4.25.0

Username for the connection pool's default user.

type LookupDatabaseReplicaArgs

type LookupDatabaseReplicaArgs struct {
	// The ID of the original source database cluster.
	ClusterId string `pulumi:"clusterId"`
	// The name for the database replica.
	Name string `pulumi:"name"`
	// A list of tag names to be applied to the database replica.
	Tags []string `pulumi:"tags"`
}

A collection of arguments for invoking getDatabaseReplica.

type LookupDatabaseReplicaOutputArgs added in v4.9.0

type LookupDatabaseReplicaOutputArgs struct {
	// The ID of the original source database cluster.
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// The name for the database replica.
	Name pulumi.StringInput `pulumi:"name"`
	// A list of tag names to be applied to the database replica.
	Tags pulumi.StringArrayInput `pulumi:"tags"`
}

A collection of arguments for invoking getDatabaseReplica.

func (LookupDatabaseReplicaOutputArgs) ElementType added in v4.9.0

type LookupDatabaseReplicaResult

type LookupDatabaseReplicaResult struct {
	ClusterId string `pulumi:"clusterId"`
	// Name of the replica's default database.
	Database string `pulumi:"database"`
	// Database replica's hostname.
	Host string `pulumi:"host"`
	// The provider-assigned unique ID for this managed resource.
	Id   string `pulumi:"id"`
	Name string `pulumi:"name"`
	// Password for the replica's default user.
	Password string `pulumi:"password"`
	// Network port that the database replica is listening on.
	Port int `pulumi:"port"`
	// Same as `host`, but only accessible from resources within the account and in the same region.
	PrivateHost        string `pulumi:"privateHost"`
	PrivateNetworkUuid string `pulumi:"privateNetworkUuid"`
	// Same as `uri`, but only accessible from resources within the account and in the same region.
	PrivateUri     string `pulumi:"privateUri"`
	Region         string `pulumi:"region"`
	StorageSizeMib string `pulumi:"storageSizeMib"`
	// A list of tag names to be applied to the database replica.
	Tags []string `pulumi:"tags"`
	// The full URI for connecting to the database replica.
	Uri string `pulumi:"uri"`
	// Username for the replica's default user.
	User string `pulumi:"user"`
	// The UUID of the database replica.
	Uuid string `pulumi:"uuid"`
}

A collection of values returned by getDatabaseReplica.

func LookupDatabaseReplica

func LookupDatabaseReplica(ctx *pulumi.Context, args *LookupDatabaseReplicaArgs, opts ...pulumi.InvokeOption) (*LookupDatabaseReplicaResult, error)

Provides information on a DigitalOcean database replica.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := digitalocean.LookupDatabaseCluster(ctx, &digitalocean.LookupDatabaseClusterArgs{
			Name: "example-cluster",
		}, nil)
		if err != nil {
			return err
		}
		read_only, err := digitalocean.LookupDatabaseReplica(ctx, &digitalocean.LookupDatabaseReplicaArgs{
			ClusterId: example.Id,
			Name:      "terra-test-ro",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("replicaOutput", read_only.Uri)
		return nil
	})
}

```

type LookupDatabaseReplicaResultOutput added in v4.9.0

type LookupDatabaseReplicaResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDatabaseReplica.

func LookupDatabaseReplicaOutput added in v4.9.0

func (LookupDatabaseReplicaResultOutput) ClusterId added in v4.9.0

func (LookupDatabaseReplicaResultOutput) Database added in v4.9.0

Name of the replica's default database.

func (LookupDatabaseReplicaResultOutput) ElementType added in v4.9.0

func (LookupDatabaseReplicaResultOutput) Host added in v4.9.0

Database replica's hostname.

func (LookupDatabaseReplicaResultOutput) Id added in v4.9.0

The provider-assigned unique ID for this managed resource.

func (LookupDatabaseReplicaResultOutput) Name added in v4.9.0

func (LookupDatabaseReplicaResultOutput) Password added in v4.9.0

Password for the replica's default user.

func (LookupDatabaseReplicaResultOutput) Port added in v4.9.0

Network port that the database replica is listening on.

func (LookupDatabaseReplicaResultOutput) PrivateHost added in v4.9.0

Same as `host`, but only accessible from resources within the account and in the same region.

func (LookupDatabaseReplicaResultOutput) PrivateNetworkUuid added in v4.9.0

func (o LookupDatabaseReplicaResultOutput) PrivateNetworkUuid() pulumi.StringOutput

func (LookupDatabaseReplicaResultOutput) PrivateUri added in v4.9.0

Same as `uri`, but only accessible from resources within the account and in the same region.

func (LookupDatabaseReplicaResultOutput) Region added in v4.9.0

func (LookupDatabaseReplicaResultOutput) StorageSizeMib added in v4.26.0

func (LookupDatabaseReplicaResultOutput) Tags added in v4.9.0

A list of tag names to be applied to the database replica.

func (LookupDatabaseReplicaResultOutput) ToLookupDatabaseReplicaResultOutput added in v4.9.0

func (o LookupDatabaseReplicaResultOutput) ToLookupDatabaseReplicaResultOutput() LookupDatabaseReplicaResultOutput

func (LookupDatabaseReplicaResultOutput) ToLookupDatabaseReplicaResultOutputWithContext added in v4.9.0

func (o LookupDatabaseReplicaResultOutput) ToLookupDatabaseReplicaResultOutputWithContext(ctx context.Context) LookupDatabaseReplicaResultOutput

func (LookupDatabaseReplicaResultOutput) Uri added in v4.9.0

The full URI for connecting to the database replica.

func (LookupDatabaseReplicaResultOutput) User added in v4.9.0

Username for the replica's default user.

func (LookupDatabaseReplicaResultOutput) Uuid added in v4.19.3

The UUID of the database replica.

type LookupDatabaseUserArgs added in v4.20.0

type LookupDatabaseUserArgs struct {
	// The ID of the database cluster.
	ClusterId string `pulumi:"clusterId"`
	// The name of the database user.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getDatabaseUser.

type LookupDatabaseUserOutputArgs added in v4.20.0

type LookupDatabaseUserOutputArgs struct {
	// The ID of the database cluster.
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// The name of the database user.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getDatabaseUser.

func (LookupDatabaseUserOutputArgs) ElementType added in v4.20.0

type LookupDatabaseUserResult added in v4.20.0

type LookupDatabaseUserResult struct {
	// Access certificate for TLS client authentication. (Kafka only)
	AccessCert string `pulumi:"accessCert"`
	// Access key for TLS client authentication. (Kafka only)
	AccessKey string `pulumi:"accessKey"`
	ClusterId string `pulumi:"clusterId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The authentication method of the MySQL user. The value will be `mysqlNativePassword` or `cachingSha2Password`.
	MysqlAuthPlugin string `pulumi:"mysqlAuthPlugin"`
	Name            string `pulumi:"name"`
	// The password of the database user. This will not be set for MongoDB users.
	Password string `pulumi:"password"`
	// The role of the database user. The value will be either `primary` or `normal`.
	Role     string                   `pulumi:"role"`
	Settings []GetDatabaseUserSetting `pulumi:"settings"`
}

A collection of values returned by getDatabaseUser.

func LookupDatabaseUser added in v4.20.0

func LookupDatabaseUser(ctx *pulumi.Context, args *LookupDatabaseUserArgs, opts ...pulumi.InvokeOption) (*LookupDatabaseUserResult, error)

Provides information on a DigitalOcean database user resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		main, err := digitalocean.LookupDatabaseCluster(ctx, &digitalocean.LookupDatabaseClusterArgs{
			Name: "main-cluster",
		}, nil)
		if err != nil {
			return err
		}
		example, err := digitalocean.LookupDatabaseUser(ctx, &digitalocean.LookupDatabaseUserArgs{
			ClusterId: main.Id,
			Name:      "example-user",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("databaseUserPassword", example.Password)
		return nil
	})
}

```

type LookupDatabaseUserResultOutput added in v4.20.0

type LookupDatabaseUserResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDatabaseUser.

func LookupDatabaseUserOutput added in v4.20.0

func (LookupDatabaseUserResultOutput) AccessCert added in v4.26.0

Access certificate for TLS client authentication. (Kafka only)

func (LookupDatabaseUserResultOutput) AccessKey added in v4.26.0

Access key for TLS client authentication. (Kafka only)

func (LookupDatabaseUserResultOutput) ClusterId added in v4.20.0

func (LookupDatabaseUserResultOutput) ElementType added in v4.20.0

func (LookupDatabaseUserResultOutput) Id added in v4.20.0

The provider-assigned unique ID for this managed resource.

func (LookupDatabaseUserResultOutput) MysqlAuthPlugin added in v4.20.0

The authentication method of the MySQL user. The value will be `mysqlNativePassword` or `cachingSha2Password`.

func (LookupDatabaseUserResultOutput) Name added in v4.20.0

func (LookupDatabaseUserResultOutput) Password added in v4.20.0

The password of the database user. This will not be set for MongoDB users.

func (LookupDatabaseUserResultOutput) Role added in v4.20.0

The role of the database user. The value will be either `primary` or `normal`.

func (LookupDatabaseUserResultOutput) Settings added in v4.24.0

func (LookupDatabaseUserResultOutput) ToLookupDatabaseUserResultOutput added in v4.20.0

func (o LookupDatabaseUserResultOutput) ToLookupDatabaseUserResultOutput() LookupDatabaseUserResultOutput

func (LookupDatabaseUserResultOutput) ToLookupDatabaseUserResultOutputWithContext added in v4.20.0

func (o LookupDatabaseUserResultOutput) ToLookupDatabaseUserResultOutputWithContext(ctx context.Context) LookupDatabaseUserResultOutput

type LookupDomainArgs

type LookupDomainArgs struct {
	// The name of the domain.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getDomain.

type LookupDomainOutputArgs added in v4.9.0

type LookupDomainOutputArgs struct {
	// The name of the domain.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getDomain.

func (LookupDomainOutputArgs) ElementType added in v4.9.0

func (LookupDomainOutputArgs) ElementType() reflect.Type

type LookupDomainResult

type LookupDomainResult struct {
	// The uniform resource name of the domain
	DomainUrn string `pulumi:"domainUrn"`
	// The provider-assigned unique ID for this managed resource.
	Id   string `pulumi:"id"`
	Name string `pulumi:"name"`
	// The TTL of the domain.
	Ttl int `pulumi:"ttl"`
	// The zone file of the domain.
	ZoneFile string `pulumi:"zoneFile"`
}

A collection of values returned by getDomain.

func LookupDomain

func LookupDomain(ctx *pulumi.Context, args *LookupDomainArgs, opts ...pulumi.InvokeOption) (*LookupDomainResult, error)

Get information on a domain. This data source provides the name, TTL, and zone file as configured on your DigitalOcean account. This is useful if the domain name in question is not managed by this provider or you need to utilize TTL or zone file data.

An error is triggered if the provided domain name is not managed with your DigitalOcean account.

## Example Usage

Get the zone file for a domain:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := digitalocean.LookupDomain(ctx, &digitalocean.LookupDomainArgs{
			Name: "example.com",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("domainOutput", example.ZoneFile)
		return nil
	})
}

```

type LookupDomainResultOutput added in v4.9.0

type LookupDomainResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDomain.

func LookupDomainOutput added in v4.9.0

func LookupDomainOutput(ctx *pulumi.Context, args LookupDomainOutputArgs, opts ...pulumi.InvokeOption) LookupDomainResultOutput

func (LookupDomainResultOutput) DomainUrn added in v4.9.0

The uniform resource name of the domain

func (LookupDomainResultOutput) ElementType added in v4.9.0

func (LookupDomainResultOutput) ElementType() reflect.Type

func (LookupDomainResultOutput) Id added in v4.9.0

The provider-assigned unique ID for this managed resource.

func (LookupDomainResultOutput) Name added in v4.9.0

func (LookupDomainResultOutput) ToLookupDomainResultOutput added in v4.9.0

func (o LookupDomainResultOutput) ToLookupDomainResultOutput() LookupDomainResultOutput

func (LookupDomainResultOutput) ToLookupDomainResultOutputWithContext added in v4.9.0

func (o LookupDomainResultOutput) ToLookupDomainResultOutputWithContext(ctx context.Context) LookupDomainResultOutput

func (LookupDomainResultOutput) Ttl added in v4.9.0

The TTL of the domain.

func (LookupDomainResultOutput) ZoneFile added in v4.9.0

The zone file of the domain.

type LookupDropletArgs

type LookupDropletArgs struct {
	// The ID of the Droplet
	Id *int `pulumi:"id"`
	// The name of the Droplet.
	Name *string `pulumi:"name"`
	// A tag applied to the Droplet.
	Tag *string `pulumi:"tag"`
}

A collection of arguments for invoking getDroplet.

type LookupDropletOutputArgs added in v4.9.0

type LookupDropletOutputArgs struct {
	// The ID of the Droplet
	Id pulumi.IntPtrInput `pulumi:"id"`
	// The name of the Droplet.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// A tag applied to the Droplet.
	Tag pulumi.StringPtrInput `pulumi:"tag"`
}

A collection of arguments for invoking getDroplet.

func (LookupDropletOutputArgs) ElementType added in v4.9.0

func (LookupDropletOutputArgs) ElementType() reflect.Type

type LookupDropletResult

type LookupDropletResult struct {
	// Whether backups are enabled.
	Backups   bool   `pulumi:"backups"`
	CreatedAt string `pulumi:"createdAt"`
	// The size of the Droplets disk in GB.
	Disk int `pulumi:"disk"`
	// The ID of the Droplet.
	Id int `pulumi:"id"`
	// The Droplet image ID or slug.
	Image string `pulumi:"image"`
	// The Droplets public IPv4 address
	Ipv4Address string `pulumi:"ipv4Address"`
	// The Droplets private IPv4 address
	Ipv4AddressPrivate string `pulumi:"ipv4AddressPrivate"`
	// Whether IPv6 is enabled.
	Ipv6 bool `pulumi:"ipv6"`
	// The Droplets public IPv6 address
	Ipv6Address string `pulumi:"ipv6Address"`
	// The Droplets private IPv6 address
	Ipv6AddressPrivate string `pulumi:"ipv6AddressPrivate"`
	// Whether the Droplet is locked.
	Locked bool `pulumi:"locked"`
	// The amount of the Droplets memory in MB.
	Memory int `pulumi:"memory"`
	// Whether monitoring agent is installed.
	Monitoring bool   `pulumi:"monitoring"`
	Name       string `pulumi:"name"`
	// Droplet hourly price.
	PriceHourly float64 `pulumi:"priceHourly"`
	// Droplet monthly price.
	PriceMonthly float64 `pulumi:"priceMonthly"`
	// Whether private networks are enabled.
	PrivateNetworking bool `pulumi:"privateNetworking"`
	// The region the Droplet is running in.
	Region string `pulumi:"region"`
	// The unique slug that indentifies the type of Droplet.
	Size string `pulumi:"size"`
	// The status of the Droplet.
	Status string  `pulumi:"status"`
	Tag    *string `pulumi:"tag"`
	// A list of the tags associated to the Droplet.
	Tags []string `pulumi:"tags"`
	// The uniform resource name of the Droplet
	Urn string `pulumi:"urn"`
	// The number of the Droplets virtual CPUs.
	Vcpus int `pulumi:"vcpus"`
	// List of the IDs of each volumes attached to the Droplet.
	VolumeIds []string `pulumi:"volumeIds"`
	// The ID of the VPC where the Droplet is located.
	VpcUuid string `pulumi:"vpcUuid"`
}

A collection of values returned by getDroplet.

func LookupDroplet

func LookupDroplet(ctx *pulumi.Context, args *LookupDropletArgs, opts ...pulumi.InvokeOption) (*LookupDropletResult, error)

Get information on a Droplet for use in other resources. This data source provides all of the Droplet's properties as configured on your DigitalOcean account. This is useful if the Droplet in question is not managed by this provider or you need to utilize any of the Droplet's data.

**Note:** This data source returns a single Droplet. When specifying a `tag`, an error is triggered if more than one Droplet is found.

## Example Usage

Get the Droplet by name:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := digitalocean.LookupDroplet(ctx, &digitalocean.LookupDropletArgs{
			Name: pulumi.StringRef("web"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("dropletOutput", example.Ipv4Address)
		return nil
	})
}

```

Get the Droplet by tag:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.LookupDroplet(ctx, &digitalocean.LookupDropletArgs{
			Tag: pulumi.StringRef("web"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

Get the Droplet by ID:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.LookupDroplet(ctx, &digitalocean.LookupDropletArgs{
			Id: pulumi.IntRef(digitalocean_kubernetes_cluster.Example.Node_pool[0].Nodes[0].Droplet_id),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupDropletResultOutput added in v4.9.0

type LookupDropletResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDroplet.

func LookupDropletOutput added in v4.9.0

func LookupDropletOutput(ctx *pulumi.Context, args LookupDropletOutputArgs, opts ...pulumi.InvokeOption) LookupDropletResultOutput

func (LookupDropletResultOutput) Backups added in v4.9.0

Whether backups are enabled.

func (LookupDropletResultOutput) CreatedAt added in v4.9.0

func (LookupDropletResultOutput) Disk added in v4.9.0

The size of the Droplets disk in GB.

func (LookupDropletResultOutput) ElementType added in v4.9.0

func (LookupDropletResultOutput) ElementType() reflect.Type

func (LookupDropletResultOutput) Id added in v4.9.0

The ID of the Droplet.

func (LookupDropletResultOutput) Image added in v4.9.0

The Droplet image ID or slug.

func (LookupDropletResultOutput) Ipv4Address added in v4.9.0

The Droplets public IPv4 address

func (LookupDropletResultOutput) Ipv4AddressPrivate added in v4.9.0

func (o LookupDropletResultOutput) Ipv4AddressPrivate() pulumi.StringOutput

The Droplets private IPv4 address

func (LookupDropletResultOutput) Ipv6 added in v4.9.0

Whether IPv6 is enabled.

func (LookupDropletResultOutput) Ipv6Address added in v4.9.0

The Droplets public IPv6 address

func (LookupDropletResultOutput) Ipv6AddressPrivate added in v4.9.0

func (o LookupDropletResultOutput) Ipv6AddressPrivate() pulumi.StringOutput

The Droplets private IPv6 address

func (LookupDropletResultOutput) Locked added in v4.9.0

Whether the Droplet is locked.

func (LookupDropletResultOutput) Memory added in v4.9.0

The amount of the Droplets memory in MB.

func (LookupDropletResultOutput) Monitoring added in v4.9.0

Whether monitoring agent is installed.

func (LookupDropletResultOutput) Name added in v4.9.0

func (LookupDropletResultOutput) PriceHourly added in v4.9.0

Droplet hourly price.

func (LookupDropletResultOutput) PriceMonthly added in v4.9.0

Droplet monthly price.

func (LookupDropletResultOutput) PrivateNetworking added in v4.9.0

func (o LookupDropletResultOutput) PrivateNetworking() pulumi.BoolOutput

Whether private networks are enabled.

func (LookupDropletResultOutput) Region added in v4.9.0

The region the Droplet is running in.

func (LookupDropletResultOutput) Size added in v4.9.0

The unique slug that indentifies the type of Droplet.

func (LookupDropletResultOutput) Status added in v4.9.0

The status of the Droplet.

func (LookupDropletResultOutput) Tag added in v4.9.0

func (LookupDropletResultOutput) Tags added in v4.9.0

A list of the tags associated to the Droplet.

func (LookupDropletResultOutput) ToLookupDropletResultOutput added in v4.9.0

func (o LookupDropletResultOutput) ToLookupDropletResultOutput() LookupDropletResultOutput

func (LookupDropletResultOutput) ToLookupDropletResultOutputWithContext added in v4.9.0

func (o LookupDropletResultOutput) ToLookupDropletResultOutputWithContext(ctx context.Context) LookupDropletResultOutput

func (LookupDropletResultOutput) Urn added in v4.9.0

The uniform resource name of the Droplet

func (LookupDropletResultOutput) Vcpus added in v4.9.0

The number of the Droplets virtual CPUs.

func (LookupDropletResultOutput) VolumeIds added in v4.9.0

List of the IDs of each volumes attached to the Droplet.

func (LookupDropletResultOutput) VpcUuid added in v4.9.0

The ID of the VPC where the Droplet is located.

type LookupDropletSnapshotArgs

type LookupDropletSnapshotArgs struct {
	// If more than one result is returned, use the most recent Droplet snapshot.
	//
	// > **NOTE:** If more or less than a single match is returned by the search,
	// the update will fail. Ensure that your search is specific enough to return
	// a single Droplet snapshot ID only, or use `mostRecent` to choose the most recent one.
	MostRecent *bool `pulumi:"mostRecent"`
	// The name of the Droplet snapshot.
	Name *string `pulumi:"name"`
	// A regex string to apply to the Droplet snapshot list returned by DigitalOcean. This allows more advanced filtering not supported from the DigitalOcean API. This filtering is done locally on what DigitalOcean returns.
	NameRegex *string `pulumi:"nameRegex"`
	// A "slug" representing a DigitalOcean region (e.g. `nyc1`). If set, only Droplet snapshots available in the region will be returned.
	Region *string `pulumi:"region"`
}

A collection of arguments for invoking getDropletSnapshot.

type LookupDropletSnapshotOutputArgs added in v4.9.0

type LookupDropletSnapshotOutputArgs struct {
	// If more than one result is returned, use the most recent Droplet snapshot.
	//
	// > **NOTE:** If more or less than a single match is returned by the search,
	// the update will fail. Ensure that your search is specific enough to return
	// a single Droplet snapshot ID only, or use `mostRecent` to choose the most recent one.
	MostRecent pulumi.BoolPtrInput `pulumi:"mostRecent"`
	// The name of the Droplet snapshot.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// A regex string to apply to the Droplet snapshot list returned by DigitalOcean. This allows more advanced filtering not supported from the DigitalOcean API. This filtering is done locally on what DigitalOcean returns.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// A "slug" representing a DigitalOcean region (e.g. `nyc1`). If set, only Droplet snapshots available in the region will be returned.
	Region pulumi.StringPtrInput `pulumi:"region"`
}

A collection of arguments for invoking getDropletSnapshot.

func (LookupDropletSnapshotOutputArgs) ElementType added in v4.9.0

type LookupDropletSnapshotResult

type LookupDropletSnapshotResult struct {
	// The date and time the Droplet snapshot was created.
	CreatedAt string `pulumi:"createdAt"`
	// The ID of the Droplet from which the Droplet snapshot originated.
	DropletId string `pulumi:"dropletId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The minimum size in gigabytes required for a Droplet to be created based on this Droplet snapshot.
	MinDiskSize int     `pulumi:"minDiskSize"`
	MostRecent  *bool   `pulumi:"mostRecent"`
	Name        *string `pulumi:"name"`
	NameRegex   *string `pulumi:"nameRegex"`
	Region      *string `pulumi:"region"`
	// A list of DigitalOcean region "slugs" indicating where the Droplet snapshot is available.
	Regions []string `pulumi:"regions"`
	// The billable size of the Droplet snapshot in gigabytes.
	Size float64 `pulumi:"size"`
}

A collection of values returned by getDropletSnapshot.

func LookupDropletSnapshot

func LookupDropletSnapshot(ctx *pulumi.Context, args *LookupDropletSnapshotArgs, opts ...pulumi.InvokeOption) (*LookupDropletSnapshotResult, error)

Droplet snapshots are saved instances of a Droplet. Use this data source to retrieve the ID of a DigitalOcean Droplet snapshot for use in other resources.

## Example Usage

Get the Droplet snapshot:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.LookupDropletSnapshot(ctx, &digitalocean.LookupDropletSnapshotArgs{
			MostRecent: pulumi.BoolRef(true),
			NameRegex:  pulumi.StringRef("^web"),
			Region:     pulumi.StringRef("nyc3"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

Create image from snapshot:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		web_snapshot, err := digitalocean.LookupDropletSnapshot(ctx, &digitalocean.LookupDropletSnapshotArgs{
			NameRegex:  pulumi.StringRef("^web"),
			Region:     pulumi.StringRef("nyc3"),
			MostRecent: pulumi.BoolRef(true),
		}, nil)
		if err != nil {
			return err
		}
		_, err = digitalocean.NewDroplet(ctx, "from-snapshot", &digitalocean.DropletArgs{
			Image:  pulumi.String(web_snapshot.Id),
			Region: pulumi.String(digitalocean.RegionNYC3),
			Size:   pulumi.String(digitalocean.DropletSlugDropletS2VCPU4GB),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupDropletSnapshotResultOutput added in v4.9.0

type LookupDropletSnapshotResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDropletSnapshot.

func LookupDropletSnapshotOutput added in v4.9.0

func (LookupDropletSnapshotResultOutput) CreatedAt added in v4.9.0

The date and time the Droplet snapshot was created.

func (LookupDropletSnapshotResultOutput) DropletId added in v4.9.0

The ID of the Droplet from which the Droplet snapshot originated.

func (LookupDropletSnapshotResultOutput) ElementType added in v4.9.0

func (LookupDropletSnapshotResultOutput) Id added in v4.9.0

The provider-assigned unique ID for this managed resource.

func (LookupDropletSnapshotResultOutput) MinDiskSize added in v4.9.0

The minimum size in gigabytes required for a Droplet to be created based on this Droplet snapshot.

func (LookupDropletSnapshotResultOutput) MostRecent added in v4.9.0

func (LookupDropletSnapshotResultOutput) Name added in v4.9.0

func (LookupDropletSnapshotResultOutput) NameRegex added in v4.9.0

func (LookupDropletSnapshotResultOutput) Region added in v4.9.0

func (LookupDropletSnapshotResultOutput) Regions added in v4.9.0

A list of DigitalOcean region "slugs" indicating where the Droplet snapshot is available.

func (LookupDropletSnapshotResultOutput) Size added in v4.9.0

The billable size of the Droplet snapshot in gigabytes.

func (LookupDropletSnapshotResultOutput) ToLookupDropletSnapshotResultOutput added in v4.9.0

func (o LookupDropletSnapshotResultOutput) ToLookupDropletSnapshotResultOutput() LookupDropletSnapshotResultOutput

func (LookupDropletSnapshotResultOutput) ToLookupDropletSnapshotResultOutputWithContext added in v4.9.0

func (o LookupDropletSnapshotResultOutput) ToLookupDropletSnapshotResultOutputWithContext(ctx context.Context) LookupDropletSnapshotResultOutput

type LookupFirewallArgs

type LookupFirewallArgs struct {
	// The list of the IDs of the Droplets assigned to
	// the Firewall.
	DropletIds []int `pulumi:"dropletIds"`
	// The ID of the firewall to retrieve information
	// about.
	FirewallId    string                    `pulumi:"firewallId"`
	InboundRules  []GetFirewallInboundRule  `pulumi:"inboundRules"`
	OutboundRules []GetFirewallOutboundRule `pulumi:"outboundRules"`
	// The names of the Tags assigned to the Firewall.
	Tags []string `pulumi:"tags"`
}

A collection of arguments for invoking getFirewall.

type LookupFirewallOutputArgs added in v4.9.0

type LookupFirewallOutputArgs struct {
	// The list of the IDs of the Droplets assigned to
	// the Firewall.
	DropletIds pulumi.IntArrayInput `pulumi:"dropletIds"`
	// The ID of the firewall to retrieve information
	// about.
	FirewallId    pulumi.StringInput                `pulumi:"firewallId"`
	InboundRules  GetFirewallInboundRuleArrayInput  `pulumi:"inboundRules"`
	OutboundRules GetFirewallOutboundRuleArrayInput `pulumi:"outboundRules"`
	// The names of the Tags assigned to the Firewall.
	Tags pulumi.StringArrayInput `pulumi:"tags"`
}

A collection of arguments for invoking getFirewall.

func (LookupFirewallOutputArgs) ElementType added in v4.9.0

func (LookupFirewallOutputArgs) ElementType() reflect.Type

type LookupFirewallResult

type LookupFirewallResult struct {
	// A time value given in ISO8601 combined date and time format
	// that represents when the Firewall was created.
	CreatedAt string `pulumi:"createdAt"`
	// The list of the IDs of the Droplets assigned to
	// the Firewall.
	DropletIds []int  `pulumi:"dropletIds"`
	FirewallId string `pulumi:"firewallId"`
	// The provider-assigned unique ID for this managed resource.
	Id           string                   `pulumi:"id"`
	InboundRules []GetFirewallInboundRule `pulumi:"inboundRules"`
	// The name of the Firewall.
	Name          string                    `pulumi:"name"`
	OutboundRules []GetFirewallOutboundRule `pulumi:"outboundRules"`
	// A set of object containing the fields, `dropletId`,
	// `removing`, and `status`.  It is provided to detail exactly which Droplets
	// are having their security policies updated.  When empty, all changes
	// have been successfully applied.
	PendingChanges []GetFirewallPendingChange `pulumi:"pendingChanges"`
	// A status string indicating the current state of the Firewall.
	// This can be "waiting", "succeeded", or "failed".
	Status string `pulumi:"status"`
	// The names of the Tags assigned to the Firewall.
	Tags []string `pulumi:"tags"`
}

A collection of values returned by getFirewall.

func LookupFirewall

func LookupFirewall(ctx *pulumi.Context, args *LookupFirewallArgs, opts ...pulumi.InvokeOption) (*LookupFirewallResult, error)

Get information on a DigitalOcean Firewall.

## Example Usage

Get the firewall:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := digitalocean.LookupFirewall(ctx, &digitalocean.LookupFirewallArgs{
			FirewallId: "1df48973-6eef-4214-854f-fa7726e7e583",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("exampleFirewallName", example.Name)
		return nil
	})
}

```

type LookupFirewallResultOutput added in v4.9.0

type LookupFirewallResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getFirewall.

func LookupFirewallOutput added in v4.9.0

func LookupFirewallOutput(ctx *pulumi.Context, args LookupFirewallOutputArgs, opts ...pulumi.InvokeOption) LookupFirewallResultOutput

func (LookupFirewallResultOutput) CreatedAt added in v4.9.0

A time value given in ISO8601 combined date and time format that represents when the Firewall was created.

func (LookupFirewallResultOutput) DropletIds added in v4.9.0

The list of the IDs of the Droplets assigned to the Firewall.

func (LookupFirewallResultOutput) ElementType added in v4.9.0

func (LookupFirewallResultOutput) ElementType() reflect.Type

func (LookupFirewallResultOutput) FirewallId added in v4.9.0

func (LookupFirewallResultOutput) Id added in v4.9.0

The provider-assigned unique ID for this managed resource.

func (LookupFirewallResultOutput) InboundRules added in v4.9.0

func (LookupFirewallResultOutput) Name added in v4.9.0

The name of the Firewall.

func (LookupFirewallResultOutput) OutboundRules added in v4.9.0

func (LookupFirewallResultOutput) PendingChanges added in v4.9.0

A set of object containing the fields, `dropletId`, `removing`, and `status`. It is provided to detail exactly which Droplets are having their security policies updated. When empty, all changes have been successfully applied.

func (LookupFirewallResultOutput) Status added in v4.9.0

A status string indicating the current state of the Firewall. This can be "waiting", "succeeded", or "failed".

func (LookupFirewallResultOutput) Tags added in v4.9.0

The names of the Tags assigned to the Firewall.

func (LookupFirewallResultOutput) ToLookupFirewallResultOutput added in v4.9.0

func (o LookupFirewallResultOutput) ToLookupFirewallResultOutput() LookupFirewallResultOutput

func (LookupFirewallResultOutput) ToLookupFirewallResultOutputWithContext added in v4.9.0

func (o LookupFirewallResultOutput) ToLookupFirewallResultOutputWithContext(ctx context.Context) LookupFirewallResultOutput

type LookupFloatingIpArgs

type LookupFloatingIpArgs struct {
	// The allocated IP address of the specific floating IP to retrieve.
	IpAddress string `pulumi:"ipAddress"`
}

A collection of arguments for invoking getFloatingIp.

type LookupFloatingIpOutputArgs added in v4.9.0

type LookupFloatingIpOutputArgs struct {
	// The allocated IP address of the specific floating IP to retrieve.
	IpAddress pulumi.StringInput `pulumi:"ipAddress"`
}

A collection of arguments for invoking getFloatingIp.

func (LookupFloatingIpOutputArgs) ElementType added in v4.9.0

func (LookupFloatingIpOutputArgs) ElementType() reflect.Type

type LookupFloatingIpResult

type LookupFloatingIpResult struct {
	// The Droplet id that the floating IP has been assigned to.
	DropletId int `pulumi:"dropletId"`
	// The uniform resource name of the floating IP.
	FloatingIpUrn string `pulumi:"floatingIpUrn"`
	// The provider-assigned unique ID for this managed resource.
	Id        string `pulumi:"id"`
	IpAddress string `pulumi:"ipAddress"`
	// The region that the floating IP is reserved to.
	Region string `pulumi:"region"`
}

A collection of values returned by getFloatingIp.

func LookupFloatingIp

func LookupFloatingIp(ctx *pulumi.Context, args *LookupFloatingIpArgs, opts ...pulumi.InvokeOption) (*LookupFloatingIpResult, error)

> **Deprecated:** DigitalOcean Floating IPs have been renamed reserved IPs. This data source will be removed in a future release. Please use `ReservedIp` instead.

Get information on a floating ip. This data source provides the region and Droplet id as configured on your DigitalOcean account. This is useful if the floating IP in question is not managed by the provider or you need to find the Droplet the IP is attached to.

An error is triggered if the provided floating IP does not exist.

## Example Usage

Get the floating IP:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		publicIp := cfg.RequireObject("publicIp")
		example, err := digitalocean.LookupFloatingIp(ctx, &digitalocean.LookupFloatingIpArgs{
			IpAddress: publicIp,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("fipOutput", example.DropletId)
		return nil
	})
}

```

type LookupFloatingIpResultOutput added in v4.9.0

type LookupFloatingIpResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getFloatingIp.

func LookupFloatingIpOutput added in v4.9.0

func (LookupFloatingIpResultOutput) DropletId added in v4.9.0

The Droplet id that the floating IP has been assigned to.

func (LookupFloatingIpResultOutput) ElementType added in v4.9.0

func (LookupFloatingIpResultOutput) FloatingIpUrn added in v4.9.0

The uniform resource name of the floating IP.

func (LookupFloatingIpResultOutput) Id added in v4.9.0

The provider-assigned unique ID for this managed resource.

func (LookupFloatingIpResultOutput) IpAddress added in v4.9.0

func (LookupFloatingIpResultOutput) Region added in v4.9.0

The region that the floating IP is reserved to.

func (LookupFloatingIpResultOutput) ToLookupFloatingIpResultOutput added in v4.9.0

func (o LookupFloatingIpResultOutput) ToLookupFloatingIpResultOutput() LookupFloatingIpResultOutput

func (LookupFloatingIpResultOutput) ToLookupFloatingIpResultOutputWithContext added in v4.9.0

func (o LookupFloatingIpResultOutput) ToLookupFloatingIpResultOutputWithContext(ctx context.Context) LookupFloatingIpResultOutput

type LookupKubernetesClusterArgs

type LookupKubernetesClusterArgs struct {
	// The name of Kubernetes cluster.
	Name string `pulumi:"name"`
	// A list of tag names applied to the node pool.
	Tags []string `pulumi:"tags"`
}

A collection of arguments for invoking getKubernetesCluster.

type LookupKubernetesClusterOutputArgs added in v4.9.0

type LookupKubernetesClusterOutputArgs struct {
	// The name of Kubernetes cluster.
	Name pulumi.StringInput `pulumi:"name"`
	// A list of tag names applied to the node pool.
	Tags pulumi.StringArrayInput `pulumi:"tags"`
}

A collection of arguments for invoking getKubernetesCluster.

func (LookupKubernetesClusterOutputArgs) ElementType added in v4.9.0

type LookupKubernetesClusterResult

type LookupKubernetesClusterResult struct {
	// A boolean value indicating whether the cluster will be automatically upgraded to new patch releases during its maintenance window.
	AutoUpgrade bool `pulumi:"autoUpgrade"`
	// The range of IP addresses in the overlay network of the Kubernetes cluster.
	ClusterSubnet string `pulumi:"clusterSubnet"`
	// The date and time when the node was created.
	CreatedAt string `pulumi:"createdAt"`
	// The base URL of the API server on the Kubernetes master node.
	Endpoint string `pulumi:"endpoint"`
	Ha       bool   `pulumi:"ha"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The public IPv4 address of the Kubernetes master node.
	Ipv4Address string `pulumi:"ipv4Address"`
	// A representation of the Kubernetes cluster's kubeconfig with the following attributes:
	KubeConfigs []GetKubernetesClusterKubeConfig `pulumi:"kubeConfigs"`
	// The maintenance policy of the Kubernetes cluster. Digital Ocean has a default maintenancen window.
	MaintenancePolicies []GetKubernetesClusterMaintenancePolicy `pulumi:"maintenancePolicies"`
	// The auto-generated name for the node.
	Name string `pulumi:"name"`
	// A list of node pools associated with the cluster. Each node pool exports the following attributes:
	NodePools []GetKubernetesClusterNodePool `pulumi:"nodePools"`
	// The slug identifier for the region where the Kubernetes cluster is located.
	Region string `pulumi:"region"`
	// The range of assignable IP addresses for services running in the Kubernetes cluster.
	ServiceSubnet string `pulumi:"serviceSubnet"`
	// A string indicating the current status of the individual node.
	Status       string `pulumi:"status"`
	SurgeUpgrade bool   `pulumi:"surgeUpgrade"`
	// A list of tag names applied to the node pool.
	Tags []string `pulumi:"tags"`
	// The date and time when the node was last updated.
	UpdatedAt string `pulumi:"updatedAt"`
	// The uniform resource name (URN) for the Kubernetes cluster.
	Urn string `pulumi:"urn"`
	// The slug identifier for the version of Kubernetes used for the cluster.
	Version string `pulumi:"version"`
	// The ID of the VPC where the Kubernetes cluster is located.
	VpcUuid string `pulumi:"vpcUuid"`
}

A collection of values returned by getKubernetesCluster.

func LookupKubernetesCluster

func LookupKubernetesCluster(ctx *pulumi.Context, args *LookupKubernetesClusterArgs, opts ...pulumi.InvokeOption) (*LookupKubernetesClusterResult, error)

Retrieves information about a DigitalOcean Kubernetes cluster for use in other resources. This data source provides all of the cluster's properties as configured on your DigitalOcean account. This is useful if the cluster in question is not managed by the provider.

type LookupKubernetesClusterResultOutput added in v4.9.0

type LookupKubernetesClusterResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getKubernetesCluster.

func (LookupKubernetesClusterResultOutput) AutoUpgrade added in v4.9.0

A boolean value indicating whether the cluster will be automatically upgraded to new patch releases during its maintenance window.

func (LookupKubernetesClusterResultOutput) ClusterSubnet added in v4.9.0

The range of IP addresses in the overlay network of the Kubernetes cluster.

func (LookupKubernetesClusterResultOutput) CreatedAt added in v4.9.0

The date and time when the node was created.

func (LookupKubernetesClusterResultOutput) ElementType added in v4.9.0

func (LookupKubernetesClusterResultOutput) Endpoint added in v4.9.0

The base URL of the API server on the Kubernetes master node.

func (LookupKubernetesClusterResultOutput) Ha added in v4.9.0

func (LookupKubernetesClusterResultOutput) Id added in v4.9.0

The provider-assigned unique ID for this managed resource.

func (LookupKubernetesClusterResultOutput) Ipv4Address added in v4.9.0

The public IPv4 address of the Kubernetes master node.

func (LookupKubernetesClusterResultOutput) KubeConfigs added in v4.9.0

A representation of the Kubernetes cluster's kubeconfig with the following attributes:

func (LookupKubernetesClusterResultOutput) MaintenancePolicies added in v4.9.0

The maintenance policy of the Kubernetes cluster. Digital Ocean has a default maintenancen window.

func (LookupKubernetesClusterResultOutput) Name added in v4.9.0

The auto-generated name for the node.

func (LookupKubernetesClusterResultOutput) NodePools added in v4.9.0

A list of node pools associated with the cluster. Each node pool exports the following attributes:

func (LookupKubernetesClusterResultOutput) Region added in v4.9.0

The slug identifier for the region where the Kubernetes cluster is located.

func (LookupKubernetesClusterResultOutput) ServiceSubnet added in v4.9.0

The range of assignable IP addresses for services running in the Kubernetes cluster.

func (LookupKubernetesClusterResultOutput) Status added in v4.9.0

A string indicating the current status of the individual node.

func (LookupKubernetesClusterResultOutput) SurgeUpgrade added in v4.9.0

func (LookupKubernetesClusterResultOutput) Tags added in v4.9.0

A list of tag names applied to the node pool.

func (LookupKubernetesClusterResultOutput) ToLookupKubernetesClusterResultOutput added in v4.9.0

func (o LookupKubernetesClusterResultOutput) ToLookupKubernetesClusterResultOutput() LookupKubernetesClusterResultOutput

func (LookupKubernetesClusterResultOutput) ToLookupKubernetesClusterResultOutputWithContext added in v4.9.0

func (o LookupKubernetesClusterResultOutput) ToLookupKubernetesClusterResultOutputWithContext(ctx context.Context) LookupKubernetesClusterResultOutput

func (LookupKubernetesClusterResultOutput) UpdatedAt added in v4.9.0

The date and time when the node was last updated.

func (LookupKubernetesClusterResultOutput) Urn added in v4.9.0

The uniform resource name (URN) for the Kubernetes cluster.

func (LookupKubernetesClusterResultOutput) Version added in v4.9.0

The slug identifier for the version of Kubernetes used for the cluster.

func (LookupKubernetesClusterResultOutput) VpcUuid added in v4.9.0

The ID of the VPC where the Kubernetes cluster is located.

type LookupLoadBalancerArgs

type LookupLoadBalancerArgs struct {
	// The ID of load balancer.
	Id *string `pulumi:"id"`
	// The name of load balancer.
	Name *string `pulumi:"name"`
}

A collection of arguments for invoking getLoadBalancer.

type LookupLoadBalancerOutputArgs added in v4.9.0

type LookupLoadBalancerOutputArgs struct {
	// The ID of load balancer.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The name of load balancer.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

A collection of arguments for invoking getLoadBalancer.

func (LookupLoadBalancerOutputArgs) ElementType added in v4.9.0

type LookupLoadBalancerResult

type LookupLoadBalancerResult struct {
	// Deprecated: This field has been deprecated. You can no longer specify an algorithm for load balancers.
	Algorithm                    string                          `pulumi:"algorithm"`
	DisableLetsEncryptDnsRecords bool                            `pulumi:"disableLetsEncryptDnsRecords"`
	Domains                      []GetLoadBalancerDomain         `pulumi:"domains"`
	DropletIds                   []int                           `pulumi:"dropletIds"`
	DropletTag                   string                          `pulumi:"dropletTag"`
	EnableBackendKeepalive       bool                            `pulumi:"enableBackendKeepalive"`
	EnableProxyProtocol          bool                            `pulumi:"enableProxyProtocol"`
	Firewalls                    []GetLoadBalancerFirewall       `pulumi:"firewalls"`
	ForwardingRules              []GetLoadBalancerForwardingRule `pulumi:"forwardingRules"`
	GlbSettings                  []GetLoadBalancerGlbSetting     `pulumi:"glbSettings"`
	Healthchecks                 []GetLoadBalancerHealthcheck    `pulumi:"healthchecks"`
	HttpIdleTimeoutSeconds       int                             `pulumi:"httpIdleTimeoutSeconds"`
	Id                           *string                         `pulumi:"id"`
	Ip                           string                          `pulumi:"ip"`
	LoadBalancerUrn              string                          `pulumi:"loadBalancerUrn"`
	Name                         *string                         `pulumi:"name"`
	ProjectId                    string                          `pulumi:"projectId"`
	RedirectHttpToHttps          bool                            `pulumi:"redirectHttpToHttps"`
	Region                       string                          `pulumi:"region"`
	Size                         string                          `pulumi:"size"`
	SizeUnit                     int                             `pulumi:"sizeUnit"`
	Status                       string                          `pulumi:"status"`
	StickySessions               []GetLoadBalancerStickySession  `pulumi:"stickySessions"`
	TargetLoadBalancerIds        []string                        `pulumi:"targetLoadBalancerIds"`
	Type                         string                          `pulumi:"type"`
	VpcUuid                      string                          `pulumi:"vpcUuid"`
}

A collection of values returned by getLoadBalancer.

func LookupLoadBalancer

func LookupLoadBalancer(ctx *pulumi.Context, args *LookupLoadBalancerArgs, opts ...pulumi.InvokeOption) (*LookupLoadBalancerResult, error)

Get information on a load balancer for use in other resources. This data source provides all of the load balancers properties as configured on your DigitalOcean account. This is useful if the load balancer in question is not managed by the provider or you need to utilize any of the load balancers data.

An error is triggered if the provided load balancer name does not exist.

## Example Usage

Get the load balancer by name:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := digitalocean.LookupLoadBalancer(ctx, &digitalocean.LookupLoadBalancerArgs{
			Name: pulumi.StringRef("app"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("lbOutput", example.Ip)
		return nil
	})
}

```

Get the load balancer by ID:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.LookupLoadBalancer(ctx, &digitalocean.LookupLoadBalancerArgs{
			Id: pulumi.StringRef("loadbalancer_id"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupLoadBalancerResultOutput added in v4.9.0

type LookupLoadBalancerResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getLoadBalancer.

func LookupLoadBalancerOutput added in v4.9.0

func (LookupLoadBalancerResultOutput) Algorithm deprecated added in v4.9.0

Deprecated: This field has been deprecated. You can no longer specify an algorithm for load balancers.

func (LookupLoadBalancerResultOutput) DisableLetsEncryptDnsRecords added in v4.10.0

func (o LookupLoadBalancerResultOutput) DisableLetsEncryptDnsRecords() pulumi.BoolOutput

func (LookupLoadBalancerResultOutput) Domains added in v4.28.0

func (LookupLoadBalancerResultOutput) DropletIds added in v4.9.0

func (LookupLoadBalancerResultOutput) DropletTag added in v4.9.0

func (LookupLoadBalancerResultOutput) ElementType added in v4.9.0

func (LookupLoadBalancerResultOutput) EnableBackendKeepalive added in v4.9.0

func (o LookupLoadBalancerResultOutput) EnableBackendKeepalive() pulumi.BoolOutput

func (LookupLoadBalancerResultOutput) EnableProxyProtocol added in v4.9.0

func (o LookupLoadBalancerResultOutput) EnableProxyProtocol() pulumi.BoolOutput

func (LookupLoadBalancerResultOutput) Firewalls added in v4.18.0

func (LookupLoadBalancerResultOutput) ForwardingRules added in v4.9.0

func (LookupLoadBalancerResultOutput) GlbSettings added in v4.28.0

func (LookupLoadBalancerResultOutput) Healthchecks added in v4.9.0

func (LookupLoadBalancerResultOutput) HttpIdleTimeoutSeconds added in v4.17.0

func (o LookupLoadBalancerResultOutput) HttpIdleTimeoutSeconds() pulumi.IntOutput

func (LookupLoadBalancerResultOutput) Id added in v4.9.0

func (LookupLoadBalancerResultOutput) Ip added in v4.9.0

func (LookupLoadBalancerResultOutput) LoadBalancerUrn added in v4.9.0

func (LookupLoadBalancerResultOutput) Name added in v4.9.0

func (LookupLoadBalancerResultOutput) ProjectId added in v4.17.0

func (LookupLoadBalancerResultOutput) RedirectHttpToHttps added in v4.9.0

func (o LookupLoadBalancerResultOutput) RedirectHttpToHttps() pulumi.BoolOutput

func (LookupLoadBalancerResultOutput) Region added in v4.9.0

func (LookupLoadBalancerResultOutput) Size added in v4.9.0

func (LookupLoadBalancerResultOutput) SizeUnit added in v4.10.0

func (LookupLoadBalancerResultOutput) Status added in v4.9.0

func (LookupLoadBalancerResultOutput) StickySessions added in v4.9.0

func (LookupLoadBalancerResultOutput) TargetLoadBalancerIds added in v4.28.0

func (o LookupLoadBalancerResultOutput) TargetLoadBalancerIds() pulumi.StringArrayOutput

func (LookupLoadBalancerResultOutput) ToLookupLoadBalancerResultOutput added in v4.9.0

func (o LookupLoadBalancerResultOutput) ToLookupLoadBalancerResultOutput() LookupLoadBalancerResultOutput

func (LookupLoadBalancerResultOutput) ToLookupLoadBalancerResultOutputWithContext added in v4.9.0

func (o LookupLoadBalancerResultOutput) ToLookupLoadBalancerResultOutputWithContext(ctx context.Context) LookupLoadBalancerResultOutput

func (LookupLoadBalancerResultOutput) Type added in v4.23.0

func (LookupLoadBalancerResultOutput) VpcUuid added in v4.9.0

type LookupProjectArgs

type LookupProjectArgs struct {
	// the ID of the project to retrieve
	Id *string `pulumi:"id"`
	// the name of the project to retrieve. The data source will raise an error if more than
	// one project has the provided name or if no project has that name.
	Name *string `pulumi:"name"`
}

A collection of arguments for invoking getProject.

type LookupProjectOutputArgs added in v4.9.0

type LookupProjectOutputArgs struct {
	// the ID of the project to retrieve
	Id pulumi.StringPtrInput `pulumi:"id"`
	// the name of the project to retrieve. The data source will raise an error if more than
	// one project has the provided name or if no project has that name.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

A collection of arguments for invoking getProject.

func (LookupProjectOutputArgs) ElementType added in v4.9.0

func (LookupProjectOutputArgs) ElementType() reflect.Type

type LookupProjectResult

type LookupProjectResult struct {
	// The date and time when the project was created, (ISO8601)
	CreatedAt string `pulumi:"createdAt"`
	// The description of the project
	Description string `pulumi:"description"`
	// The environment of the project's resources. The possible values are: `Development`, `Staging`, `Production`.
	Environment string `pulumi:"environment"`
	Id          string `pulumi:"id"`
	IsDefault   bool   `pulumi:"isDefault"`
	Name        string `pulumi:"name"`
	// The ID of the project owner.
	OwnerId int `pulumi:"ownerId"`
	// The unique universal identifier of the project owner.
	OwnerUuid string `pulumi:"ownerUuid"`
	// The purpose of the project, (Default: "Web Application")
	Purpose string `pulumi:"purpose"`
	// A set of uniform resource names (URNs) for the resources associated with the project
	Resources []string `pulumi:"resources"`
	// The date and time when the project was last updated, (ISO8601)
	UpdatedAt string `pulumi:"updatedAt"`
}

A collection of values returned by getProject.

func LookupProject

func LookupProject(ctx *pulumi.Context, args *LookupProjectArgs, opts ...pulumi.InvokeOption) (*LookupProjectResult, error)

Get information on a single DigitalOcean project. If neither the `id` nor `name` attributes are provided, then this data source returns the default project.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.LookupProject(ctx, nil, nil)
		if err != nil {
			return err
		}
		_, err = digitalocean.LookupProject(ctx, &digitalocean.LookupProjectArgs{
			Name: pulumi.StringRef("My Staging Project"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupProjectResultOutput added in v4.9.0

type LookupProjectResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProject.

func LookupProjectOutput added in v4.9.0

func LookupProjectOutput(ctx *pulumi.Context, args LookupProjectOutputArgs, opts ...pulumi.InvokeOption) LookupProjectResultOutput

func (LookupProjectResultOutput) CreatedAt added in v4.9.0

The date and time when the project was created, (ISO8601)

func (LookupProjectResultOutput) Description added in v4.9.0

The description of the project

func (LookupProjectResultOutput) ElementType added in v4.9.0

func (LookupProjectResultOutput) ElementType() reflect.Type

func (LookupProjectResultOutput) Environment added in v4.9.0

The environment of the project's resources. The possible values are: `Development`, `Staging`, `Production`.

func (LookupProjectResultOutput) Id added in v4.9.0

func (LookupProjectResultOutput) IsDefault added in v4.9.0

func (LookupProjectResultOutput) Name added in v4.9.0

func (LookupProjectResultOutput) OwnerId added in v4.9.0

The ID of the project owner.

func (LookupProjectResultOutput) OwnerUuid added in v4.9.0

The unique universal identifier of the project owner.

func (LookupProjectResultOutput) Purpose added in v4.9.0

The purpose of the project, (Default: "Web Application")

func (LookupProjectResultOutput) Resources added in v4.9.0

A set of uniform resource names (URNs) for the resources associated with the project

func (LookupProjectResultOutput) ToLookupProjectResultOutput added in v4.9.0

func (o LookupProjectResultOutput) ToLookupProjectResultOutput() LookupProjectResultOutput

func (LookupProjectResultOutput) ToLookupProjectResultOutputWithContext added in v4.9.0

func (o LookupProjectResultOutput) ToLookupProjectResultOutputWithContext(ctx context.Context) LookupProjectResultOutput

func (LookupProjectResultOutput) UpdatedAt added in v4.9.0

The date and time when the project was last updated, (ISO8601)

type LookupReservedIpArgs added in v4.14.0

type LookupReservedIpArgs struct {
	// The allocated IP address of the specific reserved IP to retrieve.
	IpAddress string `pulumi:"ipAddress"`
}

A collection of arguments for invoking getReservedIp.

type LookupReservedIpOutputArgs added in v4.14.0

type LookupReservedIpOutputArgs struct {
	// The allocated IP address of the specific reserved IP to retrieve.
	IpAddress pulumi.StringInput `pulumi:"ipAddress"`
}

A collection of arguments for invoking getReservedIp.

func (LookupReservedIpOutputArgs) ElementType added in v4.14.0

func (LookupReservedIpOutputArgs) ElementType() reflect.Type

type LookupReservedIpResult added in v4.14.0

type LookupReservedIpResult struct {
	// The Droplet id that the reserved IP has been assigned to.
	DropletId int `pulumi:"dropletId"`
	// The provider-assigned unique ID for this managed resource.
	Id        string `pulumi:"id"`
	IpAddress string `pulumi:"ipAddress"`
	// The region that the reserved IP is reserved to.
	Region string `pulumi:"region"`
	// The uniform resource name of the reserved IP.
	Urn string `pulumi:"urn"`
}

A collection of values returned by getReservedIp.

func LookupReservedIp added in v4.14.0

func LookupReservedIp(ctx *pulumi.Context, args *LookupReservedIpArgs, opts ...pulumi.InvokeOption) (*LookupReservedIpResult, error)

## Example Usage

Get the reserved IP:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		publicIp := cfg.RequireObject("publicIp")
		example, err := digitalocean.LookupReservedIp(ctx, &digitalocean.LookupReservedIpArgs{
			IpAddress: publicIp,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("fipOutput", example.DropletId)
		return nil
	})
}

```

type LookupReservedIpResultOutput added in v4.14.0

type LookupReservedIpResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getReservedIp.

func LookupReservedIpOutput added in v4.14.0

func (LookupReservedIpResultOutput) DropletId added in v4.14.0

The Droplet id that the reserved IP has been assigned to.

func (LookupReservedIpResultOutput) ElementType added in v4.14.0

func (LookupReservedIpResultOutput) Id added in v4.14.0

The provider-assigned unique ID for this managed resource.

func (LookupReservedIpResultOutput) IpAddress added in v4.14.0

func (LookupReservedIpResultOutput) Region added in v4.14.0

The region that the reserved IP is reserved to.

func (LookupReservedIpResultOutput) ToLookupReservedIpResultOutput added in v4.14.0

func (o LookupReservedIpResultOutput) ToLookupReservedIpResultOutput() LookupReservedIpResultOutput

func (LookupReservedIpResultOutput) ToLookupReservedIpResultOutputWithContext added in v4.14.0

func (o LookupReservedIpResultOutput) ToLookupReservedIpResultOutputWithContext(ctx context.Context) LookupReservedIpResultOutput

func (LookupReservedIpResultOutput) Urn added in v4.14.0

The uniform resource name of the reserved IP.

type LookupSpacesBucketArgs

type LookupSpacesBucketArgs struct {
	// The name of the Spaces bucket.
	Name string `pulumi:"name"`
	// The slug of the region where the bucket is stored.
	Region string `pulumi:"region"`
}

A collection of arguments for invoking getSpacesBucket.

type LookupSpacesBucketObjectArgs

type LookupSpacesBucketObjectArgs struct {
	// The name of the bucket to read the object from.
	Bucket string `pulumi:"bucket"`
	// The full path to the object inside the bucket
	Key   string  `pulumi:"key"`
	Range *string `pulumi:"range"`
	// The slug of the region where the bucket is stored.
	Region string `pulumi:"region"`
	// Specific version ID of the object returned (defaults to latest version)
	VersionId *string `pulumi:"versionId"`
}

A collection of arguments for invoking getSpacesBucketObject.

type LookupSpacesBucketObjectOutputArgs added in v4.9.0

type LookupSpacesBucketObjectOutputArgs struct {
	// The name of the bucket to read the object from.
	Bucket pulumi.StringInput `pulumi:"bucket"`
	// The full path to the object inside the bucket
	Key   pulumi.StringInput    `pulumi:"key"`
	Range pulumi.StringPtrInput `pulumi:"range"`
	// The slug of the region where the bucket is stored.
	Region pulumi.StringInput `pulumi:"region"`
	// Specific version ID of the object returned (defaults to latest version)
	VersionId pulumi.StringPtrInput `pulumi:"versionId"`
}

A collection of arguments for invoking getSpacesBucketObject.

func (LookupSpacesBucketObjectOutputArgs) ElementType added in v4.9.0

type LookupSpacesBucketObjectResult

type LookupSpacesBucketObjectResult struct {
	// Object data (see **limitations above** to understand cases in which this field is actually available)
	Body   string `pulumi:"body"`
	Bucket string `pulumi:"bucket"`
	// Specifies caching behavior along the request/reply chain.
	CacheControl string `pulumi:"cacheControl"`
	// Specifies presentational information for the object.
	ContentDisposition string `pulumi:"contentDisposition"`
	// Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field.
	ContentEncoding string `pulumi:"contentEncoding"`
	// The language the content is in.
	ContentLanguage string `pulumi:"contentLanguage"`
	// Size of the body in bytes.
	ContentLength int `pulumi:"contentLength"`
	// A standard MIME type describing the format of the object data.
	ContentType string `pulumi:"contentType"`
	// [ETag](https://en.wikipedia.org/wiki/HTTP_ETag) generated for the object (an MD5 sum of the object content in case it's not encrypted)
	Etag string `pulumi:"etag"`
	// If the object expiration is configured (see [object lifecycle management](http://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html)), the field includes this header. It includes the expiry-date and rule-id key value pairs providing object expiration information. The value of the rule-id is URL encoded.
	Expiration string `pulumi:"expiration"`
	// The date and time at which the object is no longer cacheable.
	Expires string `pulumi:"expires"`
	// The provider-assigned unique ID for this managed resource.
	Id  string `pulumi:"id"`
	Key string `pulumi:"key"`
	// Last modified date of the object in RFC1123 format (e.g. `Mon, 02 Jan 2006 15:04:05 MST`)
	LastModified string `pulumi:"lastModified"`
	// A map of metadata stored with the object in Spaces
	Metadata map[string]interface{} `pulumi:"metadata"`
	Range    *string                `pulumi:"range"`
	Region   string                 `pulumi:"region"`
	// The latest version ID of the object returned.
	VersionId string `pulumi:"versionId"`
	// If the bucket is configured as a website, redirects requests for this object to another object in the same bucket or to an external URL. Spaces stores the value of this header in the object metadata.
	WebsiteRedirectLocation string `pulumi:"websiteRedirectLocation"`
}

A collection of values returned by getSpacesBucketObject.

func LookupSpacesBucketObject

func LookupSpacesBucketObject(ctx *pulumi.Context, args *LookupSpacesBucketObjectArgs, opts ...pulumi.InvokeOption) (*LookupSpacesBucketObjectResult, error)

The Spaces object data source allows access to the metadata and _optionally_ (see below) content of an object stored inside a Spaces bucket.

> **Note:** The content of an object (`body` field) is available only for objects which have a human-readable `Content-Type` (`text/*` and `application/json`). This is to prevent printing unsafe characters and potentially downloading large amount of data which would be thrown away in favor of metadata.

## Example Usage

The following example retrieves a text object (which must have a `Content-Type` value starting with `text/`) and uses it as the `userData` for a Droplet:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		bootstrapScript, err := digitalocean.LookupSpacesBucketObject(ctx, &digitalocean.LookupSpacesBucketObjectArgs{
			Bucket: "ourcorp-deploy-config",
			Region: "nyc3",
			Key:    "droplet-bootstrap-script.sh",
		}, nil)
		if err != nil {
			return err
		}
		_, err = digitalocean.NewDroplet(ctx, "web", &digitalocean.DropletArgs{
			Image:    pulumi.String("ubuntu-18-04-x64"),
			Region:   pulumi.String(digitalocean.RegionNYC2),
			Size:     pulumi.String(digitalocean.DropletSlugDropletS1VCPU1GB),
			UserData: pulumi.String(bootstrapScript.Body),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupSpacesBucketObjectResultOutput added in v4.9.0

type LookupSpacesBucketObjectResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSpacesBucketObject.

func (LookupSpacesBucketObjectResultOutput) Body added in v4.9.0

Object data (see **limitations above** to understand cases in which this field is actually available)

func (LookupSpacesBucketObjectResultOutput) Bucket added in v4.9.0

func (LookupSpacesBucketObjectResultOutput) CacheControl added in v4.9.0

Specifies caching behavior along the request/reply chain.

func (LookupSpacesBucketObjectResultOutput) ContentDisposition added in v4.9.0

Specifies presentational information for the object.

func (LookupSpacesBucketObjectResultOutput) ContentEncoding added in v4.9.0

Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field.

func (LookupSpacesBucketObjectResultOutput) ContentLanguage added in v4.9.0

The language the content is in.

func (LookupSpacesBucketObjectResultOutput) ContentLength added in v4.9.0

Size of the body in bytes.

func (LookupSpacesBucketObjectResultOutput) ContentType added in v4.9.0

A standard MIME type describing the format of the object data.

func (LookupSpacesBucketObjectResultOutput) ElementType added in v4.9.0

func (LookupSpacesBucketObjectResultOutput) Etag added in v4.9.0

[ETag](https://en.wikipedia.org/wiki/HTTP_ETag) generated for the object (an MD5 sum of the object content in case it's not encrypted)

func (LookupSpacesBucketObjectResultOutput) Expiration added in v4.9.0

If the object expiration is configured (see [object lifecycle management](http://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html)), the field includes this header. It includes the expiry-date and rule-id key value pairs providing object expiration information. The value of the rule-id is URL encoded.

func (LookupSpacesBucketObjectResultOutput) Expires added in v4.9.0

The date and time at which the object is no longer cacheable.

func (LookupSpacesBucketObjectResultOutput) Id added in v4.9.0

The provider-assigned unique ID for this managed resource.

func (LookupSpacesBucketObjectResultOutput) Key added in v4.9.0

func (LookupSpacesBucketObjectResultOutput) LastModified added in v4.9.0

Last modified date of the object in RFC1123 format (e.g. `Mon, 02 Jan 2006 15:04:05 MST`)

func (LookupSpacesBucketObjectResultOutput) Metadata added in v4.9.0

A map of metadata stored with the object in Spaces

func (LookupSpacesBucketObjectResultOutput) Range added in v4.9.0

func (LookupSpacesBucketObjectResultOutput) Region added in v4.9.0

func (LookupSpacesBucketObjectResultOutput) ToLookupSpacesBucketObjectResultOutput added in v4.9.0

func (o LookupSpacesBucketObjectResultOutput) ToLookupSpacesBucketObjectResultOutput() LookupSpacesBucketObjectResultOutput

func (LookupSpacesBucketObjectResultOutput) ToLookupSpacesBucketObjectResultOutputWithContext added in v4.9.0

func (o LookupSpacesBucketObjectResultOutput) ToLookupSpacesBucketObjectResultOutputWithContext(ctx context.Context) LookupSpacesBucketObjectResultOutput

func (LookupSpacesBucketObjectResultOutput) VersionId added in v4.9.0

The latest version ID of the object returned.

func (LookupSpacesBucketObjectResultOutput) WebsiteRedirectLocation added in v4.9.0

func (o LookupSpacesBucketObjectResultOutput) WebsiteRedirectLocation() pulumi.StringOutput

If the bucket is configured as a website, redirects requests for this object to another object in the same bucket or to an external URL. Spaces stores the value of this header in the object metadata.

type LookupSpacesBucketOutputArgs added in v4.9.0

type LookupSpacesBucketOutputArgs struct {
	// The name of the Spaces bucket.
	Name pulumi.StringInput `pulumi:"name"`
	// The slug of the region where the bucket is stored.
	Region pulumi.StringInput `pulumi:"region"`
}

A collection of arguments for invoking getSpacesBucket.

func (LookupSpacesBucketOutputArgs) ElementType added in v4.9.0

type LookupSpacesBucketResult

type LookupSpacesBucketResult struct {
	// The FQDN of the bucket (e.g. bucket-name.nyc3.digitaloceanspaces.com)
	BucketDomainName string `pulumi:"bucketDomainName"`
	// The FQDN of the bucket without the bucket name (e.g. nyc3.digitaloceanspaces.com)
	Endpoint string `pulumi:"endpoint"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name of the Spaces bucket
	Name string `pulumi:"name"`
	// The slug of the region where the bucket is stored.
	Region string `pulumi:"region"`
	// The uniform resource name of the bucket
	Urn string `pulumi:"urn"`
}

A collection of values returned by getSpacesBucket.

func LookupSpacesBucket

func LookupSpacesBucket(ctx *pulumi.Context, args *LookupSpacesBucketArgs, opts ...pulumi.InvokeOption) (*LookupSpacesBucketResult, error)

Get information on a Spaces bucket for use in other resources. This is useful if the Spaces bucket in question is not managed by the provider or you need to utilize any of the bucket's data.

## Example Usage

Get the bucket by name:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := digitalocean.LookupSpacesBucket(ctx, &digitalocean.LookupSpacesBucketArgs{
			Name:   "my-spaces-bucket",
			Region: "nyc3",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("bucketDomainName", example.BucketDomainName)
		return nil
	})
}

```

type LookupSpacesBucketResultOutput added in v4.9.0

type LookupSpacesBucketResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSpacesBucket.

func LookupSpacesBucketOutput added in v4.9.0

func (LookupSpacesBucketResultOutput) BucketDomainName added in v4.9.0

func (o LookupSpacesBucketResultOutput) BucketDomainName() pulumi.StringOutput

The FQDN of the bucket (e.g. bucket-name.nyc3.digitaloceanspaces.com)

func (LookupSpacesBucketResultOutput) ElementType added in v4.9.0

func (LookupSpacesBucketResultOutput) Endpoint added in v4.17.0

The FQDN of the bucket without the bucket name (e.g. nyc3.digitaloceanspaces.com)

func (LookupSpacesBucketResultOutput) Id added in v4.9.0

The provider-assigned unique ID for this managed resource.

func (LookupSpacesBucketResultOutput) Name added in v4.9.0

The name of the Spaces bucket

func (LookupSpacesBucketResultOutput) Region added in v4.9.0

The slug of the region where the bucket is stored.

func (LookupSpacesBucketResultOutput) ToLookupSpacesBucketResultOutput added in v4.9.0

func (o LookupSpacesBucketResultOutput) ToLookupSpacesBucketResultOutput() LookupSpacesBucketResultOutput

func (LookupSpacesBucketResultOutput) ToLookupSpacesBucketResultOutputWithContext added in v4.9.0

func (o LookupSpacesBucketResultOutput) ToLookupSpacesBucketResultOutputWithContext(ctx context.Context) LookupSpacesBucketResultOutput

func (LookupSpacesBucketResultOutput) Urn added in v4.9.0

The uniform resource name of the bucket

type LookupSshKeyArgs

type LookupSshKeyArgs struct {
	// The name of the ssh key.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getSshKey.

type LookupSshKeyOutputArgs added in v4.9.0

type LookupSshKeyOutputArgs struct {
	// The name of the ssh key.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getSshKey.

func (LookupSshKeyOutputArgs) ElementType added in v4.9.0

func (LookupSshKeyOutputArgs) ElementType() reflect.Type

type LookupSshKeyResult

type LookupSshKeyResult struct {
	// The fingerprint of the public key of the ssh key.
	Fingerprint string `pulumi:"fingerprint"`
	// The ID of the ssh key.
	Id   int    `pulumi:"id"`
	Name string `pulumi:"name"`
	// The public key of the ssh key.
	PublicKey string `pulumi:"publicKey"`
}

A collection of values returned by getSshKey.

func LookupSshKey

func LookupSshKey(ctx *pulumi.Context, args *LookupSshKeyArgs, opts ...pulumi.InvokeOption) (*LookupSshKeyResult, error)

Get information on a ssh key. This data source provides the name, public key, and fingerprint as configured on your DigitalOcean account. This is useful if the ssh key in question is not managed by the provider or you need to utilize any of the keys data.

An error is triggered if the provided ssh key name does not exist.

## Example Usage

Get the ssh key:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleSshKey, err := digitalocean.LookupSshKey(ctx, &digitalocean.LookupSshKeyArgs{
			Name: "example",
		}, nil)
		if err != nil {
			return err
		}
		_, err = digitalocean.NewDroplet(ctx, "exampleDroplet", &digitalocean.DropletArgs{
			Image:  pulumi.String("ubuntu-18-04-x64"),
			Region: pulumi.String(digitalocean.RegionNYC2),
			Size:   pulumi.String(digitalocean.DropletSlugDropletS1VCPU1GB),
			SshKeys: pulumi.StringArray{
				pulumi.Int(exampleSshKey.Id),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupSshKeyResultOutput added in v4.9.0

type LookupSshKeyResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSshKey.

func LookupSshKeyOutput added in v4.9.0

func LookupSshKeyOutput(ctx *pulumi.Context, args LookupSshKeyOutputArgs, opts ...pulumi.InvokeOption) LookupSshKeyResultOutput

func (LookupSshKeyResultOutput) ElementType added in v4.9.0

func (LookupSshKeyResultOutput) ElementType() reflect.Type

func (LookupSshKeyResultOutput) Fingerprint added in v4.9.0

The fingerprint of the public key of the ssh key.

func (LookupSshKeyResultOutput) Id added in v4.9.0

The ID of the ssh key.

func (LookupSshKeyResultOutput) Name added in v4.9.0

func (LookupSshKeyResultOutput) PublicKey added in v4.9.0

The public key of the ssh key.

func (LookupSshKeyResultOutput) ToLookupSshKeyResultOutput added in v4.9.0

func (o LookupSshKeyResultOutput) ToLookupSshKeyResultOutput() LookupSshKeyResultOutput

func (LookupSshKeyResultOutput) ToLookupSshKeyResultOutputWithContext added in v4.9.0

func (o LookupSshKeyResultOutput) ToLookupSshKeyResultOutputWithContext(ctx context.Context) LookupSshKeyResultOutput

type LookupTagArgs

type LookupTagArgs struct {
	// The name of the tag.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getTag.

type LookupTagOutputArgs added in v4.9.0

type LookupTagOutputArgs struct {
	// The name of the tag.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getTag.

func (LookupTagOutputArgs) ElementType added in v4.9.0

func (LookupTagOutputArgs) ElementType() reflect.Type

type LookupTagResult

type LookupTagResult struct {
	// A count of the database clusters that the tag is applied to.
	DatabasesCount int `pulumi:"databasesCount"`
	// A count of the Droplets the tag is applied to.
	DropletsCount int `pulumi:"dropletsCount"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A count of the images that the tag is applied to.
	ImagesCount int    `pulumi:"imagesCount"`
	Name        string `pulumi:"name"`
	// A count of the total number of resources that the tag is applied to.
	TotalResourceCount int `pulumi:"totalResourceCount"`
	// A count of the volume snapshots that the tag is applied to.
	VolumeSnapshotsCount int `pulumi:"volumeSnapshotsCount"`
	// A count of the volumes that the tag is applied to.
	VolumesCount int `pulumi:"volumesCount"`
}

A collection of values returned by getTag.

func LookupTag

func LookupTag(ctx *pulumi.Context, args *LookupTagArgs, opts ...pulumi.InvokeOption) (*LookupTagResult, error)

Get information on a tag. This data source provides the name as configured on your DigitalOcean account. This is useful if the tag name in question is not managed by the provider or you need validate if the tag exists in the account.

An error is triggered if the provided tag name does not exist.

## Example Usage

Get the tag:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleTag, err := digitalocean.LookupTag(ctx, &digitalocean.LookupTagArgs{
			Name: "example",
		}, nil)
		if err != nil {
			return err
		}
		_, err = digitalocean.NewDroplet(ctx, "exampleDroplet", &digitalocean.DropletArgs{
			Image:  pulumi.String("ubuntu-18-04-x64"),
			Region: pulumi.String(digitalocean.RegionNYC2),
			Size:   pulumi.String(digitalocean.DropletSlugDropletS1VCPU1GB),
			Tags: pulumi.StringArray{
				pulumi.String(exampleTag.Name),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupTagResultOutput added in v4.9.0

type LookupTagResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTag.

func LookupTagOutput added in v4.9.0

func LookupTagOutput(ctx *pulumi.Context, args LookupTagOutputArgs, opts ...pulumi.InvokeOption) LookupTagResultOutput

func (LookupTagResultOutput) DatabasesCount added in v4.9.0

func (o LookupTagResultOutput) DatabasesCount() pulumi.IntOutput

A count of the database clusters that the tag is applied to.

func (LookupTagResultOutput) DropletsCount added in v4.9.0

func (o LookupTagResultOutput) DropletsCount() pulumi.IntOutput

A count of the Droplets the tag is applied to.

func (LookupTagResultOutput) ElementType added in v4.9.0

func (LookupTagResultOutput) ElementType() reflect.Type

func (LookupTagResultOutput) Id added in v4.9.0

The provider-assigned unique ID for this managed resource.

func (LookupTagResultOutput) ImagesCount added in v4.9.0

func (o LookupTagResultOutput) ImagesCount() pulumi.IntOutput

A count of the images that the tag is applied to.

func (LookupTagResultOutput) Name added in v4.9.0

func (LookupTagResultOutput) ToLookupTagResultOutput added in v4.9.0

func (o LookupTagResultOutput) ToLookupTagResultOutput() LookupTagResultOutput

func (LookupTagResultOutput) ToLookupTagResultOutputWithContext added in v4.9.0

func (o LookupTagResultOutput) ToLookupTagResultOutputWithContext(ctx context.Context) LookupTagResultOutput

func (LookupTagResultOutput) TotalResourceCount added in v4.9.0

func (o LookupTagResultOutput) TotalResourceCount() pulumi.IntOutput

A count of the total number of resources that the tag is applied to.

func (LookupTagResultOutput) VolumeSnapshotsCount added in v4.9.0

func (o LookupTagResultOutput) VolumeSnapshotsCount() pulumi.IntOutput

A count of the volume snapshots that the tag is applied to.

func (LookupTagResultOutput) VolumesCount added in v4.9.0

func (o LookupTagResultOutput) VolumesCount() pulumi.IntOutput

A count of the volumes that the tag is applied to.

type LookupVolumeArgs

type LookupVolumeArgs struct {
	// Text describing a block storage volume.
	Description *string `pulumi:"description"`
	// The name of block storage volume.
	Name string `pulumi:"name"`
	// The region the block storage volume is provisioned in.
	Region *string `pulumi:"region"`
}

A collection of arguments for invoking getVolume.

type LookupVolumeOutputArgs added in v4.9.0

type LookupVolumeOutputArgs struct {
	// Text describing a block storage volume.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The name of block storage volume.
	Name pulumi.StringInput `pulumi:"name"`
	// The region the block storage volume is provisioned in.
	Region pulumi.StringPtrInput `pulumi:"region"`
}

A collection of arguments for invoking getVolume.

func (LookupVolumeOutputArgs) ElementType added in v4.9.0

func (LookupVolumeOutputArgs) ElementType() reflect.Type

type LookupVolumeResult

type LookupVolumeResult struct {
	// Text describing a block storage volume.
	Description *string `pulumi:"description"`
	// A list of associated Droplet ids.
	DropletIds []int `pulumi:"dropletIds"`
	// Filesystem label currently in-use on the block storage volume.
	FilesystemLabel string `pulumi:"filesystemLabel"`
	// Filesystem type currently in-use on the block storage volume.
	FilesystemType string `pulumi:"filesystemType"`
	// The provider-assigned unique ID for this managed resource.
	Id     string  `pulumi:"id"`
	Name   string  `pulumi:"name"`
	Region *string `pulumi:"region"`
	// The size of the block storage volume in GiB.
	Size int `pulumi:"size"`
	// A list of the tags associated to the Volume.
	Tags []string `pulumi:"tags"`
	// The uniform resource name for the storage volume.
	Urn string `pulumi:"urn"`
}

A collection of values returned by getVolume.

func LookupVolume

func LookupVolume(ctx *pulumi.Context, args *LookupVolumeArgs, opts ...pulumi.InvokeOption) (*LookupVolumeResult, error)

Get information on a volume for use in other resources. This data source provides all of the volumes properties as configured on your DigitalOcean account. This is useful if the volume in question is not managed by the provider or you need to utilize any of the volumes data.

An error is triggered if the provided volume name does not exist.

## Example Usage

Get the volume:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.LookupVolume(ctx, &digitalocean.LookupVolumeArgs{
			Name:   "app-data",
			Region: pulumi.StringRef("nyc3"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

Reuse the data about a volume to attach it to a Droplet:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleVolume, err := digitalocean.LookupVolume(ctx, &digitalocean.LookupVolumeArgs{
			Name:   "app-data",
			Region: pulumi.StringRef("nyc3"),
		}, nil)
		if err != nil {
			return err
		}
		exampleDroplet, err := digitalocean.NewDroplet(ctx, "exampleDroplet", &digitalocean.DropletArgs{
			Size:   pulumi.String(digitalocean.DropletSlugDropletS1VCPU1GB),
			Image:  pulumi.String("ubuntu-18-04-x64"),
			Region: pulumi.String(digitalocean.RegionNYC3),
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewVolumeAttachment(ctx, "foobar", &digitalocean.VolumeAttachmentArgs{
			DropletId: exampleDroplet.ID(),
			VolumeId:  pulumi.String(exampleVolume.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupVolumeResultOutput added in v4.9.0

type LookupVolumeResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getVolume.

func LookupVolumeOutput added in v4.9.0

func LookupVolumeOutput(ctx *pulumi.Context, args LookupVolumeOutputArgs, opts ...pulumi.InvokeOption) LookupVolumeResultOutput

func (LookupVolumeResultOutput) Description added in v4.9.0

Text describing a block storage volume.

func (LookupVolumeResultOutput) DropletIds added in v4.9.0

A list of associated Droplet ids.

func (LookupVolumeResultOutput) ElementType added in v4.9.0

func (LookupVolumeResultOutput) ElementType() reflect.Type

func (LookupVolumeResultOutput) FilesystemLabel added in v4.9.0

func (o LookupVolumeResultOutput) FilesystemLabel() pulumi.StringOutput

Filesystem label currently in-use on the block storage volume.

func (LookupVolumeResultOutput) FilesystemType added in v4.9.0

func (o LookupVolumeResultOutput) FilesystemType() pulumi.StringOutput

Filesystem type currently in-use on the block storage volume.

func (LookupVolumeResultOutput) Id added in v4.9.0

The provider-assigned unique ID for this managed resource.

func (LookupVolumeResultOutput) Name added in v4.9.0

func (LookupVolumeResultOutput) Region added in v4.9.0

func (LookupVolumeResultOutput) Size added in v4.9.0

The size of the block storage volume in GiB.

func (LookupVolumeResultOutput) Tags added in v4.9.0

A list of the tags associated to the Volume.

func (LookupVolumeResultOutput) ToLookupVolumeResultOutput added in v4.9.0

func (o LookupVolumeResultOutput) ToLookupVolumeResultOutput() LookupVolumeResultOutput

func (LookupVolumeResultOutput) ToLookupVolumeResultOutputWithContext added in v4.9.0

func (o LookupVolumeResultOutput) ToLookupVolumeResultOutputWithContext(ctx context.Context) LookupVolumeResultOutput

func (LookupVolumeResultOutput) Urn added in v4.9.0

The uniform resource name for the storage volume.

type LookupVolumeSnapshotArgs

type LookupVolumeSnapshotArgs struct {
	// If more than one result is returned, use the most recent volume snapshot.
	//
	// > **NOTE:** If more or less than a single match is returned by the search,
	// the provider will fail. Ensure that your search is specific enough to return
	// a single volume snapshot ID only, or use `mostRecent` to choose the most recent one.
	MostRecent *bool `pulumi:"mostRecent"`
	// The name of the volume snapshot.
	Name *string `pulumi:"name"`
	// A regex string to apply to the volume snapshot list returned by DigitalOcean. This allows more advanced filtering not supported from the DigitalOcean API. This filtering is done locally on what DigitalOcean returns.
	NameRegex *string `pulumi:"nameRegex"`
	// A "slug" representing a DigitalOcean region (e.g. `nyc1`). If set, only volume snapshots available in the region will be returned.
	Region *string `pulumi:"region"`
}

A collection of arguments for invoking getVolumeSnapshot.

type LookupVolumeSnapshotOutputArgs added in v4.9.0

type LookupVolumeSnapshotOutputArgs struct {
	// If more than one result is returned, use the most recent volume snapshot.
	//
	// > **NOTE:** If more or less than a single match is returned by the search,
	// the provider will fail. Ensure that your search is specific enough to return
	// a single volume snapshot ID only, or use `mostRecent` to choose the most recent one.
	MostRecent pulumi.BoolPtrInput `pulumi:"mostRecent"`
	// The name of the volume snapshot.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// A regex string to apply to the volume snapshot list returned by DigitalOcean. This allows more advanced filtering not supported from the DigitalOcean API. This filtering is done locally on what DigitalOcean returns.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// A "slug" representing a DigitalOcean region (e.g. `nyc1`). If set, only volume snapshots available in the region will be returned.
	Region pulumi.StringPtrInput `pulumi:"region"`
}

A collection of arguments for invoking getVolumeSnapshot.

func (LookupVolumeSnapshotOutputArgs) ElementType added in v4.9.0

type LookupVolumeSnapshotResult

type LookupVolumeSnapshotResult struct {
	// The date and time the volume snapshot was created.
	CreatedAt string `pulumi:"createdAt"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The minimum size in gigabytes required for a volume to be created based on this volume snapshot.
	MinDiskSize int     `pulumi:"minDiskSize"`
	MostRecent  *bool   `pulumi:"mostRecent"`
	Name        *string `pulumi:"name"`
	NameRegex   *string `pulumi:"nameRegex"`
	Region      *string `pulumi:"region"`
	// A list of DigitalOcean region "slugs" indicating where the volume snapshot is available.
	Regions []string `pulumi:"regions"`
	// The billable size of the volume snapshot in gigabytes.
	Size float64 `pulumi:"size"`
	// A list of the tags associated to the volume snapshot.
	Tags []string `pulumi:"tags"`
	// The ID of the volume from which the volume snapshot originated.
	VolumeId string `pulumi:"volumeId"`
}

A collection of values returned by getVolumeSnapshot.

func LookupVolumeSnapshot

func LookupVolumeSnapshot(ctx *pulumi.Context, args *LookupVolumeSnapshotArgs, opts ...pulumi.InvokeOption) (*LookupVolumeSnapshotResult, error)

Volume snapshots are saved instances of a block storage volume. Use this data source to retrieve the ID of a DigitalOcean volume snapshot for use in other resources.

## Example Usage

Get the volume snapshot:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.LookupVolumeSnapshot(ctx, &digitalocean.LookupVolumeSnapshotArgs{
			MostRecent: pulumi.BoolRef(true),
			NameRegex:  pulumi.StringRef("^web"),
			Region:     pulumi.StringRef("nyc3"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

Reuse the data about a volume snapshot to create a new volume based on it:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		snapshot, err := digitalocean.LookupVolumeSnapshot(ctx, &digitalocean.LookupVolumeSnapshotArgs{
			NameRegex:  pulumi.StringRef("^web"),
			Region:     pulumi.StringRef("nyc3"),
			MostRecent: pulumi.BoolRef(true),
		}, nil)
		if err != nil {
			return err
		}
		_, err = digitalocean.NewVolume(ctx, "foobar", &digitalocean.VolumeArgs{
			Region:     pulumi.String(digitalocean.RegionNYC3),
			Size:       pulumi.Int(100),
			SnapshotId: pulumi.String(snapshot.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupVolumeSnapshotResultOutput added in v4.9.0

type LookupVolumeSnapshotResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getVolumeSnapshot.

func LookupVolumeSnapshotOutput added in v4.9.0

func (LookupVolumeSnapshotResultOutput) CreatedAt added in v4.9.0

The date and time the volume snapshot was created.

func (LookupVolumeSnapshotResultOutput) ElementType added in v4.9.0

func (LookupVolumeSnapshotResultOutput) Id added in v4.9.0

The provider-assigned unique ID for this managed resource.

func (LookupVolumeSnapshotResultOutput) MinDiskSize added in v4.9.0

The minimum size in gigabytes required for a volume to be created based on this volume snapshot.

func (LookupVolumeSnapshotResultOutput) MostRecent added in v4.9.0

func (LookupVolumeSnapshotResultOutput) Name added in v4.9.0

func (LookupVolumeSnapshotResultOutput) NameRegex added in v4.9.0

func (LookupVolumeSnapshotResultOutput) Region added in v4.9.0

func (LookupVolumeSnapshotResultOutput) Regions added in v4.9.0

A list of DigitalOcean region "slugs" indicating where the volume snapshot is available.

func (LookupVolumeSnapshotResultOutput) Size added in v4.9.0

The billable size of the volume snapshot in gigabytes.

func (LookupVolumeSnapshotResultOutput) Tags added in v4.9.0

A list of the tags associated to the volume snapshot.

func (LookupVolumeSnapshotResultOutput) ToLookupVolumeSnapshotResultOutput added in v4.9.0

func (o LookupVolumeSnapshotResultOutput) ToLookupVolumeSnapshotResultOutput() LookupVolumeSnapshotResultOutput

func (LookupVolumeSnapshotResultOutput) ToLookupVolumeSnapshotResultOutputWithContext added in v4.9.0

func (o LookupVolumeSnapshotResultOutput) ToLookupVolumeSnapshotResultOutputWithContext(ctx context.Context) LookupVolumeSnapshotResultOutput

func (LookupVolumeSnapshotResultOutput) VolumeId added in v4.9.0

The ID of the volume from which the volume snapshot originated.

type LookupVpcArgs

type LookupVpcArgs struct {
	// The unique identifier of an existing VPC.
	Id *string `pulumi:"id"`
	// The name of an existing VPC.
	Name *string `pulumi:"name"`
	// The DigitalOcean region slug for the VPC's location.
	Region *string `pulumi:"region"`
}

A collection of arguments for invoking getVpc.

type LookupVpcOutputArgs added in v4.9.0

type LookupVpcOutputArgs struct {
	// The unique identifier of an existing VPC.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The name of an existing VPC.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The DigitalOcean region slug for the VPC's location.
	Region pulumi.StringPtrInput `pulumi:"region"`
}

A collection of arguments for invoking getVpc.

func (LookupVpcOutputArgs) ElementType added in v4.9.0

func (LookupVpcOutputArgs) ElementType() reflect.Type

type LookupVpcResult

type LookupVpcResult struct {
	// The date and time of when the VPC was created.
	CreatedAt string `pulumi:"createdAt"`
	// A boolean indicating whether or not the VPC is the default one for the region.
	Default bool `pulumi:"default"`
	// A free-form text field describing the VPC.
	Description string `pulumi:"description"`
	// The unique identifier for the VPC.
	Id string `pulumi:"id"`
	// The range of IP addresses for the VPC in CIDR notation.
	IpRange string `pulumi:"ipRange"`
	// The name of the VPC.
	Name string `pulumi:"name"`
	// The DigitalOcean region slug for the VPC's location.
	Region string `pulumi:"region"`
	// The uniform resource name (URN) for the VPC.
	Urn string `pulumi:"urn"`
}

A collection of values returned by getVpc.

func LookupVpc

func LookupVpc(ctx *pulumi.Context, args *LookupVpcArgs, opts ...pulumi.InvokeOption) (*LookupVpcResult, error)

Retrieve information about a VPC for use in other resources.

This data source provides all of the VPC's properties as configured on your DigitalOcean account. This is useful if the VPC in question is not managed by the provider or you need to utilize any of the VPC's data.

VPCs may be looked up by `id` or `name`. Specifying a `region` will return that that region's default VPC.

## Example Usage

### VPC By Name

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.LookupVpc(ctx, &digitalocean.LookupVpcArgs{
			Name: pulumi.StringRef("example-network"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

Reuse the data about a VPC to assign a Droplet to it:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleVpc, err := digitalocean.LookupVpc(ctx, &digitalocean.LookupVpcArgs{
			Name: pulumi.StringRef("example-network"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = digitalocean.NewDroplet(ctx, "exampleDroplet", &digitalocean.DropletArgs{
			Size:    pulumi.String(digitalocean.DropletSlugDropletS1VCPU1GB),
			Image:   pulumi.String("ubuntu-18-04-x64"),
			Region:  pulumi.String(digitalocean.RegionNYC3),
			VpcUuid: pulumi.String(exampleVpc.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupVpcResultOutput added in v4.9.0

type LookupVpcResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getVpc.

func LookupVpcOutput added in v4.9.0

func LookupVpcOutput(ctx *pulumi.Context, args LookupVpcOutputArgs, opts ...pulumi.InvokeOption) LookupVpcResultOutput

func (LookupVpcResultOutput) CreatedAt added in v4.9.0

The date and time of when the VPC was created.

func (LookupVpcResultOutput) Default added in v4.9.0

A boolean indicating whether or not the VPC is the default one for the region.

func (LookupVpcResultOutput) Description added in v4.9.0

func (o LookupVpcResultOutput) Description() pulumi.StringOutput

A free-form text field describing the VPC.

func (LookupVpcResultOutput) ElementType added in v4.9.0

func (LookupVpcResultOutput) ElementType() reflect.Type

func (LookupVpcResultOutput) Id added in v4.9.0

The unique identifier for the VPC.

func (LookupVpcResultOutput) IpRange added in v4.9.0

The range of IP addresses for the VPC in CIDR notation.

func (LookupVpcResultOutput) Name added in v4.9.0

The name of the VPC.

func (LookupVpcResultOutput) Region added in v4.9.0

The DigitalOcean region slug for the VPC's location.

func (LookupVpcResultOutput) ToLookupVpcResultOutput added in v4.9.0

func (o LookupVpcResultOutput) ToLookupVpcResultOutput() LookupVpcResultOutput

func (LookupVpcResultOutput) ToLookupVpcResultOutputWithContext added in v4.9.0

func (o LookupVpcResultOutput) ToLookupVpcResultOutputWithContext(ctx context.Context) LookupVpcResultOutput

func (LookupVpcResultOutput) Urn added in v4.9.0

The uniform resource name (URN) for the VPC.

type MonitorAlert added in v4.7.0

type MonitorAlert struct {
	pulumi.CustomResourceState

	// How to send notifications about the alerts. This is a list with one element, .
	// Note that for Slack, the DigitalOcean app needs to have permissions for your workspace. You can
	// read more in [Slack's documentation](https://slack.com/intl/en-dk/help/articles/222386767-Manage-app-installation-settings-for-your-workspace)
	Alerts MonitorAlertAlertsOutput `pulumi:"alerts"`
	// The comparison for `value`.
	// This may be either `GreaterThan` or `LessThan`.
	Compare pulumi.StringOutput `pulumi:"compare"`
	// The description of the alert.
	Description pulumi.StringOutput `pulumi:"description"`
	// The status of the alert.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// A list of IDs for the resources to which the alert policy applies.
	Entities pulumi.StringArrayOutput `pulumi:"entities"`
	// A list of tags. When an included tag is added to a resource, the alert policy will apply to it.
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
	// The type of the alert.
	// This may be one of `v1/insights/droplet/load_1`, `v1/insights/droplet/load_5`, `v1/insights/droplet/load_15`,
	// `v1/insights/droplet/memory_utilization_percent`, `v1/insights/droplet/disk_utilization_percent`,
	// `v1/insights/droplet/cpu`, `v1/insights/droplet/disk_read`, `v1/insights/droplet/disk_write`,
	// `v1/insights/droplet/public_outbound_bandwidth`, `v1/insights/droplet/public_inbound_bandwidth`,
	// `v1/insights/droplet/private_outbound_bandwidth`, `v1/insights/droplet/private_inbound_bandwidth`,
	// `v1/insights/lbaas/avg_cpu_utilization_percent`, `v1/insights/lbaas/connection_utilization_percent`,
	// `v1/insights/lbaas/droplet_health`, `v1/insights/lbaas/tls_connections_per_second_utilization_percent`,
	// `v1/insights/lbaas/increase_in_http_error_rate_percentage_5xx`, `v1/insights/lbaas/increase_in_http_error_rate_percentage_4xx`,
	// `v1/insights/lbaas/increase_in_http_error_rate_count_5xx`, `v1/insights/lbaas/increase_in_http_error_rate_count_4xx`,
	// `v1/insights/lbaas/high_http_request_response_time`, `v1/insights/lbaas/high_http_request_response_time_50p`,
	// `v1/insights/lbaas/high_http_request_response_time_95p`, `v1/insights/lbaas/high_http_request_response_time_99p`,
	// `v1/dbaas/alerts/load_15_alerts`, `v1/dbaas/alerts/cpu_alerts`, `v1/dbaas/alerts/memory_utilization_alerts`, or
	// `v1/dbaas/alerts/disk_utilization_alerts`.
	Type pulumi.StringOutput `pulumi:"type"`
	// The uuid of the alert.
	Uuid pulumi.StringOutput `pulumi:"uuid"`
	// The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number.
	// DigitalOcean will show the correct unit in the web panel.
	Value pulumi.Float64Output `pulumi:"value"`
	// The time frame of the alert. Either `5m`, `10m`, `30m`, or `1h`.
	Window pulumi.StringOutput `pulumi:"window"`
}

Provides a [DigitalOcean Monitoring](https://docs.digitalocean.com/reference/api/api-reference/#tag/Monitoring) resource. Monitor alerts can be configured to alert about, e.g., disk or memory usage exceeding a certain threshold or traffic at a certain limit. Notifications can be sent to either an email address or a Slack channel.

> **Note** Currently, the [DigitalOcean API](https://docs.digitalocean.com/reference/api/api-reference/#operation/create_alert_policy) only supports creating alerts for Droplets.

## Import

Monitor alerts can be imported using the monitor alert `uuid`, e.g.

```sh $ pulumi import digitalocean:index/monitorAlert:MonitorAlert cpu_alert b8ecd2ab-2267-4a5e-8692-cbf1d32583e3 ```

func GetMonitorAlert added in v4.7.0

func GetMonitorAlert(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MonitorAlertState, opts ...pulumi.ResourceOption) (*MonitorAlert, error)

GetMonitorAlert gets an existing MonitorAlert 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 NewMonitorAlert added in v4.7.0

func NewMonitorAlert(ctx *pulumi.Context,
	name string, args *MonitorAlertArgs, opts ...pulumi.ResourceOption) (*MonitorAlert, error)

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

func (*MonitorAlert) ElementType added in v4.7.0

func (*MonitorAlert) ElementType() reflect.Type

func (*MonitorAlert) ToMonitorAlertOutput added in v4.7.0

func (i *MonitorAlert) ToMonitorAlertOutput() MonitorAlertOutput

func (*MonitorAlert) ToMonitorAlertOutputWithContext added in v4.7.0

func (i *MonitorAlert) ToMonitorAlertOutputWithContext(ctx context.Context) MonitorAlertOutput

type MonitorAlertAlerts added in v4.7.0

type MonitorAlertAlerts struct {
	// List of email addresses to sent notifications to
	Emails []string                  `pulumi:"emails"`
	Slacks []MonitorAlertAlertsSlack `pulumi:"slacks"`
}

type MonitorAlertAlertsArgs added in v4.7.0

type MonitorAlertAlertsArgs struct {
	// List of email addresses to sent notifications to
	Emails pulumi.StringArrayInput           `pulumi:"emails"`
	Slacks MonitorAlertAlertsSlackArrayInput `pulumi:"slacks"`
}

func (MonitorAlertAlertsArgs) ElementType added in v4.7.0

func (MonitorAlertAlertsArgs) ElementType() reflect.Type

func (MonitorAlertAlertsArgs) ToMonitorAlertAlertsOutput added in v4.7.0

func (i MonitorAlertAlertsArgs) ToMonitorAlertAlertsOutput() MonitorAlertAlertsOutput

func (MonitorAlertAlertsArgs) ToMonitorAlertAlertsOutputWithContext added in v4.7.0

func (i MonitorAlertAlertsArgs) ToMonitorAlertAlertsOutputWithContext(ctx context.Context) MonitorAlertAlertsOutput

func (MonitorAlertAlertsArgs) ToMonitorAlertAlertsPtrOutput added in v4.7.0

func (i MonitorAlertAlertsArgs) ToMonitorAlertAlertsPtrOutput() MonitorAlertAlertsPtrOutput

func (MonitorAlertAlertsArgs) ToMonitorAlertAlertsPtrOutputWithContext added in v4.7.0

func (i MonitorAlertAlertsArgs) ToMonitorAlertAlertsPtrOutputWithContext(ctx context.Context) MonitorAlertAlertsPtrOutput

type MonitorAlertAlertsInput added in v4.7.0

type MonitorAlertAlertsInput interface {
	pulumi.Input

	ToMonitorAlertAlertsOutput() MonitorAlertAlertsOutput
	ToMonitorAlertAlertsOutputWithContext(context.Context) MonitorAlertAlertsOutput
}

MonitorAlertAlertsInput is an input type that accepts MonitorAlertAlertsArgs and MonitorAlertAlertsOutput values. You can construct a concrete instance of `MonitorAlertAlertsInput` via:

MonitorAlertAlertsArgs{...}

type MonitorAlertAlertsOutput added in v4.7.0

type MonitorAlertAlertsOutput struct{ *pulumi.OutputState }

func (MonitorAlertAlertsOutput) ElementType added in v4.7.0

func (MonitorAlertAlertsOutput) ElementType() reflect.Type

func (MonitorAlertAlertsOutput) Emails added in v4.7.0

List of email addresses to sent notifications to

func (MonitorAlertAlertsOutput) Slacks added in v4.7.0

func (MonitorAlertAlertsOutput) ToMonitorAlertAlertsOutput added in v4.7.0

func (o MonitorAlertAlertsOutput) ToMonitorAlertAlertsOutput() MonitorAlertAlertsOutput

func (MonitorAlertAlertsOutput) ToMonitorAlertAlertsOutputWithContext added in v4.7.0

func (o MonitorAlertAlertsOutput) ToMonitorAlertAlertsOutputWithContext(ctx context.Context) MonitorAlertAlertsOutput

func (MonitorAlertAlertsOutput) ToMonitorAlertAlertsPtrOutput added in v4.7.0

func (o MonitorAlertAlertsOutput) ToMonitorAlertAlertsPtrOutput() MonitorAlertAlertsPtrOutput

func (MonitorAlertAlertsOutput) ToMonitorAlertAlertsPtrOutputWithContext added in v4.7.0

func (o MonitorAlertAlertsOutput) ToMonitorAlertAlertsPtrOutputWithContext(ctx context.Context) MonitorAlertAlertsPtrOutput

type MonitorAlertAlertsPtrInput added in v4.7.0

type MonitorAlertAlertsPtrInput interface {
	pulumi.Input

	ToMonitorAlertAlertsPtrOutput() MonitorAlertAlertsPtrOutput
	ToMonitorAlertAlertsPtrOutputWithContext(context.Context) MonitorAlertAlertsPtrOutput
}

MonitorAlertAlertsPtrInput is an input type that accepts MonitorAlertAlertsArgs, MonitorAlertAlertsPtr and MonitorAlertAlertsPtrOutput values. You can construct a concrete instance of `MonitorAlertAlertsPtrInput` via:

        MonitorAlertAlertsArgs{...}

or:

        nil

func MonitorAlertAlertsPtr added in v4.7.0

func MonitorAlertAlertsPtr(v *MonitorAlertAlertsArgs) MonitorAlertAlertsPtrInput

type MonitorAlertAlertsPtrOutput added in v4.7.0

type MonitorAlertAlertsPtrOutput struct{ *pulumi.OutputState }

func (MonitorAlertAlertsPtrOutput) Elem added in v4.7.0

func (MonitorAlertAlertsPtrOutput) ElementType added in v4.7.0

func (MonitorAlertAlertsPtrOutput) Emails added in v4.7.0

List of email addresses to sent notifications to

func (MonitorAlertAlertsPtrOutput) Slacks added in v4.7.0

func (MonitorAlertAlertsPtrOutput) ToMonitorAlertAlertsPtrOutput added in v4.7.0

func (o MonitorAlertAlertsPtrOutput) ToMonitorAlertAlertsPtrOutput() MonitorAlertAlertsPtrOutput

func (MonitorAlertAlertsPtrOutput) ToMonitorAlertAlertsPtrOutputWithContext added in v4.7.0

func (o MonitorAlertAlertsPtrOutput) ToMonitorAlertAlertsPtrOutputWithContext(ctx context.Context) MonitorAlertAlertsPtrOutput

type MonitorAlertAlertsSlack added in v4.7.0

type MonitorAlertAlertsSlack struct {
	// The Slack channel to send alerts to
	Channel string `pulumi:"channel"`
	// The webhook URL for Slack
	Url string `pulumi:"url"`
}

type MonitorAlertAlertsSlackArgs added in v4.7.0

type MonitorAlertAlertsSlackArgs struct {
	// The Slack channel to send alerts to
	Channel pulumi.StringInput `pulumi:"channel"`
	// The webhook URL for Slack
	Url pulumi.StringInput `pulumi:"url"`
}

func (MonitorAlertAlertsSlackArgs) ElementType added in v4.7.0

func (MonitorAlertAlertsSlackArgs) ToMonitorAlertAlertsSlackOutput added in v4.7.0

func (i MonitorAlertAlertsSlackArgs) ToMonitorAlertAlertsSlackOutput() MonitorAlertAlertsSlackOutput

func (MonitorAlertAlertsSlackArgs) ToMonitorAlertAlertsSlackOutputWithContext added in v4.7.0

func (i MonitorAlertAlertsSlackArgs) ToMonitorAlertAlertsSlackOutputWithContext(ctx context.Context) MonitorAlertAlertsSlackOutput

type MonitorAlertAlertsSlackArray added in v4.7.0

type MonitorAlertAlertsSlackArray []MonitorAlertAlertsSlackInput

func (MonitorAlertAlertsSlackArray) ElementType added in v4.7.0

func (MonitorAlertAlertsSlackArray) ToMonitorAlertAlertsSlackArrayOutput added in v4.7.0

func (i MonitorAlertAlertsSlackArray) ToMonitorAlertAlertsSlackArrayOutput() MonitorAlertAlertsSlackArrayOutput

func (MonitorAlertAlertsSlackArray) ToMonitorAlertAlertsSlackArrayOutputWithContext added in v4.7.0

func (i MonitorAlertAlertsSlackArray) ToMonitorAlertAlertsSlackArrayOutputWithContext(ctx context.Context) MonitorAlertAlertsSlackArrayOutput

type MonitorAlertAlertsSlackArrayInput added in v4.7.0

type MonitorAlertAlertsSlackArrayInput interface {
	pulumi.Input

	ToMonitorAlertAlertsSlackArrayOutput() MonitorAlertAlertsSlackArrayOutput
	ToMonitorAlertAlertsSlackArrayOutputWithContext(context.Context) MonitorAlertAlertsSlackArrayOutput
}

MonitorAlertAlertsSlackArrayInput is an input type that accepts MonitorAlertAlertsSlackArray and MonitorAlertAlertsSlackArrayOutput values. You can construct a concrete instance of `MonitorAlertAlertsSlackArrayInput` via:

MonitorAlertAlertsSlackArray{ MonitorAlertAlertsSlackArgs{...} }

type MonitorAlertAlertsSlackArrayOutput added in v4.7.0

type MonitorAlertAlertsSlackArrayOutput struct{ *pulumi.OutputState }

func (MonitorAlertAlertsSlackArrayOutput) ElementType added in v4.7.0

func (MonitorAlertAlertsSlackArrayOutput) Index added in v4.7.0

func (MonitorAlertAlertsSlackArrayOutput) ToMonitorAlertAlertsSlackArrayOutput added in v4.7.0

func (o MonitorAlertAlertsSlackArrayOutput) ToMonitorAlertAlertsSlackArrayOutput() MonitorAlertAlertsSlackArrayOutput

func (MonitorAlertAlertsSlackArrayOutput) ToMonitorAlertAlertsSlackArrayOutputWithContext added in v4.7.0

func (o MonitorAlertAlertsSlackArrayOutput) ToMonitorAlertAlertsSlackArrayOutputWithContext(ctx context.Context) MonitorAlertAlertsSlackArrayOutput

type MonitorAlertAlertsSlackInput added in v4.7.0

type MonitorAlertAlertsSlackInput interface {
	pulumi.Input

	ToMonitorAlertAlertsSlackOutput() MonitorAlertAlertsSlackOutput
	ToMonitorAlertAlertsSlackOutputWithContext(context.Context) MonitorAlertAlertsSlackOutput
}

MonitorAlertAlertsSlackInput is an input type that accepts MonitorAlertAlertsSlackArgs and MonitorAlertAlertsSlackOutput values. You can construct a concrete instance of `MonitorAlertAlertsSlackInput` via:

MonitorAlertAlertsSlackArgs{...}

type MonitorAlertAlertsSlackOutput added in v4.7.0

type MonitorAlertAlertsSlackOutput struct{ *pulumi.OutputState }

func (MonitorAlertAlertsSlackOutput) Channel added in v4.7.0

The Slack channel to send alerts to

func (MonitorAlertAlertsSlackOutput) ElementType added in v4.7.0

func (MonitorAlertAlertsSlackOutput) ToMonitorAlertAlertsSlackOutput added in v4.7.0

func (o MonitorAlertAlertsSlackOutput) ToMonitorAlertAlertsSlackOutput() MonitorAlertAlertsSlackOutput

func (MonitorAlertAlertsSlackOutput) ToMonitorAlertAlertsSlackOutputWithContext added in v4.7.0

func (o MonitorAlertAlertsSlackOutput) ToMonitorAlertAlertsSlackOutputWithContext(ctx context.Context) MonitorAlertAlertsSlackOutput

func (MonitorAlertAlertsSlackOutput) Url added in v4.7.0

The webhook URL for Slack

type MonitorAlertArgs added in v4.7.0

type MonitorAlertArgs struct {
	// How to send notifications about the alerts. This is a list with one element, .
	// Note that for Slack, the DigitalOcean app needs to have permissions for your workspace. You can
	// read more in [Slack's documentation](https://slack.com/intl/en-dk/help/articles/222386767-Manage-app-installation-settings-for-your-workspace)
	Alerts MonitorAlertAlertsInput
	// The comparison for `value`.
	// This may be either `GreaterThan` or `LessThan`.
	Compare pulumi.StringInput
	// The description of the alert.
	Description pulumi.StringInput
	// The status of the alert.
	Enabled pulumi.BoolPtrInput
	// A list of IDs for the resources to which the alert policy applies.
	Entities pulumi.StringArrayInput
	// A list of tags. When an included tag is added to a resource, the alert policy will apply to it.
	Tags pulumi.StringArrayInput
	// The type of the alert.
	// This may be one of `v1/insights/droplet/load_1`, `v1/insights/droplet/load_5`, `v1/insights/droplet/load_15`,
	// `v1/insights/droplet/memory_utilization_percent`, `v1/insights/droplet/disk_utilization_percent`,
	// `v1/insights/droplet/cpu`, `v1/insights/droplet/disk_read`, `v1/insights/droplet/disk_write`,
	// `v1/insights/droplet/public_outbound_bandwidth`, `v1/insights/droplet/public_inbound_bandwidth`,
	// `v1/insights/droplet/private_outbound_bandwidth`, `v1/insights/droplet/private_inbound_bandwidth`,
	// `v1/insights/lbaas/avg_cpu_utilization_percent`, `v1/insights/lbaas/connection_utilization_percent`,
	// `v1/insights/lbaas/droplet_health`, `v1/insights/lbaas/tls_connections_per_second_utilization_percent`,
	// `v1/insights/lbaas/increase_in_http_error_rate_percentage_5xx`, `v1/insights/lbaas/increase_in_http_error_rate_percentage_4xx`,
	// `v1/insights/lbaas/increase_in_http_error_rate_count_5xx`, `v1/insights/lbaas/increase_in_http_error_rate_count_4xx`,
	// `v1/insights/lbaas/high_http_request_response_time`, `v1/insights/lbaas/high_http_request_response_time_50p`,
	// `v1/insights/lbaas/high_http_request_response_time_95p`, `v1/insights/lbaas/high_http_request_response_time_99p`,
	// `v1/dbaas/alerts/load_15_alerts`, `v1/dbaas/alerts/cpu_alerts`, `v1/dbaas/alerts/memory_utilization_alerts`, or
	// `v1/dbaas/alerts/disk_utilization_alerts`.
	Type pulumi.StringInput
	// The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number.
	// DigitalOcean will show the correct unit in the web panel.
	Value pulumi.Float64Input
	// The time frame of the alert. Either `5m`, `10m`, `30m`, or `1h`.
	Window pulumi.StringInput
}

The set of arguments for constructing a MonitorAlert resource.

func (MonitorAlertArgs) ElementType added in v4.7.0

func (MonitorAlertArgs) ElementType() reflect.Type

type MonitorAlertArray added in v4.7.0

type MonitorAlertArray []MonitorAlertInput

func (MonitorAlertArray) ElementType added in v4.7.0

func (MonitorAlertArray) ElementType() reflect.Type

func (MonitorAlertArray) ToMonitorAlertArrayOutput added in v4.7.0

func (i MonitorAlertArray) ToMonitorAlertArrayOutput() MonitorAlertArrayOutput

func (MonitorAlertArray) ToMonitorAlertArrayOutputWithContext added in v4.7.0

func (i MonitorAlertArray) ToMonitorAlertArrayOutputWithContext(ctx context.Context) MonitorAlertArrayOutput

type MonitorAlertArrayInput added in v4.7.0

type MonitorAlertArrayInput interface {
	pulumi.Input

	ToMonitorAlertArrayOutput() MonitorAlertArrayOutput
	ToMonitorAlertArrayOutputWithContext(context.Context) MonitorAlertArrayOutput
}

MonitorAlertArrayInput is an input type that accepts MonitorAlertArray and MonitorAlertArrayOutput values. You can construct a concrete instance of `MonitorAlertArrayInput` via:

MonitorAlertArray{ MonitorAlertArgs{...} }

type MonitorAlertArrayOutput added in v4.7.0

type MonitorAlertArrayOutput struct{ *pulumi.OutputState }

func (MonitorAlertArrayOutput) ElementType added in v4.7.0

func (MonitorAlertArrayOutput) ElementType() reflect.Type

func (MonitorAlertArrayOutput) Index added in v4.7.0

func (MonitorAlertArrayOutput) ToMonitorAlertArrayOutput added in v4.7.0

func (o MonitorAlertArrayOutput) ToMonitorAlertArrayOutput() MonitorAlertArrayOutput

func (MonitorAlertArrayOutput) ToMonitorAlertArrayOutputWithContext added in v4.7.0

func (o MonitorAlertArrayOutput) ToMonitorAlertArrayOutputWithContext(ctx context.Context) MonitorAlertArrayOutput

type MonitorAlertInput added in v4.7.0

type MonitorAlertInput interface {
	pulumi.Input

	ToMonitorAlertOutput() MonitorAlertOutput
	ToMonitorAlertOutputWithContext(ctx context.Context) MonitorAlertOutput
}

type MonitorAlertMap added in v4.7.0

type MonitorAlertMap map[string]MonitorAlertInput

func (MonitorAlertMap) ElementType added in v4.7.0

func (MonitorAlertMap) ElementType() reflect.Type

func (MonitorAlertMap) ToMonitorAlertMapOutput added in v4.7.0

func (i MonitorAlertMap) ToMonitorAlertMapOutput() MonitorAlertMapOutput

func (MonitorAlertMap) ToMonitorAlertMapOutputWithContext added in v4.7.0

func (i MonitorAlertMap) ToMonitorAlertMapOutputWithContext(ctx context.Context) MonitorAlertMapOutput

type MonitorAlertMapInput added in v4.7.0

type MonitorAlertMapInput interface {
	pulumi.Input

	ToMonitorAlertMapOutput() MonitorAlertMapOutput
	ToMonitorAlertMapOutputWithContext(context.Context) MonitorAlertMapOutput
}

MonitorAlertMapInput is an input type that accepts MonitorAlertMap and MonitorAlertMapOutput values. You can construct a concrete instance of `MonitorAlertMapInput` via:

MonitorAlertMap{ "key": MonitorAlertArgs{...} }

type MonitorAlertMapOutput added in v4.7.0

type MonitorAlertMapOutput struct{ *pulumi.OutputState }

func (MonitorAlertMapOutput) ElementType added in v4.7.0

func (MonitorAlertMapOutput) ElementType() reflect.Type

func (MonitorAlertMapOutput) MapIndex added in v4.7.0

func (MonitorAlertMapOutput) ToMonitorAlertMapOutput added in v4.7.0

func (o MonitorAlertMapOutput) ToMonitorAlertMapOutput() MonitorAlertMapOutput

func (MonitorAlertMapOutput) ToMonitorAlertMapOutputWithContext added in v4.7.0

func (o MonitorAlertMapOutput) ToMonitorAlertMapOutputWithContext(ctx context.Context) MonitorAlertMapOutput

type MonitorAlertOutput added in v4.7.0

type MonitorAlertOutput struct{ *pulumi.OutputState }

func (MonitorAlertOutput) Alerts added in v4.13.0

How to send notifications about the alerts. This is a list with one element, . Note that for Slack, the DigitalOcean app needs to have permissions for your workspace. You can read more in [Slack's documentation](https://slack.com/intl/en-dk/help/articles/222386767-Manage-app-installation-settings-for-your-workspace)

func (MonitorAlertOutput) Compare added in v4.13.0

The comparison for `value`. This may be either `GreaterThan` or `LessThan`.

func (MonitorAlertOutput) Description added in v4.13.0

func (o MonitorAlertOutput) Description() pulumi.StringOutput

The description of the alert.

func (MonitorAlertOutput) ElementType added in v4.7.0

func (MonitorAlertOutput) ElementType() reflect.Type

func (MonitorAlertOutput) Enabled added in v4.13.0

The status of the alert.

func (MonitorAlertOutput) Entities added in v4.13.0

A list of IDs for the resources to which the alert policy applies.

func (MonitorAlertOutput) Tags added in v4.13.0

A list of tags. When an included tag is added to a resource, the alert policy will apply to it.

func (MonitorAlertOutput) ToMonitorAlertOutput added in v4.7.0

func (o MonitorAlertOutput) ToMonitorAlertOutput() MonitorAlertOutput

func (MonitorAlertOutput) ToMonitorAlertOutputWithContext added in v4.7.0

func (o MonitorAlertOutput) ToMonitorAlertOutputWithContext(ctx context.Context) MonitorAlertOutput

func (MonitorAlertOutput) Type added in v4.13.0

The type of the alert. This may be one of `v1/insights/droplet/load_1`, `v1/insights/droplet/load_5`, `v1/insights/droplet/load_15`, `v1/insights/droplet/memory_utilization_percent`, `v1/insights/droplet/disk_utilization_percent`, `v1/insights/droplet/cpu`, `v1/insights/droplet/disk_read`, `v1/insights/droplet/disk_write`, `v1/insights/droplet/public_outbound_bandwidth`, `v1/insights/droplet/public_inbound_bandwidth`, `v1/insights/droplet/private_outbound_bandwidth`, `v1/insights/droplet/private_inbound_bandwidth`, `v1/insights/lbaas/avg_cpu_utilization_percent`, `v1/insights/lbaas/connection_utilization_percent`, `v1/insights/lbaas/droplet_health`, `v1/insights/lbaas/tls_connections_per_second_utilization_percent`, `v1/insights/lbaas/increase_in_http_error_rate_percentage_5xx`, `v1/insights/lbaas/increase_in_http_error_rate_percentage_4xx`, `v1/insights/lbaas/increase_in_http_error_rate_count_5xx`, `v1/insights/lbaas/increase_in_http_error_rate_count_4xx`, `v1/insights/lbaas/high_http_request_response_time`, `v1/insights/lbaas/high_http_request_response_time_50p`, `v1/insights/lbaas/high_http_request_response_time_95p`, `v1/insights/lbaas/high_http_request_response_time_99p`, `v1/dbaas/alerts/load_15_alerts`, `v1/dbaas/alerts/cpu_alerts`, `v1/dbaas/alerts/memory_utilization_alerts`, or `v1/dbaas/alerts/disk_utilization_alerts`.

func (MonitorAlertOutput) Uuid added in v4.13.0

The uuid of the alert.

func (MonitorAlertOutput) Value added in v4.13.0

The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number. DigitalOcean will show the correct unit in the web panel.

func (MonitorAlertOutput) Window added in v4.13.0

The time frame of the alert. Either `5m`, `10m`, `30m`, or `1h`.

type MonitorAlertState added in v4.7.0

type MonitorAlertState struct {
	// How to send notifications about the alerts. This is a list with one element, .
	// Note that for Slack, the DigitalOcean app needs to have permissions for your workspace. You can
	// read more in [Slack's documentation](https://slack.com/intl/en-dk/help/articles/222386767-Manage-app-installation-settings-for-your-workspace)
	Alerts MonitorAlertAlertsPtrInput
	// The comparison for `value`.
	// This may be either `GreaterThan` or `LessThan`.
	Compare pulumi.StringPtrInput
	// The description of the alert.
	Description pulumi.StringPtrInput
	// The status of the alert.
	Enabled pulumi.BoolPtrInput
	// A list of IDs for the resources to which the alert policy applies.
	Entities pulumi.StringArrayInput
	// A list of tags. When an included tag is added to a resource, the alert policy will apply to it.
	Tags pulumi.StringArrayInput
	// The type of the alert.
	// This may be one of `v1/insights/droplet/load_1`, `v1/insights/droplet/load_5`, `v1/insights/droplet/load_15`,
	// `v1/insights/droplet/memory_utilization_percent`, `v1/insights/droplet/disk_utilization_percent`,
	// `v1/insights/droplet/cpu`, `v1/insights/droplet/disk_read`, `v1/insights/droplet/disk_write`,
	// `v1/insights/droplet/public_outbound_bandwidth`, `v1/insights/droplet/public_inbound_bandwidth`,
	// `v1/insights/droplet/private_outbound_bandwidth`, `v1/insights/droplet/private_inbound_bandwidth`,
	// `v1/insights/lbaas/avg_cpu_utilization_percent`, `v1/insights/lbaas/connection_utilization_percent`,
	// `v1/insights/lbaas/droplet_health`, `v1/insights/lbaas/tls_connections_per_second_utilization_percent`,
	// `v1/insights/lbaas/increase_in_http_error_rate_percentage_5xx`, `v1/insights/lbaas/increase_in_http_error_rate_percentage_4xx`,
	// `v1/insights/lbaas/increase_in_http_error_rate_count_5xx`, `v1/insights/lbaas/increase_in_http_error_rate_count_4xx`,
	// `v1/insights/lbaas/high_http_request_response_time`, `v1/insights/lbaas/high_http_request_response_time_50p`,
	// `v1/insights/lbaas/high_http_request_response_time_95p`, `v1/insights/lbaas/high_http_request_response_time_99p`,
	// `v1/dbaas/alerts/load_15_alerts`, `v1/dbaas/alerts/cpu_alerts`, `v1/dbaas/alerts/memory_utilization_alerts`, or
	// `v1/dbaas/alerts/disk_utilization_alerts`.
	Type pulumi.StringPtrInput
	// The uuid of the alert.
	Uuid pulumi.StringPtrInput
	// The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number.
	// DigitalOcean will show the correct unit in the web panel.
	Value pulumi.Float64PtrInput
	// The time frame of the alert. Either `5m`, `10m`, `30m`, or `1h`.
	Window pulumi.StringPtrInput
}

func (MonitorAlertState) ElementType added in v4.7.0

func (MonitorAlertState) ElementType() reflect.Type

type Project

type Project struct {
	pulumi.CustomResourceState

	// the date and time when the project was created, (ISO8601)
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// the description of the project
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// the environment of the project's resources. The possible values are: `Development`, `Staging`, `Production`)
	Environment pulumi.StringPtrOutput `pulumi:"environment"`
	// a boolean indicating whether or not the project is the default project. (Default: "false")
	IsDefault pulumi.BoolPtrOutput `pulumi:"isDefault"`
	// The name of the Project
	Name pulumi.StringOutput `pulumi:"name"`
	// the id of the project owner.
	OwnerId pulumi.IntOutput `pulumi:"ownerId"`
	// the unique universal identifier of the project owner.
	OwnerUuid pulumi.StringOutput `pulumi:"ownerUuid"`
	// the purpose of the project, (Default: "Web Application")
	Purpose pulumi.StringPtrOutput `pulumi:"purpose"`
	// a list of uniform resource names (URNs) for the resources associated with the project
	Resources pulumi.StringArrayOutput `pulumi:"resources"`
	// the date and time when the project was last updated, (ISO8601)
	UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"`
}

Provides a DigitalOcean Project resource.

Projects allow you to organize your resources into groups that fit the way you work. You can group resources (like Droplets, Spaces, Load Balancers, domains, and Floating IPs) in ways that align with the applications you host on DigitalOcean.

The following resource types can be associated with a project:

* App Platform Apps * Database Clusters * Domains * Droplets * Floating IPs * Kubernetes Clusters * Load Balancers * Spaces Buckets * Volumes

**Note:** A provider managed project cannot be set as a default project.

## Example Usage

The following example demonstrates the creation of an empty project:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.NewProject(ctx, "playground", &digitalocean.ProjectArgs{
			Description: pulumi.String("A project to represent development resources."),
			Environment: pulumi.String("Development"),
			Purpose:     pulumi.String("Web Application"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

The following example demonstrates the creation of a project with a Droplet resource:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		foobar, err := digitalocean.NewDroplet(ctx, "foobar", &digitalocean.DropletArgs{
			Size:   pulumi.String(digitalocean.DropletSlugDropletS1VCPU1GB),
			Image:  pulumi.String("ubuntu-22-04-x64"),
			Region: pulumi.String(digitalocean.RegionNYC3),
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewProject(ctx, "playground", &digitalocean.ProjectArgs{
			Description: pulumi.String("A project to represent development resources."),
			Purpose:     pulumi.String("Web Application"),
			Environment: pulumi.String("Development"),
			Resources: pulumi.StringArray{
				foobar.DropletUrn,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Projects can be imported using the `id` returned from DigitalOcean, e.g.

```sh $ pulumi import digitalocean:index/project:Project myproject 245bcfd0-7f31-4ce6-a2bc-475a116cca97 ```

func GetProject

func GetProject(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectState, opts ...pulumi.ResourceOption) (*Project, error)

GetProject gets an existing Project 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 NewProject

func NewProject(ctx *pulumi.Context,
	name string, args *ProjectArgs, opts ...pulumi.ResourceOption) (*Project, error)

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

func (*Project) ElementType

func (*Project) ElementType() reflect.Type

func (*Project) ToProjectOutput

func (i *Project) ToProjectOutput() ProjectOutput

func (*Project) ToProjectOutputWithContext

func (i *Project) ToProjectOutputWithContext(ctx context.Context) ProjectOutput

type ProjectArgs

type ProjectArgs struct {
	// the description of the project
	Description pulumi.StringPtrInput
	// the environment of the project's resources. The possible values are: `Development`, `Staging`, `Production`)
	Environment pulumi.StringPtrInput
	// a boolean indicating whether or not the project is the default project. (Default: "false")
	IsDefault pulumi.BoolPtrInput
	// The name of the Project
	Name pulumi.StringPtrInput
	// the purpose of the project, (Default: "Web Application")
	Purpose pulumi.StringPtrInput
	// a list of uniform resource names (URNs) for the resources associated with the project
	Resources pulumi.StringArrayInput
}

The set of arguments for constructing a Project resource.

func (ProjectArgs) ElementType

func (ProjectArgs) ElementType() reflect.Type

type ProjectArray

type ProjectArray []ProjectInput

func (ProjectArray) ElementType

func (ProjectArray) ElementType() reflect.Type

func (ProjectArray) ToProjectArrayOutput

func (i ProjectArray) ToProjectArrayOutput() ProjectArrayOutput

func (ProjectArray) ToProjectArrayOutputWithContext

func (i ProjectArray) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput

type ProjectArrayInput

type ProjectArrayInput interface {
	pulumi.Input

	ToProjectArrayOutput() ProjectArrayOutput
	ToProjectArrayOutputWithContext(context.Context) ProjectArrayOutput
}

ProjectArrayInput is an input type that accepts ProjectArray and ProjectArrayOutput values. You can construct a concrete instance of `ProjectArrayInput` via:

ProjectArray{ ProjectArgs{...} }

type ProjectArrayOutput

type ProjectArrayOutput struct{ *pulumi.OutputState }

func (ProjectArrayOutput) ElementType

func (ProjectArrayOutput) ElementType() reflect.Type

func (ProjectArrayOutput) Index

func (ProjectArrayOutput) ToProjectArrayOutput

func (o ProjectArrayOutput) ToProjectArrayOutput() ProjectArrayOutput

func (ProjectArrayOutput) ToProjectArrayOutputWithContext

func (o ProjectArrayOutput) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput

type ProjectInput

type ProjectInput interface {
	pulumi.Input

	ToProjectOutput() ProjectOutput
	ToProjectOutputWithContext(ctx context.Context) ProjectOutput
}

type ProjectMap

type ProjectMap map[string]ProjectInput

func (ProjectMap) ElementType

func (ProjectMap) ElementType() reflect.Type

func (ProjectMap) ToProjectMapOutput

func (i ProjectMap) ToProjectMapOutput() ProjectMapOutput

func (ProjectMap) ToProjectMapOutputWithContext

func (i ProjectMap) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput

type ProjectMapInput

type ProjectMapInput interface {
	pulumi.Input

	ToProjectMapOutput() ProjectMapOutput
	ToProjectMapOutputWithContext(context.Context) ProjectMapOutput
}

ProjectMapInput is an input type that accepts ProjectMap and ProjectMapOutput values. You can construct a concrete instance of `ProjectMapInput` via:

ProjectMap{ "key": ProjectArgs{...} }

type ProjectMapOutput

type ProjectMapOutput struct{ *pulumi.OutputState }

func (ProjectMapOutput) ElementType

func (ProjectMapOutput) ElementType() reflect.Type

func (ProjectMapOutput) MapIndex

func (ProjectMapOutput) ToProjectMapOutput

func (o ProjectMapOutput) ToProjectMapOutput() ProjectMapOutput

func (ProjectMapOutput) ToProjectMapOutputWithContext

func (o ProjectMapOutput) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput

type ProjectOutput

type ProjectOutput struct{ *pulumi.OutputState }

func (ProjectOutput) CreatedAt added in v4.13.0

func (o ProjectOutput) CreatedAt() pulumi.StringOutput

the date and time when the project was created, (ISO8601)

func (ProjectOutput) Description added in v4.13.0

func (o ProjectOutput) Description() pulumi.StringPtrOutput

the description of the project

func (ProjectOutput) ElementType

func (ProjectOutput) ElementType() reflect.Type

func (ProjectOutput) Environment added in v4.13.0

func (o ProjectOutput) Environment() pulumi.StringPtrOutput

the environment of the project's resources. The possible values are: `Development`, `Staging`, `Production`)

func (ProjectOutput) IsDefault added in v4.13.0

func (o ProjectOutput) IsDefault() pulumi.BoolPtrOutput

a boolean indicating whether or not the project is the default project. (Default: "false")

func (ProjectOutput) Name added in v4.13.0

The name of the Project

func (ProjectOutput) OwnerId added in v4.13.0

func (o ProjectOutput) OwnerId() pulumi.IntOutput

the id of the project owner.

func (ProjectOutput) OwnerUuid added in v4.13.0

func (o ProjectOutput) OwnerUuid() pulumi.StringOutput

the unique universal identifier of the project owner.

func (ProjectOutput) Purpose added in v4.13.0

func (o ProjectOutput) Purpose() pulumi.StringPtrOutput

the purpose of the project, (Default: "Web Application")

func (ProjectOutput) Resources added in v4.13.0

func (o ProjectOutput) Resources() pulumi.StringArrayOutput

a list of uniform resource names (URNs) for the resources associated with the project

func (ProjectOutput) ToProjectOutput

func (o ProjectOutput) ToProjectOutput() ProjectOutput

func (ProjectOutput) ToProjectOutputWithContext

func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOutput

func (ProjectOutput) UpdatedAt added in v4.13.0

func (o ProjectOutput) UpdatedAt() pulumi.StringOutput

the date and time when the project was last updated, (ISO8601)

type ProjectResources

type ProjectResources struct {
	pulumi.CustomResourceState

	// the ID of the project
	Project pulumi.StringOutput `pulumi:"project"`
	// a list of uniform resource names (URNs) for the resources associated with the project
	Resources pulumi.StringArrayOutput `pulumi:"resources"`
}

Assign resources to a DigitalOcean Project. This is useful if you need to assign resources managed via this provider to a DigitalOcean Project managed outside of the provider.

The following resource types can be associated with a project:

* App Platform Apps * Database Clusters * Domains * Droplets * Floating IPs * Kubernetes Clusters * Load Balancers * Spaces Buckets * Volumes

## Example Usage

The following example assigns a droplet to a Project managed outside of the provider:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		playground, err := digitalocean.LookupProject(ctx, &digitalocean.LookupProjectArgs{
			Name: pulumi.StringRef("playground"),
		}, nil)
		if err != nil {
			return err
		}
		foobar, err := digitalocean.NewDroplet(ctx, "foobar", &digitalocean.DropletArgs{
			Size:   pulumi.String(digitalocean.DropletSlugDropletS1VCPU1GB),
			Image:  pulumi.String("ubuntu-22-04-x64"),
			Region: pulumi.String(digitalocean.RegionNYC3),
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewProjectResources(ctx, "barfoo", &digitalocean.ProjectResourcesArgs{
			Project: pulumi.String(playground.Id),
			Resources: pulumi.StringArray{
				foobar.DropletUrn,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Importing this resource is not supported.

func GetProjectResources

func GetProjectResources(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectResourcesState, opts ...pulumi.ResourceOption) (*ProjectResources, error)

GetProjectResources gets an existing ProjectResources 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 NewProjectResources

func NewProjectResources(ctx *pulumi.Context,
	name string, args *ProjectResourcesArgs, opts ...pulumi.ResourceOption) (*ProjectResources, error)

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

func (*ProjectResources) ElementType

func (*ProjectResources) ElementType() reflect.Type

func (*ProjectResources) ToProjectResourcesOutput

func (i *ProjectResources) ToProjectResourcesOutput() ProjectResourcesOutput

func (*ProjectResources) ToProjectResourcesOutputWithContext

func (i *ProjectResources) ToProjectResourcesOutputWithContext(ctx context.Context) ProjectResourcesOutput

type ProjectResourcesArgs

type ProjectResourcesArgs struct {
	// the ID of the project
	Project pulumi.StringInput
	// a list of uniform resource names (URNs) for the resources associated with the project
	Resources pulumi.StringArrayInput
}

The set of arguments for constructing a ProjectResources resource.

func (ProjectResourcesArgs) ElementType

func (ProjectResourcesArgs) ElementType() reflect.Type

type ProjectResourcesArray

type ProjectResourcesArray []ProjectResourcesInput

func (ProjectResourcesArray) ElementType

func (ProjectResourcesArray) ElementType() reflect.Type

func (ProjectResourcesArray) ToProjectResourcesArrayOutput

func (i ProjectResourcesArray) ToProjectResourcesArrayOutput() ProjectResourcesArrayOutput

func (ProjectResourcesArray) ToProjectResourcesArrayOutputWithContext

func (i ProjectResourcesArray) ToProjectResourcesArrayOutputWithContext(ctx context.Context) ProjectResourcesArrayOutput

type ProjectResourcesArrayInput

type ProjectResourcesArrayInput interface {
	pulumi.Input

	ToProjectResourcesArrayOutput() ProjectResourcesArrayOutput
	ToProjectResourcesArrayOutputWithContext(context.Context) ProjectResourcesArrayOutput
}

ProjectResourcesArrayInput is an input type that accepts ProjectResourcesArray and ProjectResourcesArrayOutput values. You can construct a concrete instance of `ProjectResourcesArrayInput` via:

ProjectResourcesArray{ ProjectResourcesArgs{...} }

type ProjectResourcesArrayOutput

type ProjectResourcesArrayOutput struct{ *pulumi.OutputState }

func (ProjectResourcesArrayOutput) ElementType

func (ProjectResourcesArrayOutput) Index

func (ProjectResourcesArrayOutput) ToProjectResourcesArrayOutput

func (o ProjectResourcesArrayOutput) ToProjectResourcesArrayOutput() ProjectResourcesArrayOutput

func (ProjectResourcesArrayOutput) ToProjectResourcesArrayOutputWithContext

func (o ProjectResourcesArrayOutput) ToProjectResourcesArrayOutputWithContext(ctx context.Context) ProjectResourcesArrayOutput

type ProjectResourcesInput

type ProjectResourcesInput interface {
	pulumi.Input

	ToProjectResourcesOutput() ProjectResourcesOutput
	ToProjectResourcesOutputWithContext(ctx context.Context) ProjectResourcesOutput
}

type ProjectResourcesMap

type ProjectResourcesMap map[string]ProjectResourcesInput

func (ProjectResourcesMap) ElementType

func (ProjectResourcesMap) ElementType() reflect.Type

func (ProjectResourcesMap) ToProjectResourcesMapOutput

func (i ProjectResourcesMap) ToProjectResourcesMapOutput() ProjectResourcesMapOutput

func (ProjectResourcesMap) ToProjectResourcesMapOutputWithContext

func (i ProjectResourcesMap) ToProjectResourcesMapOutputWithContext(ctx context.Context) ProjectResourcesMapOutput

type ProjectResourcesMapInput

type ProjectResourcesMapInput interface {
	pulumi.Input

	ToProjectResourcesMapOutput() ProjectResourcesMapOutput
	ToProjectResourcesMapOutputWithContext(context.Context) ProjectResourcesMapOutput
}

ProjectResourcesMapInput is an input type that accepts ProjectResourcesMap and ProjectResourcesMapOutput values. You can construct a concrete instance of `ProjectResourcesMapInput` via:

ProjectResourcesMap{ "key": ProjectResourcesArgs{...} }

type ProjectResourcesMapOutput

type ProjectResourcesMapOutput struct{ *pulumi.OutputState }

func (ProjectResourcesMapOutput) ElementType

func (ProjectResourcesMapOutput) ElementType() reflect.Type

func (ProjectResourcesMapOutput) MapIndex

func (ProjectResourcesMapOutput) ToProjectResourcesMapOutput

func (o ProjectResourcesMapOutput) ToProjectResourcesMapOutput() ProjectResourcesMapOutput

func (ProjectResourcesMapOutput) ToProjectResourcesMapOutputWithContext

func (o ProjectResourcesMapOutput) ToProjectResourcesMapOutputWithContext(ctx context.Context) ProjectResourcesMapOutput

type ProjectResourcesOutput

type ProjectResourcesOutput struct{ *pulumi.OutputState }

func (ProjectResourcesOutput) ElementType

func (ProjectResourcesOutput) ElementType() reflect.Type

func (ProjectResourcesOutput) Project added in v4.13.0

the ID of the project

func (ProjectResourcesOutput) Resources added in v4.13.0

a list of uniform resource names (URNs) for the resources associated with the project

func (ProjectResourcesOutput) ToProjectResourcesOutput

func (o ProjectResourcesOutput) ToProjectResourcesOutput() ProjectResourcesOutput

func (ProjectResourcesOutput) ToProjectResourcesOutputWithContext

func (o ProjectResourcesOutput) ToProjectResourcesOutputWithContext(ctx context.Context) ProjectResourcesOutput

type ProjectResourcesState

type ProjectResourcesState struct {
	// the ID of the project
	Project pulumi.StringPtrInput
	// a list of uniform resource names (URNs) for the resources associated with the project
	Resources pulumi.StringArrayInput
}

func (ProjectResourcesState) ElementType

func (ProjectResourcesState) ElementType() reflect.Type

type ProjectState

type ProjectState struct {
	// the date and time when the project was created, (ISO8601)
	CreatedAt pulumi.StringPtrInput
	// the description of the project
	Description pulumi.StringPtrInput
	// the environment of the project's resources. The possible values are: `Development`, `Staging`, `Production`)
	Environment pulumi.StringPtrInput
	// a boolean indicating whether or not the project is the default project. (Default: "false")
	IsDefault pulumi.BoolPtrInput
	// The name of the Project
	Name pulumi.StringPtrInput
	// the id of the project owner.
	OwnerId pulumi.IntPtrInput
	// the unique universal identifier of the project owner.
	OwnerUuid pulumi.StringPtrInput
	// the purpose of the project, (Default: "Web Application")
	Purpose pulumi.StringPtrInput
	// a list of uniform resource names (URNs) for the resources associated with the project
	Resources pulumi.StringArrayInput
	// the date and time when the project was last updated, (ISO8601)
	UpdatedAt pulumi.StringPtrInput
}

func (ProjectState) ElementType

func (ProjectState) ElementType() reflect.Type

type Protocol

type Protocol string

func (Protocol) ElementType

func (Protocol) ElementType() reflect.Type

func (Protocol) ToProtocolOutput added in v4.9.0

func (e Protocol) ToProtocolOutput() ProtocolOutput

func (Protocol) ToProtocolOutputWithContext added in v4.9.0

func (e Protocol) ToProtocolOutputWithContext(ctx context.Context) ProtocolOutput

func (Protocol) ToProtocolPtrOutput added in v4.9.0

func (e Protocol) ToProtocolPtrOutput() ProtocolPtrOutput

func (Protocol) ToProtocolPtrOutputWithContext added in v4.9.0

func (e Protocol) ToProtocolPtrOutputWithContext(ctx context.Context) ProtocolPtrOutput

func (Protocol) ToStringOutput

func (e Protocol) ToStringOutput() pulumi.StringOutput

func (Protocol) ToStringOutputWithContext

func (e Protocol) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (Protocol) ToStringPtrOutput

func (e Protocol) ToStringPtrOutput() pulumi.StringPtrOutput

func (Protocol) ToStringPtrOutputWithContext

func (e Protocol) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ProtocolInput added in v4.9.0

type ProtocolInput interface {
	pulumi.Input

	ToProtocolOutput() ProtocolOutput
	ToProtocolOutputWithContext(context.Context) ProtocolOutput
}

ProtocolInput is an input type that accepts values of the Protocol enum A concrete instance of `ProtocolInput` can be one of the following:

ProtocolTCP
ProtocolUDP
ProtocolICMP
ProtocolHTTP
ProtocolHTTPS

type ProtocolOutput added in v4.9.0

type ProtocolOutput struct{ *pulumi.OutputState }

func (ProtocolOutput) ElementType added in v4.9.0

func (ProtocolOutput) ElementType() reflect.Type

func (ProtocolOutput) ToProtocolOutput added in v4.9.0

func (o ProtocolOutput) ToProtocolOutput() ProtocolOutput

func (ProtocolOutput) ToProtocolOutputWithContext added in v4.9.0

func (o ProtocolOutput) ToProtocolOutputWithContext(ctx context.Context) ProtocolOutput

func (ProtocolOutput) ToProtocolPtrOutput added in v4.9.0

func (o ProtocolOutput) ToProtocolPtrOutput() ProtocolPtrOutput

func (ProtocolOutput) ToProtocolPtrOutputWithContext added in v4.9.0

func (o ProtocolOutput) ToProtocolPtrOutputWithContext(ctx context.Context) ProtocolPtrOutput

func (ProtocolOutput) ToStringOutput added in v4.9.0

func (o ProtocolOutput) ToStringOutput() pulumi.StringOutput

func (ProtocolOutput) ToStringOutputWithContext added in v4.9.0

func (o ProtocolOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (ProtocolOutput) ToStringPtrOutput added in v4.9.0

func (o ProtocolOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (ProtocolOutput) ToStringPtrOutputWithContext added in v4.9.0

func (o ProtocolOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ProtocolPtrInput added in v4.9.0

type ProtocolPtrInput interface {
	pulumi.Input

	ToProtocolPtrOutput() ProtocolPtrOutput
	ToProtocolPtrOutputWithContext(context.Context) ProtocolPtrOutput
}

func ProtocolPtr added in v4.9.0

func ProtocolPtr(v string) ProtocolPtrInput

type ProtocolPtrOutput added in v4.9.0

type ProtocolPtrOutput struct{ *pulumi.OutputState }

func (ProtocolPtrOutput) Elem added in v4.9.0

func (ProtocolPtrOutput) ElementType added in v4.9.0

func (ProtocolPtrOutput) ElementType() reflect.Type

func (ProtocolPtrOutput) ToProtocolPtrOutput added in v4.9.0

func (o ProtocolPtrOutput) ToProtocolPtrOutput() ProtocolPtrOutput

func (ProtocolPtrOutput) ToProtocolPtrOutputWithContext added in v4.9.0

func (o ProtocolPtrOutput) ToProtocolPtrOutputWithContext(ctx context.Context) ProtocolPtrOutput

func (ProtocolPtrOutput) ToStringPtrOutput added in v4.9.0

func (o ProtocolPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (ProtocolPtrOutput) ToStringPtrOutputWithContext added in v4.9.0

func (o ProtocolPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type Provider

type Provider struct {
	pulumi.ProviderResourceState

	// The URL to use for the DigitalOcean API.
	ApiEndpoint pulumi.StringPtrOutput `pulumi:"apiEndpoint"`
	// The access key ID for Spaces API operations.
	SpacesAccessId pulumi.StringPtrOutput `pulumi:"spacesAccessId"`
	// The URL to use for the DigitalOcean Spaces API.
	SpacesEndpoint pulumi.StringPtrOutput `pulumi:"spacesEndpoint"`
	// The secret access key for Spaces API operations.
	SpacesSecretKey pulumi.StringPtrOutput `pulumi:"spacesSecretKey"`
	// The token key for API operations.
	Token pulumi.StringPtrOutput `pulumi:"token"`
}

The provider type for the digitalocean package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.

func NewProvider

func NewProvider(ctx *pulumi.Context,
	name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)

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

func (*Provider) ElementType

func (*Provider) ElementType() reflect.Type

func (*Provider) ToProviderOutput

func (i *Provider) ToProviderOutput() ProviderOutput

func (*Provider) ToProviderOutputWithContext

func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

type ProviderArgs

type ProviderArgs struct {
	// The URL to use for the DigitalOcean API.
	ApiEndpoint pulumi.StringPtrInput
	// The maximum number of retries on a failed API request.
	HttpRetryMax pulumi.IntPtrInput
	// The maximum wait time (in seconds) between failed API requests.
	HttpRetryWaitMax pulumi.Float64PtrInput
	// The minimum wait time (in seconds) between failed API requests.
	HttpRetryWaitMin pulumi.Float64PtrInput
	// The rate of requests per second to limit the HTTP client.
	RequestsPerSecond pulumi.Float64PtrInput
	// The access key ID for Spaces API operations.
	SpacesAccessId pulumi.StringPtrInput
	// The URL to use for the DigitalOcean Spaces API.
	SpacesEndpoint pulumi.StringPtrInput
	// The secret access key for Spaces API operations.
	SpacesSecretKey pulumi.StringPtrInput
	// The token key for API operations.
	Token pulumi.StringPtrInput
}

The set of arguments for constructing a Provider resource.

func (ProviderArgs) ElementType

func (ProviderArgs) ElementType() reflect.Type

type ProviderInput

type ProviderInput interface {
	pulumi.Input

	ToProviderOutput() ProviderOutput
	ToProviderOutputWithContext(ctx context.Context) ProviderOutput
}

type ProviderOutput

type ProviderOutput struct{ *pulumi.OutputState }

func (ProviderOutput) ApiEndpoint added in v4.13.0

func (o ProviderOutput) ApiEndpoint() pulumi.StringPtrOutput

The URL to use for the DigitalOcean API.

func (ProviderOutput) ElementType

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) SpacesAccessId added in v4.13.0

func (o ProviderOutput) SpacesAccessId() pulumi.StringPtrOutput

The access key ID for Spaces API operations.

func (ProviderOutput) SpacesEndpoint added in v4.13.0

func (o ProviderOutput) SpacesEndpoint() pulumi.StringPtrOutput

The URL to use for the DigitalOcean Spaces API.

func (ProviderOutput) SpacesSecretKey added in v4.13.0

func (o ProviderOutput) SpacesSecretKey() pulumi.StringPtrOutput

The secret access key for Spaces API operations.

func (ProviderOutput) ToProviderOutput

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext

func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

func (ProviderOutput) Token added in v4.13.0

The token key for API operations.

type RecordType

type RecordType string

func (RecordType) ElementType

func (RecordType) ElementType() reflect.Type

func (RecordType) ToRecordTypeOutput added in v4.9.0

func (e RecordType) ToRecordTypeOutput() RecordTypeOutput

func (RecordType) ToRecordTypeOutputWithContext added in v4.9.0

func (e RecordType) ToRecordTypeOutputWithContext(ctx context.Context) RecordTypeOutput

func (RecordType) ToRecordTypePtrOutput added in v4.9.0

func (e RecordType) ToRecordTypePtrOutput() RecordTypePtrOutput

func (RecordType) ToRecordTypePtrOutputWithContext added in v4.9.0

func (e RecordType) ToRecordTypePtrOutputWithContext(ctx context.Context) RecordTypePtrOutput

func (RecordType) ToStringOutput

func (e RecordType) ToStringOutput() pulumi.StringOutput

func (RecordType) ToStringOutputWithContext

func (e RecordType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (RecordType) ToStringPtrOutput

func (e RecordType) ToStringPtrOutput() pulumi.StringPtrOutput

func (RecordType) ToStringPtrOutputWithContext

func (e RecordType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type RecordTypeInput added in v4.9.0

type RecordTypeInput interface {
	pulumi.Input

	ToRecordTypeOutput() RecordTypeOutput
	ToRecordTypeOutputWithContext(context.Context) RecordTypeOutput
}

RecordTypeInput is an input type that accepts values of the RecordType enum A concrete instance of `RecordTypeInput` can be one of the following:

RecordTypeA
RecordTypeAAAA
RecordTypeCAA
RecordTypeCNAME
RecordTypeMX
RecordTypeNS
RecordTypeTXT
RecordTypeSRV

type RecordTypeOutput added in v4.9.0

type RecordTypeOutput struct{ *pulumi.OutputState }

func (RecordTypeOutput) ElementType added in v4.9.0

func (RecordTypeOutput) ElementType() reflect.Type

func (RecordTypeOutput) ToRecordTypeOutput added in v4.9.0

func (o RecordTypeOutput) ToRecordTypeOutput() RecordTypeOutput

func (RecordTypeOutput) ToRecordTypeOutputWithContext added in v4.9.0

func (o RecordTypeOutput) ToRecordTypeOutputWithContext(ctx context.Context) RecordTypeOutput

func (RecordTypeOutput) ToRecordTypePtrOutput added in v4.9.0

func (o RecordTypeOutput) ToRecordTypePtrOutput() RecordTypePtrOutput

func (RecordTypeOutput) ToRecordTypePtrOutputWithContext added in v4.9.0

func (o RecordTypeOutput) ToRecordTypePtrOutputWithContext(ctx context.Context) RecordTypePtrOutput

func (RecordTypeOutput) ToStringOutput added in v4.9.0

func (o RecordTypeOutput) ToStringOutput() pulumi.StringOutput

func (RecordTypeOutput) ToStringOutputWithContext added in v4.9.0

func (o RecordTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (RecordTypeOutput) ToStringPtrOutput added in v4.9.0

func (o RecordTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (RecordTypeOutput) ToStringPtrOutputWithContext added in v4.9.0

func (o RecordTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type RecordTypePtrInput added in v4.9.0

type RecordTypePtrInput interface {
	pulumi.Input

	ToRecordTypePtrOutput() RecordTypePtrOutput
	ToRecordTypePtrOutputWithContext(context.Context) RecordTypePtrOutput
}

func RecordTypePtr added in v4.9.0

func RecordTypePtr(v string) RecordTypePtrInput

type RecordTypePtrOutput added in v4.9.0

type RecordTypePtrOutput struct{ *pulumi.OutputState }

func (RecordTypePtrOutput) Elem added in v4.9.0

func (RecordTypePtrOutput) ElementType added in v4.9.0

func (RecordTypePtrOutput) ElementType() reflect.Type

func (RecordTypePtrOutput) ToRecordTypePtrOutput added in v4.9.0

func (o RecordTypePtrOutput) ToRecordTypePtrOutput() RecordTypePtrOutput

func (RecordTypePtrOutput) ToRecordTypePtrOutputWithContext added in v4.9.0

func (o RecordTypePtrOutput) ToRecordTypePtrOutputWithContext(ctx context.Context) RecordTypePtrOutput

func (RecordTypePtrOutput) ToStringPtrOutput added in v4.9.0

func (o RecordTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (RecordTypePtrOutput) ToStringPtrOutputWithContext added in v4.9.0

func (o RecordTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type Region

type Region string

func (Region) ElementType

func (Region) ElementType() reflect.Type

func (Region) ToRegionOutput added in v4.9.0

func (e Region) ToRegionOutput() RegionOutput

func (Region) ToRegionOutputWithContext added in v4.9.0

func (e Region) ToRegionOutputWithContext(ctx context.Context) RegionOutput

func (Region) ToRegionPtrOutput added in v4.9.0

func (e Region) ToRegionPtrOutput() RegionPtrOutput

func (Region) ToRegionPtrOutputWithContext added in v4.9.0

func (e Region) ToRegionPtrOutputWithContext(ctx context.Context) RegionPtrOutput

func (Region) ToStringOutput

func (e Region) ToStringOutput() pulumi.StringOutput

func (Region) ToStringOutputWithContext

func (e Region) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (Region) ToStringPtrOutput

func (e Region) ToStringPtrOutput() pulumi.StringPtrOutput

func (Region) ToStringPtrOutputWithContext

func (e Region) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type RegionInput added in v4.9.0

type RegionInput interface {
	pulumi.Input

	ToRegionOutput() RegionOutput
	ToRegionOutputWithContext(context.Context) RegionOutput
}

RegionInput is an input type that accepts values of the Region enum A concrete instance of `RegionInput` can be one of the following:

RegionNYC1
RegionNYC2
RegionNYC3
RegionSGP1
RegionLON1
RegionAMS2
RegionAMS3
RegionFRA1
RegionTOR1
RegionSFO1
RegionSFO2
RegionSFO3
RegionBLR1
RegionSYD1

type RegionOutput added in v4.9.0

type RegionOutput struct{ *pulumi.OutputState }

func (RegionOutput) ElementType added in v4.9.0

func (RegionOutput) ElementType() reflect.Type

func (RegionOutput) ToRegionOutput added in v4.9.0

func (o RegionOutput) ToRegionOutput() RegionOutput

func (RegionOutput) ToRegionOutputWithContext added in v4.9.0

func (o RegionOutput) ToRegionOutputWithContext(ctx context.Context) RegionOutput

func (RegionOutput) ToRegionPtrOutput added in v4.9.0

func (o RegionOutput) ToRegionPtrOutput() RegionPtrOutput

func (RegionOutput) ToRegionPtrOutputWithContext added in v4.9.0

func (o RegionOutput) ToRegionPtrOutputWithContext(ctx context.Context) RegionPtrOutput

func (RegionOutput) ToStringOutput added in v4.9.0

func (o RegionOutput) ToStringOutput() pulumi.StringOutput

func (RegionOutput) ToStringOutputWithContext added in v4.9.0

func (o RegionOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (RegionOutput) ToStringPtrOutput added in v4.9.0

func (o RegionOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (RegionOutput) ToStringPtrOutputWithContext added in v4.9.0

func (o RegionOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type RegionPtrInput added in v4.9.0

type RegionPtrInput interface {
	pulumi.Input

	ToRegionPtrOutput() RegionPtrOutput
	ToRegionPtrOutputWithContext(context.Context) RegionPtrOutput
}

func RegionPtr added in v4.9.0

func RegionPtr(v string) RegionPtrInput

type RegionPtrOutput added in v4.9.0

type RegionPtrOutput struct{ *pulumi.OutputState }

func (RegionPtrOutput) Elem added in v4.9.0

func (o RegionPtrOutput) Elem() RegionOutput

func (RegionPtrOutput) ElementType added in v4.9.0

func (RegionPtrOutput) ElementType() reflect.Type

func (RegionPtrOutput) ToRegionPtrOutput added in v4.9.0

func (o RegionPtrOutput) ToRegionPtrOutput() RegionPtrOutput

func (RegionPtrOutput) ToRegionPtrOutputWithContext added in v4.9.0

func (o RegionPtrOutput) ToRegionPtrOutputWithContext(ctx context.Context) RegionPtrOutput

func (RegionPtrOutput) ToStringPtrOutput added in v4.9.0

func (o RegionPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (RegionPtrOutput) ToStringPtrOutputWithContext added in v4.9.0

func (o RegionPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ReservedIp added in v4.14.0

type ReservedIp struct {
	pulumi.CustomResourceState

	// The ID of Droplet that the reserved IP will be assigned to.
	DropletId pulumi.IntPtrOutput `pulumi:"dropletId"`
	// The IP Address of the resource
	IpAddress pulumi.StringOutput `pulumi:"ipAddress"`
	// The region that the reserved IP is reserved to.
	Region pulumi.StringOutput `pulumi:"region"`
	// The uniform resource name of the reserved ip
	ReservedIpUrn pulumi.StringOutput `pulumi:"reservedIpUrn"`
}

Provides a DigitalOcean reserved IP to represent a publicly-accessible static IP addresses that can be mapped to one of your Droplets.

> **NOTE:** Reserved IPs can be assigned to a Droplet either directly on the `ReservedIp` resource by setting a `dropletId` or using the `ReservedIpAssignment` resource, but the two cannot be used together.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleDroplet, err := digitalocean.NewDroplet(ctx, "exampleDroplet", &digitalocean.DropletArgs{
			Size:              pulumi.String(digitalocean.DropletSlugDropletS1VCPU1GB),
			Image:             pulumi.String("ubuntu-22-04-x64"),
			Region:            pulumi.String(digitalocean.RegionNYC3),
			Ipv6:              pulumi.Bool(true),
			PrivateNetworking: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewReservedIp(ctx, "exampleReservedIp", &digitalocean.ReservedIpArgs{
			DropletId: exampleDroplet.ID(),
			Region:    exampleDroplet.Region,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Reserved IPs can be imported using the `ip`, e.g.

```sh $ pulumi import digitalocean:index/reservedIp:ReservedIp myip 192.168.0.1 ```

func GetReservedIp added in v4.14.0

func GetReservedIp(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ReservedIpState, opts ...pulumi.ResourceOption) (*ReservedIp, error)

GetReservedIp gets an existing ReservedIp 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 NewReservedIp added in v4.14.0

func NewReservedIp(ctx *pulumi.Context,
	name string, args *ReservedIpArgs, opts ...pulumi.ResourceOption) (*ReservedIp, error)

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

func (*ReservedIp) ElementType added in v4.14.0

func (*ReservedIp) ElementType() reflect.Type

func (*ReservedIp) ToReservedIpOutput added in v4.14.0

func (i *ReservedIp) ToReservedIpOutput() ReservedIpOutput

func (*ReservedIp) ToReservedIpOutputWithContext added in v4.14.0

func (i *ReservedIp) ToReservedIpOutputWithContext(ctx context.Context) ReservedIpOutput

type ReservedIpArgs added in v4.14.0

type ReservedIpArgs struct {
	// The ID of Droplet that the reserved IP will be assigned to.
	DropletId pulumi.IntPtrInput
	// The IP Address of the resource
	IpAddress pulumi.StringPtrInput
	// The region that the reserved IP is reserved to.
	Region pulumi.StringInput
}

The set of arguments for constructing a ReservedIp resource.

func (ReservedIpArgs) ElementType added in v4.14.0

func (ReservedIpArgs) ElementType() reflect.Type

type ReservedIpArray added in v4.14.0

type ReservedIpArray []ReservedIpInput

func (ReservedIpArray) ElementType added in v4.14.0

func (ReservedIpArray) ElementType() reflect.Type

func (ReservedIpArray) ToReservedIpArrayOutput added in v4.14.0

func (i ReservedIpArray) ToReservedIpArrayOutput() ReservedIpArrayOutput

func (ReservedIpArray) ToReservedIpArrayOutputWithContext added in v4.14.0

func (i ReservedIpArray) ToReservedIpArrayOutputWithContext(ctx context.Context) ReservedIpArrayOutput

type ReservedIpArrayInput added in v4.14.0

type ReservedIpArrayInput interface {
	pulumi.Input

	ToReservedIpArrayOutput() ReservedIpArrayOutput
	ToReservedIpArrayOutputWithContext(context.Context) ReservedIpArrayOutput
}

ReservedIpArrayInput is an input type that accepts ReservedIpArray and ReservedIpArrayOutput values. You can construct a concrete instance of `ReservedIpArrayInput` via:

ReservedIpArray{ ReservedIpArgs{...} }

type ReservedIpArrayOutput added in v4.14.0

type ReservedIpArrayOutput struct{ *pulumi.OutputState }

func (ReservedIpArrayOutput) ElementType added in v4.14.0

func (ReservedIpArrayOutput) ElementType() reflect.Type

func (ReservedIpArrayOutput) Index added in v4.14.0

func (ReservedIpArrayOutput) ToReservedIpArrayOutput added in v4.14.0

func (o ReservedIpArrayOutput) ToReservedIpArrayOutput() ReservedIpArrayOutput

func (ReservedIpArrayOutput) ToReservedIpArrayOutputWithContext added in v4.14.0

func (o ReservedIpArrayOutput) ToReservedIpArrayOutputWithContext(ctx context.Context) ReservedIpArrayOutput

type ReservedIpAssignment added in v4.14.0

type ReservedIpAssignment struct {
	pulumi.CustomResourceState

	// The ID of Droplet that the reserved IP will be assigned to.
	DropletId pulumi.IntOutput `pulumi:"dropletId"`
	// The reserved IP to assign to the Droplet.
	IpAddress pulumi.StringOutput `pulumi:"ipAddress"`
}

Provides a resource for assigning an existing DigitalOcean reserved IP to a Droplet. This makes it easy to provision reserved IP addresses that are not tied to the lifecycle of your Droplet.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleReservedIp, err := digitalocean.NewReservedIp(ctx, "exampleReservedIp", &digitalocean.ReservedIpArgs{
			Region: pulumi.String("nyc3"),
		})
		if err != nil {
			return err
		}
		exampleDroplet, err := digitalocean.NewDroplet(ctx, "exampleDroplet", &digitalocean.DropletArgs{
			Size:              pulumi.String(digitalocean.DropletSlugDropletS1VCPU1GB),
			Image:             pulumi.String("ubuntu-22-04-x64"),
			Region:            pulumi.String(digitalocean.RegionNYC3),
			Ipv6:              pulumi.Bool(true),
			PrivateNetworking: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewReservedIpAssignment(ctx, "exampleReservedIpAssignment", &digitalocean.ReservedIpAssignmentArgs{
			IpAddress: exampleReservedIp.IpAddress,
			DropletId: exampleDroplet.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Reserved IP assignments can be imported using the reserved IP itself and the `id` of

the Droplet joined with a comma. For example:

```sh $ pulumi import digitalocean:index/reservedIpAssignment:ReservedIpAssignment foobar 192.0.2.1,123456 ```

func GetReservedIpAssignment added in v4.14.0

func GetReservedIpAssignment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ReservedIpAssignmentState, opts ...pulumi.ResourceOption) (*ReservedIpAssignment, error)

GetReservedIpAssignment gets an existing ReservedIpAssignment 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 NewReservedIpAssignment added in v4.14.0

func NewReservedIpAssignment(ctx *pulumi.Context,
	name string, args *ReservedIpAssignmentArgs, opts ...pulumi.ResourceOption) (*ReservedIpAssignment, error)

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

func (*ReservedIpAssignment) ElementType added in v4.14.0

func (*ReservedIpAssignment) ElementType() reflect.Type

func (*ReservedIpAssignment) ToReservedIpAssignmentOutput added in v4.14.0

func (i *ReservedIpAssignment) ToReservedIpAssignmentOutput() ReservedIpAssignmentOutput

func (*ReservedIpAssignment) ToReservedIpAssignmentOutputWithContext added in v4.14.0

func (i *ReservedIpAssignment) ToReservedIpAssignmentOutputWithContext(ctx context.Context) ReservedIpAssignmentOutput

type ReservedIpAssignmentArgs added in v4.14.0

type ReservedIpAssignmentArgs struct {
	// The ID of Droplet that the reserved IP will be assigned to.
	DropletId pulumi.IntInput
	// The reserved IP to assign to the Droplet.
	IpAddress pulumi.StringInput
}

The set of arguments for constructing a ReservedIpAssignment resource.

func (ReservedIpAssignmentArgs) ElementType added in v4.14.0

func (ReservedIpAssignmentArgs) ElementType() reflect.Type

type ReservedIpAssignmentArray added in v4.14.0

type ReservedIpAssignmentArray []ReservedIpAssignmentInput

func (ReservedIpAssignmentArray) ElementType added in v4.14.0

func (ReservedIpAssignmentArray) ElementType() reflect.Type

func (ReservedIpAssignmentArray) ToReservedIpAssignmentArrayOutput added in v4.14.0

func (i ReservedIpAssignmentArray) ToReservedIpAssignmentArrayOutput() ReservedIpAssignmentArrayOutput

func (ReservedIpAssignmentArray) ToReservedIpAssignmentArrayOutputWithContext added in v4.14.0

func (i ReservedIpAssignmentArray) ToReservedIpAssignmentArrayOutputWithContext(ctx context.Context) ReservedIpAssignmentArrayOutput

type ReservedIpAssignmentArrayInput added in v4.14.0

type ReservedIpAssignmentArrayInput interface {
	pulumi.Input

	ToReservedIpAssignmentArrayOutput() ReservedIpAssignmentArrayOutput
	ToReservedIpAssignmentArrayOutputWithContext(context.Context) ReservedIpAssignmentArrayOutput
}

ReservedIpAssignmentArrayInput is an input type that accepts ReservedIpAssignmentArray and ReservedIpAssignmentArrayOutput values. You can construct a concrete instance of `ReservedIpAssignmentArrayInput` via:

ReservedIpAssignmentArray{ ReservedIpAssignmentArgs{...} }

type ReservedIpAssignmentArrayOutput added in v4.14.0

type ReservedIpAssignmentArrayOutput struct{ *pulumi.OutputState }

func (ReservedIpAssignmentArrayOutput) ElementType added in v4.14.0

func (ReservedIpAssignmentArrayOutput) Index added in v4.14.0

func (ReservedIpAssignmentArrayOutput) ToReservedIpAssignmentArrayOutput added in v4.14.0

func (o ReservedIpAssignmentArrayOutput) ToReservedIpAssignmentArrayOutput() ReservedIpAssignmentArrayOutput

func (ReservedIpAssignmentArrayOutput) ToReservedIpAssignmentArrayOutputWithContext added in v4.14.0

func (o ReservedIpAssignmentArrayOutput) ToReservedIpAssignmentArrayOutputWithContext(ctx context.Context) ReservedIpAssignmentArrayOutput

type ReservedIpAssignmentInput added in v4.14.0

type ReservedIpAssignmentInput interface {
	pulumi.Input

	ToReservedIpAssignmentOutput() ReservedIpAssignmentOutput
	ToReservedIpAssignmentOutputWithContext(ctx context.Context) ReservedIpAssignmentOutput
}

type ReservedIpAssignmentMap added in v4.14.0

type ReservedIpAssignmentMap map[string]ReservedIpAssignmentInput

func (ReservedIpAssignmentMap) ElementType added in v4.14.0

func (ReservedIpAssignmentMap) ElementType() reflect.Type

func (ReservedIpAssignmentMap) ToReservedIpAssignmentMapOutput added in v4.14.0

func (i ReservedIpAssignmentMap) ToReservedIpAssignmentMapOutput() ReservedIpAssignmentMapOutput

func (ReservedIpAssignmentMap) ToReservedIpAssignmentMapOutputWithContext added in v4.14.0

func (i ReservedIpAssignmentMap) ToReservedIpAssignmentMapOutputWithContext(ctx context.Context) ReservedIpAssignmentMapOutput

type ReservedIpAssignmentMapInput added in v4.14.0

type ReservedIpAssignmentMapInput interface {
	pulumi.Input

	ToReservedIpAssignmentMapOutput() ReservedIpAssignmentMapOutput
	ToReservedIpAssignmentMapOutputWithContext(context.Context) ReservedIpAssignmentMapOutput
}

ReservedIpAssignmentMapInput is an input type that accepts ReservedIpAssignmentMap and ReservedIpAssignmentMapOutput values. You can construct a concrete instance of `ReservedIpAssignmentMapInput` via:

ReservedIpAssignmentMap{ "key": ReservedIpAssignmentArgs{...} }

type ReservedIpAssignmentMapOutput added in v4.14.0

type ReservedIpAssignmentMapOutput struct{ *pulumi.OutputState }

func (ReservedIpAssignmentMapOutput) ElementType added in v4.14.0

func (ReservedIpAssignmentMapOutput) MapIndex added in v4.14.0

func (ReservedIpAssignmentMapOutput) ToReservedIpAssignmentMapOutput added in v4.14.0

func (o ReservedIpAssignmentMapOutput) ToReservedIpAssignmentMapOutput() ReservedIpAssignmentMapOutput

func (ReservedIpAssignmentMapOutput) ToReservedIpAssignmentMapOutputWithContext added in v4.14.0

func (o ReservedIpAssignmentMapOutput) ToReservedIpAssignmentMapOutputWithContext(ctx context.Context) ReservedIpAssignmentMapOutput

type ReservedIpAssignmentOutput added in v4.14.0

type ReservedIpAssignmentOutput struct{ *pulumi.OutputState }

func (ReservedIpAssignmentOutput) DropletId added in v4.14.0

The ID of Droplet that the reserved IP will be assigned to.

func (ReservedIpAssignmentOutput) ElementType added in v4.14.0

func (ReservedIpAssignmentOutput) ElementType() reflect.Type

func (ReservedIpAssignmentOutput) IpAddress added in v4.14.0

The reserved IP to assign to the Droplet.

func (ReservedIpAssignmentOutput) ToReservedIpAssignmentOutput added in v4.14.0

func (o ReservedIpAssignmentOutput) ToReservedIpAssignmentOutput() ReservedIpAssignmentOutput

func (ReservedIpAssignmentOutput) ToReservedIpAssignmentOutputWithContext added in v4.14.0

func (o ReservedIpAssignmentOutput) ToReservedIpAssignmentOutputWithContext(ctx context.Context) ReservedIpAssignmentOutput

type ReservedIpAssignmentState added in v4.14.0

type ReservedIpAssignmentState struct {
	// The ID of Droplet that the reserved IP will be assigned to.
	DropletId pulumi.IntPtrInput
	// The reserved IP to assign to the Droplet.
	IpAddress pulumi.StringPtrInput
}

func (ReservedIpAssignmentState) ElementType added in v4.14.0

func (ReservedIpAssignmentState) ElementType() reflect.Type

type ReservedIpInput added in v4.14.0

type ReservedIpInput interface {
	pulumi.Input

	ToReservedIpOutput() ReservedIpOutput
	ToReservedIpOutputWithContext(ctx context.Context) ReservedIpOutput
}

type ReservedIpMap added in v4.14.0

type ReservedIpMap map[string]ReservedIpInput

func (ReservedIpMap) ElementType added in v4.14.0

func (ReservedIpMap) ElementType() reflect.Type

func (ReservedIpMap) ToReservedIpMapOutput added in v4.14.0

func (i ReservedIpMap) ToReservedIpMapOutput() ReservedIpMapOutput

func (ReservedIpMap) ToReservedIpMapOutputWithContext added in v4.14.0

func (i ReservedIpMap) ToReservedIpMapOutputWithContext(ctx context.Context) ReservedIpMapOutput

type ReservedIpMapInput added in v4.14.0

type ReservedIpMapInput interface {
	pulumi.Input

	ToReservedIpMapOutput() ReservedIpMapOutput
	ToReservedIpMapOutputWithContext(context.Context) ReservedIpMapOutput
}

ReservedIpMapInput is an input type that accepts ReservedIpMap and ReservedIpMapOutput values. You can construct a concrete instance of `ReservedIpMapInput` via:

ReservedIpMap{ "key": ReservedIpArgs{...} }

type ReservedIpMapOutput added in v4.14.0

type ReservedIpMapOutput struct{ *pulumi.OutputState }

func (ReservedIpMapOutput) ElementType added in v4.14.0

func (ReservedIpMapOutput) ElementType() reflect.Type

func (ReservedIpMapOutput) MapIndex added in v4.14.0

func (ReservedIpMapOutput) ToReservedIpMapOutput added in v4.14.0

func (o ReservedIpMapOutput) ToReservedIpMapOutput() ReservedIpMapOutput

func (ReservedIpMapOutput) ToReservedIpMapOutputWithContext added in v4.14.0

func (o ReservedIpMapOutput) ToReservedIpMapOutputWithContext(ctx context.Context) ReservedIpMapOutput

type ReservedIpOutput added in v4.14.0

type ReservedIpOutput struct{ *pulumi.OutputState }

func (ReservedIpOutput) DropletId added in v4.14.0

func (o ReservedIpOutput) DropletId() pulumi.IntPtrOutput

The ID of Droplet that the reserved IP will be assigned to.

func (ReservedIpOutput) ElementType added in v4.14.0

func (ReservedIpOutput) ElementType() reflect.Type

func (ReservedIpOutput) IpAddress added in v4.14.0

func (o ReservedIpOutput) IpAddress() pulumi.StringOutput

The IP Address of the resource

func (ReservedIpOutput) Region added in v4.14.0

The region that the reserved IP is reserved to.

func (ReservedIpOutput) ReservedIpUrn added in v4.25.0

func (o ReservedIpOutput) ReservedIpUrn() pulumi.StringOutput

The uniform resource name of the reserved ip

func (ReservedIpOutput) ToReservedIpOutput added in v4.14.0

func (o ReservedIpOutput) ToReservedIpOutput() ReservedIpOutput

func (ReservedIpOutput) ToReservedIpOutputWithContext added in v4.14.0

func (o ReservedIpOutput) ToReservedIpOutputWithContext(ctx context.Context) ReservedIpOutput

type ReservedIpState added in v4.14.0

type ReservedIpState struct {
	// The ID of Droplet that the reserved IP will be assigned to.
	DropletId pulumi.IntPtrInput
	// The IP Address of the resource
	IpAddress pulumi.StringPtrInput
	// The region that the reserved IP is reserved to.
	Region pulumi.StringPtrInput
	// The uniform resource name of the reserved ip
	ReservedIpUrn pulumi.StringPtrInput
}

func (ReservedIpState) ElementType added in v4.14.0

func (ReservedIpState) ElementType() reflect.Type

type SpacesBucket

type SpacesBucket struct {
	pulumi.CustomResourceState

	// Canned ACL applied on bucket creation (`private` or `public-read`)
	Acl pulumi.StringPtrOutput `pulumi:"acl"`
	// The FQDN of the bucket (e.g. bucket-name.nyc3.digitaloceanspaces.com)
	BucketDomainName pulumi.StringOutput `pulumi:"bucketDomainName"`
	// The uniform resource name for the bucket
	BucketUrn pulumi.StringOutput `pulumi:"bucketUrn"`
	// A rule of Cross-Origin Resource Sharing (documented below).
	//
	// Deprecated: Terraform will only perform drift detection if a configuration value is provided. Use the resource `SpacesBucketCorsConfiguration` instead.
	CorsRules SpacesBucketCorsRuleArrayOutput `pulumi:"corsRules"`
	// The FQDN of the bucket without the bucket name (e.g. nyc3.digitaloceanspaces.com)
	Endpoint pulumi.StringOutput `pulumi:"endpoint"`
	// Unless `true`, the bucket will only be destroyed if empty (Defaults to `false`)
	ForceDestroy pulumi.BoolPtrOutput `pulumi:"forceDestroy"`
	// A configuration of object lifecycle management (documented below).
	LifecycleRules SpacesBucketLifecycleRuleArrayOutput `pulumi:"lifecycleRules"`
	// The name of the bucket
	Name pulumi.StringOutput `pulumi:"name"`
	// The region where the bucket resides (Defaults to `nyc3`)
	Region pulumi.StringPtrOutput `pulumi:"region"`
	// A state of versioning (documented below)
	Versioning SpacesBucketVersioningPtrOutput `pulumi:"versioning"`
}

Provides a bucket resource for Spaces, DigitalOcean's object storage product.

The [Spaces API](https://docs.digitalocean.com/reference/api/spaces-api/) was designed to be interoperable with Amazon's AWS S3 API. This allows users to interact with the service while using the tools they already know. Spaces mirrors S3's authentication framework and requests to Spaces require a key pair similar to Amazon's Access ID and Secret Key.

The authentication requirement can be met by either setting the `SPACES_ACCESS_KEY_ID` and `SPACES_SECRET_ACCESS_KEY` environment variables or the provider's `spacesAccessId` and `spacesSecretKey` arguments to the access ID and secret you generate via the DigitalOcean control panel. For example:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.NewSpacesBucket(ctx, "static-assets", nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

For more information, See [An Introduction to DigitalOcean Spaces](https://www.digitalocean.com/community/tutorials/an-introduction-to-digitalocean-spaces)

## Example Usage

### Create a New Bucket

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.NewSpacesBucket(ctx, "foobar", &digitalocean.SpacesBucketArgs{
			Region: pulumi.String(digitalocean.RegionNYC3),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Create a New Bucket With CORS Rules

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.NewSpacesBucket(ctx, "foobar", &digitalocean.SpacesBucketArgs{
			CorsRules: digitalocean.SpacesBucketCorsRuleArray{
				&digitalocean.SpacesBucketCorsRuleArgs{
					AllowedHeaders: pulumi.StringArray{
						pulumi.String("*"),
					},
					AllowedMethods: pulumi.StringArray{
						pulumi.String("GET"),
					},
					AllowedOrigins: pulumi.StringArray{
						pulumi.String("*"),
					},
					MaxAgeSeconds: pulumi.Int(3000),
				},
				&digitalocean.SpacesBucketCorsRuleArgs{
					AllowedHeaders: pulumi.StringArray{
						pulumi.String("*"),
					},
					AllowedMethods: pulumi.StringArray{
						pulumi.String("PUT"),
						pulumi.String("POST"),
						pulumi.String("DELETE"),
					},
					AllowedOrigins: pulumi.StringArray{
						pulumi.String("https://www.example.com"),
					},
					MaxAgeSeconds: pulumi.Int(3000),
				},
			},
			Region: pulumi.String(digitalocean.RegionNYC3),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Buckets can be imported using the `region` and `name` attributes (delimited by a comma):

```sh $ pulumi import digitalocean:index/spacesBucket:SpacesBucket foobar `region`,`name` ```

func GetSpacesBucket

func GetSpacesBucket(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SpacesBucketState, opts ...pulumi.ResourceOption) (*SpacesBucket, error)

GetSpacesBucket gets an existing SpacesBucket 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 NewSpacesBucket

func NewSpacesBucket(ctx *pulumi.Context,
	name string, args *SpacesBucketArgs, opts ...pulumi.ResourceOption) (*SpacesBucket, error)

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

func (*SpacesBucket) ElementType

func (*SpacesBucket) ElementType() reflect.Type

func (*SpacesBucket) ToSpacesBucketOutput

func (i *SpacesBucket) ToSpacesBucketOutput() SpacesBucketOutput

func (*SpacesBucket) ToSpacesBucketOutputWithContext

func (i *SpacesBucket) ToSpacesBucketOutputWithContext(ctx context.Context) SpacesBucketOutput

type SpacesBucketArgs

type SpacesBucketArgs struct {
	// Canned ACL applied on bucket creation (`private` or `public-read`)
	Acl pulumi.StringPtrInput
	// A rule of Cross-Origin Resource Sharing (documented below).
	//
	// Deprecated: Terraform will only perform drift detection if a configuration value is provided. Use the resource `SpacesBucketCorsConfiguration` instead.
	CorsRules SpacesBucketCorsRuleArrayInput
	// Unless `true`, the bucket will only be destroyed if empty (Defaults to `false`)
	ForceDestroy pulumi.BoolPtrInput
	// A configuration of object lifecycle management (documented below).
	LifecycleRules SpacesBucketLifecycleRuleArrayInput
	// The name of the bucket
	Name pulumi.StringPtrInput
	// The region where the bucket resides (Defaults to `nyc3`)
	Region pulumi.StringPtrInput
	// A state of versioning (documented below)
	Versioning SpacesBucketVersioningPtrInput
}

The set of arguments for constructing a SpacesBucket resource.

func (SpacesBucketArgs) ElementType

func (SpacesBucketArgs) ElementType() reflect.Type

type SpacesBucketArray

type SpacesBucketArray []SpacesBucketInput

func (SpacesBucketArray) ElementType

func (SpacesBucketArray) ElementType() reflect.Type

func (SpacesBucketArray) ToSpacesBucketArrayOutput

func (i SpacesBucketArray) ToSpacesBucketArrayOutput() SpacesBucketArrayOutput

func (SpacesBucketArray) ToSpacesBucketArrayOutputWithContext

func (i SpacesBucketArray) ToSpacesBucketArrayOutputWithContext(ctx context.Context) SpacesBucketArrayOutput

type SpacesBucketArrayInput

type SpacesBucketArrayInput interface {
	pulumi.Input

	ToSpacesBucketArrayOutput() SpacesBucketArrayOutput
	ToSpacesBucketArrayOutputWithContext(context.Context) SpacesBucketArrayOutput
}

SpacesBucketArrayInput is an input type that accepts SpacesBucketArray and SpacesBucketArrayOutput values. You can construct a concrete instance of `SpacesBucketArrayInput` via:

SpacesBucketArray{ SpacesBucketArgs{...} }

type SpacesBucketArrayOutput

type SpacesBucketArrayOutput struct{ *pulumi.OutputState }

func (SpacesBucketArrayOutput) ElementType

func (SpacesBucketArrayOutput) ElementType() reflect.Type

func (SpacesBucketArrayOutput) Index

func (SpacesBucketArrayOutput) ToSpacesBucketArrayOutput

func (o SpacesBucketArrayOutput) ToSpacesBucketArrayOutput() SpacesBucketArrayOutput

func (SpacesBucketArrayOutput) ToSpacesBucketArrayOutputWithContext

func (o SpacesBucketArrayOutput) ToSpacesBucketArrayOutputWithContext(ctx context.Context) SpacesBucketArrayOutput

type SpacesBucketCorsConfiguration added in v4.22.0

type SpacesBucketCorsConfiguration struct {
	pulumi.CustomResourceState

	// The name of the bucket to which to apply the CORS configuration.
	Bucket pulumi.StringOutput `pulumi:"bucket"`
	// Set of origins and methods (cross-origin access that you want to allow). See below. You can configure up to 100 rules.
	CorsRules SpacesBucketCorsConfigurationCorsRuleArrayOutput `pulumi:"corsRules"`
	// The region where the bucket resides.
	Region pulumi.StringOutput `pulumi:"region"`
}

## Example Usage

### Create a Key in a Spaces Bucket

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		foobar, err := digitalocean.NewSpacesBucket(ctx, "foobar", &digitalocean.SpacesBucketArgs{
			Region: pulumi.String(digitalocean.RegionNYC3),
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewSpacesBucketCorsConfiguration(ctx, "test", &digitalocean.SpacesBucketCorsConfigurationArgs{
			Bucket: foobar.ID(),
			Region: pulumi.String("nyc3"),
			CorsRules: digitalocean.SpacesBucketCorsConfigurationCorsRuleArray{
				&digitalocean.SpacesBucketCorsConfigurationCorsRuleArgs{
					AllowedHeaders: pulumi.StringArray{
						pulumi.String("*"),
					},
					AllowedMethods: pulumi.StringArray{
						pulumi.String("PUT"),
						pulumi.String("POST"),
					},
					AllowedOrigins: pulumi.StringArray{
						pulumi.String("https://s3-website-test.hashicorp.com"),
					},
					ExposeHeaders: pulumi.StringArray{
						pulumi.String("ETag"),
					},
					MaxAgeSeconds: pulumi.Int(3000),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Bucket policies can be imported using the `region` and `bucket` attributes (delimited by a comma):

```sh $ pulumi import digitalocean:index/spacesBucketCorsConfiguration:SpacesBucketCorsConfiguration foobar `region`,`bucket` ```

func GetSpacesBucketCorsConfiguration added in v4.22.0

func GetSpacesBucketCorsConfiguration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SpacesBucketCorsConfigurationState, opts ...pulumi.ResourceOption) (*SpacesBucketCorsConfiguration, error)

GetSpacesBucketCorsConfiguration gets an existing SpacesBucketCorsConfiguration 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 NewSpacesBucketCorsConfiguration added in v4.22.0

func NewSpacesBucketCorsConfiguration(ctx *pulumi.Context,
	name string, args *SpacesBucketCorsConfigurationArgs, opts ...pulumi.ResourceOption) (*SpacesBucketCorsConfiguration, error)

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

func (*SpacesBucketCorsConfiguration) ElementType added in v4.22.0

func (*SpacesBucketCorsConfiguration) ToSpacesBucketCorsConfigurationOutput added in v4.22.0

func (i *SpacesBucketCorsConfiguration) ToSpacesBucketCorsConfigurationOutput() SpacesBucketCorsConfigurationOutput

func (*SpacesBucketCorsConfiguration) ToSpacesBucketCorsConfigurationOutputWithContext added in v4.22.0

func (i *SpacesBucketCorsConfiguration) ToSpacesBucketCorsConfigurationOutputWithContext(ctx context.Context) SpacesBucketCorsConfigurationOutput

type SpacesBucketCorsConfigurationArgs added in v4.22.0

type SpacesBucketCorsConfigurationArgs struct {
	// The name of the bucket to which to apply the CORS configuration.
	Bucket pulumi.StringInput
	// Set of origins and methods (cross-origin access that you want to allow). See below. You can configure up to 100 rules.
	CorsRules SpacesBucketCorsConfigurationCorsRuleArrayInput
	// The region where the bucket resides.
	Region pulumi.StringInput
}

The set of arguments for constructing a SpacesBucketCorsConfiguration resource.

func (SpacesBucketCorsConfigurationArgs) ElementType added in v4.22.0

type SpacesBucketCorsConfigurationArray added in v4.22.0

type SpacesBucketCorsConfigurationArray []SpacesBucketCorsConfigurationInput

func (SpacesBucketCorsConfigurationArray) ElementType added in v4.22.0

func (SpacesBucketCorsConfigurationArray) ToSpacesBucketCorsConfigurationArrayOutput added in v4.22.0

func (i SpacesBucketCorsConfigurationArray) ToSpacesBucketCorsConfigurationArrayOutput() SpacesBucketCorsConfigurationArrayOutput

func (SpacesBucketCorsConfigurationArray) ToSpacesBucketCorsConfigurationArrayOutputWithContext added in v4.22.0

func (i SpacesBucketCorsConfigurationArray) ToSpacesBucketCorsConfigurationArrayOutputWithContext(ctx context.Context) SpacesBucketCorsConfigurationArrayOutput

type SpacesBucketCorsConfigurationArrayInput added in v4.22.0

type SpacesBucketCorsConfigurationArrayInput interface {
	pulumi.Input

	ToSpacesBucketCorsConfigurationArrayOutput() SpacesBucketCorsConfigurationArrayOutput
	ToSpacesBucketCorsConfigurationArrayOutputWithContext(context.Context) SpacesBucketCorsConfigurationArrayOutput
}

SpacesBucketCorsConfigurationArrayInput is an input type that accepts SpacesBucketCorsConfigurationArray and SpacesBucketCorsConfigurationArrayOutput values. You can construct a concrete instance of `SpacesBucketCorsConfigurationArrayInput` via:

SpacesBucketCorsConfigurationArray{ SpacesBucketCorsConfigurationArgs{...} }

type SpacesBucketCorsConfigurationArrayOutput added in v4.22.0

type SpacesBucketCorsConfigurationArrayOutput struct{ *pulumi.OutputState }

func (SpacesBucketCorsConfigurationArrayOutput) ElementType added in v4.22.0

func (SpacesBucketCorsConfigurationArrayOutput) Index added in v4.22.0

func (SpacesBucketCorsConfigurationArrayOutput) ToSpacesBucketCorsConfigurationArrayOutput added in v4.22.0

func (o SpacesBucketCorsConfigurationArrayOutput) ToSpacesBucketCorsConfigurationArrayOutput() SpacesBucketCorsConfigurationArrayOutput

func (SpacesBucketCorsConfigurationArrayOutput) ToSpacesBucketCorsConfigurationArrayOutputWithContext added in v4.22.0

func (o SpacesBucketCorsConfigurationArrayOutput) ToSpacesBucketCorsConfigurationArrayOutputWithContext(ctx context.Context) SpacesBucketCorsConfigurationArrayOutput

type SpacesBucketCorsConfigurationCorsRule added in v4.22.0

type SpacesBucketCorsConfigurationCorsRule struct {
	// Set of Headers that are specified in the Access-Control-Request-Headers header.
	AllowedHeaders []string `pulumi:"allowedHeaders"`
	// Set of HTTP methods that you allow the origin to execute. Valid values are GET, PUT, HEAD, POST, and DELETE.
	AllowedMethods []string `pulumi:"allowedMethods"`
	// Set of origins you want customers to be able to access the bucket from.
	AllowedOrigins []string `pulumi:"allowedOrigins"`
	// Set of headers in the response that you want customers to be able to access from their applications (for example, from a JavaScript XMLHttpRequest object).
	ExposeHeaders []string `pulumi:"exposeHeaders"`
	// Unique identifier for the rule. The value cannot be longer than 255 characters.
	Id *string `pulumi:"id"`
	// Time in seconds that your browser is to cache the preflight response for the specified resource.
	MaxAgeSeconds *int `pulumi:"maxAgeSeconds"`
}

type SpacesBucketCorsConfigurationCorsRuleArgs added in v4.22.0

type SpacesBucketCorsConfigurationCorsRuleArgs struct {
	// Set of Headers that are specified in the Access-Control-Request-Headers header.
	AllowedHeaders pulumi.StringArrayInput `pulumi:"allowedHeaders"`
	// Set of HTTP methods that you allow the origin to execute. Valid values are GET, PUT, HEAD, POST, and DELETE.
	AllowedMethods pulumi.StringArrayInput `pulumi:"allowedMethods"`
	// Set of origins you want customers to be able to access the bucket from.
	AllowedOrigins pulumi.StringArrayInput `pulumi:"allowedOrigins"`
	// Set of headers in the response that you want customers to be able to access from their applications (for example, from a JavaScript XMLHttpRequest object).
	ExposeHeaders pulumi.StringArrayInput `pulumi:"exposeHeaders"`
	// Unique identifier for the rule. The value cannot be longer than 255 characters.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// Time in seconds that your browser is to cache the preflight response for the specified resource.
	MaxAgeSeconds pulumi.IntPtrInput `pulumi:"maxAgeSeconds"`
}

func (SpacesBucketCorsConfigurationCorsRuleArgs) ElementType added in v4.22.0

func (SpacesBucketCorsConfigurationCorsRuleArgs) ToSpacesBucketCorsConfigurationCorsRuleOutput added in v4.22.0

func (i SpacesBucketCorsConfigurationCorsRuleArgs) ToSpacesBucketCorsConfigurationCorsRuleOutput() SpacesBucketCorsConfigurationCorsRuleOutput

func (SpacesBucketCorsConfigurationCorsRuleArgs) ToSpacesBucketCorsConfigurationCorsRuleOutputWithContext added in v4.22.0

func (i SpacesBucketCorsConfigurationCorsRuleArgs) ToSpacesBucketCorsConfigurationCorsRuleOutputWithContext(ctx context.Context) SpacesBucketCorsConfigurationCorsRuleOutput

type SpacesBucketCorsConfigurationCorsRuleArray added in v4.22.0

type SpacesBucketCorsConfigurationCorsRuleArray []SpacesBucketCorsConfigurationCorsRuleInput

func (SpacesBucketCorsConfigurationCorsRuleArray) ElementType added in v4.22.0

func (SpacesBucketCorsConfigurationCorsRuleArray) ToSpacesBucketCorsConfigurationCorsRuleArrayOutput added in v4.22.0

func (i SpacesBucketCorsConfigurationCorsRuleArray) ToSpacesBucketCorsConfigurationCorsRuleArrayOutput() SpacesBucketCorsConfigurationCorsRuleArrayOutput

func (SpacesBucketCorsConfigurationCorsRuleArray) ToSpacesBucketCorsConfigurationCorsRuleArrayOutputWithContext added in v4.22.0

func (i SpacesBucketCorsConfigurationCorsRuleArray) ToSpacesBucketCorsConfigurationCorsRuleArrayOutputWithContext(ctx context.Context) SpacesBucketCorsConfigurationCorsRuleArrayOutput

type SpacesBucketCorsConfigurationCorsRuleArrayInput added in v4.22.0

type SpacesBucketCorsConfigurationCorsRuleArrayInput interface {
	pulumi.Input

	ToSpacesBucketCorsConfigurationCorsRuleArrayOutput() SpacesBucketCorsConfigurationCorsRuleArrayOutput
	ToSpacesBucketCorsConfigurationCorsRuleArrayOutputWithContext(context.Context) SpacesBucketCorsConfigurationCorsRuleArrayOutput
}

SpacesBucketCorsConfigurationCorsRuleArrayInput is an input type that accepts SpacesBucketCorsConfigurationCorsRuleArray and SpacesBucketCorsConfigurationCorsRuleArrayOutput values. You can construct a concrete instance of `SpacesBucketCorsConfigurationCorsRuleArrayInput` via:

SpacesBucketCorsConfigurationCorsRuleArray{ SpacesBucketCorsConfigurationCorsRuleArgs{...} }

type SpacesBucketCorsConfigurationCorsRuleArrayOutput added in v4.22.0

type SpacesBucketCorsConfigurationCorsRuleArrayOutput struct{ *pulumi.OutputState }

func (SpacesBucketCorsConfigurationCorsRuleArrayOutput) ElementType added in v4.22.0

func (SpacesBucketCorsConfigurationCorsRuleArrayOutput) Index added in v4.22.0

func (SpacesBucketCorsConfigurationCorsRuleArrayOutput) ToSpacesBucketCorsConfigurationCorsRuleArrayOutput added in v4.22.0

func (o SpacesBucketCorsConfigurationCorsRuleArrayOutput) ToSpacesBucketCorsConfigurationCorsRuleArrayOutput() SpacesBucketCorsConfigurationCorsRuleArrayOutput

func (SpacesBucketCorsConfigurationCorsRuleArrayOutput) ToSpacesBucketCorsConfigurationCorsRuleArrayOutputWithContext added in v4.22.0

func (o SpacesBucketCorsConfigurationCorsRuleArrayOutput) ToSpacesBucketCorsConfigurationCorsRuleArrayOutputWithContext(ctx context.Context) SpacesBucketCorsConfigurationCorsRuleArrayOutput

type SpacesBucketCorsConfigurationCorsRuleInput added in v4.22.0

type SpacesBucketCorsConfigurationCorsRuleInput interface {
	pulumi.Input

	ToSpacesBucketCorsConfigurationCorsRuleOutput() SpacesBucketCorsConfigurationCorsRuleOutput
	ToSpacesBucketCorsConfigurationCorsRuleOutputWithContext(context.Context) SpacesBucketCorsConfigurationCorsRuleOutput
}

SpacesBucketCorsConfigurationCorsRuleInput is an input type that accepts SpacesBucketCorsConfigurationCorsRuleArgs and SpacesBucketCorsConfigurationCorsRuleOutput values. You can construct a concrete instance of `SpacesBucketCorsConfigurationCorsRuleInput` via:

SpacesBucketCorsConfigurationCorsRuleArgs{...}

type SpacesBucketCorsConfigurationCorsRuleOutput added in v4.22.0

type SpacesBucketCorsConfigurationCorsRuleOutput struct{ *pulumi.OutputState }

func (SpacesBucketCorsConfigurationCorsRuleOutput) AllowedHeaders added in v4.22.0

Set of Headers that are specified in the Access-Control-Request-Headers header.

func (SpacesBucketCorsConfigurationCorsRuleOutput) AllowedMethods added in v4.22.0

Set of HTTP methods that you allow the origin to execute. Valid values are GET, PUT, HEAD, POST, and DELETE.

func (SpacesBucketCorsConfigurationCorsRuleOutput) AllowedOrigins added in v4.22.0

Set of origins you want customers to be able to access the bucket from.

func (SpacesBucketCorsConfigurationCorsRuleOutput) ElementType added in v4.22.0

func (SpacesBucketCorsConfigurationCorsRuleOutput) ExposeHeaders added in v4.22.0

Set of headers in the response that you want customers to be able to access from their applications (for example, from a JavaScript XMLHttpRequest object).

func (SpacesBucketCorsConfigurationCorsRuleOutput) Id added in v4.22.0

Unique identifier for the rule. The value cannot be longer than 255 characters.

func (SpacesBucketCorsConfigurationCorsRuleOutput) MaxAgeSeconds added in v4.22.0

Time in seconds that your browser is to cache the preflight response for the specified resource.

func (SpacesBucketCorsConfigurationCorsRuleOutput) ToSpacesBucketCorsConfigurationCorsRuleOutput added in v4.22.0

func (o SpacesBucketCorsConfigurationCorsRuleOutput) ToSpacesBucketCorsConfigurationCorsRuleOutput() SpacesBucketCorsConfigurationCorsRuleOutput

func (SpacesBucketCorsConfigurationCorsRuleOutput) ToSpacesBucketCorsConfigurationCorsRuleOutputWithContext added in v4.22.0

func (o SpacesBucketCorsConfigurationCorsRuleOutput) ToSpacesBucketCorsConfigurationCorsRuleOutputWithContext(ctx context.Context) SpacesBucketCorsConfigurationCorsRuleOutput

type SpacesBucketCorsConfigurationInput added in v4.22.0

type SpacesBucketCorsConfigurationInput interface {
	pulumi.Input

	ToSpacesBucketCorsConfigurationOutput() SpacesBucketCorsConfigurationOutput
	ToSpacesBucketCorsConfigurationOutputWithContext(ctx context.Context) SpacesBucketCorsConfigurationOutput
}

type SpacesBucketCorsConfigurationMap added in v4.22.0

type SpacesBucketCorsConfigurationMap map[string]SpacesBucketCorsConfigurationInput

func (SpacesBucketCorsConfigurationMap) ElementType added in v4.22.0

func (SpacesBucketCorsConfigurationMap) ToSpacesBucketCorsConfigurationMapOutput added in v4.22.0

func (i SpacesBucketCorsConfigurationMap) ToSpacesBucketCorsConfigurationMapOutput() SpacesBucketCorsConfigurationMapOutput

func (SpacesBucketCorsConfigurationMap) ToSpacesBucketCorsConfigurationMapOutputWithContext added in v4.22.0

func (i SpacesBucketCorsConfigurationMap) ToSpacesBucketCorsConfigurationMapOutputWithContext(ctx context.Context) SpacesBucketCorsConfigurationMapOutput

type SpacesBucketCorsConfigurationMapInput added in v4.22.0

type SpacesBucketCorsConfigurationMapInput interface {
	pulumi.Input

	ToSpacesBucketCorsConfigurationMapOutput() SpacesBucketCorsConfigurationMapOutput
	ToSpacesBucketCorsConfigurationMapOutputWithContext(context.Context) SpacesBucketCorsConfigurationMapOutput
}

SpacesBucketCorsConfigurationMapInput is an input type that accepts SpacesBucketCorsConfigurationMap and SpacesBucketCorsConfigurationMapOutput values. You can construct a concrete instance of `SpacesBucketCorsConfigurationMapInput` via:

SpacesBucketCorsConfigurationMap{ "key": SpacesBucketCorsConfigurationArgs{...} }

type SpacesBucketCorsConfigurationMapOutput added in v4.22.0

type SpacesBucketCorsConfigurationMapOutput struct{ *pulumi.OutputState }

func (SpacesBucketCorsConfigurationMapOutput) ElementType added in v4.22.0

func (SpacesBucketCorsConfigurationMapOutput) MapIndex added in v4.22.0

func (SpacesBucketCorsConfigurationMapOutput) ToSpacesBucketCorsConfigurationMapOutput added in v4.22.0

func (o SpacesBucketCorsConfigurationMapOutput) ToSpacesBucketCorsConfigurationMapOutput() SpacesBucketCorsConfigurationMapOutput

func (SpacesBucketCorsConfigurationMapOutput) ToSpacesBucketCorsConfigurationMapOutputWithContext added in v4.22.0

func (o SpacesBucketCorsConfigurationMapOutput) ToSpacesBucketCorsConfigurationMapOutputWithContext(ctx context.Context) SpacesBucketCorsConfigurationMapOutput

type SpacesBucketCorsConfigurationOutput added in v4.22.0

type SpacesBucketCorsConfigurationOutput struct{ *pulumi.OutputState }

func (SpacesBucketCorsConfigurationOutput) Bucket added in v4.22.0

The name of the bucket to which to apply the CORS configuration.

func (SpacesBucketCorsConfigurationOutput) CorsRules added in v4.22.0

Set of origins and methods (cross-origin access that you want to allow). See below. You can configure up to 100 rules.

func (SpacesBucketCorsConfigurationOutput) ElementType added in v4.22.0

func (SpacesBucketCorsConfigurationOutput) Region added in v4.22.0

The region where the bucket resides.

func (SpacesBucketCorsConfigurationOutput) ToSpacesBucketCorsConfigurationOutput added in v4.22.0

func (o SpacesBucketCorsConfigurationOutput) ToSpacesBucketCorsConfigurationOutput() SpacesBucketCorsConfigurationOutput

func (SpacesBucketCorsConfigurationOutput) ToSpacesBucketCorsConfigurationOutputWithContext added in v4.22.0

func (o SpacesBucketCorsConfigurationOutput) ToSpacesBucketCorsConfigurationOutputWithContext(ctx context.Context) SpacesBucketCorsConfigurationOutput

type SpacesBucketCorsConfigurationState added in v4.22.0

type SpacesBucketCorsConfigurationState struct {
	// The name of the bucket to which to apply the CORS configuration.
	Bucket pulumi.StringPtrInput
	// Set of origins and methods (cross-origin access that you want to allow). See below. You can configure up to 100 rules.
	CorsRules SpacesBucketCorsConfigurationCorsRuleArrayInput
	// The region where the bucket resides.
	Region pulumi.StringPtrInput
}

func (SpacesBucketCorsConfigurationState) ElementType added in v4.22.0

type SpacesBucketCorsRule

type SpacesBucketCorsRule struct {
	// A list of headers that will be included in the CORS preflight request's `Access-Control-Request-Headers`. A header may contain one wildcard (e.g. `x-amz-*`).
	AllowedHeaders []string `pulumi:"allowedHeaders"`
	// A list of HTTP methods (e.g. `GET`) which are allowed from the specified origin.
	AllowedMethods []string `pulumi:"allowedMethods"`
	// A list of hosts from which requests using the specified methods are allowed. A host may contain one wildcard (e.g. http://*.example.com).
	AllowedOrigins []string `pulumi:"allowedOrigins"`
	// The time in seconds that browser can cache the response for a preflight request.
	MaxAgeSeconds *int `pulumi:"maxAgeSeconds"`
}

type SpacesBucketCorsRuleArgs

type SpacesBucketCorsRuleArgs struct {
	// A list of headers that will be included in the CORS preflight request's `Access-Control-Request-Headers`. A header may contain one wildcard (e.g. `x-amz-*`).
	AllowedHeaders pulumi.StringArrayInput `pulumi:"allowedHeaders"`
	// A list of HTTP methods (e.g. `GET`) which are allowed from the specified origin.
	AllowedMethods pulumi.StringArrayInput `pulumi:"allowedMethods"`
	// A list of hosts from which requests using the specified methods are allowed. A host may contain one wildcard (e.g. http://*.example.com).
	AllowedOrigins pulumi.StringArrayInput `pulumi:"allowedOrigins"`
	// The time in seconds that browser can cache the response for a preflight request.
	MaxAgeSeconds pulumi.IntPtrInput `pulumi:"maxAgeSeconds"`
}

func (SpacesBucketCorsRuleArgs) ElementType

func (SpacesBucketCorsRuleArgs) ElementType() reflect.Type

func (SpacesBucketCorsRuleArgs) ToSpacesBucketCorsRuleOutput

func (i SpacesBucketCorsRuleArgs) ToSpacesBucketCorsRuleOutput() SpacesBucketCorsRuleOutput

func (SpacesBucketCorsRuleArgs) ToSpacesBucketCorsRuleOutputWithContext

func (i SpacesBucketCorsRuleArgs) ToSpacesBucketCorsRuleOutputWithContext(ctx context.Context) SpacesBucketCorsRuleOutput

type SpacesBucketCorsRuleArray

type SpacesBucketCorsRuleArray []SpacesBucketCorsRuleInput

func (SpacesBucketCorsRuleArray) ElementType

func (SpacesBucketCorsRuleArray) ElementType() reflect.Type

func (SpacesBucketCorsRuleArray) ToSpacesBucketCorsRuleArrayOutput

func (i SpacesBucketCorsRuleArray) ToSpacesBucketCorsRuleArrayOutput() SpacesBucketCorsRuleArrayOutput

func (SpacesBucketCorsRuleArray) ToSpacesBucketCorsRuleArrayOutputWithContext

func (i SpacesBucketCorsRuleArray) ToSpacesBucketCorsRuleArrayOutputWithContext(ctx context.Context) SpacesBucketCorsRuleArrayOutput

type SpacesBucketCorsRuleArrayInput

type SpacesBucketCorsRuleArrayInput interface {
	pulumi.Input

	ToSpacesBucketCorsRuleArrayOutput() SpacesBucketCorsRuleArrayOutput
	ToSpacesBucketCorsRuleArrayOutputWithContext(context.Context) SpacesBucketCorsRuleArrayOutput
}

SpacesBucketCorsRuleArrayInput is an input type that accepts SpacesBucketCorsRuleArray and SpacesBucketCorsRuleArrayOutput values. You can construct a concrete instance of `SpacesBucketCorsRuleArrayInput` via:

SpacesBucketCorsRuleArray{ SpacesBucketCorsRuleArgs{...} }

type SpacesBucketCorsRuleArrayOutput

type SpacesBucketCorsRuleArrayOutput struct{ *pulumi.OutputState }

func (SpacesBucketCorsRuleArrayOutput) ElementType

func (SpacesBucketCorsRuleArrayOutput) Index

func (SpacesBucketCorsRuleArrayOutput) ToSpacesBucketCorsRuleArrayOutput

func (o SpacesBucketCorsRuleArrayOutput) ToSpacesBucketCorsRuleArrayOutput() SpacesBucketCorsRuleArrayOutput

func (SpacesBucketCorsRuleArrayOutput) ToSpacesBucketCorsRuleArrayOutputWithContext

func (o SpacesBucketCorsRuleArrayOutput) ToSpacesBucketCorsRuleArrayOutputWithContext(ctx context.Context) SpacesBucketCorsRuleArrayOutput

type SpacesBucketCorsRuleInput

type SpacesBucketCorsRuleInput interface {
	pulumi.Input

	ToSpacesBucketCorsRuleOutput() SpacesBucketCorsRuleOutput
	ToSpacesBucketCorsRuleOutputWithContext(context.Context) SpacesBucketCorsRuleOutput
}

SpacesBucketCorsRuleInput is an input type that accepts SpacesBucketCorsRuleArgs and SpacesBucketCorsRuleOutput values. You can construct a concrete instance of `SpacesBucketCorsRuleInput` via:

SpacesBucketCorsRuleArgs{...}

type SpacesBucketCorsRuleOutput

type SpacesBucketCorsRuleOutput struct{ *pulumi.OutputState }

func (SpacesBucketCorsRuleOutput) AllowedHeaders

A list of headers that will be included in the CORS preflight request's `Access-Control-Request-Headers`. A header may contain one wildcard (e.g. `x-amz-*`).

func (SpacesBucketCorsRuleOutput) AllowedMethods

A list of HTTP methods (e.g. `GET`) which are allowed from the specified origin.

func (SpacesBucketCorsRuleOutput) AllowedOrigins

A list of hosts from which requests using the specified methods are allowed. A host may contain one wildcard (e.g. http://*.example.com).

func (SpacesBucketCorsRuleOutput) ElementType

func (SpacesBucketCorsRuleOutput) ElementType() reflect.Type

func (SpacesBucketCorsRuleOutput) MaxAgeSeconds

The time in seconds that browser can cache the response for a preflight request.

func (SpacesBucketCorsRuleOutput) ToSpacesBucketCorsRuleOutput

func (o SpacesBucketCorsRuleOutput) ToSpacesBucketCorsRuleOutput() SpacesBucketCorsRuleOutput

func (SpacesBucketCorsRuleOutput) ToSpacesBucketCorsRuleOutputWithContext

func (o SpacesBucketCorsRuleOutput) ToSpacesBucketCorsRuleOutputWithContext(ctx context.Context) SpacesBucketCorsRuleOutput

type SpacesBucketInput

type SpacesBucketInput interface {
	pulumi.Input

	ToSpacesBucketOutput() SpacesBucketOutput
	ToSpacesBucketOutputWithContext(ctx context.Context) SpacesBucketOutput
}

type SpacesBucketLifecycleRule

type SpacesBucketLifecycleRule struct {
	// Specifies the number of days after initiating a multipart
	// upload when the multipart upload must be completed or else Spaces will abort the upload.
	AbortIncompleteMultipartUploadDays *int `pulumi:"abortIncompleteMultipartUploadDays"`
	// Specifies lifecycle rule status.
	Enabled bool `pulumi:"enabled"`
	// Specifies a time period after which applicable objects expire (documented below).
	Expiration *SpacesBucketLifecycleRuleExpiration `pulumi:"expiration"`
	// Unique identifier for the rule.
	Id *string `pulumi:"id"`
	// Specifies when non-current object versions expire (documented below).
	//
	// At least one of `expiration` or `noncurrentVersionExpiration` must be specified.
	NoncurrentVersionExpiration *SpacesBucketLifecycleRuleNoncurrentVersionExpiration `pulumi:"noncurrentVersionExpiration"`
	// Object key prefix identifying one or more objects to which the rule applies.
	Prefix *string `pulumi:"prefix"`
}

type SpacesBucketLifecycleRuleArgs

type SpacesBucketLifecycleRuleArgs struct {
	// Specifies the number of days after initiating a multipart
	// upload when the multipart upload must be completed or else Spaces will abort the upload.
	AbortIncompleteMultipartUploadDays pulumi.IntPtrInput `pulumi:"abortIncompleteMultipartUploadDays"`
	// Specifies lifecycle rule status.
	Enabled pulumi.BoolInput `pulumi:"enabled"`
	// Specifies a time period after which applicable objects expire (documented below).
	Expiration SpacesBucketLifecycleRuleExpirationPtrInput `pulumi:"expiration"`
	// Unique identifier for the rule.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// Specifies when non-current object versions expire (documented below).
	//
	// At least one of `expiration` or `noncurrentVersionExpiration` must be specified.
	NoncurrentVersionExpiration SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrInput `pulumi:"noncurrentVersionExpiration"`
	// Object key prefix identifying one or more objects to which the rule applies.
	Prefix pulumi.StringPtrInput `pulumi:"prefix"`
}

func (SpacesBucketLifecycleRuleArgs) ElementType

func (SpacesBucketLifecycleRuleArgs) ToSpacesBucketLifecycleRuleOutput

func (i SpacesBucketLifecycleRuleArgs) ToSpacesBucketLifecycleRuleOutput() SpacesBucketLifecycleRuleOutput

func (SpacesBucketLifecycleRuleArgs) ToSpacesBucketLifecycleRuleOutputWithContext

func (i SpacesBucketLifecycleRuleArgs) ToSpacesBucketLifecycleRuleOutputWithContext(ctx context.Context) SpacesBucketLifecycleRuleOutput

type SpacesBucketLifecycleRuleArray

type SpacesBucketLifecycleRuleArray []SpacesBucketLifecycleRuleInput

func (SpacesBucketLifecycleRuleArray) ElementType

func (SpacesBucketLifecycleRuleArray) ToSpacesBucketLifecycleRuleArrayOutput

func (i SpacesBucketLifecycleRuleArray) ToSpacesBucketLifecycleRuleArrayOutput() SpacesBucketLifecycleRuleArrayOutput

func (SpacesBucketLifecycleRuleArray) ToSpacesBucketLifecycleRuleArrayOutputWithContext

func (i SpacesBucketLifecycleRuleArray) ToSpacesBucketLifecycleRuleArrayOutputWithContext(ctx context.Context) SpacesBucketLifecycleRuleArrayOutput

type SpacesBucketLifecycleRuleArrayInput

type SpacesBucketLifecycleRuleArrayInput interface {
	pulumi.Input

	ToSpacesBucketLifecycleRuleArrayOutput() SpacesBucketLifecycleRuleArrayOutput
	ToSpacesBucketLifecycleRuleArrayOutputWithContext(context.Context) SpacesBucketLifecycleRuleArrayOutput
}

SpacesBucketLifecycleRuleArrayInput is an input type that accepts SpacesBucketLifecycleRuleArray and SpacesBucketLifecycleRuleArrayOutput values. You can construct a concrete instance of `SpacesBucketLifecycleRuleArrayInput` via:

SpacesBucketLifecycleRuleArray{ SpacesBucketLifecycleRuleArgs{...} }

type SpacesBucketLifecycleRuleArrayOutput

type SpacesBucketLifecycleRuleArrayOutput struct{ *pulumi.OutputState }

func (SpacesBucketLifecycleRuleArrayOutput) ElementType

func (SpacesBucketLifecycleRuleArrayOutput) Index

func (SpacesBucketLifecycleRuleArrayOutput) ToSpacesBucketLifecycleRuleArrayOutput

func (o SpacesBucketLifecycleRuleArrayOutput) ToSpacesBucketLifecycleRuleArrayOutput() SpacesBucketLifecycleRuleArrayOutput

func (SpacesBucketLifecycleRuleArrayOutput) ToSpacesBucketLifecycleRuleArrayOutputWithContext

func (o SpacesBucketLifecycleRuleArrayOutput) ToSpacesBucketLifecycleRuleArrayOutputWithContext(ctx context.Context) SpacesBucketLifecycleRuleArrayOutput

type SpacesBucketLifecycleRuleExpiration

type SpacesBucketLifecycleRuleExpiration struct {
	// Specifies the date/time after which you want applicable objects to expire. The argument uses
	// RFC3339 format, e.g. "2020-03-22T15:03:55Z" or parts thereof e.g. "2019-02-28".
	Date *string `pulumi:"date"`
	// Specifies the number of days after object creation when the applicable objects will expire.
	Days *int `pulumi:"days"`
	// On a versioned bucket (versioning-enabled or versioning-suspended
	// bucket), setting this to true directs Spaces to delete expired object delete markers.
	ExpiredObjectDeleteMarker *bool `pulumi:"expiredObjectDeleteMarker"`
}

type SpacesBucketLifecycleRuleExpirationArgs

type SpacesBucketLifecycleRuleExpirationArgs struct {
	// Specifies the date/time after which you want applicable objects to expire. The argument uses
	// RFC3339 format, e.g. "2020-03-22T15:03:55Z" or parts thereof e.g. "2019-02-28".
	Date pulumi.StringPtrInput `pulumi:"date"`
	// Specifies the number of days after object creation when the applicable objects will expire.
	Days pulumi.IntPtrInput `pulumi:"days"`
	// On a versioned bucket (versioning-enabled or versioning-suspended
	// bucket), setting this to true directs Spaces to delete expired object delete markers.
	ExpiredObjectDeleteMarker pulumi.BoolPtrInput `pulumi:"expiredObjectDeleteMarker"`
}

func (SpacesBucketLifecycleRuleExpirationArgs) ElementType

func (SpacesBucketLifecycleRuleExpirationArgs) ToSpacesBucketLifecycleRuleExpirationOutput

func (i SpacesBucketLifecycleRuleExpirationArgs) ToSpacesBucketLifecycleRuleExpirationOutput() SpacesBucketLifecycleRuleExpirationOutput

func (SpacesBucketLifecycleRuleExpirationArgs) ToSpacesBucketLifecycleRuleExpirationOutputWithContext

func (i SpacesBucketLifecycleRuleExpirationArgs) ToSpacesBucketLifecycleRuleExpirationOutputWithContext(ctx context.Context) SpacesBucketLifecycleRuleExpirationOutput

func (SpacesBucketLifecycleRuleExpirationArgs) ToSpacesBucketLifecycleRuleExpirationPtrOutput

func (i SpacesBucketLifecycleRuleExpirationArgs) ToSpacesBucketLifecycleRuleExpirationPtrOutput() SpacesBucketLifecycleRuleExpirationPtrOutput

func (SpacesBucketLifecycleRuleExpirationArgs) ToSpacesBucketLifecycleRuleExpirationPtrOutputWithContext

func (i SpacesBucketLifecycleRuleExpirationArgs) ToSpacesBucketLifecycleRuleExpirationPtrOutputWithContext(ctx context.Context) SpacesBucketLifecycleRuleExpirationPtrOutput

type SpacesBucketLifecycleRuleExpirationInput

type SpacesBucketLifecycleRuleExpirationInput interface {
	pulumi.Input

	ToSpacesBucketLifecycleRuleExpirationOutput() SpacesBucketLifecycleRuleExpirationOutput
	ToSpacesBucketLifecycleRuleExpirationOutputWithContext(context.Context) SpacesBucketLifecycleRuleExpirationOutput
}

SpacesBucketLifecycleRuleExpirationInput is an input type that accepts SpacesBucketLifecycleRuleExpirationArgs and SpacesBucketLifecycleRuleExpirationOutput values. You can construct a concrete instance of `SpacesBucketLifecycleRuleExpirationInput` via:

SpacesBucketLifecycleRuleExpirationArgs{...}

type SpacesBucketLifecycleRuleExpirationOutput

type SpacesBucketLifecycleRuleExpirationOutput struct{ *pulumi.OutputState }

func (SpacesBucketLifecycleRuleExpirationOutput) Date

Specifies the date/time after which you want applicable objects to expire. The argument uses RFC3339 format, e.g. "2020-03-22T15:03:55Z" or parts thereof e.g. "2019-02-28".

func (SpacesBucketLifecycleRuleExpirationOutput) Days

Specifies the number of days after object creation when the applicable objects will expire.

func (SpacesBucketLifecycleRuleExpirationOutput) ElementType

func (SpacesBucketLifecycleRuleExpirationOutput) ExpiredObjectDeleteMarker

func (o SpacesBucketLifecycleRuleExpirationOutput) ExpiredObjectDeleteMarker() pulumi.BoolPtrOutput

On a versioned bucket (versioning-enabled or versioning-suspended bucket), setting this to true directs Spaces to delete expired object delete markers.

func (SpacesBucketLifecycleRuleExpirationOutput) ToSpacesBucketLifecycleRuleExpirationOutput

func (o SpacesBucketLifecycleRuleExpirationOutput) ToSpacesBucketLifecycleRuleExpirationOutput() SpacesBucketLifecycleRuleExpirationOutput

func (SpacesBucketLifecycleRuleExpirationOutput) ToSpacesBucketLifecycleRuleExpirationOutputWithContext

func (o SpacesBucketLifecycleRuleExpirationOutput) ToSpacesBucketLifecycleRuleExpirationOutputWithContext(ctx context.Context) SpacesBucketLifecycleRuleExpirationOutput

func (SpacesBucketLifecycleRuleExpirationOutput) ToSpacesBucketLifecycleRuleExpirationPtrOutput

func (o SpacesBucketLifecycleRuleExpirationOutput) ToSpacesBucketLifecycleRuleExpirationPtrOutput() SpacesBucketLifecycleRuleExpirationPtrOutput

func (SpacesBucketLifecycleRuleExpirationOutput) ToSpacesBucketLifecycleRuleExpirationPtrOutputWithContext

func (o SpacesBucketLifecycleRuleExpirationOutput) ToSpacesBucketLifecycleRuleExpirationPtrOutputWithContext(ctx context.Context) SpacesBucketLifecycleRuleExpirationPtrOutput

type SpacesBucketLifecycleRuleExpirationPtrInput

type SpacesBucketLifecycleRuleExpirationPtrInput interface {
	pulumi.Input

	ToSpacesBucketLifecycleRuleExpirationPtrOutput() SpacesBucketLifecycleRuleExpirationPtrOutput
	ToSpacesBucketLifecycleRuleExpirationPtrOutputWithContext(context.Context) SpacesBucketLifecycleRuleExpirationPtrOutput
}

SpacesBucketLifecycleRuleExpirationPtrInput is an input type that accepts SpacesBucketLifecycleRuleExpirationArgs, SpacesBucketLifecycleRuleExpirationPtr and SpacesBucketLifecycleRuleExpirationPtrOutput values. You can construct a concrete instance of `SpacesBucketLifecycleRuleExpirationPtrInput` via:

        SpacesBucketLifecycleRuleExpirationArgs{...}

or:

        nil

type SpacesBucketLifecycleRuleExpirationPtrOutput

type SpacesBucketLifecycleRuleExpirationPtrOutput struct{ *pulumi.OutputState }

func (SpacesBucketLifecycleRuleExpirationPtrOutput) Date

Specifies the date/time after which you want applicable objects to expire. The argument uses RFC3339 format, e.g. "2020-03-22T15:03:55Z" or parts thereof e.g. "2019-02-28".

func (SpacesBucketLifecycleRuleExpirationPtrOutput) Days

Specifies the number of days after object creation when the applicable objects will expire.

func (SpacesBucketLifecycleRuleExpirationPtrOutput) Elem

func (SpacesBucketLifecycleRuleExpirationPtrOutput) ElementType

func (SpacesBucketLifecycleRuleExpirationPtrOutput) ExpiredObjectDeleteMarker

On a versioned bucket (versioning-enabled or versioning-suspended bucket), setting this to true directs Spaces to delete expired object delete markers.

func (SpacesBucketLifecycleRuleExpirationPtrOutput) ToSpacesBucketLifecycleRuleExpirationPtrOutput

func (o SpacesBucketLifecycleRuleExpirationPtrOutput) ToSpacesBucketLifecycleRuleExpirationPtrOutput() SpacesBucketLifecycleRuleExpirationPtrOutput

func (SpacesBucketLifecycleRuleExpirationPtrOutput) ToSpacesBucketLifecycleRuleExpirationPtrOutputWithContext

func (o SpacesBucketLifecycleRuleExpirationPtrOutput) ToSpacesBucketLifecycleRuleExpirationPtrOutputWithContext(ctx context.Context) SpacesBucketLifecycleRuleExpirationPtrOutput

type SpacesBucketLifecycleRuleInput

type SpacesBucketLifecycleRuleInput interface {
	pulumi.Input

	ToSpacesBucketLifecycleRuleOutput() SpacesBucketLifecycleRuleOutput
	ToSpacesBucketLifecycleRuleOutputWithContext(context.Context) SpacesBucketLifecycleRuleOutput
}

SpacesBucketLifecycleRuleInput is an input type that accepts SpacesBucketLifecycleRuleArgs and SpacesBucketLifecycleRuleOutput values. You can construct a concrete instance of `SpacesBucketLifecycleRuleInput` via:

SpacesBucketLifecycleRuleArgs{...}

type SpacesBucketLifecycleRuleNoncurrentVersionExpiration

type SpacesBucketLifecycleRuleNoncurrentVersionExpiration struct {
	// Specifies the number of days after which an object's non-current versions expire.
	Days *int `pulumi:"days"`
}

type SpacesBucketLifecycleRuleNoncurrentVersionExpirationArgs

type SpacesBucketLifecycleRuleNoncurrentVersionExpirationArgs struct {
	// Specifies the number of days after which an object's non-current versions expire.
	Days pulumi.IntPtrInput `pulumi:"days"`
}

func (SpacesBucketLifecycleRuleNoncurrentVersionExpirationArgs) ElementType

func (SpacesBucketLifecycleRuleNoncurrentVersionExpirationArgs) ToSpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput

func (SpacesBucketLifecycleRuleNoncurrentVersionExpirationArgs) ToSpacesBucketLifecycleRuleNoncurrentVersionExpirationOutputWithContext

func (i SpacesBucketLifecycleRuleNoncurrentVersionExpirationArgs) ToSpacesBucketLifecycleRuleNoncurrentVersionExpirationOutputWithContext(ctx context.Context) SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput

func (SpacesBucketLifecycleRuleNoncurrentVersionExpirationArgs) ToSpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput

func (i SpacesBucketLifecycleRuleNoncurrentVersionExpirationArgs) ToSpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput() SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput

func (SpacesBucketLifecycleRuleNoncurrentVersionExpirationArgs) ToSpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutputWithContext

func (i SpacesBucketLifecycleRuleNoncurrentVersionExpirationArgs) ToSpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutputWithContext(ctx context.Context) SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput

type SpacesBucketLifecycleRuleNoncurrentVersionExpirationInput

type SpacesBucketLifecycleRuleNoncurrentVersionExpirationInput interface {
	pulumi.Input

	ToSpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput() SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput
	ToSpacesBucketLifecycleRuleNoncurrentVersionExpirationOutputWithContext(context.Context) SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput
}

SpacesBucketLifecycleRuleNoncurrentVersionExpirationInput is an input type that accepts SpacesBucketLifecycleRuleNoncurrentVersionExpirationArgs and SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput values. You can construct a concrete instance of `SpacesBucketLifecycleRuleNoncurrentVersionExpirationInput` via:

SpacesBucketLifecycleRuleNoncurrentVersionExpirationArgs{...}

type SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput

type SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput struct{ *pulumi.OutputState }

func (SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput) Days

Specifies the number of days after which an object's non-current versions expire.

func (SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput) ElementType

func (SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput) ToSpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput

func (SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput) ToSpacesBucketLifecycleRuleNoncurrentVersionExpirationOutputWithContext

func (o SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput) ToSpacesBucketLifecycleRuleNoncurrentVersionExpirationOutputWithContext(ctx context.Context) SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput

func (SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput) ToSpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput

func (SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput) ToSpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutputWithContext

func (o SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput) ToSpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutputWithContext(ctx context.Context) SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput

type SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrInput

type SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrInput interface {
	pulumi.Input

	ToSpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput() SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput
	ToSpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutputWithContext(context.Context) SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput
}

SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrInput is an input type that accepts SpacesBucketLifecycleRuleNoncurrentVersionExpirationArgs, SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtr and SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput values. You can construct a concrete instance of `SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrInput` via:

        SpacesBucketLifecycleRuleNoncurrentVersionExpirationArgs{...}

or:

        nil

type SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput

type SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput struct{ *pulumi.OutputState }

func (SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput) Days

Specifies the number of days after which an object's non-current versions expire.

func (SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput) Elem

func (SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput) ElementType

func (SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput) ToSpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput

func (SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput) ToSpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutputWithContext

func (o SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput) ToSpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutputWithContext(ctx context.Context) SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput

type SpacesBucketLifecycleRuleOutput

type SpacesBucketLifecycleRuleOutput struct{ *pulumi.OutputState }

func (SpacesBucketLifecycleRuleOutput) AbortIncompleteMultipartUploadDays

func (o SpacesBucketLifecycleRuleOutput) AbortIncompleteMultipartUploadDays() pulumi.IntPtrOutput

Specifies the number of days after initiating a multipart upload when the multipart upload must be completed or else Spaces will abort the upload.

func (SpacesBucketLifecycleRuleOutput) ElementType

func (SpacesBucketLifecycleRuleOutput) Enabled

Specifies lifecycle rule status.

func (SpacesBucketLifecycleRuleOutput) Expiration

Specifies a time period after which applicable objects expire (documented below).

func (SpacesBucketLifecycleRuleOutput) Id

Unique identifier for the rule.

func (SpacesBucketLifecycleRuleOutput) NoncurrentVersionExpiration

Specifies when non-current object versions expire (documented below).

At least one of `expiration` or `noncurrentVersionExpiration` must be specified.

func (SpacesBucketLifecycleRuleOutput) Prefix

Object key prefix identifying one or more objects to which the rule applies.

func (SpacesBucketLifecycleRuleOutput) ToSpacesBucketLifecycleRuleOutput

func (o SpacesBucketLifecycleRuleOutput) ToSpacesBucketLifecycleRuleOutput() SpacesBucketLifecycleRuleOutput

func (SpacesBucketLifecycleRuleOutput) ToSpacesBucketLifecycleRuleOutputWithContext

func (o SpacesBucketLifecycleRuleOutput) ToSpacesBucketLifecycleRuleOutputWithContext(ctx context.Context) SpacesBucketLifecycleRuleOutput

type SpacesBucketMap

type SpacesBucketMap map[string]SpacesBucketInput

func (SpacesBucketMap) ElementType

func (SpacesBucketMap) ElementType() reflect.Type

func (SpacesBucketMap) ToSpacesBucketMapOutput

func (i SpacesBucketMap) ToSpacesBucketMapOutput() SpacesBucketMapOutput

func (SpacesBucketMap) ToSpacesBucketMapOutputWithContext

func (i SpacesBucketMap) ToSpacesBucketMapOutputWithContext(ctx context.Context) SpacesBucketMapOutput

type SpacesBucketMapInput

type SpacesBucketMapInput interface {
	pulumi.Input

	ToSpacesBucketMapOutput() SpacesBucketMapOutput
	ToSpacesBucketMapOutputWithContext(context.Context) SpacesBucketMapOutput
}

SpacesBucketMapInput is an input type that accepts SpacesBucketMap and SpacesBucketMapOutput values. You can construct a concrete instance of `SpacesBucketMapInput` via:

SpacesBucketMap{ "key": SpacesBucketArgs{...} }

type SpacesBucketMapOutput

type SpacesBucketMapOutput struct{ *pulumi.OutputState }

func (SpacesBucketMapOutput) ElementType

func (SpacesBucketMapOutput) ElementType() reflect.Type

func (SpacesBucketMapOutput) MapIndex

func (SpacesBucketMapOutput) ToSpacesBucketMapOutput

func (o SpacesBucketMapOutput) ToSpacesBucketMapOutput() SpacesBucketMapOutput

func (SpacesBucketMapOutput) ToSpacesBucketMapOutputWithContext

func (o SpacesBucketMapOutput) ToSpacesBucketMapOutputWithContext(ctx context.Context) SpacesBucketMapOutput

type SpacesBucketObject

type SpacesBucketObject struct {
	pulumi.CustomResourceState

	// The canned ACL to apply. DigitalOcean supports "private" and "public-read". (Defaults to "private".)
	Acl pulumi.StringPtrOutput `pulumi:"acl"`
	// The name of the bucket to put the file in.
	Bucket pulumi.StringOutput `pulumi:"bucket"`
	// Specifies caching behavior along the request/reply chain Read [w3c cacheControl](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details.
	CacheControl pulumi.StringPtrOutput `pulumi:"cacheControl"`
	// Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text.
	Content pulumi.StringPtrOutput `pulumi:"content"`
	// Base64-encoded data that will be decoded and uploaded as raw bytes for the object content. This allows safely uploading non-UTF8 binary data, but is recommended only for small content such as the result of the `gzipbase64` function with small text strings. For larger objects, use `source` to stream the content from a disk file.
	ContentBase64 pulumi.StringPtrOutput `pulumi:"contentBase64"`
	// Specifies presentational information for the object. Read [w3c contentDisposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information.
	ContentDisposition pulumi.StringPtrOutput `pulumi:"contentDisposition"`
	// Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read [w3c content encoding](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11) for further information.
	ContentEncoding pulumi.StringPtrOutput `pulumi:"contentEncoding"`
	// The language the content is in e.g. en-US or en-GB.
	ContentLanguage pulumi.StringPtrOutput `pulumi:"contentLanguage"`
	// A standard MIME type describing the format of the object data, e.g. application/octet-stream. All Valid MIME Types are valid for this input.
	ContentType pulumi.StringOutput `pulumi:"contentType"`
	// Used to trigger updates.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// Allow the object to be deleted by removing any legal hold on any object version.
	// Default is `false`. This value should be set to `true` only if the bucket has S3 object lock enabled.
	//
	// If no content is provided through `source`, `content` or `contentBase64`, then the object will be empty.
	//
	// > **Note:** The provider ignores all leading `/`s in the object's `key` and treats multiple `/`s in the rest of the object's `key` as a single `/`, so values of `/index.html` and `index.html` correspond to the same S3 object as do `first//second///third//` and `first/second/third/`.
	ForceDestroy pulumi.BoolPtrOutput `pulumi:"forceDestroy"`
	// The name of the object once it is in the bucket.
	Key pulumi.StringOutput `pulumi:"key"`
	// A mapping of keys/values to provision metadata (will be automatically prefixed by `x-amz-meta-`, note that only lowercase label are currently supported by the AWS Go API).
	Metadata pulumi.StringMapOutput `pulumi:"metadata"`
	// The region where the bucket resides (Defaults to `nyc3`)
	Region pulumi.StringOutput `pulumi:"region"`
	// The path to a file that will be read and uploaded as raw bytes for the object content.
	Source pulumi.StringPtrOutput `pulumi:"source"`
	// A unique version ID value for the object, if bucket versioning is enabled.
	VersionId pulumi.StringOutput `pulumi:"versionId"`
	// Specifies a target URL for [website redirect](http://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html).
	WebsiteRedirect pulumi.StringPtrOutput `pulumi:"websiteRedirect"`
}

Provides a bucket object resource for Spaces, DigitalOcean's object storage product. The `SpacesBucketObject` resource allows the provider to upload content to Spaces.

The [Spaces API](https://docs.digitalocean.com/reference/api/spaces-api/) was designed to be interoperable with Amazon's AWS S3 API. This allows users to interact with the service while using the tools they already know. Spaces mirrors S3's authentication framework and requests to Spaces require a key pair similar to Amazon's Access ID and Secret Key.

The authentication requirement can be met by either setting the `SPACES_ACCESS_KEY_ID` and `SPACES_SECRET_ACCESS_KEY` environment variables or the provider's `spacesAccessId` and `spacesSecretKey` arguments to the access ID and secret you generate via the DigitalOcean control panel. For example:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.NewSpacesBucket(ctx, "static-assets", nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

For more information, See [An Introduction to DigitalOcean Spaces](https://www.digitalocean.com/community/tutorials/an-introduction-to-digitalocean-spaces)

## Example Usage

### Create a Key in a Spaces Bucket

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		foobar, err := digitalocean.NewSpacesBucket(ctx, "foobar", &digitalocean.SpacesBucketArgs{
			Region: pulumi.String(digitalocean.RegionNYC3),
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewSpacesBucketObject(ctx, "index", &digitalocean.SpacesBucketObjectArgs{
			Region:      foobar.Region,
			Bucket:      foobar.Name,
			Key:         pulumi.String("index.html"),
			Content:     pulumi.String("<html><body><p>This page is empty.</p></body></html>"),
			ContentType: pulumi.String("text/html"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Importing this resource is not supported.

func GetSpacesBucketObject

func GetSpacesBucketObject(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SpacesBucketObjectState, opts ...pulumi.ResourceOption) (*SpacesBucketObject, error)

GetSpacesBucketObject gets an existing SpacesBucketObject 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 NewSpacesBucketObject

func NewSpacesBucketObject(ctx *pulumi.Context,
	name string, args *SpacesBucketObjectArgs, opts ...pulumi.ResourceOption) (*SpacesBucketObject, error)

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

func (*SpacesBucketObject) ElementType

func (*SpacesBucketObject) ElementType() reflect.Type

func (*SpacesBucketObject) ToSpacesBucketObjectOutput

func (i *SpacesBucketObject) ToSpacesBucketObjectOutput() SpacesBucketObjectOutput

func (*SpacesBucketObject) ToSpacesBucketObjectOutputWithContext

func (i *SpacesBucketObject) ToSpacesBucketObjectOutputWithContext(ctx context.Context) SpacesBucketObjectOutput

type SpacesBucketObjectArgs

type SpacesBucketObjectArgs struct {
	// The canned ACL to apply. DigitalOcean supports "private" and "public-read". (Defaults to "private".)
	Acl pulumi.StringPtrInput
	// The name of the bucket to put the file in.
	Bucket pulumi.StringInput
	// Specifies caching behavior along the request/reply chain Read [w3c cacheControl](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details.
	CacheControl pulumi.StringPtrInput
	// Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text.
	Content pulumi.StringPtrInput
	// Base64-encoded data that will be decoded and uploaded as raw bytes for the object content. This allows safely uploading non-UTF8 binary data, but is recommended only for small content such as the result of the `gzipbase64` function with small text strings. For larger objects, use `source` to stream the content from a disk file.
	ContentBase64 pulumi.StringPtrInput
	// Specifies presentational information for the object. Read [w3c contentDisposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information.
	ContentDisposition pulumi.StringPtrInput
	// Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read [w3c content encoding](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11) for further information.
	ContentEncoding pulumi.StringPtrInput
	// The language the content is in e.g. en-US or en-GB.
	ContentLanguage pulumi.StringPtrInput
	// A standard MIME type describing the format of the object data, e.g. application/octet-stream. All Valid MIME Types are valid for this input.
	ContentType pulumi.StringPtrInput
	// Used to trigger updates.
	Etag pulumi.StringPtrInput
	// Allow the object to be deleted by removing any legal hold on any object version.
	// Default is `false`. This value should be set to `true` only if the bucket has S3 object lock enabled.
	//
	// If no content is provided through `source`, `content` or `contentBase64`, then the object will be empty.
	//
	// > **Note:** The provider ignores all leading `/`s in the object's `key` and treats multiple `/`s in the rest of the object's `key` as a single `/`, so values of `/index.html` and `index.html` correspond to the same S3 object as do `first//second///third//` and `first/second/third/`.
	ForceDestroy pulumi.BoolPtrInput
	// The name of the object once it is in the bucket.
	Key pulumi.StringInput
	// A mapping of keys/values to provision metadata (will be automatically prefixed by `x-amz-meta-`, note that only lowercase label are currently supported by the AWS Go API).
	Metadata pulumi.StringMapInput
	// The region where the bucket resides (Defaults to `nyc3`)
	Region pulumi.StringInput
	// The path to a file that will be read and uploaded as raw bytes for the object content.
	Source pulumi.StringPtrInput
	// Specifies a target URL for [website redirect](http://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html).
	WebsiteRedirect pulumi.StringPtrInput
}

The set of arguments for constructing a SpacesBucketObject resource.

func (SpacesBucketObjectArgs) ElementType

func (SpacesBucketObjectArgs) ElementType() reflect.Type

type SpacesBucketObjectArray

type SpacesBucketObjectArray []SpacesBucketObjectInput

func (SpacesBucketObjectArray) ElementType

func (SpacesBucketObjectArray) ElementType() reflect.Type

func (SpacesBucketObjectArray) ToSpacesBucketObjectArrayOutput

func (i SpacesBucketObjectArray) ToSpacesBucketObjectArrayOutput() SpacesBucketObjectArrayOutput

func (SpacesBucketObjectArray) ToSpacesBucketObjectArrayOutputWithContext

func (i SpacesBucketObjectArray) ToSpacesBucketObjectArrayOutputWithContext(ctx context.Context) SpacesBucketObjectArrayOutput

type SpacesBucketObjectArrayInput

type SpacesBucketObjectArrayInput interface {
	pulumi.Input

	ToSpacesBucketObjectArrayOutput() SpacesBucketObjectArrayOutput
	ToSpacesBucketObjectArrayOutputWithContext(context.Context) SpacesBucketObjectArrayOutput
}

SpacesBucketObjectArrayInput is an input type that accepts SpacesBucketObjectArray and SpacesBucketObjectArrayOutput values. You can construct a concrete instance of `SpacesBucketObjectArrayInput` via:

SpacesBucketObjectArray{ SpacesBucketObjectArgs{...} }

type SpacesBucketObjectArrayOutput

type SpacesBucketObjectArrayOutput struct{ *pulumi.OutputState }

func (SpacesBucketObjectArrayOutput) ElementType

func (SpacesBucketObjectArrayOutput) Index

func (SpacesBucketObjectArrayOutput) ToSpacesBucketObjectArrayOutput

func (o SpacesBucketObjectArrayOutput) ToSpacesBucketObjectArrayOutput() SpacesBucketObjectArrayOutput

func (SpacesBucketObjectArrayOutput) ToSpacesBucketObjectArrayOutputWithContext

func (o SpacesBucketObjectArrayOutput) ToSpacesBucketObjectArrayOutputWithContext(ctx context.Context) SpacesBucketObjectArrayOutput

type SpacesBucketObjectInput

type SpacesBucketObjectInput interface {
	pulumi.Input

	ToSpacesBucketObjectOutput() SpacesBucketObjectOutput
	ToSpacesBucketObjectOutputWithContext(ctx context.Context) SpacesBucketObjectOutput
}

type SpacesBucketObjectMap

type SpacesBucketObjectMap map[string]SpacesBucketObjectInput

func (SpacesBucketObjectMap) ElementType

func (SpacesBucketObjectMap) ElementType() reflect.Type

func (SpacesBucketObjectMap) ToSpacesBucketObjectMapOutput

func (i SpacesBucketObjectMap) ToSpacesBucketObjectMapOutput() SpacesBucketObjectMapOutput

func (SpacesBucketObjectMap) ToSpacesBucketObjectMapOutputWithContext

func (i SpacesBucketObjectMap) ToSpacesBucketObjectMapOutputWithContext(ctx context.Context) SpacesBucketObjectMapOutput

type SpacesBucketObjectMapInput

type SpacesBucketObjectMapInput interface {
	pulumi.Input

	ToSpacesBucketObjectMapOutput() SpacesBucketObjectMapOutput
	ToSpacesBucketObjectMapOutputWithContext(context.Context) SpacesBucketObjectMapOutput
}

SpacesBucketObjectMapInput is an input type that accepts SpacesBucketObjectMap and SpacesBucketObjectMapOutput values. You can construct a concrete instance of `SpacesBucketObjectMapInput` via:

SpacesBucketObjectMap{ "key": SpacesBucketObjectArgs{...} }

type SpacesBucketObjectMapOutput

type SpacesBucketObjectMapOutput struct{ *pulumi.OutputState }

func (SpacesBucketObjectMapOutput) ElementType

func (SpacesBucketObjectMapOutput) MapIndex

func (SpacesBucketObjectMapOutput) ToSpacesBucketObjectMapOutput

func (o SpacesBucketObjectMapOutput) ToSpacesBucketObjectMapOutput() SpacesBucketObjectMapOutput

func (SpacesBucketObjectMapOutput) ToSpacesBucketObjectMapOutputWithContext

func (o SpacesBucketObjectMapOutput) ToSpacesBucketObjectMapOutputWithContext(ctx context.Context) SpacesBucketObjectMapOutput

type SpacesBucketObjectOutput

type SpacesBucketObjectOutput struct{ *pulumi.OutputState }

func (SpacesBucketObjectOutput) Acl added in v4.13.0

The canned ACL to apply. DigitalOcean supports "private" and "public-read". (Defaults to "private".)

func (SpacesBucketObjectOutput) Bucket added in v4.13.0

The name of the bucket to put the file in.

func (SpacesBucketObjectOutput) CacheControl added in v4.13.0

Specifies caching behavior along the request/reply chain Read [w3c cacheControl](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details.

func (SpacesBucketObjectOutput) Content added in v4.13.0

Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text.

func (SpacesBucketObjectOutput) ContentBase64 added in v4.13.0

Base64-encoded data that will be decoded and uploaded as raw bytes for the object content. This allows safely uploading non-UTF8 binary data, but is recommended only for small content such as the result of the `gzipbase64` function with small text strings. For larger objects, use `source` to stream the content from a disk file.

func (SpacesBucketObjectOutput) ContentDisposition added in v4.13.0

func (o SpacesBucketObjectOutput) ContentDisposition() pulumi.StringPtrOutput

Specifies presentational information for the object. Read [w3c contentDisposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information.

func (SpacesBucketObjectOutput) ContentEncoding added in v4.13.0

func (o SpacesBucketObjectOutput) ContentEncoding() pulumi.StringPtrOutput

Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read [w3c content encoding](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11) for further information.

func (SpacesBucketObjectOutput) ContentLanguage added in v4.13.0

func (o SpacesBucketObjectOutput) ContentLanguage() pulumi.StringPtrOutput

The language the content is in e.g. en-US or en-GB.

func (SpacesBucketObjectOutput) ContentType added in v4.13.0

A standard MIME type describing the format of the object data, e.g. application/octet-stream. All Valid MIME Types are valid for this input.

func (SpacesBucketObjectOutput) ElementType

func (SpacesBucketObjectOutput) ElementType() reflect.Type

func (SpacesBucketObjectOutput) Etag added in v4.13.0

Used to trigger updates.

func (SpacesBucketObjectOutput) ForceDestroy added in v4.13.0

Allow the object to be deleted by removing any legal hold on any object version. Default is `false`. This value should be set to `true` only if the bucket has S3 object lock enabled.

If no content is provided through `source`, `content` or `contentBase64`, then the object will be empty.

> **Note:** The provider ignores all leading `/`s in the object's `key` and treats multiple `/`s in the rest of the object's `key` as a single `/`, so values of `/index.html` and `index.html` correspond to the same S3 object as do `first//second///third//` and `first/second/third/`.

func (SpacesBucketObjectOutput) Key added in v4.13.0

The name of the object once it is in the bucket.

func (SpacesBucketObjectOutput) Metadata added in v4.13.0

A mapping of keys/values to provision metadata (will be automatically prefixed by `x-amz-meta-`, note that only lowercase label are currently supported by the AWS Go API).

func (SpacesBucketObjectOutput) Region added in v4.13.0

The region where the bucket resides (Defaults to `nyc3`)

func (SpacesBucketObjectOutput) Source added in v4.13.0

The path to a file that will be read and uploaded as raw bytes for the object content.

func (SpacesBucketObjectOutput) ToSpacesBucketObjectOutput

func (o SpacesBucketObjectOutput) ToSpacesBucketObjectOutput() SpacesBucketObjectOutput

func (SpacesBucketObjectOutput) ToSpacesBucketObjectOutputWithContext

func (o SpacesBucketObjectOutput) ToSpacesBucketObjectOutputWithContext(ctx context.Context) SpacesBucketObjectOutput

func (SpacesBucketObjectOutput) VersionId added in v4.13.0

A unique version ID value for the object, if bucket versioning is enabled.

func (SpacesBucketObjectOutput) WebsiteRedirect added in v4.13.0

func (o SpacesBucketObjectOutput) WebsiteRedirect() pulumi.StringPtrOutput

Specifies a target URL for [website redirect](http://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html).

type SpacesBucketObjectState

type SpacesBucketObjectState struct {
	// The canned ACL to apply. DigitalOcean supports "private" and "public-read". (Defaults to "private".)
	Acl pulumi.StringPtrInput
	// The name of the bucket to put the file in.
	Bucket pulumi.StringPtrInput
	// Specifies caching behavior along the request/reply chain Read [w3c cacheControl](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details.
	CacheControl pulumi.StringPtrInput
	// Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text.
	Content pulumi.StringPtrInput
	// Base64-encoded data that will be decoded and uploaded as raw bytes for the object content. This allows safely uploading non-UTF8 binary data, but is recommended only for small content such as the result of the `gzipbase64` function with small text strings. For larger objects, use `source` to stream the content from a disk file.
	ContentBase64 pulumi.StringPtrInput
	// Specifies presentational information for the object. Read [w3c contentDisposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information.
	ContentDisposition pulumi.StringPtrInput
	// Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read [w3c content encoding](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11) for further information.
	ContentEncoding pulumi.StringPtrInput
	// The language the content is in e.g. en-US or en-GB.
	ContentLanguage pulumi.StringPtrInput
	// A standard MIME type describing the format of the object data, e.g. application/octet-stream. All Valid MIME Types are valid for this input.
	ContentType pulumi.StringPtrInput
	// Used to trigger updates.
	Etag pulumi.StringPtrInput
	// Allow the object to be deleted by removing any legal hold on any object version.
	// Default is `false`. This value should be set to `true` only if the bucket has S3 object lock enabled.
	//
	// If no content is provided through `source`, `content` or `contentBase64`, then the object will be empty.
	//
	// > **Note:** The provider ignores all leading `/`s in the object's `key` and treats multiple `/`s in the rest of the object's `key` as a single `/`, so values of `/index.html` and `index.html` correspond to the same S3 object as do `first//second///third//` and `first/second/third/`.
	ForceDestroy pulumi.BoolPtrInput
	// The name of the object once it is in the bucket.
	Key pulumi.StringPtrInput
	// A mapping of keys/values to provision metadata (will be automatically prefixed by `x-amz-meta-`, note that only lowercase label are currently supported by the AWS Go API).
	Metadata pulumi.StringMapInput
	// The region where the bucket resides (Defaults to `nyc3`)
	Region pulumi.StringPtrInput
	// The path to a file that will be read and uploaded as raw bytes for the object content.
	Source pulumi.StringPtrInput
	// A unique version ID value for the object, if bucket versioning is enabled.
	VersionId pulumi.StringPtrInput
	// Specifies a target URL for [website redirect](http://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html).
	WebsiteRedirect pulumi.StringPtrInput
}

func (SpacesBucketObjectState) ElementType

func (SpacesBucketObjectState) ElementType() reflect.Type

type SpacesBucketOutput

type SpacesBucketOutput struct{ *pulumi.OutputState }

func (SpacesBucketOutput) Acl added in v4.13.0

Canned ACL applied on bucket creation (`private` or `public-read`)

func (SpacesBucketOutput) BucketDomainName added in v4.13.0

func (o SpacesBucketOutput) BucketDomainName() pulumi.StringOutput

The FQDN of the bucket (e.g. bucket-name.nyc3.digitaloceanspaces.com)

func (SpacesBucketOutput) BucketUrn added in v4.13.0

func (o SpacesBucketOutput) BucketUrn() pulumi.StringOutput

The uniform resource name for the bucket

func (SpacesBucketOutput) CorsRules deprecated added in v4.13.0

A rule of Cross-Origin Resource Sharing (documented below).

Deprecated: Terraform will only perform drift detection if a configuration value is provided. Use the resource `SpacesBucketCorsConfiguration` instead.

func (SpacesBucketOutput) ElementType

func (SpacesBucketOutput) ElementType() reflect.Type

func (SpacesBucketOutput) Endpoint added in v4.17.0

func (o SpacesBucketOutput) Endpoint() pulumi.StringOutput

The FQDN of the bucket without the bucket name (e.g. nyc3.digitaloceanspaces.com)

func (SpacesBucketOutput) ForceDestroy added in v4.13.0

func (o SpacesBucketOutput) ForceDestroy() pulumi.BoolPtrOutput

Unless `true`, the bucket will only be destroyed if empty (Defaults to `false`)

func (SpacesBucketOutput) LifecycleRules added in v4.13.0

A configuration of object lifecycle management (documented below).

func (SpacesBucketOutput) Name added in v4.13.0

The name of the bucket

func (SpacesBucketOutput) Region added in v4.13.0

The region where the bucket resides (Defaults to `nyc3`)

func (SpacesBucketOutput) ToSpacesBucketOutput

func (o SpacesBucketOutput) ToSpacesBucketOutput() SpacesBucketOutput

func (SpacesBucketOutput) ToSpacesBucketOutputWithContext

func (o SpacesBucketOutput) ToSpacesBucketOutputWithContext(ctx context.Context) SpacesBucketOutput

func (SpacesBucketOutput) Versioning added in v4.13.0

A state of versioning (documented below)

type SpacesBucketPolicy added in v4.12.0

type SpacesBucketPolicy struct {
	pulumi.CustomResourceState

	// The name of the bucket to which to apply the policy.
	Bucket pulumi.StringOutput `pulumi:"bucket"`
	// The text of the policy.
	Policy pulumi.StringOutput `pulumi:"policy"`
	// The region where the bucket resides.
	Region pulumi.StringOutput `pulumi:"region"`
}

## Example Usage

### Limiting access to specific IP addresses

```go package main

import (

"encoding/json"
"fmt"

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		foobarSpacesBucket, err := digitalocean.NewSpacesBucket(ctx, "foobarSpacesBucket", &digitalocean.SpacesBucketArgs{
			Region: pulumi.String(digitalocean.RegionNYC3),
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewSpacesBucketPolicy(ctx, "foobarSpacesBucketPolicy", &digitalocean.SpacesBucketPolicyArgs{
			Region: foobarSpacesBucket.Region,
			Bucket: foobarSpacesBucket.Name,
			Policy: pulumi.All(foobarSpacesBucket.Name, foobarSpacesBucket.Name).ApplyT(func(_args []interface{}) (string, error) {
				foobarSpacesBucketName := _args[0].(string)
				foobarSpacesBucketName1 := _args[1].(string)
				var _zero string
				tmpJSON0, err := json.Marshal(map[string]interface{}{
					"Version": "2012-10-17",
					"Statement": []map[string]interface{}{
						map[string]interface{}{
							"Sid":       "IPAllow",
							"Effect":    "Deny",
							"Principal": "*",
							"Action":    "s3:*",
							"Resource": []string{
								fmt.Sprintf("arn:aws:s3:::%v", foobarSpacesBucketName),
								fmt.Sprintf("arn:aws:s3:::%v/*", foobarSpacesBucketName1),
							},
							"Condition": map[string]interface{}{
								"NotIpAddress": map[string]interface{}{
									"aws:SourceIp": "54.240.143.0/24",
								},
							},
						},
					},
				})
				if err != nil {
					return _zero, err
				}
				json0 := string(tmpJSON0)
				return json0, nil
			}).(pulumi.StringOutput),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

!> **Warning:** Before using this policy, replace the 54.240.143.0/24 IP address range in this example with an appropriate value for your use case. Otherwise, you will lose the ability to access your bucket.

## Import

Bucket policies can be imported using the `region` and `bucket` attributes (delimited by a comma):

```sh $ pulumi import digitalocean:index/spacesBucketPolicy:SpacesBucketPolicy foobar `region`,`bucket` ```

func GetSpacesBucketPolicy added in v4.12.0

func GetSpacesBucketPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SpacesBucketPolicyState, opts ...pulumi.ResourceOption) (*SpacesBucketPolicy, error)

GetSpacesBucketPolicy gets an existing SpacesBucketPolicy 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 NewSpacesBucketPolicy added in v4.12.0

func NewSpacesBucketPolicy(ctx *pulumi.Context,
	name string, args *SpacesBucketPolicyArgs, opts ...pulumi.ResourceOption) (*SpacesBucketPolicy, error)

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

func (*SpacesBucketPolicy) ElementType added in v4.12.0

func (*SpacesBucketPolicy) ElementType() reflect.Type

func (*SpacesBucketPolicy) ToSpacesBucketPolicyOutput added in v4.12.0

func (i *SpacesBucketPolicy) ToSpacesBucketPolicyOutput() SpacesBucketPolicyOutput

func (*SpacesBucketPolicy) ToSpacesBucketPolicyOutputWithContext added in v4.12.0

func (i *SpacesBucketPolicy) ToSpacesBucketPolicyOutputWithContext(ctx context.Context) SpacesBucketPolicyOutput

type SpacesBucketPolicyArgs added in v4.12.0

type SpacesBucketPolicyArgs struct {
	// The name of the bucket to which to apply the policy.
	Bucket pulumi.StringInput
	// The text of the policy.
	Policy pulumi.StringInput
	// The region where the bucket resides.
	Region pulumi.StringInput
}

The set of arguments for constructing a SpacesBucketPolicy resource.

func (SpacesBucketPolicyArgs) ElementType added in v4.12.0

func (SpacesBucketPolicyArgs) ElementType() reflect.Type

type SpacesBucketPolicyArray added in v4.12.0

type SpacesBucketPolicyArray []SpacesBucketPolicyInput

func (SpacesBucketPolicyArray) ElementType added in v4.12.0

func (SpacesBucketPolicyArray) ElementType() reflect.Type

func (SpacesBucketPolicyArray) ToSpacesBucketPolicyArrayOutput added in v4.12.0

func (i SpacesBucketPolicyArray) ToSpacesBucketPolicyArrayOutput() SpacesBucketPolicyArrayOutput

func (SpacesBucketPolicyArray) ToSpacesBucketPolicyArrayOutputWithContext added in v4.12.0

func (i SpacesBucketPolicyArray) ToSpacesBucketPolicyArrayOutputWithContext(ctx context.Context) SpacesBucketPolicyArrayOutput

type SpacesBucketPolicyArrayInput added in v4.12.0

type SpacesBucketPolicyArrayInput interface {
	pulumi.Input

	ToSpacesBucketPolicyArrayOutput() SpacesBucketPolicyArrayOutput
	ToSpacesBucketPolicyArrayOutputWithContext(context.Context) SpacesBucketPolicyArrayOutput
}

SpacesBucketPolicyArrayInput is an input type that accepts SpacesBucketPolicyArray and SpacesBucketPolicyArrayOutput values. You can construct a concrete instance of `SpacesBucketPolicyArrayInput` via:

SpacesBucketPolicyArray{ SpacesBucketPolicyArgs{...} }

type SpacesBucketPolicyArrayOutput added in v4.12.0

type SpacesBucketPolicyArrayOutput struct{ *pulumi.OutputState }

func (SpacesBucketPolicyArrayOutput) ElementType added in v4.12.0

func (SpacesBucketPolicyArrayOutput) Index added in v4.12.0

func (SpacesBucketPolicyArrayOutput) ToSpacesBucketPolicyArrayOutput added in v4.12.0

func (o SpacesBucketPolicyArrayOutput) ToSpacesBucketPolicyArrayOutput() SpacesBucketPolicyArrayOutput

func (SpacesBucketPolicyArrayOutput) ToSpacesBucketPolicyArrayOutputWithContext added in v4.12.0

func (o SpacesBucketPolicyArrayOutput) ToSpacesBucketPolicyArrayOutputWithContext(ctx context.Context) SpacesBucketPolicyArrayOutput

type SpacesBucketPolicyInput added in v4.12.0

type SpacesBucketPolicyInput interface {
	pulumi.Input

	ToSpacesBucketPolicyOutput() SpacesBucketPolicyOutput
	ToSpacesBucketPolicyOutputWithContext(ctx context.Context) SpacesBucketPolicyOutput
}

type SpacesBucketPolicyMap added in v4.12.0

type SpacesBucketPolicyMap map[string]SpacesBucketPolicyInput

func (SpacesBucketPolicyMap) ElementType added in v4.12.0

func (SpacesBucketPolicyMap) ElementType() reflect.Type

func (SpacesBucketPolicyMap) ToSpacesBucketPolicyMapOutput added in v4.12.0

func (i SpacesBucketPolicyMap) ToSpacesBucketPolicyMapOutput() SpacesBucketPolicyMapOutput

func (SpacesBucketPolicyMap) ToSpacesBucketPolicyMapOutputWithContext added in v4.12.0

func (i SpacesBucketPolicyMap) ToSpacesBucketPolicyMapOutputWithContext(ctx context.Context) SpacesBucketPolicyMapOutput

type SpacesBucketPolicyMapInput added in v4.12.0

type SpacesBucketPolicyMapInput interface {
	pulumi.Input

	ToSpacesBucketPolicyMapOutput() SpacesBucketPolicyMapOutput
	ToSpacesBucketPolicyMapOutputWithContext(context.Context) SpacesBucketPolicyMapOutput
}

SpacesBucketPolicyMapInput is an input type that accepts SpacesBucketPolicyMap and SpacesBucketPolicyMapOutput values. You can construct a concrete instance of `SpacesBucketPolicyMapInput` via:

SpacesBucketPolicyMap{ "key": SpacesBucketPolicyArgs{...} }

type SpacesBucketPolicyMapOutput added in v4.12.0

type SpacesBucketPolicyMapOutput struct{ *pulumi.OutputState }

func (SpacesBucketPolicyMapOutput) ElementType added in v4.12.0

func (SpacesBucketPolicyMapOutput) MapIndex added in v4.12.0

func (SpacesBucketPolicyMapOutput) ToSpacesBucketPolicyMapOutput added in v4.12.0

func (o SpacesBucketPolicyMapOutput) ToSpacesBucketPolicyMapOutput() SpacesBucketPolicyMapOutput

func (SpacesBucketPolicyMapOutput) ToSpacesBucketPolicyMapOutputWithContext added in v4.12.0

func (o SpacesBucketPolicyMapOutput) ToSpacesBucketPolicyMapOutputWithContext(ctx context.Context) SpacesBucketPolicyMapOutput

type SpacesBucketPolicyOutput added in v4.12.0

type SpacesBucketPolicyOutput struct{ *pulumi.OutputState }

func (SpacesBucketPolicyOutput) Bucket added in v4.13.0

The name of the bucket to which to apply the policy.

func (SpacesBucketPolicyOutput) ElementType added in v4.12.0

func (SpacesBucketPolicyOutput) ElementType() reflect.Type

func (SpacesBucketPolicyOutput) Policy added in v4.13.0

The text of the policy.

func (SpacesBucketPolicyOutput) Region added in v4.13.0

The region where the bucket resides.

func (SpacesBucketPolicyOutput) ToSpacesBucketPolicyOutput added in v4.12.0

func (o SpacesBucketPolicyOutput) ToSpacesBucketPolicyOutput() SpacesBucketPolicyOutput

func (SpacesBucketPolicyOutput) ToSpacesBucketPolicyOutputWithContext added in v4.12.0

func (o SpacesBucketPolicyOutput) ToSpacesBucketPolicyOutputWithContext(ctx context.Context) SpacesBucketPolicyOutput

type SpacesBucketPolicyState added in v4.12.0

type SpacesBucketPolicyState struct {
	// The name of the bucket to which to apply the policy.
	Bucket pulumi.StringPtrInput
	// The text of the policy.
	Policy pulumi.StringPtrInput
	// The region where the bucket resides.
	Region pulumi.StringPtrInput
}

func (SpacesBucketPolicyState) ElementType added in v4.12.0

func (SpacesBucketPolicyState) ElementType() reflect.Type

type SpacesBucketState

type SpacesBucketState struct {
	// Canned ACL applied on bucket creation (`private` or `public-read`)
	Acl pulumi.StringPtrInput
	// The FQDN of the bucket (e.g. bucket-name.nyc3.digitaloceanspaces.com)
	BucketDomainName pulumi.StringPtrInput
	// The uniform resource name for the bucket
	BucketUrn pulumi.StringPtrInput
	// A rule of Cross-Origin Resource Sharing (documented below).
	//
	// Deprecated: Terraform will only perform drift detection if a configuration value is provided. Use the resource `SpacesBucketCorsConfiguration` instead.
	CorsRules SpacesBucketCorsRuleArrayInput
	// The FQDN of the bucket without the bucket name (e.g. nyc3.digitaloceanspaces.com)
	Endpoint pulumi.StringPtrInput
	// Unless `true`, the bucket will only be destroyed if empty (Defaults to `false`)
	ForceDestroy pulumi.BoolPtrInput
	// A configuration of object lifecycle management (documented below).
	LifecycleRules SpacesBucketLifecycleRuleArrayInput
	// The name of the bucket
	Name pulumi.StringPtrInput
	// The region where the bucket resides (Defaults to `nyc3`)
	Region pulumi.StringPtrInput
	// A state of versioning (documented below)
	Versioning SpacesBucketVersioningPtrInput
}

func (SpacesBucketState) ElementType

func (SpacesBucketState) ElementType() reflect.Type

type SpacesBucketVersioning

type SpacesBucketVersioning struct {
	// Enable versioning. Once you version-enable a bucket, it can never return to an unversioned
	// state. You can, however, suspend versioning on that bucket.
	Enabled *bool `pulumi:"enabled"`
}

type SpacesBucketVersioningArgs

type SpacesBucketVersioningArgs struct {
	// Enable versioning. Once you version-enable a bucket, it can never return to an unversioned
	// state. You can, however, suspend versioning on that bucket.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
}

func (SpacesBucketVersioningArgs) ElementType

func (SpacesBucketVersioningArgs) ElementType() reflect.Type

func (SpacesBucketVersioningArgs) ToSpacesBucketVersioningOutput

func (i SpacesBucketVersioningArgs) ToSpacesBucketVersioningOutput() SpacesBucketVersioningOutput

func (SpacesBucketVersioningArgs) ToSpacesBucketVersioningOutputWithContext

func (i SpacesBucketVersioningArgs) ToSpacesBucketVersioningOutputWithContext(ctx context.Context) SpacesBucketVersioningOutput

func (SpacesBucketVersioningArgs) ToSpacesBucketVersioningPtrOutput

func (i SpacesBucketVersioningArgs) ToSpacesBucketVersioningPtrOutput() SpacesBucketVersioningPtrOutput

func (SpacesBucketVersioningArgs) ToSpacesBucketVersioningPtrOutputWithContext

func (i SpacesBucketVersioningArgs) ToSpacesBucketVersioningPtrOutputWithContext(ctx context.Context) SpacesBucketVersioningPtrOutput

type SpacesBucketVersioningInput

type SpacesBucketVersioningInput interface {
	pulumi.Input

	ToSpacesBucketVersioningOutput() SpacesBucketVersioningOutput
	ToSpacesBucketVersioningOutputWithContext(context.Context) SpacesBucketVersioningOutput
}

SpacesBucketVersioningInput is an input type that accepts SpacesBucketVersioningArgs and SpacesBucketVersioningOutput values. You can construct a concrete instance of `SpacesBucketVersioningInput` via:

SpacesBucketVersioningArgs{...}

type SpacesBucketVersioningOutput

type SpacesBucketVersioningOutput struct{ *pulumi.OutputState }

func (SpacesBucketVersioningOutput) ElementType

func (SpacesBucketVersioningOutput) Enabled

Enable versioning. Once you version-enable a bucket, it can never return to an unversioned state. You can, however, suspend versioning on that bucket.

func (SpacesBucketVersioningOutput) ToSpacesBucketVersioningOutput

func (o SpacesBucketVersioningOutput) ToSpacesBucketVersioningOutput() SpacesBucketVersioningOutput

func (SpacesBucketVersioningOutput) ToSpacesBucketVersioningOutputWithContext

func (o SpacesBucketVersioningOutput) ToSpacesBucketVersioningOutputWithContext(ctx context.Context) SpacesBucketVersioningOutput

func (SpacesBucketVersioningOutput) ToSpacesBucketVersioningPtrOutput

func (o SpacesBucketVersioningOutput) ToSpacesBucketVersioningPtrOutput() SpacesBucketVersioningPtrOutput

func (SpacesBucketVersioningOutput) ToSpacesBucketVersioningPtrOutputWithContext

func (o SpacesBucketVersioningOutput) ToSpacesBucketVersioningPtrOutputWithContext(ctx context.Context) SpacesBucketVersioningPtrOutput

type SpacesBucketVersioningPtrInput

type SpacesBucketVersioningPtrInput interface {
	pulumi.Input

	ToSpacesBucketVersioningPtrOutput() SpacesBucketVersioningPtrOutput
	ToSpacesBucketVersioningPtrOutputWithContext(context.Context) SpacesBucketVersioningPtrOutput
}

SpacesBucketVersioningPtrInput is an input type that accepts SpacesBucketVersioningArgs, SpacesBucketVersioningPtr and SpacesBucketVersioningPtrOutput values. You can construct a concrete instance of `SpacesBucketVersioningPtrInput` via:

        SpacesBucketVersioningArgs{...}

or:

        nil

type SpacesBucketVersioningPtrOutput

type SpacesBucketVersioningPtrOutput struct{ *pulumi.OutputState }

func (SpacesBucketVersioningPtrOutput) Elem

func (SpacesBucketVersioningPtrOutput) ElementType

func (SpacesBucketVersioningPtrOutput) Enabled

Enable versioning. Once you version-enable a bucket, it can never return to an unversioned state. You can, however, suspend versioning on that bucket.

func (SpacesBucketVersioningPtrOutput) ToSpacesBucketVersioningPtrOutput

func (o SpacesBucketVersioningPtrOutput) ToSpacesBucketVersioningPtrOutput() SpacesBucketVersioningPtrOutput

func (SpacesBucketVersioningPtrOutput) ToSpacesBucketVersioningPtrOutputWithContext

func (o SpacesBucketVersioningPtrOutput) ToSpacesBucketVersioningPtrOutputWithContext(ctx context.Context) SpacesBucketVersioningPtrOutput

type SshKey

type SshKey struct {
	pulumi.CustomResourceState

	// The fingerprint of the SSH key
	Fingerprint pulumi.StringOutput `pulumi:"fingerprint"`
	// The name of the SSH key for identification
	Name pulumi.StringOutput `pulumi:"name"`
	// The public key. If this is a file, it
	// can be read using the file interpolation function
	PublicKey pulumi.StringOutput `pulumi:"publicKey"`
}

Provides a DigitalOcean SSH key resource to allow you to manage SSH keys for Droplet access. Keys created with this resource can be referenced in your Droplet configuration via their ID or fingerprint.

## Example Usage

```go package main

import (

"os"

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func readFileOrPanic(path string) pulumi.StringPtrInput {
	data, err := os.ReadFile(path)
	if err != nil {
		panic(err.Error())
	}
	return pulumi.String(string(data))
}

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Create a new SSH key
		_, err := digitalocean.NewSshKey(ctx, "default", &digitalocean.SshKeyArgs{
			PublicKey: readFileOrPanic("/Users/myuser/.ssh/id_rsa.pub"),
		})
		if err != nil {
			return err
		}
		// Create a new Droplet using the SSH key
		_, err = digitalocean.NewDroplet(ctx, "web", &digitalocean.DropletArgs{
			Image:  pulumi.String("ubuntu-18-04-x64"),
			Region: pulumi.String(digitalocean.RegionNYC3),
			Size:   pulumi.String(digitalocean.DropletSlugDropletS1VCPU1GB),
			SshKeys: pulumi.StringArray{
				_default.Fingerprint,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

SSH Keys can be imported using the `ssh key id`, e.g.

```sh $ pulumi import digitalocean:index/sshKey:SshKey mykey 263654 ```

func GetSshKey

func GetSshKey(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SshKeyState, opts ...pulumi.ResourceOption) (*SshKey, error)

GetSshKey gets an existing SshKey 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 NewSshKey

func NewSshKey(ctx *pulumi.Context,
	name string, args *SshKeyArgs, opts ...pulumi.ResourceOption) (*SshKey, error)

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

func (*SshKey) ElementType

func (*SshKey) ElementType() reflect.Type

func (*SshKey) ToSshKeyOutput

func (i *SshKey) ToSshKeyOutput() SshKeyOutput

func (*SshKey) ToSshKeyOutputWithContext

func (i *SshKey) ToSshKeyOutputWithContext(ctx context.Context) SshKeyOutput

type SshKeyArgs

type SshKeyArgs struct {
	// The name of the SSH key for identification
	Name pulumi.StringPtrInput
	// The public key. If this is a file, it
	// can be read using the file interpolation function
	PublicKey pulumi.StringInput
}

The set of arguments for constructing a SshKey resource.

func (SshKeyArgs) ElementType

func (SshKeyArgs) ElementType() reflect.Type

type SshKeyArray

type SshKeyArray []SshKeyInput

func (SshKeyArray) ElementType

func (SshKeyArray) ElementType() reflect.Type

func (SshKeyArray) ToSshKeyArrayOutput

func (i SshKeyArray) ToSshKeyArrayOutput() SshKeyArrayOutput

func (SshKeyArray) ToSshKeyArrayOutputWithContext

func (i SshKeyArray) ToSshKeyArrayOutputWithContext(ctx context.Context) SshKeyArrayOutput

type SshKeyArrayInput

type SshKeyArrayInput interface {
	pulumi.Input

	ToSshKeyArrayOutput() SshKeyArrayOutput
	ToSshKeyArrayOutputWithContext(context.Context) SshKeyArrayOutput
}

SshKeyArrayInput is an input type that accepts SshKeyArray and SshKeyArrayOutput values. You can construct a concrete instance of `SshKeyArrayInput` via:

SshKeyArray{ SshKeyArgs{...} }

type SshKeyArrayOutput

type SshKeyArrayOutput struct{ *pulumi.OutputState }

func (SshKeyArrayOutput) ElementType

func (SshKeyArrayOutput) ElementType() reflect.Type

func (SshKeyArrayOutput) Index

func (SshKeyArrayOutput) ToSshKeyArrayOutput

func (o SshKeyArrayOutput) ToSshKeyArrayOutput() SshKeyArrayOutput

func (SshKeyArrayOutput) ToSshKeyArrayOutputWithContext

func (o SshKeyArrayOutput) ToSshKeyArrayOutputWithContext(ctx context.Context) SshKeyArrayOutput

type SshKeyInput

type SshKeyInput interface {
	pulumi.Input

	ToSshKeyOutput() SshKeyOutput
	ToSshKeyOutputWithContext(ctx context.Context) SshKeyOutput
}

type SshKeyMap

type SshKeyMap map[string]SshKeyInput

func (SshKeyMap) ElementType

func (SshKeyMap) ElementType() reflect.Type

func (SshKeyMap) ToSshKeyMapOutput

func (i SshKeyMap) ToSshKeyMapOutput() SshKeyMapOutput

func (SshKeyMap) ToSshKeyMapOutputWithContext

func (i SshKeyMap) ToSshKeyMapOutputWithContext(ctx context.Context) SshKeyMapOutput

type SshKeyMapInput

type SshKeyMapInput interface {
	pulumi.Input

	ToSshKeyMapOutput() SshKeyMapOutput
	ToSshKeyMapOutputWithContext(context.Context) SshKeyMapOutput
}

SshKeyMapInput is an input type that accepts SshKeyMap and SshKeyMapOutput values. You can construct a concrete instance of `SshKeyMapInput` via:

SshKeyMap{ "key": SshKeyArgs{...} }

type SshKeyMapOutput

type SshKeyMapOutput struct{ *pulumi.OutputState }

func (SshKeyMapOutput) ElementType

func (SshKeyMapOutput) ElementType() reflect.Type

func (SshKeyMapOutput) MapIndex

func (SshKeyMapOutput) ToSshKeyMapOutput

func (o SshKeyMapOutput) ToSshKeyMapOutput() SshKeyMapOutput

func (SshKeyMapOutput) ToSshKeyMapOutputWithContext

func (o SshKeyMapOutput) ToSshKeyMapOutputWithContext(ctx context.Context) SshKeyMapOutput

type SshKeyOutput

type SshKeyOutput struct{ *pulumi.OutputState }

func (SshKeyOutput) ElementType

func (SshKeyOutput) ElementType() reflect.Type

func (SshKeyOutput) Fingerprint added in v4.13.0

func (o SshKeyOutput) Fingerprint() pulumi.StringOutput

The fingerprint of the SSH key

func (SshKeyOutput) Name added in v4.13.0

func (o SshKeyOutput) Name() pulumi.StringOutput

The name of the SSH key for identification

func (SshKeyOutput) PublicKey added in v4.13.0

func (o SshKeyOutput) PublicKey() pulumi.StringOutput

The public key. If this is a file, it can be read using the file interpolation function

func (SshKeyOutput) ToSshKeyOutput

func (o SshKeyOutput) ToSshKeyOutput() SshKeyOutput

func (SshKeyOutput) ToSshKeyOutputWithContext

func (o SshKeyOutput) ToSshKeyOutputWithContext(ctx context.Context) SshKeyOutput

type SshKeyState

type SshKeyState struct {
	// The fingerprint of the SSH key
	Fingerprint pulumi.StringPtrInput
	// The name of the SSH key for identification
	Name pulumi.StringPtrInput
	// The public key. If this is a file, it
	// can be read using the file interpolation function
	PublicKey pulumi.StringPtrInput
}

func (SshKeyState) ElementType

func (SshKeyState) ElementType() reflect.Type

type Tag

type Tag struct {
	pulumi.CustomResourceState

	// A count of the database clusters that the tag is applied to.
	DatabasesCount pulumi.IntOutput `pulumi:"databasesCount"`
	// A count of the Droplets the tag is applied to.
	DropletsCount pulumi.IntOutput `pulumi:"dropletsCount"`
	// A count of the images that the tag is applied to.
	ImagesCount pulumi.IntOutput `pulumi:"imagesCount"`
	// The name of the tag
	Name pulumi.StringOutput `pulumi:"name"`
	// A count of the total number of resources that the tag is applied to.
	TotalResourceCount pulumi.IntOutput `pulumi:"totalResourceCount"`
	// A count of the volume snapshots that the tag is applied to.
	VolumeSnapshotsCount pulumi.IntOutput `pulumi:"volumeSnapshotsCount"`
	// A count of the volumes that the tag is applied to.
	VolumesCount pulumi.IntOutput `pulumi:"volumesCount"`
}

Provides a DigitalOcean Tag resource. A Tag is a label that can be applied to a Droplet resource in order to better organize or facilitate the lookups and actions on it. Tags created with this resource can be referenced in your Droplet configuration via their ID or name.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Create a new tag
		foobar, err := digitalocean.NewTag(ctx, "foobar", nil)
		if err != nil {
			return err
		}
		// Create a new Droplet in nyc3 with the foobar tag
		_, err = digitalocean.NewDroplet(ctx, "web", &digitalocean.DropletArgs{
			Image:  pulumi.String("ubuntu-18-04-x64"),
			Region: pulumi.String(digitalocean.RegionNYC3),
			Size:   pulumi.String(digitalocean.DropletSlugDropletS1VCPU1GB),
			Tags: pulumi.StringArray{
				foobar.ID(),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Tags can be imported using the `name`, e.g.

```sh $ pulumi import digitalocean:index/tag:Tag mytag tagname ```

func GetTag

func GetTag(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TagState, opts ...pulumi.ResourceOption) (*Tag, error)

GetTag gets an existing Tag 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 NewTag

func NewTag(ctx *pulumi.Context,
	name string, args *TagArgs, opts ...pulumi.ResourceOption) (*Tag, error)

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

func (*Tag) ElementType

func (*Tag) ElementType() reflect.Type

func (*Tag) ToTagOutput

func (i *Tag) ToTagOutput() TagOutput

func (*Tag) ToTagOutputWithContext

func (i *Tag) ToTagOutputWithContext(ctx context.Context) TagOutput

type TagArgs

type TagArgs struct {
	// The name of the tag
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a Tag resource.

func (TagArgs) ElementType

func (TagArgs) ElementType() reflect.Type

type TagArray

type TagArray []TagInput

func (TagArray) ElementType

func (TagArray) ElementType() reflect.Type

func (TagArray) ToTagArrayOutput

func (i TagArray) ToTagArrayOutput() TagArrayOutput

func (TagArray) ToTagArrayOutputWithContext

func (i TagArray) ToTagArrayOutputWithContext(ctx context.Context) TagArrayOutput

type TagArrayInput

type TagArrayInput interface {
	pulumi.Input

	ToTagArrayOutput() TagArrayOutput
	ToTagArrayOutputWithContext(context.Context) TagArrayOutput
}

TagArrayInput is an input type that accepts TagArray and TagArrayOutput values. You can construct a concrete instance of `TagArrayInput` via:

TagArray{ TagArgs{...} }

type TagArrayOutput

type TagArrayOutput struct{ *pulumi.OutputState }

func (TagArrayOutput) ElementType

func (TagArrayOutput) ElementType() reflect.Type

func (TagArrayOutput) Index

func (TagArrayOutput) ToTagArrayOutput

func (o TagArrayOutput) ToTagArrayOutput() TagArrayOutput

func (TagArrayOutput) ToTagArrayOutputWithContext

func (o TagArrayOutput) ToTagArrayOutputWithContext(ctx context.Context) TagArrayOutput

type TagInput

type TagInput interface {
	pulumi.Input

	ToTagOutput() TagOutput
	ToTagOutputWithContext(ctx context.Context) TagOutput
}

type TagMap

type TagMap map[string]TagInput

func (TagMap) ElementType

func (TagMap) ElementType() reflect.Type

func (TagMap) ToTagMapOutput

func (i TagMap) ToTagMapOutput() TagMapOutput

func (TagMap) ToTagMapOutputWithContext

func (i TagMap) ToTagMapOutputWithContext(ctx context.Context) TagMapOutput

type TagMapInput

type TagMapInput interface {
	pulumi.Input

	ToTagMapOutput() TagMapOutput
	ToTagMapOutputWithContext(context.Context) TagMapOutput
}

TagMapInput is an input type that accepts TagMap and TagMapOutput values. You can construct a concrete instance of `TagMapInput` via:

TagMap{ "key": TagArgs{...} }

type TagMapOutput

type TagMapOutput struct{ *pulumi.OutputState }

func (TagMapOutput) ElementType

func (TagMapOutput) ElementType() reflect.Type

func (TagMapOutput) MapIndex

func (o TagMapOutput) MapIndex(k pulumi.StringInput) TagOutput

func (TagMapOutput) ToTagMapOutput

func (o TagMapOutput) ToTagMapOutput() TagMapOutput

func (TagMapOutput) ToTagMapOutputWithContext

func (o TagMapOutput) ToTagMapOutputWithContext(ctx context.Context) TagMapOutput

type TagOutput

type TagOutput struct{ *pulumi.OutputState }

func (TagOutput) DatabasesCount added in v4.13.0

func (o TagOutput) DatabasesCount() pulumi.IntOutput

A count of the database clusters that the tag is applied to.

func (TagOutput) DropletsCount added in v4.13.0

func (o TagOutput) DropletsCount() pulumi.IntOutput

A count of the Droplets the tag is applied to.

func (TagOutput) ElementType

func (TagOutput) ElementType() reflect.Type

func (TagOutput) ImagesCount added in v4.13.0

func (o TagOutput) ImagesCount() pulumi.IntOutput

A count of the images that the tag is applied to.

func (TagOutput) Name added in v4.13.0

func (o TagOutput) Name() pulumi.StringOutput

The name of the tag

func (TagOutput) ToTagOutput

func (o TagOutput) ToTagOutput() TagOutput

func (TagOutput) ToTagOutputWithContext

func (o TagOutput) ToTagOutputWithContext(ctx context.Context) TagOutput

func (TagOutput) TotalResourceCount added in v4.13.0

func (o TagOutput) TotalResourceCount() pulumi.IntOutput

A count of the total number of resources that the tag is applied to.

func (TagOutput) VolumeSnapshotsCount added in v4.13.0

func (o TagOutput) VolumeSnapshotsCount() pulumi.IntOutput

A count of the volume snapshots that the tag is applied to.

func (TagOutput) VolumesCount added in v4.13.0

func (o TagOutput) VolumesCount() pulumi.IntOutput

A count of the volumes that the tag is applied to.

type TagState

type TagState struct {
	// A count of the database clusters that the tag is applied to.
	DatabasesCount pulumi.IntPtrInput
	// A count of the Droplets the tag is applied to.
	DropletsCount pulumi.IntPtrInput
	// A count of the images that the tag is applied to.
	ImagesCount pulumi.IntPtrInput
	// The name of the tag
	Name pulumi.StringPtrInput
	// A count of the total number of resources that the tag is applied to.
	TotalResourceCount pulumi.IntPtrInput
	// A count of the volume snapshots that the tag is applied to.
	VolumeSnapshotsCount pulumi.IntPtrInput
	// A count of the volumes that the tag is applied to.
	VolumesCount pulumi.IntPtrInput
}

func (TagState) ElementType

func (TagState) ElementType() reflect.Type

type UptimeAlert added in v4.18.0

type UptimeAlert struct {
	pulumi.CustomResourceState

	// A unique identifier for a check
	CheckId pulumi.StringOutput `pulumi:"checkId"`
	// The comparison operator used against the alert's threshold. Must be one of `greaterThan` or `lessThan`.
	Comparison pulumi.StringPtrOutput `pulumi:"comparison"`
	// A human-friendly display name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The notification settings for a trigger alert.
	Notifications UptimeAlertNotificationArrayOutput `pulumi:"notifications"`
	// Period of time the threshold must be exceeded to trigger the alert. Must be one of `2m`, `3m`, `5m`, `10m`, `15m`, `30m` or `1h`.
	Period pulumi.StringPtrOutput `pulumi:"period"`
	// The threshold at which the alert will enter a trigger state. The specific threshold is dependent on the alert type.
	Threshold pulumi.IntPtrOutput `pulumi:"threshold"`
	// The type of health check to perform. Must be one of `latency`, `down`, `downGlobal` or `sslExpiry`.
	Type pulumi.StringOutput `pulumi:"type"`
}

Provides a [DigitalOcean Uptime Alerts](https://docs.digitalocean.com/reference/api/api-reference/#operation/uptime_alert_create) resource. Uptime Alerts provide the ability to add alerts to your [DigitalOcean Uptime Checks](https://docs.digitalocean.com/reference/api/api-reference/#tag/Uptime) when your endpoints are slow, unavailable, or SSL certificates are expiring.

## Import

Uptime alerts can be imported using both the ID of the alert's parent check and

its own separated by a comma in the format: `check_id,alert_id`. For example:

```sh $ pulumi import digitalocean:index/uptimeAlert:UptimeAlert target 94a7d216-d821-11ee-a327-33d3239ffc4b,5a4981aa-9653-4bd1-bef5-d6bff52042e4 ```

func GetUptimeAlert added in v4.18.0

func GetUptimeAlert(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *UptimeAlertState, opts ...pulumi.ResourceOption) (*UptimeAlert, error)

GetUptimeAlert gets an existing UptimeAlert 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 NewUptimeAlert added in v4.18.0

func NewUptimeAlert(ctx *pulumi.Context,
	name string, args *UptimeAlertArgs, opts ...pulumi.ResourceOption) (*UptimeAlert, error)

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

func (*UptimeAlert) ElementType added in v4.18.0

func (*UptimeAlert) ElementType() reflect.Type

func (*UptimeAlert) ToUptimeAlertOutput added in v4.18.0

func (i *UptimeAlert) ToUptimeAlertOutput() UptimeAlertOutput

func (*UptimeAlert) ToUptimeAlertOutputWithContext added in v4.18.0

func (i *UptimeAlert) ToUptimeAlertOutputWithContext(ctx context.Context) UptimeAlertOutput

type UptimeAlertArgs added in v4.18.0

type UptimeAlertArgs struct {
	// A unique identifier for a check
	CheckId pulumi.StringInput
	// The comparison operator used against the alert's threshold. Must be one of `greaterThan` or `lessThan`.
	Comparison pulumi.StringPtrInput
	// A human-friendly display name.
	Name pulumi.StringPtrInput
	// The notification settings for a trigger alert.
	Notifications UptimeAlertNotificationArrayInput
	// Period of time the threshold must be exceeded to trigger the alert. Must be one of `2m`, `3m`, `5m`, `10m`, `15m`, `30m` or `1h`.
	Period pulumi.StringPtrInput
	// The threshold at which the alert will enter a trigger state. The specific threshold is dependent on the alert type.
	Threshold pulumi.IntPtrInput
	// The type of health check to perform. Must be one of `latency`, `down`, `downGlobal` or `sslExpiry`.
	Type pulumi.StringInput
}

The set of arguments for constructing a UptimeAlert resource.

func (UptimeAlertArgs) ElementType added in v4.18.0

func (UptimeAlertArgs) ElementType() reflect.Type

type UptimeAlertArray added in v4.18.0

type UptimeAlertArray []UptimeAlertInput

func (UptimeAlertArray) ElementType added in v4.18.0

func (UptimeAlertArray) ElementType() reflect.Type

func (UptimeAlertArray) ToUptimeAlertArrayOutput added in v4.18.0

func (i UptimeAlertArray) ToUptimeAlertArrayOutput() UptimeAlertArrayOutput

func (UptimeAlertArray) ToUptimeAlertArrayOutputWithContext added in v4.18.0

func (i UptimeAlertArray) ToUptimeAlertArrayOutputWithContext(ctx context.Context) UptimeAlertArrayOutput

type UptimeAlertArrayInput added in v4.18.0

type UptimeAlertArrayInput interface {
	pulumi.Input

	ToUptimeAlertArrayOutput() UptimeAlertArrayOutput
	ToUptimeAlertArrayOutputWithContext(context.Context) UptimeAlertArrayOutput
}

UptimeAlertArrayInput is an input type that accepts UptimeAlertArray and UptimeAlertArrayOutput values. You can construct a concrete instance of `UptimeAlertArrayInput` via:

UptimeAlertArray{ UptimeAlertArgs{...} }

type UptimeAlertArrayOutput added in v4.18.0

type UptimeAlertArrayOutput struct{ *pulumi.OutputState }

func (UptimeAlertArrayOutput) ElementType added in v4.18.0

func (UptimeAlertArrayOutput) ElementType() reflect.Type

func (UptimeAlertArrayOutput) Index added in v4.18.0

func (UptimeAlertArrayOutput) ToUptimeAlertArrayOutput added in v4.18.0

func (o UptimeAlertArrayOutput) ToUptimeAlertArrayOutput() UptimeAlertArrayOutput

func (UptimeAlertArrayOutput) ToUptimeAlertArrayOutputWithContext added in v4.18.0

func (o UptimeAlertArrayOutput) ToUptimeAlertArrayOutputWithContext(ctx context.Context) UptimeAlertArrayOutput

type UptimeAlertInput added in v4.18.0

type UptimeAlertInput interface {
	pulumi.Input

	ToUptimeAlertOutput() UptimeAlertOutput
	ToUptimeAlertOutputWithContext(ctx context.Context) UptimeAlertOutput
}

type UptimeAlertMap added in v4.18.0

type UptimeAlertMap map[string]UptimeAlertInput

func (UptimeAlertMap) ElementType added in v4.18.0

func (UptimeAlertMap) ElementType() reflect.Type

func (UptimeAlertMap) ToUptimeAlertMapOutput added in v4.18.0

func (i UptimeAlertMap) ToUptimeAlertMapOutput() UptimeAlertMapOutput

func (UptimeAlertMap) ToUptimeAlertMapOutputWithContext added in v4.18.0

func (i UptimeAlertMap) ToUptimeAlertMapOutputWithContext(ctx context.Context) UptimeAlertMapOutput

type UptimeAlertMapInput added in v4.18.0

type UptimeAlertMapInput interface {
	pulumi.Input

	ToUptimeAlertMapOutput() UptimeAlertMapOutput
	ToUptimeAlertMapOutputWithContext(context.Context) UptimeAlertMapOutput
}

UptimeAlertMapInput is an input type that accepts UptimeAlertMap and UptimeAlertMapOutput values. You can construct a concrete instance of `UptimeAlertMapInput` via:

UptimeAlertMap{ "key": UptimeAlertArgs{...} }

type UptimeAlertMapOutput added in v4.18.0

type UptimeAlertMapOutput struct{ *pulumi.OutputState }

func (UptimeAlertMapOutput) ElementType added in v4.18.0

func (UptimeAlertMapOutput) ElementType() reflect.Type

func (UptimeAlertMapOutput) MapIndex added in v4.18.0

func (UptimeAlertMapOutput) ToUptimeAlertMapOutput added in v4.18.0

func (o UptimeAlertMapOutput) ToUptimeAlertMapOutput() UptimeAlertMapOutput

func (UptimeAlertMapOutput) ToUptimeAlertMapOutputWithContext added in v4.18.0

func (o UptimeAlertMapOutput) ToUptimeAlertMapOutputWithContext(ctx context.Context) UptimeAlertMapOutput

type UptimeAlertNotification added in v4.18.0

type UptimeAlertNotification struct {
	// List of email addresses to sent notifications to.
	Emails []string                       `pulumi:"emails"`
	Slacks []UptimeAlertNotificationSlack `pulumi:"slacks"`
}

type UptimeAlertNotificationArgs added in v4.18.0

type UptimeAlertNotificationArgs struct {
	// List of email addresses to sent notifications to.
	Emails pulumi.StringArrayInput                `pulumi:"emails"`
	Slacks UptimeAlertNotificationSlackArrayInput `pulumi:"slacks"`
}

func (UptimeAlertNotificationArgs) ElementType added in v4.18.0

func (UptimeAlertNotificationArgs) ToUptimeAlertNotificationOutput added in v4.18.0

func (i UptimeAlertNotificationArgs) ToUptimeAlertNotificationOutput() UptimeAlertNotificationOutput

func (UptimeAlertNotificationArgs) ToUptimeAlertNotificationOutputWithContext added in v4.18.0

func (i UptimeAlertNotificationArgs) ToUptimeAlertNotificationOutputWithContext(ctx context.Context) UptimeAlertNotificationOutput

type UptimeAlertNotificationArray added in v4.18.0

type UptimeAlertNotificationArray []UptimeAlertNotificationInput

func (UptimeAlertNotificationArray) ElementType added in v4.18.0

func (UptimeAlertNotificationArray) ToUptimeAlertNotificationArrayOutput added in v4.18.0

func (i UptimeAlertNotificationArray) ToUptimeAlertNotificationArrayOutput() UptimeAlertNotificationArrayOutput

func (UptimeAlertNotificationArray) ToUptimeAlertNotificationArrayOutputWithContext added in v4.18.0

func (i UptimeAlertNotificationArray) ToUptimeAlertNotificationArrayOutputWithContext(ctx context.Context) UptimeAlertNotificationArrayOutput

type UptimeAlertNotificationArrayInput added in v4.18.0

type UptimeAlertNotificationArrayInput interface {
	pulumi.Input

	ToUptimeAlertNotificationArrayOutput() UptimeAlertNotificationArrayOutput
	ToUptimeAlertNotificationArrayOutputWithContext(context.Context) UptimeAlertNotificationArrayOutput
}

UptimeAlertNotificationArrayInput is an input type that accepts UptimeAlertNotificationArray and UptimeAlertNotificationArrayOutput values. You can construct a concrete instance of `UptimeAlertNotificationArrayInput` via:

UptimeAlertNotificationArray{ UptimeAlertNotificationArgs{...} }

type UptimeAlertNotificationArrayOutput added in v4.18.0

type UptimeAlertNotificationArrayOutput struct{ *pulumi.OutputState }

func (UptimeAlertNotificationArrayOutput) ElementType added in v4.18.0

func (UptimeAlertNotificationArrayOutput) Index added in v4.18.0

func (UptimeAlertNotificationArrayOutput) ToUptimeAlertNotificationArrayOutput added in v4.18.0

func (o UptimeAlertNotificationArrayOutput) ToUptimeAlertNotificationArrayOutput() UptimeAlertNotificationArrayOutput

func (UptimeAlertNotificationArrayOutput) ToUptimeAlertNotificationArrayOutputWithContext added in v4.18.0

func (o UptimeAlertNotificationArrayOutput) ToUptimeAlertNotificationArrayOutputWithContext(ctx context.Context) UptimeAlertNotificationArrayOutput

type UptimeAlertNotificationInput added in v4.18.0

type UptimeAlertNotificationInput interface {
	pulumi.Input

	ToUptimeAlertNotificationOutput() UptimeAlertNotificationOutput
	ToUptimeAlertNotificationOutputWithContext(context.Context) UptimeAlertNotificationOutput
}

UptimeAlertNotificationInput is an input type that accepts UptimeAlertNotificationArgs and UptimeAlertNotificationOutput values. You can construct a concrete instance of `UptimeAlertNotificationInput` via:

UptimeAlertNotificationArgs{...}

type UptimeAlertNotificationOutput added in v4.18.0

type UptimeAlertNotificationOutput struct{ *pulumi.OutputState }

func (UptimeAlertNotificationOutput) ElementType added in v4.18.0

func (UptimeAlertNotificationOutput) Emails added in v4.18.0

List of email addresses to sent notifications to.

func (UptimeAlertNotificationOutput) Slacks added in v4.18.0

func (UptimeAlertNotificationOutput) ToUptimeAlertNotificationOutput added in v4.18.0

func (o UptimeAlertNotificationOutput) ToUptimeAlertNotificationOutput() UptimeAlertNotificationOutput

func (UptimeAlertNotificationOutput) ToUptimeAlertNotificationOutputWithContext added in v4.18.0

func (o UptimeAlertNotificationOutput) ToUptimeAlertNotificationOutputWithContext(ctx context.Context) UptimeAlertNotificationOutput

type UptimeAlertNotificationSlack added in v4.18.0

type UptimeAlertNotificationSlack struct {
	// The Slack channel to send alerts to.
	Channel string `pulumi:"channel"`
	// The webhook URL for Slack.
	Url string `pulumi:"url"`
}

type UptimeAlertNotificationSlackArgs added in v4.18.0

type UptimeAlertNotificationSlackArgs struct {
	// The Slack channel to send alerts to.
	Channel pulumi.StringInput `pulumi:"channel"`
	// The webhook URL for Slack.
	Url pulumi.StringInput `pulumi:"url"`
}

func (UptimeAlertNotificationSlackArgs) ElementType added in v4.18.0

func (UptimeAlertNotificationSlackArgs) ToUptimeAlertNotificationSlackOutput added in v4.18.0

func (i UptimeAlertNotificationSlackArgs) ToUptimeAlertNotificationSlackOutput() UptimeAlertNotificationSlackOutput

func (UptimeAlertNotificationSlackArgs) ToUptimeAlertNotificationSlackOutputWithContext added in v4.18.0

func (i UptimeAlertNotificationSlackArgs) ToUptimeAlertNotificationSlackOutputWithContext(ctx context.Context) UptimeAlertNotificationSlackOutput

type UptimeAlertNotificationSlackArray added in v4.18.0

type UptimeAlertNotificationSlackArray []UptimeAlertNotificationSlackInput

func (UptimeAlertNotificationSlackArray) ElementType added in v4.18.0

func (UptimeAlertNotificationSlackArray) ToUptimeAlertNotificationSlackArrayOutput added in v4.18.0

func (i UptimeAlertNotificationSlackArray) ToUptimeAlertNotificationSlackArrayOutput() UptimeAlertNotificationSlackArrayOutput

func (UptimeAlertNotificationSlackArray) ToUptimeAlertNotificationSlackArrayOutputWithContext added in v4.18.0

func (i UptimeAlertNotificationSlackArray) ToUptimeAlertNotificationSlackArrayOutputWithContext(ctx context.Context) UptimeAlertNotificationSlackArrayOutput

type UptimeAlertNotificationSlackArrayInput added in v4.18.0

type UptimeAlertNotificationSlackArrayInput interface {
	pulumi.Input

	ToUptimeAlertNotificationSlackArrayOutput() UptimeAlertNotificationSlackArrayOutput
	ToUptimeAlertNotificationSlackArrayOutputWithContext(context.Context) UptimeAlertNotificationSlackArrayOutput
}

UptimeAlertNotificationSlackArrayInput is an input type that accepts UptimeAlertNotificationSlackArray and UptimeAlertNotificationSlackArrayOutput values. You can construct a concrete instance of `UptimeAlertNotificationSlackArrayInput` via:

UptimeAlertNotificationSlackArray{ UptimeAlertNotificationSlackArgs{...} }

type UptimeAlertNotificationSlackArrayOutput added in v4.18.0

type UptimeAlertNotificationSlackArrayOutput struct{ *pulumi.OutputState }

func (UptimeAlertNotificationSlackArrayOutput) ElementType added in v4.18.0

func (UptimeAlertNotificationSlackArrayOutput) Index added in v4.18.0

func (UptimeAlertNotificationSlackArrayOutput) ToUptimeAlertNotificationSlackArrayOutput added in v4.18.0

func (o UptimeAlertNotificationSlackArrayOutput) ToUptimeAlertNotificationSlackArrayOutput() UptimeAlertNotificationSlackArrayOutput

func (UptimeAlertNotificationSlackArrayOutput) ToUptimeAlertNotificationSlackArrayOutputWithContext added in v4.18.0

func (o UptimeAlertNotificationSlackArrayOutput) ToUptimeAlertNotificationSlackArrayOutputWithContext(ctx context.Context) UptimeAlertNotificationSlackArrayOutput

type UptimeAlertNotificationSlackInput added in v4.18.0

type UptimeAlertNotificationSlackInput interface {
	pulumi.Input

	ToUptimeAlertNotificationSlackOutput() UptimeAlertNotificationSlackOutput
	ToUptimeAlertNotificationSlackOutputWithContext(context.Context) UptimeAlertNotificationSlackOutput
}

UptimeAlertNotificationSlackInput is an input type that accepts UptimeAlertNotificationSlackArgs and UptimeAlertNotificationSlackOutput values. You can construct a concrete instance of `UptimeAlertNotificationSlackInput` via:

UptimeAlertNotificationSlackArgs{...}

type UptimeAlertNotificationSlackOutput added in v4.18.0

type UptimeAlertNotificationSlackOutput struct{ *pulumi.OutputState }

func (UptimeAlertNotificationSlackOutput) Channel added in v4.18.0

The Slack channel to send alerts to.

func (UptimeAlertNotificationSlackOutput) ElementType added in v4.18.0

func (UptimeAlertNotificationSlackOutput) ToUptimeAlertNotificationSlackOutput added in v4.18.0

func (o UptimeAlertNotificationSlackOutput) ToUptimeAlertNotificationSlackOutput() UptimeAlertNotificationSlackOutput

func (UptimeAlertNotificationSlackOutput) ToUptimeAlertNotificationSlackOutputWithContext added in v4.18.0

func (o UptimeAlertNotificationSlackOutput) ToUptimeAlertNotificationSlackOutputWithContext(ctx context.Context) UptimeAlertNotificationSlackOutput

func (UptimeAlertNotificationSlackOutput) Url added in v4.18.0

The webhook URL for Slack.

type UptimeAlertOutput added in v4.18.0

type UptimeAlertOutput struct{ *pulumi.OutputState }

func (UptimeAlertOutput) CheckId added in v4.18.0

A unique identifier for a check

func (UptimeAlertOutput) Comparison added in v4.18.0

func (o UptimeAlertOutput) Comparison() pulumi.StringPtrOutput

The comparison operator used against the alert's threshold. Must be one of `greaterThan` or `lessThan`.

func (UptimeAlertOutput) ElementType added in v4.18.0

func (UptimeAlertOutput) ElementType() reflect.Type

func (UptimeAlertOutput) Name added in v4.18.0

A human-friendly display name.

func (UptimeAlertOutput) Notifications added in v4.18.0

The notification settings for a trigger alert.

func (UptimeAlertOutput) Period added in v4.18.0

Period of time the threshold must be exceeded to trigger the alert. Must be one of `2m`, `3m`, `5m`, `10m`, `15m`, `30m` or `1h`.

func (UptimeAlertOutput) Threshold added in v4.18.0

func (o UptimeAlertOutput) Threshold() pulumi.IntPtrOutput

The threshold at which the alert will enter a trigger state. The specific threshold is dependent on the alert type.

func (UptimeAlertOutput) ToUptimeAlertOutput added in v4.18.0

func (o UptimeAlertOutput) ToUptimeAlertOutput() UptimeAlertOutput

func (UptimeAlertOutput) ToUptimeAlertOutputWithContext added in v4.18.0

func (o UptimeAlertOutput) ToUptimeAlertOutputWithContext(ctx context.Context) UptimeAlertOutput

func (UptimeAlertOutput) Type added in v4.18.0

The type of health check to perform. Must be one of `latency`, `down`, `downGlobal` or `sslExpiry`.

type UptimeAlertState added in v4.18.0

type UptimeAlertState struct {
	// A unique identifier for a check
	CheckId pulumi.StringPtrInput
	// The comparison operator used against the alert's threshold. Must be one of `greaterThan` or `lessThan`.
	Comparison pulumi.StringPtrInput
	// A human-friendly display name.
	Name pulumi.StringPtrInput
	// The notification settings for a trigger alert.
	Notifications UptimeAlertNotificationArrayInput
	// Period of time the threshold must be exceeded to trigger the alert. Must be one of `2m`, `3m`, `5m`, `10m`, `15m`, `30m` or `1h`.
	Period pulumi.StringPtrInput
	// The threshold at which the alert will enter a trigger state. The specific threshold is dependent on the alert type.
	Threshold pulumi.IntPtrInput
	// The type of health check to perform. Must be one of `latency`, `down`, `downGlobal` or `sslExpiry`.
	Type pulumi.StringPtrInput
}

func (UptimeAlertState) ElementType added in v4.18.0

func (UptimeAlertState) ElementType() reflect.Type

type UptimeCheck added in v4.18.0

type UptimeCheck struct {
	pulumi.CustomResourceState

	// A boolean value indicating whether the check is enabled/disabled.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// A human-friendly display name for the check.
	Name pulumi.StringOutput `pulumi:"name"`
	// An array containing the selected regions to perform healthchecks from: "usEast", "usWest", "euWest", "seAsia"
	Regions pulumi.StringArrayOutput `pulumi:"regions"`
	// The endpoint to perform healthchecks on.
	Target pulumi.StringOutput `pulumi:"target"`
	// The type of health check to perform: 'ping' 'http' 'https'.
	Type pulumi.StringPtrOutput `pulumi:"type"`
}

Provides a [DigitalOcean Uptime Checks](https://docs.digitalocean.com/reference/api/api-reference/#tag/Uptime) resource. Uptime Checks provide the ability to monitor your endpoints from around the world, and alert you when they're slow, unavailable, or SSL certificates are expiring.

## Import

Uptime checks can be imported using the uptime check's `id`, e.g.

```sh $ pulumi import digitalocean:index/uptimeCheck:UptimeCheck target 5a4981aa-9653-4bd1-bef5-d6bff52042e4 ```

func GetUptimeCheck added in v4.18.0

func GetUptimeCheck(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *UptimeCheckState, opts ...pulumi.ResourceOption) (*UptimeCheck, error)

GetUptimeCheck gets an existing UptimeCheck 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 NewUptimeCheck added in v4.18.0

func NewUptimeCheck(ctx *pulumi.Context,
	name string, args *UptimeCheckArgs, opts ...pulumi.ResourceOption) (*UptimeCheck, error)

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

func (*UptimeCheck) ElementType added in v4.18.0

func (*UptimeCheck) ElementType() reflect.Type

func (*UptimeCheck) ToUptimeCheckOutput added in v4.18.0

func (i *UptimeCheck) ToUptimeCheckOutput() UptimeCheckOutput

func (*UptimeCheck) ToUptimeCheckOutputWithContext added in v4.18.0

func (i *UptimeCheck) ToUptimeCheckOutputWithContext(ctx context.Context) UptimeCheckOutput

type UptimeCheckArgs added in v4.18.0

type UptimeCheckArgs struct {
	// A boolean value indicating whether the check is enabled/disabled.
	Enabled pulumi.BoolPtrInput
	// A human-friendly display name for the check.
	Name pulumi.StringPtrInput
	// An array containing the selected regions to perform healthchecks from: "usEast", "usWest", "euWest", "seAsia"
	Regions pulumi.StringArrayInput
	// The endpoint to perform healthchecks on.
	Target pulumi.StringInput
	// The type of health check to perform: 'ping' 'http' 'https'.
	Type pulumi.StringPtrInput
}

The set of arguments for constructing a UptimeCheck resource.

func (UptimeCheckArgs) ElementType added in v4.18.0

func (UptimeCheckArgs) ElementType() reflect.Type

type UptimeCheckArray added in v4.18.0

type UptimeCheckArray []UptimeCheckInput

func (UptimeCheckArray) ElementType added in v4.18.0

func (UptimeCheckArray) ElementType() reflect.Type

func (UptimeCheckArray) ToUptimeCheckArrayOutput added in v4.18.0

func (i UptimeCheckArray) ToUptimeCheckArrayOutput() UptimeCheckArrayOutput

func (UptimeCheckArray) ToUptimeCheckArrayOutputWithContext added in v4.18.0

func (i UptimeCheckArray) ToUptimeCheckArrayOutputWithContext(ctx context.Context) UptimeCheckArrayOutput

type UptimeCheckArrayInput added in v4.18.0

type UptimeCheckArrayInput interface {
	pulumi.Input

	ToUptimeCheckArrayOutput() UptimeCheckArrayOutput
	ToUptimeCheckArrayOutputWithContext(context.Context) UptimeCheckArrayOutput
}

UptimeCheckArrayInput is an input type that accepts UptimeCheckArray and UptimeCheckArrayOutput values. You can construct a concrete instance of `UptimeCheckArrayInput` via:

UptimeCheckArray{ UptimeCheckArgs{...} }

type UptimeCheckArrayOutput added in v4.18.0

type UptimeCheckArrayOutput struct{ *pulumi.OutputState }

func (UptimeCheckArrayOutput) ElementType added in v4.18.0

func (UptimeCheckArrayOutput) ElementType() reflect.Type

func (UptimeCheckArrayOutput) Index added in v4.18.0

func (UptimeCheckArrayOutput) ToUptimeCheckArrayOutput added in v4.18.0

func (o UptimeCheckArrayOutput) ToUptimeCheckArrayOutput() UptimeCheckArrayOutput

func (UptimeCheckArrayOutput) ToUptimeCheckArrayOutputWithContext added in v4.18.0

func (o UptimeCheckArrayOutput) ToUptimeCheckArrayOutputWithContext(ctx context.Context) UptimeCheckArrayOutput

type UptimeCheckInput added in v4.18.0

type UptimeCheckInput interface {
	pulumi.Input

	ToUptimeCheckOutput() UptimeCheckOutput
	ToUptimeCheckOutputWithContext(ctx context.Context) UptimeCheckOutput
}

type UptimeCheckMap added in v4.18.0

type UptimeCheckMap map[string]UptimeCheckInput

func (UptimeCheckMap) ElementType added in v4.18.0

func (UptimeCheckMap) ElementType() reflect.Type

func (UptimeCheckMap) ToUptimeCheckMapOutput added in v4.18.0

func (i UptimeCheckMap) ToUptimeCheckMapOutput() UptimeCheckMapOutput

func (UptimeCheckMap) ToUptimeCheckMapOutputWithContext added in v4.18.0

func (i UptimeCheckMap) ToUptimeCheckMapOutputWithContext(ctx context.Context) UptimeCheckMapOutput

type UptimeCheckMapInput added in v4.18.0

type UptimeCheckMapInput interface {
	pulumi.Input

	ToUptimeCheckMapOutput() UptimeCheckMapOutput
	ToUptimeCheckMapOutputWithContext(context.Context) UptimeCheckMapOutput
}

UptimeCheckMapInput is an input type that accepts UptimeCheckMap and UptimeCheckMapOutput values. You can construct a concrete instance of `UptimeCheckMapInput` via:

UptimeCheckMap{ "key": UptimeCheckArgs{...} }

type UptimeCheckMapOutput added in v4.18.0

type UptimeCheckMapOutput struct{ *pulumi.OutputState }

func (UptimeCheckMapOutput) ElementType added in v4.18.0

func (UptimeCheckMapOutput) ElementType() reflect.Type

func (UptimeCheckMapOutput) MapIndex added in v4.18.0

func (UptimeCheckMapOutput) ToUptimeCheckMapOutput added in v4.18.0

func (o UptimeCheckMapOutput) ToUptimeCheckMapOutput() UptimeCheckMapOutput

func (UptimeCheckMapOutput) ToUptimeCheckMapOutputWithContext added in v4.18.0

func (o UptimeCheckMapOutput) ToUptimeCheckMapOutputWithContext(ctx context.Context) UptimeCheckMapOutput

type UptimeCheckOutput added in v4.18.0

type UptimeCheckOutput struct{ *pulumi.OutputState }

func (UptimeCheckOutput) ElementType added in v4.18.0

func (UptimeCheckOutput) ElementType() reflect.Type

func (UptimeCheckOutput) Enabled added in v4.18.0

A boolean value indicating whether the check is enabled/disabled.

func (UptimeCheckOutput) Name added in v4.18.0

A human-friendly display name for the check.

func (UptimeCheckOutput) Regions added in v4.18.0

An array containing the selected regions to perform healthchecks from: "usEast", "usWest", "euWest", "seAsia"

func (UptimeCheckOutput) Target added in v4.18.0

The endpoint to perform healthchecks on.

func (UptimeCheckOutput) ToUptimeCheckOutput added in v4.18.0

func (o UptimeCheckOutput) ToUptimeCheckOutput() UptimeCheckOutput

func (UptimeCheckOutput) ToUptimeCheckOutputWithContext added in v4.18.0

func (o UptimeCheckOutput) ToUptimeCheckOutputWithContext(ctx context.Context) UptimeCheckOutput

func (UptimeCheckOutput) Type added in v4.18.0

The type of health check to perform: 'ping' 'http' 'https'.

type UptimeCheckState added in v4.18.0

type UptimeCheckState struct {
	// A boolean value indicating whether the check is enabled/disabled.
	Enabled pulumi.BoolPtrInput
	// A human-friendly display name for the check.
	Name pulumi.StringPtrInput
	// An array containing the selected regions to perform healthchecks from: "usEast", "usWest", "euWest", "seAsia"
	Regions pulumi.StringArrayInput
	// The endpoint to perform healthchecks on.
	Target pulumi.StringPtrInput
	// The type of health check to perform: 'ping' 'http' 'https'.
	Type pulumi.StringPtrInput
}

func (UptimeCheckState) ElementType added in v4.18.0

func (UptimeCheckState) ElementType() reflect.Type

type Volume

type Volume struct {
	pulumi.CustomResourceState

	// A free-form text field up to a limit of 1024 bytes to describe a block storage volume.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// A list of associated droplet ids.
	DropletIds pulumi.IntArrayOutput `pulumi:"dropletIds"`
	// Filesystem label for the block storage volume.
	FilesystemLabel pulumi.StringOutput `pulumi:"filesystemLabel"`
	// Filesystem type (`xfs` or `ext4`) for the block storage volume.
	//
	// Deprecated: This fields functionality has been replaced by `initialFilesystemType`. The property will still remain as a computed attribute representing the current volumes filesystem type.
	FilesystemType pulumi.StringOutput `pulumi:"filesystemType"`
	// Initial filesystem label for the block storage volume.
	InitialFilesystemLabel pulumi.StringPtrOutput `pulumi:"initialFilesystemLabel"`
	// Initial filesystem type (`xfs` or `ext4`) for the block storage volume.
	InitialFilesystemType pulumi.StringPtrOutput `pulumi:"initialFilesystemType"`
	// A name for the block storage volume. Must be lowercase and be composed only of numbers, letters and "-", up to a limit of 64 characters. The name must begin with a letter.
	Name pulumi.StringOutput `pulumi:"name"`
	// The region that the block storage volume will be created in.
	Region pulumi.StringOutput `pulumi:"region"`
	// The size of the block storage volume in GiB. If updated, can only be expanded.
	Size pulumi.IntOutput `pulumi:"size"`
	// The ID of an existing volume snapshot from which the new volume will be created. If supplied, the region and size will be limitied on creation to that of the referenced snapshot
	SnapshotId pulumi.StringPtrOutput `pulumi:"snapshotId"`
	// A list of the tags to be applied to this Volume.
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
	// The uniform resource name for the volume.
	VolumeUrn pulumi.StringOutput `pulumi:"volumeUrn"`
}

Provides a DigitalOcean Block Storage volume which can be attached to a Droplet in order to provide expanded storage.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		foobarVolume, err := digitalocean.NewVolume(ctx, "foobarVolume", &digitalocean.VolumeArgs{
			Region:                pulumi.String(digitalocean.RegionNYC1),
			Size:                  pulumi.Int(100),
			InitialFilesystemType: pulumi.String(digitalocean.FileSystemTypeEXT4),
			Description:           pulumi.String("an example volume"),
		})
		if err != nil {
			return err
		}
		foobarDroplet, err := digitalocean.NewDroplet(ctx, "foobarDroplet", &digitalocean.DropletArgs{
			Size:   pulumi.String(digitalocean.DropletSlugDropletS1VCPU1GB),
			Image:  pulumi.String("ubuntu-18-04-x64"),
			Region: pulumi.String(digitalocean.RegionNYC1),
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewVolumeAttachment(ctx, "foobarVolumeAttachment", &digitalocean.VolumeAttachmentArgs{
			DropletId: foobarDroplet.ID(),
			VolumeId:  foobarVolume.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

You can also create a volume from an existing snapshot.

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		foobarVolumeSnapshot, err := digitalocean.LookupVolumeSnapshot(ctx, &digitalocean.LookupVolumeSnapshotArgs{
			Name: pulumi.StringRef("baz"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = digitalocean.NewVolume(ctx, "foobarVolume", &digitalocean.VolumeArgs{
			Region:     pulumi.String(digitalocean.RegionLON1),
			Size:       pulumi.Int(foobarVolumeSnapshot.MinDiskSize),
			SnapshotId: pulumi.String(foobarVolumeSnapshot.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Volumes can be imported using the `volume id`, e.g.

```sh $ pulumi import digitalocean:index/volume:Volume volume 506f78a4-e098-11e5-ad9f-000f53306ae1 ```

func GetVolume

func GetVolume(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VolumeState, opts ...pulumi.ResourceOption) (*Volume, error)

GetVolume gets an existing Volume 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 NewVolume

func NewVolume(ctx *pulumi.Context,
	name string, args *VolumeArgs, opts ...pulumi.ResourceOption) (*Volume, error)

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

func (*Volume) ElementType

func (*Volume) ElementType() reflect.Type

func (*Volume) ToVolumeOutput

func (i *Volume) ToVolumeOutput() VolumeOutput

func (*Volume) ToVolumeOutputWithContext

func (i *Volume) ToVolumeOutputWithContext(ctx context.Context) VolumeOutput

type VolumeArgs

type VolumeArgs struct {
	// A free-form text field up to a limit of 1024 bytes to describe a block storage volume.
	Description pulumi.StringPtrInput
	// Filesystem type (`xfs` or `ext4`) for the block storage volume.
	//
	// Deprecated: This fields functionality has been replaced by `initialFilesystemType`. The property will still remain as a computed attribute representing the current volumes filesystem type.
	FilesystemType pulumi.StringPtrInput
	// Initial filesystem label for the block storage volume.
	InitialFilesystemLabel pulumi.StringPtrInput
	// Initial filesystem type (`xfs` or `ext4`) for the block storage volume.
	InitialFilesystemType pulumi.StringPtrInput
	// A name for the block storage volume. Must be lowercase and be composed only of numbers, letters and "-", up to a limit of 64 characters. The name must begin with a letter.
	Name pulumi.StringPtrInput
	// The region that the block storage volume will be created in.
	Region pulumi.StringInput
	// The size of the block storage volume in GiB. If updated, can only be expanded.
	Size pulumi.IntInput
	// The ID of an existing volume snapshot from which the new volume will be created. If supplied, the region and size will be limitied on creation to that of the referenced snapshot
	SnapshotId pulumi.StringPtrInput
	// A list of the tags to be applied to this Volume.
	Tags pulumi.StringArrayInput
}

The set of arguments for constructing a Volume resource.

func (VolumeArgs) ElementType

func (VolumeArgs) ElementType() reflect.Type

type VolumeArray

type VolumeArray []VolumeInput

func (VolumeArray) ElementType

func (VolumeArray) ElementType() reflect.Type

func (VolumeArray) ToVolumeArrayOutput

func (i VolumeArray) ToVolumeArrayOutput() VolumeArrayOutput

func (VolumeArray) ToVolumeArrayOutputWithContext

func (i VolumeArray) ToVolumeArrayOutputWithContext(ctx context.Context) VolumeArrayOutput

type VolumeArrayInput

type VolumeArrayInput interface {
	pulumi.Input

	ToVolumeArrayOutput() VolumeArrayOutput
	ToVolumeArrayOutputWithContext(context.Context) VolumeArrayOutput
}

VolumeArrayInput is an input type that accepts VolumeArray and VolumeArrayOutput values. You can construct a concrete instance of `VolumeArrayInput` via:

VolumeArray{ VolumeArgs{...} }

type VolumeArrayOutput

type VolumeArrayOutput struct{ *pulumi.OutputState }

func (VolumeArrayOutput) ElementType

func (VolumeArrayOutput) ElementType() reflect.Type

func (VolumeArrayOutput) Index

func (VolumeArrayOutput) ToVolumeArrayOutput

func (o VolumeArrayOutput) ToVolumeArrayOutput() VolumeArrayOutput

func (VolumeArrayOutput) ToVolumeArrayOutputWithContext

func (o VolumeArrayOutput) ToVolumeArrayOutputWithContext(ctx context.Context) VolumeArrayOutput

type VolumeAttachment

type VolumeAttachment struct {
	pulumi.CustomResourceState

	// ID of the Droplet to attach the volume to.
	DropletId pulumi.IntOutput `pulumi:"dropletId"`
	// ID of the Volume to be attached to the Droplet.
	VolumeId pulumi.StringOutput `pulumi:"volumeId"`
}

Manages attaching a Volume to a Droplet.

> **NOTE:** Volumes can be attached either directly on the `Droplet` resource, or using the `VolumeAttachment` resource - but the two cannot be used together. If both are used against the same Droplet, the volume attachments will constantly drift.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		foobarVolume, err := digitalocean.NewVolume(ctx, "foobarVolume", &digitalocean.VolumeArgs{
			Region:                pulumi.String(digitalocean.RegionNYC1),
			Size:                  pulumi.Int(100),
			InitialFilesystemType: pulumi.String(digitalocean.FileSystemTypeEXT4),
			Description:           pulumi.String("an example volume"),
		})
		if err != nil {
			return err
		}
		foobarDroplet, err := digitalocean.NewDroplet(ctx, "foobarDroplet", &digitalocean.DropletArgs{
			Size:   pulumi.String(digitalocean.DropletSlugDropletS1VCPU1GB),
			Image:  pulumi.String("ubuntu-18-04-x64"),
			Region: pulumi.String(digitalocean.RegionNYC1),
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewVolumeAttachment(ctx, "foobarVolumeAttachment", &digitalocean.VolumeAttachmentArgs{
			DropletId: foobarDroplet.ID(),
			VolumeId:  foobarVolume.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetVolumeAttachment

func GetVolumeAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VolumeAttachmentState, opts ...pulumi.ResourceOption) (*VolumeAttachment, error)

GetVolumeAttachment gets an existing VolumeAttachment 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 NewVolumeAttachment

func NewVolumeAttachment(ctx *pulumi.Context,
	name string, args *VolumeAttachmentArgs, opts ...pulumi.ResourceOption) (*VolumeAttachment, error)

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

func (*VolumeAttachment) ElementType

func (*VolumeAttachment) ElementType() reflect.Type

func (*VolumeAttachment) ToVolumeAttachmentOutput

func (i *VolumeAttachment) ToVolumeAttachmentOutput() VolumeAttachmentOutput

func (*VolumeAttachment) ToVolumeAttachmentOutputWithContext

func (i *VolumeAttachment) ToVolumeAttachmentOutputWithContext(ctx context.Context) VolumeAttachmentOutput

type VolumeAttachmentArgs

type VolumeAttachmentArgs struct {
	// ID of the Droplet to attach the volume to.
	DropletId pulumi.IntInput
	// ID of the Volume to be attached to the Droplet.
	VolumeId pulumi.StringInput
}

The set of arguments for constructing a VolumeAttachment resource.

func (VolumeAttachmentArgs) ElementType

func (VolumeAttachmentArgs) ElementType() reflect.Type

type VolumeAttachmentArray

type VolumeAttachmentArray []VolumeAttachmentInput

func (VolumeAttachmentArray) ElementType

func (VolumeAttachmentArray) ElementType() reflect.Type

func (VolumeAttachmentArray) ToVolumeAttachmentArrayOutput

func (i VolumeAttachmentArray) ToVolumeAttachmentArrayOutput() VolumeAttachmentArrayOutput

func (VolumeAttachmentArray) ToVolumeAttachmentArrayOutputWithContext

func (i VolumeAttachmentArray) ToVolumeAttachmentArrayOutputWithContext(ctx context.Context) VolumeAttachmentArrayOutput

type VolumeAttachmentArrayInput

type VolumeAttachmentArrayInput interface {
	pulumi.Input

	ToVolumeAttachmentArrayOutput() VolumeAttachmentArrayOutput
	ToVolumeAttachmentArrayOutputWithContext(context.Context) VolumeAttachmentArrayOutput
}

VolumeAttachmentArrayInput is an input type that accepts VolumeAttachmentArray and VolumeAttachmentArrayOutput values. You can construct a concrete instance of `VolumeAttachmentArrayInput` via:

VolumeAttachmentArray{ VolumeAttachmentArgs{...} }

type VolumeAttachmentArrayOutput

type VolumeAttachmentArrayOutput struct{ *pulumi.OutputState }

func (VolumeAttachmentArrayOutput) ElementType

func (VolumeAttachmentArrayOutput) Index

func (VolumeAttachmentArrayOutput) ToVolumeAttachmentArrayOutput

func (o VolumeAttachmentArrayOutput) ToVolumeAttachmentArrayOutput() VolumeAttachmentArrayOutput

func (VolumeAttachmentArrayOutput) ToVolumeAttachmentArrayOutputWithContext

func (o VolumeAttachmentArrayOutput) ToVolumeAttachmentArrayOutputWithContext(ctx context.Context) VolumeAttachmentArrayOutput

type VolumeAttachmentInput

type VolumeAttachmentInput interface {
	pulumi.Input

	ToVolumeAttachmentOutput() VolumeAttachmentOutput
	ToVolumeAttachmentOutputWithContext(ctx context.Context) VolumeAttachmentOutput
}

type VolumeAttachmentMap

type VolumeAttachmentMap map[string]VolumeAttachmentInput

func (VolumeAttachmentMap) ElementType

func (VolumeAttachmentMap) ElementType() reflect.Type

func (VolumeAttachmentMap) ToVolumeAttachmentMapOutput

func (i VolumeAttachmentMap) ToVolumeAttachmentMapOutput() VolumeAttachmentMapOutput

func (VolumeAttachmentMap) ToVolumeAttachmentMapOutputWithContext

func (i VolumeAttachmentMap) ToVolumeAttachmentMapOutputWithContext(ctx context.Context) VolumeAttachmentMapOutput

type VolumeAttachmentMapInput

type VolumeAttachmentMapInput interface {
	pulumi.Input

	ToVolumeAttachmentMapOutput() VolumeAttachmentMapOutput
	ToVolumeAttachmentMapOutputWithContext(context.Context) VolumeAttachmentMapOutput
}

VolumeAttachmentMapInput is an input type that accepts VolumeAttachmentMap and VolumeAttachmentMapOutput values. You can construct a concrete instance of `VolumeAttachmentMapInput` via:

VolumeAttachmentMap{ "key": VolumeAttachmentArgs{...} }

type VolumeAttachmentMapOutput

type VolumeAttachmentMapOutput struct{ *pulumi.OutputState }

func (VolumeAttachmentMapOutput) ElementType

func (VolumeAttachmentMapOutput) ElementType() reflect.Type

func (VolumeAttachmentMapOutput) MapIndex

func (VolumeAttachmentMapOutput) ToVolumeAttachmentMapOutput

func (o VolumeAttachmentMapOutput) ToVolumeAttachmentMapOutput() VolumeAttachmentMapOutput

func (VolumeAttachmentMapOutput) ToVolumeAttachmentMapOutputWithContext

func (o VolumeAttachmentMapOutput) ToVolumeAttachmentMapOutputWithContext(ctx context.Context) VolumeAttachmentMapOutput

type VolumeAttachmentOutput

type VolumeAttachmentOutput struct{ *pulumi.OutputState }

func (VolumeAttachmentOutput) DropletId added in v4.13.0

func (o VolumeAttachmentOutput) DropletId() pulumi.IntOutput

ID of the Droplet to attach the volume to.

func (VolumeAttachmentOutput) ElementType

func (VolumeAttachmentOutput) ElementType() reflect.Type

func (VolumeAttachmentOutput) ToVolumeAttachmentOutput

func (o VolumeAttachmentOutput) ToVolumeAttachmentOutput() VolumeAttachmentOutput

func (VolumeAttachmentOutput) ToVolumeAttachmentOutputWithContext

func (o VolumeAttachmentOutput) ToVolumeAttachmentOutputWithContext(ctx context.Context) VolumeAttachmentOutput

func (VolumeAttachmentOutput) VolumeId added in v4.13.0

ID of the Volume to be attached to the Droplet.

type VolumeAttachmentState

type VolumeAttachmentState struct {
	// ID of the Droplet to attach the volume to.
	DropletId pulumi.IntPtrInput
	// ID of the Volume to be attached to the Droplet.
	VolumeId pulumi.StringPtrInput
}

func (VolumeAttachmentState) ElementType

func (VolumeAttachmentState) ElementType() reflect.Type

type VolumeInput

type VolumeInput interface {
	pulumi.Input

	ToVolumeOutput() VolumeOutput
	ToVolumeOutputWithContext(ctx context.Context) VolumeOutput
}

type VolumeMap

type VolumeMap map[string]VolumeInput

func (VolumeMap) ElementType

func (VolumeMap) ElementType() reflect.Type

func (VolumeMap) ToVolumeMapOutput

func (i VolumeMap) ToVolumeMapOutput() VolumeMapOutput

func (VolumeMap) ToVolumeMapOutputWithContext

func (i VolumeMap) ToVolumeMapOutputWithContext(ctx context.Context) VolumeMapOutput

type VolumeMapInput

type VolumeMapInput interface {
	pulumi.Input

	ToVolumeMapOutput() VolumeMapOutput
	ToVolumeMapOutputWithContext(context.Context) VolumeMapOutput
}

VolumeMapInput is an input type that accepts VolumeMap and VolumeMapOutput values. You can construct a concrete instance of `VolumeMapInput` via:

VolumeMap{ "key": VolumeArgs{...} }

type VolumeMapOutput

type VolumeMapOutput struct{ *pulumi.OutputState }

func (VolumeMapOutput) ElementType

func (VolumeMapOutput) ElementType() reflect.Type

func (VolumeMapOutput) MapIndex

func (VolumeMapOutput) ToVolumeMapOutput

func (o VolumeMapOutput) ToVolumeMapOutput() VolumeMapOutput

func (VolumeMapOutput) ToVolumeMapOutputWithContext

func (o VolumeMapOutput) ToVolumeMapOutputWithContext(ctx context.Context) VolumeMapOutput

type VolumeOutput

type VolumeOutput struct{ *pulumi.OutputState }

func (VolumeOutput) Description added in v4.13.0

func (o VolumeOutput) Description() pulumi.StringPtrOutput

A free-form text field up to a limit of 1024 bytes to describe a block storage volume.

func (VolumeOutput) DropletIds added in v4.13.0

func (o VolumeOutput) DropletIds() pulumi.IntArrayOutput

A list of associated droplet ids.

func (VolumeOutput) ElementType

func (VolumeOutput) ElementType() reflect.Type

func (VolumeOutput) FilesystemLabel added in v4.13.0

func (o VolumeOutput) FilesystemLabel() pulumi.StringOutput

Filesystem label for the block storage volume.

func (VolumeOutput) FilesystemType deprecated added in v4.13.0

func (o VolumeOutput) FilesystemType() pulumi.StringOutput

Filesystem type (`xfs` or `ext4`) for the block storage volume.

Deprecated: This fields functionality has been replaced by `initialFilesystemType`. The property will still remain as a computed attribute representing the current volumes filesystem type.

func (VolumeOutput) InitialFilesystemLabel added in v4.13.0

func (o VolumeOutput) InitialFilesystemLabel() pulumi.StringPtrOutput

Initial filesystem label for the block storage volume.

func (VolumeOutput) InitialFilesystemType added in v4.13.0

func (o VolumeOutput) InitialFilesystemType() pulumi.StringPtrOutput

Initial filesystem type (`xfs` or `ext4`) for the block storage volume.

func (VolumeOutput) Name added in v4.13.0

func (o VolumeOutput) Name() pulumi.StringOutput

A name for the block storage volume. Must be lowercase and be composed only of numbers, letters and "-", up to a limit of 64 characters. The name must begin with a letter.

func (VolumeOutput) Region added in v4.13.0

func (o VolumeOutput) Region() pulumi.StringOutput

The region that the block storage volume will be created in.

func (VolumeOutput) Size added in v4.13.0

func (o VolumeOutput) Size() pulumi.IntOutput

The size of the block storage volume in GiB. If updated, can only be expanded.

func (VolumeOutput) SnapshotId added in v4.13.0

func (o VolumeOutput) SnapshotId() pulumi.StringPtrOutput

The ID of an existing volume snapshot from which the new volume will be created. If supplied, the region and size will be limitied on creation to that of the referenced snapshot

func (VolumeOutput) Tags added in v4.13.0

A list of the tags to be applied to this Volume.

func (VolumeOutput) ToVolumeOutput

func (o VolumeOutput) ToVolumeOutput() VolumeOutput

func (VolumeOutput) ToVolumeOutputWithContext

func (o VolumeOutput) ToVolumeOutputWithContext(ctx context.Context) VolumeOutput

func (VolumeOutput) VolumeUrn added in v4.13.0

func (o VolumeOutput) VolumeUrn() pulumi.StringOutput

The uniform resource name for the volume.

type VolumeSnapshot

type VolumeSnapshot struct {
	pulumi.CustomResourceState

	// The date and time the volume snapshot was created.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The minimum size in gigabytes required for a volume to be created based on this volume snapshot.
	MinDiskSize pulumi.IntOutput `pulumi:"minDiskSize"`
	// A name for the volume snapshot.
	Name pulumi.StringOutput `pulumi:"name"`
	// A list of DigitalOcean region "slugs" indicating where the volume snapshot is available.
	Regions pulumi.StringArrayOutput `pulumi:"regions"`
	// The billable size of the volume snapshot in gigabytes.
	Size pulumi.Float64Output `pulumi:"size"`
	// A list of the tags to be applied to this volume snapshot.
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
	// The ID of the volume from which the volume snapshot originated.
	VolumeId pulumi.StringOutput `pulumi:"volumeId"`
}

Provides a DigitalOcean Volume Snapshot which can be used to create a snapshot from an existing volume.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		foobarVolume, err := digitalocean.NewVolume(ctx, "foobarVolume", &digitalocean.VolumeArgs{
			Region:      pulumi.String(digitalocean.RegionNYC1),
			Size:        pulumi.Int(100),
			Description: pulumi.String("an example volume"),
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewVolumeSnapshot(ctx, "foobarVolumeSnapshot", &digitalocean.VolumeSnapshotArgs{
			VolumeId: foobarVolume.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Volume Snapshots can be imported using the `snapshot id`, e.g.

```sh $ pulumi import digitalocean:index/volumeSnapshot:VolumeSnapshot snapshot 506f78a4-e098-11e5-ad9f-000f53306ae1 ```

func GetVolumeSnapshot

func GetVolumeSnapshot(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VolumeSnapshotState, opts ...pulumi.ResourceOption) (*VolumeSnapshot, error)

GetVolumeSnapshot gets an existing VolumeSnapshot 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 NewVolumeSnapshot

func NewVolumeSnapshot(ctx *pulumi.Context,
	name string, args *VolumeSnapshotArgs, opts ...pulumi.ResourceOption) (*VolumeSnapshot, error)

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

func (*VolumeSnapshot) ElementType

func (*VolumeSnapshot) ElementType() reflect.Type

func (*VolumeSnapshot) ToVolumeSnapshotOutput

func (i *VolumeSnapshot) ToVolumeSnapshotOutput() VolumeSnapshotOutput

func (*VolumeSnapshot) ToVolumeSnapshotOutputWithContext

func (i *VolumeSnapshot) ToVolumeSnapshotOutputWithContext(ctx context.Context) VolumeSnapshotOutput

type VolumeSnapshotArgs

type VolumeSnapshotArgs struct {
	// A name for the volume snapshot.
	Name pulumi.StringPtrInput
	// A list of the tags to be applied to this volume snapshot.
	Tags pulumi.StringArrayInput
	// The ID of the volume from which the volume snapshot originated.
	VolumeId pulumi.StringInput
}

The set of arguments for constructing a VolumeSnapshot resource.

func (VolumeSnapshotArgs) ElementType

func (VolumeSnapshotArgs) ElementType() reflect.Type

type VolumeSnapshotArray

type VolumeSnapshotArray []VolumeSnapshotInput

func (VolumeSnapshotArray) ElementType

func (VolumeSnapshotArray) ElementType() reflect.Type

func (VolumeSnapshotArray) ToVolumeSnapshotArrayOutput

func (i VolumeSnapshotArray) ToVolumeSnapshotArrayOutput() VolumeSnapshotArrayOutput

func (VolumeSnapshotArray) ToVolumeSnapshotArrayOutputWithContext

func (i VolumeSnapshotArray) ToVolumeSnapshotArrayOutputWithContext(ctx context.Context) VolumeSnapshotArrayOutput

type VolumeSnapshotArrayInput

type VolumeSnapshotArrayInput interface {
	pulumi.Input

	ToVolumeSnapshotArrayOutput() VolumeSnapshotArrayOutput
	ToVolumeSnapshotArrayOutputWithContext(context.Context) VolumeSnapshotArrayOutput
}

VolumeSnapshotArrayInput is an input type that accepts VolumeSnapshotArray and VolumeSnapshotArrayOutput values. You can construct a concrete instance of `VolumeSnapshotArrayInput` via:

VolumeSnapshotArray{ VolumeSnapshotArgs{...} }

type VolumeSnapshotArrayOutput

type VolumeSnapshotArrayOutput struct{ *pulumi.OutputState }

func (VolumeSnapshotArrayOutput) ElementType

func (VolumeSnapshotArrayOutput) ElementType() reflect.Type

func (VolumeSnapshotArrayOutput) Index

func (VolumeSnapshotArrayOutput) ToVolumeSnapshotArrayOutput

func (o VolumeSnapshotArrayOutput) ToVolumeSnapshotArrayOutput() VolumeSnapshotArrayOutput

func (VolumeSnapshotArrayOutput) ToVolumeSnapshotArrayOutputWithContext

func (o VolumeSnapshotArrayOutput) ToVolumeSnapshotArrayOutputWithContext(ctx context.Context) VolumeSnapshotArrayOutput

type VolumeSnapshotInput

type VolumeSnapshotInput interface {
	pulumi.Input

	ToVolumeSnapshotOutput() VolumeSnapshotOutput
	ToVolumeSnapshotOutputWithContext(ctx context.Context) VolumeSnapshotOutput
}

type VolumeSnapshotMap

type VolumeSnapshotMap map[string]VolumeSnapshotInput

func (VolumeSnapshotMap) ElementType

func (VolumeSnapshotMap) ElementType() reflect.Type

func (VolumeSnapshotMap) ToVolumeSnapshotMapOutput

func (i VolumeSnapshotMap) ToVolumeSnapshotMapOutput() VolumeSnapshotMapOutput

func (VolumeSnapshotMap) ToVolumeSnapshotMapOutputWithContext

func (i VolumeSnapshotMap) ToVolumeSnapshotMapOutputWithContext(ctx context.Context) VolumeSnapshotMapOutput

type VolumeSnapshotMapInput

type VolumeSnapshotMapInput interface {
	pulumi.Input

	ToVolumeSnapshotMapOutput() VolumeSnapshotMapOutput
	ToVolumeSnapshotMapOutputWithContext(context.Context) VolumeSnapshotMapOutput
}

VolumeSnapshotMapInput is an input type that accepts VolumeSnapshotMap and VolumeSnapshotMapOutput values. You can construct a concrete instance of `VolumeSnapshotMapInput` via:

VolumeSnapshotMap{ "key": VolumeSnapshotArgs{...} }

type VolumeSnapshotMapOutput

type VolumeSnapshotMapOutput struct{ *pulumi.OutputState }

func (VolumeSnapshotMapOutput) ElementType

func (VolumeSnapshotMapOutput) ElementType() reflect.Type

func (VolumeSnapshotMapOutput) MapIndex

func (VolumeSnapshotMapOutput) ToVolumeSnapshotMapOutput

func (o VolumeSnapshotMapOutput) ToVolumeSnapshotMapOutput() VolumeSnapshotMapOutput

func (VolumeSnapshotMapOutput) ToVolumeSnapshotMapOutputWithContext

func (o VolumeSnapshotMapOutput) ToVolumeSnapshotMapOutputWithContext(ctx context.Context) VolumeSnapshotMapOutput

type VolumeSnapshotOutput

type VolumeSnapshotOutput struct{ *pulumi.OutputState }

func (VolumeSnapshotOutput) CreatedAt added in v4.13.0

The date and time the volume snapshot was created.

func (VolumeSnapshotOutput) ElementType

func (VolumeSnapshotOutput) ElementType() reflect.Type

func (VolumeSnapshotOutput) MinDiskSize added in v4.13.0

func (o VolumeSnapshotOutput) MinDiskSize() pulumi.IntOutput

The minimum size in gigabytes required for a volume to be created based on this volume snapshot.

func (VolumeSnapshotOutput) Name added in v4.13.0

A name for the volume snapshot.

func (VolumeSnapshotOutput) Regions added in v4.13.0

A list of DigitalOcean region "slugs" indicating where the volume snapshot is available.

func (VolumeSnapshotOutput) Size added in v4.13.0

The billable size of the volume snapshot in gigabytes.

func (VolumeSnapshotOutput) Tags added in v4.13.0

A list of the tags to be applied to this volume snapshot.

func (VolumeSnapshotOutput) ToVolumeSnapshotOutput

func (o VolumeSnapshotOutput) ToVolumeSnapshotOutput() VolumeSnapshotOutput

func (VolumeSnapshotOutput) ToVolumeSnapshotOutputWithContext

func (o VolumeSnapshotOutput) ToVolumeSnapshotOutputWithContext(ctx context.Context) VolumeSnapshotOutput

func (VolumeSnapshotOutput) VolumeId added in v4.13.0

The ID of the volume from which the volume snapshot originated.

type VolumeSnapshotState

type VolumeSnapshotState struct {
	// The date and time the volume snapshot was created.
	CreatedAt pulumi.StringPtrInput
	// The minimum size in gigabytes required for a volume to be created based on this volume snapshot.
	MinDiskSize pulumi.IntPtrInput
	// A name for the volume snapshot.
	Name pulumi.StringPtrInput
	// A list of DigitalOcean region "slugs" indicating where the volume snapshot is available.
	Regions pulumi.StringArrayInput
	// The billable size of the volume snapshot in gigabytes.
	Size pulumi.Float64PtrInput
	// A list of the tags to be applied to this volume snapshot.
	Tags pulumi.StringArrayInput
	// The ID of the volume from which the volume snapshot originated.
	VolumeId pulumi.StringPtrInput
}

func (VolumeSnapshotState) ElementType

func (VolumeSnapshotState) ElementType() reflect.Type

type VolumeState

type VolumeState struct {
	// A free-form text field up to a limit of 1024 bytes to describe a block storage volume.
	Description pulumi.StringPtrInput
	// A list of associated droplet ids.
	DropletIds pulumi.IntArrayInput
	// Filesystem label for the block storage volume.
	FilesystemLabel pulumi.StringPtrInput
	// Filesystem type (`xfs` or `ext4`) for the block storage volume.
	//
	// Deprecated: This fields functionality has been replaced by `initialFilesystemType`. The property will still remain as a computed attribute representing the current volumes filesystem type.
	FilesystemType pulumi.StringPtrInput
	// Initial filesystem label for the block storage volume.
	InitialFilesystemLabel pulumi.StringPtrInput
	// Initial filesystem type (`xfs` or `ext4`) for the block storage volume.
	InitialFilesystemType pulumi.StringPtrInput
	// A name for the block storage volume. Must be lowercase and be composed only of numbers, letters and "-", up to a limit of 64 characters. The name must begin with a letter.
	Name pulumi.StringPtrInput
	// The region that the block storage volume will be created in.
	Region pulumi.StringPtrInput
	// The size of the block storage volume in GiB. If updated, can only be expanded.
	Size pulumi.IntPtrInput
	// The ID of an existing volume snapshot from which the new volume will be created. If supplied, the region and size will be limitied on creation to that of the referenced snapshot
	SnapshotId pulumi.StringPtrInput
	// A list of the tags to be applied to this Volume.
	Tags pulumi.StringArrayInput
	// The uniform resource name for the volume.
	VolumeUrn pulumi.StringPtrInput
}

func (VolumeState) ElementType

func (VolumeState) ElementType() reflect.Type

type Vpc

type Vpc struct {
	pulumi.CustomResourceState

	// The date and time of when the VPC was created.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// A boolean indicating whether or not the VPC is the default one for the region.
	Default pulumi.BoolOutput `pulumi:"default"`
	// A free-form text field up to a limit of 255 characters to describe the VPC.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The range of IP addresses for the VPC in CIDR notation. Network ranges cannot overlap with other networks in the same account and must be in range of private addresses as defined in RFC1918. It may not be larger than `/16` or smaller than `/24`.
	IpRange pulumi.StringOutput `pulumi:"ipRange"`
	// A name for the VPC. Must be unique and contain alphanumeric characters, dashes, and periods only.
	Name pulumi.StringOutput `pulumi:"name"`
	// The DigitalOcean region slug for the VPC's location.
	Region pulumi.StringOutput `pulumi:"region"`
	// The uniform resource name (URN) for the VPC.
	VpcUrn pulumi.StringOutput `pulumi:"vpcUrn"`
}

Provides a [DigitalOcean VPC](https://docs.digitalocean.com/reference/api/api-reference/#tag/VPCs) resource.

VPCs are virtual networks containing resources that can communicate with each other in full isolation, using private IP addresses.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.NewVpc(ctx, "example", &digitalocean.VpcArgs{
			IpRange: pulumi.String("10.10.10.0/24"),
			Region:  pulumi.String("nyc3"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Resource Assignment

`Droplet`, `KubernetesCluster`, `digitaloceanLoadBalancer`, and `DatabaseCluster` resources may be assigned to a VPC by referencing its `id`. For example:

```go package main

import (

"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleVpc, err := digitalocean.NewVpc(ctx, "exampleVpc", &digitalocean.VpcArgs{
			Region: pulumi.String("nyc3"),
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewDroplet(ctx, "exampleDroplet", &digitalocean.DropletArgs{
			Size:    pulumi.String(digitalocean.DropletSlugDropletS1VCPU1GB),
			Image:   pulumi.String("ubuntu-18-04-x64"),
			Region:  pulumi.String(digitalocean.RegionNYC3),
			VpcUuid: exampleVpc.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

A VPC can be imported using its `id`, e.g.

```sh $ pulumi import digitalocean:index/vpc:Vpc example 506f78a4-e098-11e5-ad9f-000f53306ae1 ```

func GetVpc

func GetVpc(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VpcState, opts ...pulumi.ResourceOption) (*Vpc, error)

GetVpc gets an existing Vpc 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 NewVpc

func NewVpc(ctx *pulumi.Context,
	name string, args *VpcArgs, opts ...pulumi.ResourceOption) (*Vpc, error)

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

func (*Vpc) ElementType

func (*Vpc) ElementType() reflect.Type

func (*Vpc) ToVpcOutput

func (i *Vpc) ToVpcOutput() VpcOutput

func (*Vpc) ToVpcOutputWithContext

func (i *Vpc) ToVpcOutputWithContext(ctx context.Context) VpcOutput

type VpcArgs

type VpcArgs struct {
	// A free-form text field up to a limit of 255 characters to describe the VPC.
	Description pulumi.StringPtrInput
	// The range of IP addresses for the VPC in CIDR notation. Network ranges cannot overlap with other networks in the same account and must be in range of private addresses as defined in RFC1918. It may not be larger than `/16` or smaller than `/24`.
	IpRange pulumi.StringPtrInput
	// A name for the VPC. Must be unique and contain alphanumeric characters, dashes, and periods only.
	Name pulumi.StringPtrInput
	// The DigitalOcean region slug for the VPC's location.
	Region pulumi.StringInput
}

The set of arguments for constructing a Vpc resource.

func (VpcArgs) ElementType

func (VpcArgs) ElementType() reflect.Type

type VpcArray

type VpcArray []VpcInput

func (VpcArray) ElementType

func (VpcArray) ElementType() reflect.Type

func (VpcArray) ToVpcArrayOutput

func (i VpcArray) ToVpcArrayOutput() VpcArrayOutput

func (VpcArray) ToVpcArrayOutputWithContext

func (i VpcArray) ToVpcArrayOutputWithContext(ctx context.Context) VpcArrayOutput

type VpcArrayInput

type VpcArrayInput interface {
	pulumi.Input

	ToVpcArrayOutput() VpcArrayOutput
	ToVpcArrayOutputWithContext(context.Context) VpcArrayOutput
}

VpcArrayInput is an input type that accepts VpcArray and VpcArrayOutput values. You can construct a concrete instance of `VpcArrayInput` via:

VpcArray{ VpcArgs{...} }

type VpcArrayOutput

type VpcArrayOutput struct{ *pulumi.OutputState }

func (VpcArrayOutput) ElementType

func (VpcArrayOutput) ElementType() reflect.Type

func (VpcArrayOutput) Index

func (VpcArrayOutput) ToVpcArrayOutput

func (o VpcArrayOutput) ToVpcArrayOutput() VpcArrayOutput

func (VpcArrayOutput) ToVpcArrayOutputWithContext

func (o VpcArrayOutput) ToVpcArrayOutputWithContext(ctx context.Context) VpcArrayOutput

type VpcInput

type VpcInput interface {
	pulumi.Input

	ToVpcOutput() VpcOutput
	ToVpcOutputWithContext(ctx context.Context) VpcOutput
}

type VpcMap

type VpcMap map[string]VpcInput

func (VpcMap) ElementType

func (VpcMap) ElementType() reflect.Type

func (VpcMap) ToVpcMapOutput

func (i VpcMap) ToVpcMapOutput() VpcMapOutput

func (VpcMap) ToVpcMapOutputWithContext

func (i VpcMap) ToVpcMapOutputWithContext(ctx context.Context) VpcMapOutput

type VpcMapInput

type VpcMapInput interface {
	pulumi.Input

	ToVpcMapOutput() VpcMapOutput
	ToVpcMapOutputWithContext(context.Context) VpcMapOutput
}

VpcMapInput is an input type that accepts VpcMap and VpcMapOutput values. You can construct a concrete instance of `VpcMapInput` via:

VpcMap{ "key": VpcArgs{...} }

type VpcMapOutput

type VpcMapOutput struct{ *pulumi.OutputState }

func (VpcMapOutput) ElementType

func (VpcMapOutput) ElementType() reflect.Type

func (VpcMapOutput) MapIndex

func (o VpcMapOutput) MapIndex(k pulumi.StringInput) VpcOutput

func (VpcMapOutput) ToVpcMapOutput

func (o VpcMapOutput) ToVpcMapOutput() VpcMapOutput

func (VpcMapOutput) ToVpcMapOutputWithContext

func (o VpcMapOutput) ToVpcMapOutputWithContext(ctx context.Context) VpcMapOutput

type VpcOutput

type VpcOutput struct{ *pulumi.OutputState }

func (VpcOutput) CreatedAt added in v4.13.0

func (o VpcOutput) CreatedAt() pulumi.StringOutput

The date and time of when the VPC was created.

func (VpcOutput) Default added in v4.13.0

func (o VpcOutput) Default() pulumi.BoolOutput

A boolean indicating whether or not the VPC is the default one for the region.

func (VpcOutput) Description added in v4.13.0

func (o VpcOutput) Description() pulumi.StringPtrOutput

A free-form text field up to a limit of 255 characters to describe the VPC.

func (VpcOutput) ElementType

func (VpcOutput) ElementType() reflect.Type

func (VpcOutput) IpRange added in v4.13.0

func (o VpcOutput) IpRange() pulumi.StringOutput

The range of IP addresses for the VPC in CIDR notation. Network ranges cannot overlap with other networks in the same account and must be in range of private addresses as defined in RFC1918. It may not be larger than `/16` or smaller than `/24`.

func (VpcOutput) Name added in v4.13.0

func (o VpcOutput) Name() pulumi.StringOutput

A name for the VPC. Must be unique and contain alphanumeric characters, dashes, and periods only.

func (VpcOutput) Region added in v4.13.0

func (o VpcOutput) Region() pulumi.StringOutput

The DigitalOcean region slug for the VPC's location.

func (VpcOutput) ToVpcOutput

func (o VpcOutput) ToVpcOutput() VpcOutput

func (VpcOutput) ToVpcOutputWithContext

func (o VpcOutput) ToVpcOutputWithContext(ctx context.Context) VpcOutput

func (VpcOutput) VpcUrn added in v4.13.0

func (o VpcOutput) VpcUrn() pulumi.StringOutput

The uniform resource name (URN) for the VPC.

type VpcState

type VpcState struct {
	// The date and time of when the VPC was created.
	CreatedAt pulumi.StringPtrInput
	// A boolean indicating whether or not the VPC is the default one for the region.
	Default pulumi.BoolPtrInput
	// A free-form text field up to a limit of 255 characters to describe the VPC.
	Description pulumi.StringPtrInput
	// The range of IP addresses for the VPC in CIDR notation. Network ranges cannot overlap with other networks in the same account and must be in range of private addresses as defined in RFC1918. It may not be larger than `/16` or smaller than `/24`.
	IpRange pulumi.StringPtrInput
	// A name for the VPC. Must be unique and contain alphanumeric characters, dashes, and periods only.
	Name pulumi.StringPtrInput
	// The DigitalOcean region slug for the VPC's location.
	Region pulumi.StringPtrInput
	// The uniform resource name (URN) for the VPC.
	VpcUrn pulumi.StringPtrInput
}

func (VpcState) ElementType

func (VpcState) ElementType() reflect.Type

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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