digitalocean

package
v4.6.1 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2021 License: Apache-2.0 Imports: 10 Imported by: 5

Documentation

Overview

A Pulumi package for creating and managing Digital Ocean 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")
)

Variables

This section is empty.

Functions

func PkgVersion

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package.

Types

type Algorithm

type Algorithm pulumi.String

func (Algorithm) ElementType

func (Algorithm) ElementType() reflect.Type

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 App

type App struct {
	pulumi.CustomResourceState

	// The ID the app's currently active deployment.
	ActiveDeploymentId pulumi.StringOutput `pulumi:"activeDeploymentId"`
	// 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"`
	// 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://www.digitalocean.com/docs/app-platform/references/app-specification-reference/) 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_ste_example", &digitalocean.AppArgs{
			Spec: &digitalocean.AppSpecArgs{
				Name:   pulumi.String("static-ste-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

func (*App) ToAppPtrOutput

func (i *App) ToAppPtrOutput() AppPtrOutput

func (*App) ToAppPtrOutputWithContext

func (i *App) ToAppPtrOutputWithContext(ctx context.Context) AppPtrOutput

type AppArgs

type AppArgs struct {
	// 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) ElementType

func (AppOutput) ElementType() reflect.Type

func (AppOutput) ToAppOutput

func (o AppOutput) ToAppOutput() AppOutput

func (AppOutput) ToAppOutputWithContext

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

func (AppOutput) ToAppPtrOutput

func (o AppOutput) ToAppPtrOutput() AppPtrOutput

func (AppOutput) ToAppPtrOutputWithContext

func (o AppOutput) ToAppPtrOutputWithContext(ctx context.Context) AppPtrOutput

type AppPtrInput

type AppPtrInput interface {
	pulumi.Input

	ToAppPtrOutput() AppPtrOutput
	ToAppPtrOutputWithContext(ctx context.Context) AppPtrOutput
}

type AppPtrOutput

type AppPtrOutput struct {
	*pulumi.OutputState
}

func (AppPtrOutput) ElementType

func (AppPtrOutput) ElementType() reflect.Type

func (AppPtrOutput) ToAppPtrOutput

func (o AppPtrOutput) ToAppPtrOutput() AppPtrOutput

func (AppPtrOutput) ToAppPtrOutputWithContext

func (o AppPtrOutput) ToAppPtrOutputWithContext(ctx context.Context) AppPtrOutput

type AppSpec

type AppSpec struct {
	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"`
	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 AppSpecArgs

type AppSpecArgs struct {
	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"`
	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.
	DbUser *string `pulumi:"dbUser"`
	// The database engine to use (`MYSQL`, `PG`, or `REDIS`).
	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.
	DbUser pulumi.StringPtrInput `pulumi:"dbUser"`
	// The database engine to use (`MYSQL`, `PG`, or `REDIS`).
	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.

func (AppSpecDatabaseOutput) ElementType

func (AppSpecDatabaseOutput) ElementType() reflect.Type

func (AppSpecDatabaseOutput) Engine

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

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 name of the component.
	Name string `pulumi:"name"`
	// The type of the environment variable, `GENERAL` or `SECRET`.
	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 name of the component.
	Name pulumi.StringInput `pulumi:"name"`
	// The type of the environment variable, `GENERAL` or `SECRET`.
	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 name of the component.

func (AppSpecDomainNameOutput) ToAppSpecDomainNameOutput

func (o AppSpecDomainNameOutput) ToAppSpecDomainNameOutput() AppSpecDomainNameOutput

func (AppSpecDomainNameOutput) ToAppSpecDomainNameOutputWithContext

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

func (AppSpecDomainNameOutput) Type

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

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 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 {
	// 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.
	InstanceSizeSlug *string `pulumi:"instanceSizeSlug"`
	// The type of job and when it will be run during the deployment process. It may be one of:
	// - `UNSPECIFIED`: Default job type, will auto-complete to POST_DEPLOY kind.
	// - `PRE_DEPLOY`: Indicates a job that runs before an app deployment.
	// - `POST_DEPLOY`: Indicates a job that runs after an app deployment.
	// - `FAILED_DEPLOY`: Indicates a job that runs after a component fails to deploy.
	Kind *string `pulumi:"kind"`
	// 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 AppSpecJobArgs

type AppSpecJobArgs struct {
	// 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.
	InstanceSizeSlug pulumi.StringPtrInput `pulumi:"instanceSizeSlug"`
	// The type of job and when it will be run during the deployment process. It may be one of:
	// - `UNSPECIFIED`: Default job type, will auto-complete to POST_DEPLOY kind.
	// - `PRE_DEPLOY`: Indicates a job that runs before an app deployment.
	// - `POST_DEPLOY`: Indicates a job that runs after an app deployment.
	// - `FAILED_DEPLOY`: Indicates a job that runs after a component fails to deploy.
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// 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 {
	// The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.
	Registry *string `pulumi:"registry"`
	// 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 {
	// The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.
	Registry pulumi.StringPtrInput `pulumi:"registry"`
	// 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 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) 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) 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) 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) 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 AppSpecJobOutput

type AppSpecJobOutput struct{ *pulumi.OutputState }

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.

func (AppSpecJobOutput) Kind

The type of job and when it will be run during the deployment process. It may be one of: - `UNSPECIFIED`: Default job type, will auto-complete to POST_DEPLOY kind. - `PRE_DEPLOY`: Indicates a job that runs before an app deployment. - `POST_DEPLOY`: Indicates a job that runs after an app deployment. - `FAILED_DEPLOY`: Indicates a job that runs after a component fails to deploy.

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) 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) 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) 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) 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 {
	// 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 []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.
	InstanceSizeSlug *string `pulumi:"instanceSizeSlug"`
	// A list of ports on which this service will listen for internal traffic.
	InternalPorts []int `pulumi:"internalPorts"`
	// The name of the component.
	Name   string                `pulumi:"name"`
	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 AppSpecServiceArgs

type AppSpecServiceArgs struct {
	// 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 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.
	InstanceSizeSlug pulumi.StringPtrInput `pulumi:"instanceSizeSlug"`
	// A list of ports on which this service will listen for internal traffic.
	InternalPorts pulumi.IntArrayInput `pulumi:"internalPorts"`
	// The name of the component.
	Name   pulumi.StringInput            `pulumi:"name"`
	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 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 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 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) 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) 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 {
	// The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.
	Registry *string `pulumi:"registry"`
	// 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 {
	// The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.
	Registry pulumi.StringPtrInput `pulumi:"registry"`
	// 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 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) 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) 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) 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) 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 AppSpecServiceOutput

type AppSpecServiceOutput struct{ *pulumi.OutputState }

func (AppSpecServiceOutput) BuildCommand

func (o AppSpecServiceOutput) BuildCommand() pulumi.StringPtrOutput

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

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.

func (AppSpecServiceOutput) InternalPorts

func (o AppSpecServiceOutput) InternalPorts() pulumi.IntArrayOutput

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

func (AppSpecServiceOutput) Name

The name of the component.

func (AppSpecServiceOutput) Routes

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"`
}

type AppSpecServiceRouteArgs

type AppSpecServiceRouteArgs struct {
	// Paths must start with `/` and must be unique within the app.
	Path pulumi.StringPtrInput `pulumi:"path"`
}

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) 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 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"`
	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 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"`
	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 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) 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

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"`
}

type AppSpecStaticSiteRouteArgs

type AppSpecStaticSiteRouteArgs struct {
	// Paths must start with `/` and must be unique within the app.
	Path pulumi.StringPtrInput `pulumi:"path"`
}

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

func (o AppSpecStaticSiteRouteOutput) ToAppSpecStaticSiteRouteOutput() AppSpecStaticSiteRouteOutput

func (AppSpecStaticSiteRouteOutput) ToAppSpecStaticSiteRouteOutputWithContext

func (o AppSpecStaticSiteRouteOutput) ToAppSpecStaticSiteRouteOutputWithContext(ctx context.Context) AppSpecStaticSiteRouteOutput

type AppSpecWorker

type AppSpecWorker struct {
	// 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.
	InstanceSizeSlug *string `pulumi:"instanceSizeSlug"`
	// 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 AppSpecWorkerArgs

type AppSpecWorkerArgs struct {
	// 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.
	InstanceSizeSlug pulumi.StringPtrInput `pulumi:"instanceSizeSlug"`
	// 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 {
	// The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.
	Registry *string `pulumi:"registry"`
	// 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 {
	// The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.
	Registry pulumi.StringPtrInput `pulumi:"registry"`
	// 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 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) 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) 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) 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) 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 AppSpecWorkerOutput

type AppSpecWorkerOutput struct{ *pulumi.OutputState }

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.

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 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
	// 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 {
		mybucket, err := digitalocean.NewSpacesBucket(ctx, "mybucket", &digitalocean.SpacesBucketArgs{
			Region: pulumi.String("sfo2"),
			Acl:    pulumi.String("public-read"),
		})
		if err != nil {
			return err
		}
		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 {
		mybucket, err := digitalocean.NewSpacesBucket(ctx, "mybucket", &digitalocean.SpacesBucketArgs{
			Region: pulumi.String("sfo2"),
			Acl:    pulumi.String("public-read"),
		})
		if err != nil {
			return err
		}
		cert, err := digitalocean.NewCertificate(ctx, "cert", &digitalocean.CertificateArgs{
			Type: pulumi.String("lets_encrypt"),
			Domains: pulumi.StringArray{
				pulumi.String("static.example.com"),
			},
		})
		if err != nil {
			return err
		}
		_, 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

func (*Cdn) ToCdnPtrOutput

func (i *Cdn) ToCdnPtrOutput() CdnPtrOutput

func (*Cdn) ToCdnPtrOutputWithContext

func (i *Cdn) ToCdnPtrOutputWithContext(ctx context.Context) CdnPtrOutput

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

func (CdnOutput) ElementType() reflect.Type

func (CdnOutput) ToCdnOutput

func (o CdnOutput) ToCdnOutput() CdnOutput

func (CdnOutput) ToCdnOutputWithContext

func (o CdnOutput) ToCdnOutputWithContext(ctx context.Context) CdnOutput

func (CdnOutput) ToCdnPtrOutput

func (o CdnOutput) ToCdnPtrOutput() CdnPtrOutput

func (CdnOutput) ToCdnPtrOutputWithContext

func (o CdnOutput) ToCdnPtrOutputWithContext(ctx context.Context) CdnPtrOutput

type CdnPtrInput

type CdnPtrInput interface {
	pulumi.Input

	ToCdnPtrOutput() CdnPtrOutput
	ToCdnPtrOutputWithContext(ctx context.Context) CdnPtrOutput
}

type CdnPtrOutput

type CdnPtrOutput struct {
	*pulumi.OutputState
}

func (CdnPtrOutput) ElementType

func (CdnPtrOutput) ElementType() reflect.Type

func (CdnPtrOutput) ToCdnPtrOutput

func (o CdnPtrOutput) ToCdnPtrOutput() CdnPtrOutput

func (CdnPtrOutput) ToCdnPtrOutputWithContext

func (o CdnPtrOutput) ToCdnPtrOutputWithContext(ctx context.Context) CdnPtrOutput

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 ### 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("lets_encrypt"),
		})
		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("lets_encrypt"),
			Domains: pulumi.StringArray{
				pulumi.String("example.com"),
			},
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewLoadBalancer(ctx, "public", &digitalocean.LoadBalancerArgs{
			Region:     pulumi.String("nyc3"),
			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

func (*Certificate) ToCertificatePtrOutput

func (i *Certificate) ToCertificatePtrOutput() CertificatePtrOutput

func (*Certificate) ToCertificatePtrOutputWithContext

func (i *Certificate) ToCertificatePtrOutputWithContext(ctx context.Context) CertificatePtrOutput

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

func (CertificateOutput) ElementType() reflect.Type

func (CertificateOutput) ToCertificateOutput

func (o CertificateOutput) ToCertificateOutput() CertificateOutput

func (CertificateOutput) ToCertificateOutputWithContext

func (o CertificateOutput) ToCertificateOutputWithContext(ctx context.Context) CertificateOutput

func (CertificateOutput) ToCertificatePtrOutput

func (o CertificateOutput) ToCertificatePtrOutput() CertificatePtrOutput

func (CertificateOutput) ToCertificatePtrOutputWithContext

func (o CertificateOutput) ToCertificatePtrOutputWithContext(ctx context.Context) CertificatePtrOutput

type CertificatePtrInput

type CertificatePtrInput interface {
	pulumi.Input

	ToCertificatePtrOutput() CertificatePtrOutput
	ToCertificatePtrOutputWithContext(ctx context.Context) CertificatePtrOutput
}

type CertificatePtrOutput

type CertificatePtrOutput struct {
	*pulumi.OutputState
}

func (CertificatePtrOutput) ElementType

func (CertificatePtrOutput) ElementType() reflect.Type

func (CertificatePtrOutput) ToCertificatePtrOutput

func (o CertificatePtrOutput) ToCertificatePtrOutput() CertificatePtrOutput

func (CertificatePtrOutput) ToCertificatePtrOutputWithContext

func (o CertificatePtrOutput) ToCertificatePtrOutputWithContext(ctx context.Context) CertificatePtrOutput

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 pulumi.String

func (CertificateType) ElementType

func (CertificateType) ElementType() reflect.Type

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 ContainerRegistry

type ContainerRegistry struct {
	pulumi.CustomResourceState

	Endpoint pulumi.StringOutput `pulumi:"endpoint"`
	// The name of the container_registry
	Name      pulumi.StringOutput `pulumi:"name"`
	ServerUrl pulumi.StringOutput `pulumi:"serverUrl"`
	// 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 {
		_, 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

func (*ContainerRegistry) ToContainerRegistryPtrOutput

func (i *ContainerRegistry) ToContainerRegistryPtrOutput() ContainerRegistryPtrOutput

func (*ContainerRegistry) ToContainerRegistryPtrOutputWithContext

func (i *ContainerRegistry) ToContainerRegistryPtrOutputWithContext(ctx context.Context) ContainerRegistryPtrOutput

type ContainerRegistryArgs

type ContainerRegistryArgs struct {
	// The name of the container_registry
	Name 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

	CredentialExpirationTime pulumi.StringOutput `pulumi:"credentialExpirationTime"`
	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

func (*ContainerRegistryDockerCredentials) ToContainerRegistryDockerCredentialsPtrOutput

func (i *ContainerRegistryDockerCredentials) ToContainerRegistryDockerCredentialsPtrOutput() ContainerRegistryDockerCredentialsPtrOutput

func (*ContainerRegistryDockerCredentials) ToContainerRegistryDockerCredentialsPtrOutputWithContext

func (i *ContainerRegistryDockerCredentials) ToContainerRegistryDockerCredentialsPtrOutputWithContext(ctx context.Context) ContainerRegistryDockerCredentialsPtrOutput

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

func (ContainerRegistryDockerCredentialsOutput) ToContainerRegistryDockerCredentialsOutput

func (o ContainerRegistryDockerCredentialsOutput) ToContainerRegistryDockerCredentialsOutput() ContainerRegistryDockerCredentialsOutput

func (ContainerRegistryDockerCredentialsOutput) ToContainerRegistryDockerCredentialsOutputWithContext

func (o ContainerRegistryDockerCredentialsOutput) ToContainerRegistryDockerCredentialsOutputWithContext(ctx context.Context) ContainerRegistryDockerCredentialsOutput

func (ContainerRegistryDockerCredentialsOutput) ToContainerRegistryDockerCredentialsPtrOutput

func (o ContainerRegistryDockerCredentialsOutput) ToContainerRegistryDockerCredentialsPtrOutput() ContainerRegistryDockerCredentialsPtrOutput

func (ContainerRegistryDockerCredentialsOutput) ToContainerRegistryDockerCredentialsPtrOutputWithContext

func (o ContainerRegistryDockerCredentialsOutput) ToContainerRegistryDockerCredentialsPtrOutputWithContext(ctx context.Context) ContainerRegistryDockerCredentialsPtrOutput

type ContainerRegistryDockerCredentialsPtrInput

type ContainerRegistryDockerCredentialsPtrInput interface {
	pulumi.Input

	ToContainerRegistryDockerCredentialsPtrOutput() ContainerRegistryDockerCredentialsPtrOutput
	ToContainerRegistryDockerCredentialsPtrOutputWithContext(ctx context.Context) ContainerRegistryDockerCredentialsPtrOutput
}

type ContainerRegistryDockerCredentialsPtrOutput

type ContainerRegistryDockerCredentialsPtrOutput struct {
	*pulumi.OutputState
}

func (ContainerRegistryDockerCredentialsPtrOutput) ElementType

func (ContainerRegistryDockerCredentialsPtrOutput) ToContainerRegistryDockerCredentialsPtrOutput

func (o ContainerRegistryDockerCredentialsPtrOutput) ToContainerRegistryDockerCredentialsPtrOutput() ContainerRegistryDockerCredentialsPtrOutput

func (ContainerRegistryDockerCredentialsPtrOutput) ToContainerRegistryDockerCredentialsPtrOutputWithContext

func (o ContainerRegistryDockerCredentialsPtrOutput) ToContainerRegistryDockerCredentialsPtrOutputWithContext(ctx context.Context) ContainerRegistryDockerCredentialsPtrOutput

type ContainerRegistryDockerCredentialsState

type ContainerRegistryDockerCredentialsState struct {
	CredentialExpirationTime pulumi.StringPtrInput
	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) ElementType

func (ContainerRegistryOutput) ElementType() reflect.Type

func (ContainerRegistryOutput) ToContainerRegistryOutput

func (o ContainerRegistryOutput) ToContainerRegistryOutput() ContainerRegistryOutput

func (ContainerRegistryOutput) ToContainerRegistryOutputWithContext

func (o ContainerRegistryOutput) ToContainerRegistryOutputWithContext(ctx context.Context) ContainerRegistryOutput

func (ContainerRegistryOutput) ToContainerRegistryPtrOutput

func (o ContainerRegistryOutput) ToContainerRegistryPtrOutput() ContainerRegistryPtrOutput

func (ContainerRegistryOutput) ToContainerRegistryPtrOutputWithContext

func (o ContainerRegistryOutput) ToContainerRegistryPtrOutputWithContext(ctx context.Context) ContainerRegistryPtrOutput

type ContainerRegistryPtrInput

type ContainerRegistryPtrInput interface {
	pulumi.Input

	ToContainerRegistryPtrOutput() ContainerRegistryPtrOutput
	ToContainerRegistryPtrOutputWithContext(ctx context.Context) ContainerRegistryPtrOutput
}

type ContainerRegistryPtrOutput

type ContainerRegistryPtrOutput struct {
	*pulumi.OutputState
}

func (ContainerRegistryPtrOutput) ElementType

func (ContainerRegistryPtrOutput) ElementType() reflect.Type

func (ContainerRegistryPtrOutput) ToContainerRegistryPtrOutput

func (o ContainerRegistryPtrOutput) ToContainerRegistryPtrOutput() ContainerRegistryPtrOutput

func (ContainerRegistryPtrOutput) ToContainerRegistryPtrOutputWithContext

func (o ContainerRegistryPtrOutput) ToContainerRegistryPtrOutputWithContext(ctx context.Context) ContainerRegistryPtrOutput

type ContainerRegistryState

type ContainerRegistryState struct {
	Endpoint pulumi.StringPtrInput
	// The name of the container_registry
	Name      pulumi.StringPtrInput
	ServerUrl pulumi.StringPtrInput
	// 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

	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"`
	ImageId      pulumi.IntOutput       `pulumi:"imageId"`
	MinDiskSize  pulumi.IntOutput       `pulumi:"minDiskSize"`
	// A name for the Custom Image.
	Name   pulumi.StringOutput `pulumi:"name"`
	Public pulumi.BoolOutput   `pulumi:"public"`
	// A list of regions. (Currently only one is supported).
	Regions       pulumi.StringArrayOutput `pulumi:"regions"`
	SizeGigabytes pulumi.Float64Output     `pulumi:"sizeGigabytes"`
	Slug          pulumi.StringOutput      `pulumi:"slug"`
	Status        pulumi.StringOutput      `pulumi:"status"`
	// A list of optional tags for the image.
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
	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("nyc3"),
			Size:   pulumi.String("s-1vcpu-1gb"),
			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

func (*CustomImage) ToCustomImagePtrOutput

func (i *CustomImage) ToCustomImagePtrOutput() CustomImagePtrOutput

func (*CustomImage) ToCustomImagePtrOutputWithContext

func (i *CustomImage) ToCustomImagePtrOutputWithContext(ctx context.Context) CustomImagePtrOutput

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

func (CustomImageOutput) ElementType() reflect.Type

func (CustomImageOutput) ToCustomImageOutput

func (o CustomImageOutput) ToCustomImageOutput() CustomImageOutput

func (CustomImageOutput) ToCustomImageOutputWithContext

func (o CustomImageOutput) ToCustomImageOutputWithContext(ctx context.Context) CustomImageOutput

func (CustomImageOutput) ToCustomImagePtrOutput

func (o CustomImageOutput) ToCustomImagePtrOutput() CustomImagePtrOutput

func (CustomImageOutput) ToCustomImagePtrOutputWithContext

func (o CustomImageOutput) ToCustomImagePtrOutputWithContext(ctx context.Context) CustomImagePtrOutput

type CustomImagePtrInput

type CustomImagePtrInput interface {
	pulumi.Input

	ToCustomImagePtrOutput() CustomImagePtrOutput
	ToCustomImagePtrOutputWithContext(ctx context.Context) CustomImagePtrOutput
}

type CustomImagePtrOutput

type CustomImagePtrOutput struct {
	*pulumi.OutputState
}

func (CustomImagePtrOutput) ElementType

func (CustomImagePtrOutput) ElementType() reflect.Type

func (CustomImagePtrOutput) ToCustomImagePtrOutput

func (o CustomImagePtrOutput) ToCustomImagePtrOutput() CustomImagePtrOutput

func (CustomImagePtrOutput) ToCustomImagePtrOutputWithContext

func (o CustomImagePtrOutput) ToCustomImagePtrOutputWithContext(ctx context.Context) CustomImagePtrOutput

type CustomImageState

type CustomImageState struct {
	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
	ImageId      pulumi.IntPtrInput
	MinDiskSize  pulumi.IntPtrInput
	// A name for the Custom Image.
	Name   pulumi.StringPtrInput
	Public pulumi.BoolPtrInput
	// A list of regions. (Currently only one is supported).
	Regions       pulumi.StringArrayInput
	SizeGigabytes pulumi.Float64PtrInput
	Slug          pulumi.StringPtrInput
	Status        pulumi.StringPtrInput
	// A list of optional tags for the image.
	Tags pulumi.StringArrayInput
	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

	// 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, or `mongodb` for MongoDB).
	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.
	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"`
	// 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"`
	// 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. `11` for PostgreSQL 11).
	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("nyc1"),
			Size:      pulumi.String("db-s-1vcpu-1gb"),
			Version:   pulumi.String("11"),
		})
		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("nyc1"),
			Size:      pulumi.String("db-s-1vcpu-1gb"),
			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("nyc1"),
			Size:      pulumi.String("db-s-1vcpu-1gb"),
			Version:   pulumi.String("6"),
		})
		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("nyc3"),
			Size:      pulumi.String("db-s-1vcpu-1gb"),
			Version:   pulumi.String("4"),
		})
		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

func (*DatabaseCluster) ToDatabaseClusterPtrOutput

func (i *DatabaseCluster) ToDatabaseClusterPtrOutput() DatabaseClusterPtrOutput

func (*DatabaseCluster) ToDatabaseClusterPtrOutputWithContext

func (i *DatabaseCluster) ToDatabaseClusterPtrOutputWithContext(ctx context.Context) DatabaseClusterPtrOutput

type DatabaseClusterArgs

type DatabaseClusterArgs struct {
	// Database engine used by the cluster (ex. `pg` for PostreSQL, `mysql` for MySQL, `redis` for Redis, or `mongodb` for MongoDB).
	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.
	NodeCount pulumi.IntInput
	// The ID of the VPC where the database cluster will be located.
	PrivateNetworkUuid 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
	// A list of tag names to be applied to the database cluster.
	Tags pulumi.StringArrayInput
	// Engine version used by the cluster (ex. `11` for PostgreSQL 11).
	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 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) ElementType

func (DatabaseClusterOutput) ElementType() reflect.Type

func (DatabaseClusterOutput) ToDatabaseClusterOutput

func (o DatabaseClusterOutput) ToDatabaseClusterOutput() DatabaseClusterOutput

func (DatabaseClusterOutput) ToDatabaseClusterOutputWithContext

func (o DatabaseClusterOutput) ToDatabaseClusterOutputWithContext(ctx context.Context) DatabaseClusterOutput

func (DatabaseClusterOutput) ToDatabaseClusterPtrOutput

func (o DatabaseClusterOutput) ToDatabaseClusterPtrOutput() DatabaseClusterPtrOutput

func (DatabaseClusterOutput) ToDatabaseClusterPtrOutputWithContext

func (o DatabaseClusterOutput) ToDatabaseClusterPtrOutputWithContext(ctx context.Context) DatabaseClusterPtrOutput

type DatabaseClusterPtrInput

type DatabaseClusterPtrInput interface {
	pulumi.Input

	ToDatabaseClusterPtrOutput() DatabaseClusterPtrOutput
	ToDatabaseClusterPtrOutputWithContext(ctx context.Context) DatabaseClusterPtrOutput
}

type DatabaseClusterPtrOutput

type DatabaseClusterPtrOutput struct {
	*pulumi.OutputState
}

func (DatabaseClusterPtrOutput) ElementType

func (DatabaseClusterPtrOutput) ElementType() reflect.Type

func (DatabaseClusterPtrOutput) ToDatabaseClusterPtrOutput

func (o DatabaseClusterPtrOutput) ToDatabaseClusterPtrOutput() DatabaseClusterPtrOutput

func (DatabaseClusterPtrOutput) ToDatabaseClusterPtrOutputWithContext

func (o DatabaseClusterPtrOutput) ToDatabaseClusterPtrOutputWithContext(ctx context.Context) DatabaseClusterPtrOutput

type DatabaseClusterState

type DatabaseClusterState struct {
	// 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, or `mongodb` for MongoDB).
	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.
	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
	// 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
	// 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. `11` for PostgreSQL 11).
	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.
	User pulumi.StringOutput `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("11"),
			Size:      pulumi.String("db-s-1vcpu-1gb"),
			Region:    pulumi.String("nyc1"),
			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

func (*DatabaseConnectionPool) ToDatabaseConnectionPoolPtrOutput

func (i *DatabaseConnectionPool) ToDatabaseConnectionPoolPtrOutput() DatabaseConnectionPoolPtrOutput

func (*DatabaseConnectionPool) ToDatabaseConnectionPoolPtrOutputWithContext

func (i *DatabaseConnectionPool) ToDatabaseConnectionPoolPtrOutputWithContext(ctx context.Context) DatabaseConnectionPoolPtrOutput

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.
	User pulumi.StringInput
}

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

func (DatabaseConnectionPoolOutput) ToDatabaseConnectionPoolOutput

func (o DatabaseConnectionPoolOutput) ToDatabaseConnectionPoolOutput() DatabaseConnectionPoolOutput

func (DatabaseConnectionPoolOutput) ToDatabaseConnectionPoolOutputWithContext

func (o DatabaseConnectionPoolOutput) ToDatabaseConnectionPoolOutputWithContext(ctx context.Context) DatabaseConnectionPoolOutput

func (DatabaseConnectionPoolOutput) ToDatabaseConnectionPoolPtrOutput

func (o DatabaseConnectionPoolOutput) ToDatabaseConnectionPoolPtrOutput() DatabaseConnectionPoolPtrOutput

func (DatabaseConnectionPoolOutput) ToDatabaseConnectionPoolPtrOutputWithContext

func (o DatabaseConnectionPoolOutput) ToDatabaseConnectionPoolPtrOutputWithContext(ctx context.Context) DatabaseConnectionPoolPtrOutput

type DatabaseConnectionPoolPtrInput

type DatabaseConnectionPoolPtrInput interface {
	pulumi.Input

	ToDatabaseConnectionPoolPtrOutput() DatabaseConnectionPoolPtrOutput
	ToDatabaseConnectionPoolPtrOutputWithContext(ctx context.Context) DatabaseConnectionPoolPtrOutput
}

type DatabaseConnectionPoolPtrOutput

type DatabaseConnectionPoolPtrOutput struct {
	*pulumi.OutputState
}

func (DatabaseConnectionPoolPtrOutput) ElementType

func (DatabaseConnectionPoolPtrOutput) ToDatabaseConnectionPoolPtrOutput

func (o DatabaseConnectionPoolPtrOutput) ToDatabaseConnectionPoolPtrOutput() DatabaseConnectionPoolPtrOutput

func (DatabaseConnectionPoolPtrOutput) ToDatabaseConnectionPoolPtrOutputWithContext

func (o DatabaseConnectionPoolPtrOutput) ToDatabaseConnectionPoolPtrOutputWithContext(ctx context.Context) DatabaseConnectionPoolPtrOutput

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.
	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("11"),
			Size:      pulumi.String("db-s-1vcpu-1gb"),
			Region:    pulumi.String("nyc1"),
			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

func (*DatabaseDb) ToDatabaseDbPtrOutput

func (i *DatabaseDb) ToDatabaseDbPtrOutput() DatabaseDbPtrOutput

func (*DatabaseDb) ToDatabaseDbPtrOutputWithContext

func (i *DatabaseDb) ToDatabaseDbPtrOutputWithContext(ctx context.Context) DatabaseDbPtrOutput

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

func (DatabaseDbOutput) ElementType() reflect.Type

func (DatabaseDbOutput) ToDatabaseDbOutput

func (o DatabaseDbOutput) ToDatabaseDbOutput() DatabaseDbOutput

func (DatabaseDbOutput) ToDatabaseDbOutputWithContext

func (o DatabaseDbOutput) ToDatabaseDbOutputWithContext(ctx context.Context) DatabaseDbOutput

func (DatabaseDbOutput) ToDatabaseDbPtrOutput

func (o DatabaseDbOutput) ToDatabaseDbPtrOutput() DatabaseDbPtrOutput

func (DatabaseDbOutput) ToDatabaseDbPtrOutputWithContext

func (o DatabaseDbOutput) ToDatabaseDbPtrOutputWithContext(ctx context.Context) DatabaseDbPtrOutput

type DatabaseDbPtrInput

type DatabaseDbPtrInput interface {
	pulumi.Input

	ToDatabaseDbPtrOutput() DatabaseDbPtrOutput
	ToDatabaseDbPtrOutputWithContext(ctx context.Context) DatabaseDbPtrOutput
}

type DatabaseDbPtrOutput

type DatabaseDbPtrOutput struct {
	*pulumi.OutputState
}

func (DatabaseDbPtrOutput) ElementType

func (DatabaseDbPtrOutput) ElementType() reflect.Type

func (DatabaseDbPtrOutput) ToDatabaseDbPtrOutput

func (o DatabaseDbPtrOutput) ToDatabaseDbPtrOutput() DatabaseDbPtrOutput

func (DatabaseDbPtrOutput) ToDatabaseDbPtrOutputWithContext

func (o DatabaseDbPtrOutput) ToDatabaseDbPtrOutputWithContext(ctx context.Context) DatabaseDbPtrOutput

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("11"),
			Size:      pulumi.String("db-s-1vcpu-1gb"),
			Region:    pulumi.String("nyc1"),
			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("s-1vcpu-1gb"),
			Image:  pulumi.String("centos-7-x64"),
			Region: pulumi.String("nyc3"),
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewDatabaseCluster(ctx, "postgres_example", &digitalocean.DatabaseClusterArgs{
			Engine:    pulumi.String("pg"),
			Version:   pulumi.String("11"),
			Size:      pulumi.String("db-s-1vcpu-1gb"),
			Region:    pulumi.String("nyc1"),
			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
	})
}

```

## 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

func (*DatabaseFirewall) ToDatabaseFirewallPtrOutput

func (i *DatabaseFirewall) ToDatabaseFirewallPtrOutput() DatabaseFirewallPtrOutput

func (*DatabaseFirewall) ToDatabaseFirewallPtrOutputWithContext

func (i *DatabaseFirewall) ToDatabaseFirewallPtrOutputWithContext(ctx context.Context) DatabaseFirewallPtrOutput

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

func (DatabaseFirewallOutput) ElementType() reflect.Type

func (DatabaseFirewallOutput) ToDatabaseFirewallOutput

func (o DatabaseFirewallOutput) ToDatabaseFirewallOutput() DatabaseFirewallOutput

func (DatabaseFirewallOutput) ToDatabaseFirewallOutputWithContext

func (o DatabaseFirewallOutput) ToDatabaseFirewallOutputWithContext(ctx context.Context) DatabaseFirewallOutput

func (DatabaseFirewallOutput) ToDatabaseFirewallPtrOutput

func (o DatabaseFirewallOutput) ToDatabaseFirewallPtrOutput() DatabaseFirewallPtrOutput

func (DatabaseFirewallOutput) ToDatabaseFirewallPtrOutputWithContext

func (o DatabaseFirewallOutput) ToDatabaseFirewallPtrOutputWithContext(ctx context.Context) DatabaseFirewallPtrOutput

type DatabaseFirewallPtrInput

type DatabaseFirewallPtrInput interface {
	pulumi.Input

	ToDatabaseFirewallPtrOutput() DatabaseFirewallPtrOutput
	ToDatabaseFirewallPtrOutputWithContext(ctx context.Context) DatabaseFirewallPtrOutput
}

type DatabaseFirewallPtrOutput

type DatabaseFirewallPtrOutput struct {
	*pulumi.OutputState
}

func (DatabaseFirewallPtrOutput) ElementType

func (DatabaseFirewallPtrOutput) ElementType() reflect.Type

func (DatabaseFirewallPtrOutput) ToDatabaseFirewallPtrOutput

func (o DatabaseFirewallPtrOutput) ToDatabaseFirewallPtrOutput() DatabaseFirewallPtrOutput

func (DatabaseFirewallPtrOutput) ToDatabaseFirewallPtrOutputWithContext

func (o DatabaseFirewallPtrOutput) ToDatabaseFirewallPtrOutputWithContext(ctx context.Context) DatabaseFirewallPtrOutput

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 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`).
	Size pulumi.StringPtrOutput `pulumi:"size"`
	// 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"`
}

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("11"),
			Size:      pulumi.String("db-s-1vcpu-1gb"),
			Region:    pulumi.String("nyc1"),
			NodeCount: pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewDatabaseReplica(ctx, "read_replica", &digitalocean.DatabaseReplicaArgs{
			ClusterId: postgres_example.ID(),
			Size:      pulumi.String("db-s-1vcpu-1gb"),
			Region:    pulumi.String("nyc1"),
		})
		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

func (*DatabaseReplica) ToDatabaseReplicaPtrOutput

func (i *DatabaseReplica) ToDatabaseReplicaPtrOutput() DatabaseReplicaPtrOutput

func (*DatabaseReplica) ToDatabaseReplicaPtrOutputWithContext

func (i *DatabaseReplica) ToDatabaseReplicaPtrOutputWithContext(ctx context.Context) DatabaseReplicaPtrOutput

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`).
	Size 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) ElementType

func (DatabaseReplicaOutput) ElementType() reflect.Type

func (DatabaseReplicaOutput) ToDatabaseReplicaOutput

func (o DatabaseReplicaOutput) ToDatabaseReplicaOutput() DatabaseReplicaOutput

func (DatabaseReplicaOutput) ToDatabaseReplicaOutputWithContext

func (o DatabaseReplicaOutput) ToDatabaseReplicaOutputWithContext(ctx context.Context) DatabaseReplicaOutput

func (DatabaseReplicaOutput) ToDatabaseReplicaPtrOutput

func (o DatabaseReplicaOutput) ToDatabaseReplicaPtrOutput() DatabaseReplicaPtrOutput

func (DatabaseReplicaOutput) ToDatabaseReplicaPtrOutputWithContext

func (o DatabaseReplicaOutput) ToDatabaseReplicaPtrOutputWithContext(ctx context.Context) DatabaseReplicaPtrOutput

type DatabaseReplicaPtrInput

type DatabaseReplicaPtrInput interface {
	pulumi.Input

	ToDatabaseReplicaPtrOutput() DatabaseReplicaPtrOutput
	ToDatabaseReplicaPtrOutputWithContext(ctx context.Context) DatabaseReplicaPtrOutput
}

type DatabaseReplicaPtrOutput

type DatabaseReplicaPtrOutput struct {
	*pulumi.OutputState
}

func (DatabaseReplicaPtrOutput) ElementType

func (DatabaseReplicaPtrOutput) ElementType() reflect.Type

func (DatabaseReplicaPtrOutput) ToDatabaseReplicaPtrOutput

func (o DatabaseReplicaPtrOutput) ToDatabaseReplicaPtrOutput() DatabaseReplicaPtrOutput

func (DatabaseReplicaPtrOutput) ToDatabaseReplicaPtrOutputWithContext

func (o DatabaseReplicaPtrOutput) ToDatabaseReplicaPtrOutputWithContext(ctx context.Context) DatabaseReplicaPtrOutput

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`).
	Size 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
}

func (DatabaseReplicaState) ElementType

func (DatabaseReplicaState) ElementType() reflect.Type

type DatabaseSlug

type DatabaseSlug pulumi.String

func (DatabaseSlug) ElementType

func (DatabaseSlug) ElementType() reflect.Type

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 DatabaseUser

type DatabaseUser struct {
	pulumi.CustomResourceState

	// 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"`
}

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("11"),
			Size:      pulumi.String("db-s-1vcpu-1gb"),
			Region:    pulumi.String("nyc1"),
			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
	})
}

```

## 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

func (*DatabaseUser) ToDatabaseUserPtrOutput

func (i *DatabaseUser) ToDatabaseUserPtrOutput() DatabaseUserPtrOutput

func (*DatabaseUser) ToDatabaseUserPtrOutputWithContext

func (i *DatabaseUser) ToDatabaseUserPtrOutputWithContext(ctx context.Context) DatabaseUserPtrOutput

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
}

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

func (DatabaseUserOutput) ElementType() reflect.Type

func (DatabaseUserOutput) ToDatabaseUserOutput

func (o DatabaseUserOutput) ToDatabaseUserOutput() DatabaseUserOutput

func (DatabaseUserOutput) ToDatabaseUserOutputWithContext

func (o DatabaseUserOutput) ToDatabaseUserOutputWithContext(ctx context.Context) DatabaseUserOutput

func (DatabaseUserOutput) ToDatabaseUserPtrOutput

func (o DatabaseUserOutput) ToDatabaseUserPtrOutput() DatabaseUserPtrOutput

func (DatabaseUserOutput) ToDatabaseUserPtrOutputWithContext

func (o DatabaseUserOutput) ToDatabaseUserPtrOutputWithContext(ctx context.Context) DatabaseUserPtrOutput

type DatabaseUserPtrInput

type DatabaseUserPtrInput interface {
	pulumi.Input

	ToDatabaseUserPtrOutput() DatabaseUserPtrOutput
	ToDatabaseUserPtrOutputWithContext(ctx context.Context) DatabaseUserPtrOutput
}

type DatabaseUserPtrOutput

type DatabaseUserPtrOutput struct {
	*pulumi.OutputState
}

func (DatabaseUserPtrOutput) ElementType

func (DatabaseUserPtrOutput) ElementType() reflect.Type

func (DatabaseUserPtrOutput) ToDatabaseUserPtrOutput

func (o DatabaseUserPtrOutput) ToDatabaseUserPtrOutput() DatabaseUserPtrOutput

func (DatabaseUserPtrOutput) ToDatabaseUserPtrOutputWithContext

func (o DatabaseUserPtrOutput) ToDatabaseUserPtrOutputWithContext(ctx context.Context) DatabaseUserPtrOutput

type DatabaseUserState

type DatabaseUserState struct {
	// 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
}

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.
	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
		}
		www, err := digitalocean.NewDnsRecord(ctx, "www", &digitalocean.DnsRecordArgs{
			Domain: _default.Name,
			Type:   pulumi.String("A"),
			Value:  pulumi.String("192.168.0.11"),
		})
		if err != nil {
			return err
		}
		mx, err := digitalocean.NewDnsRecord(ctx, "mx", &digitalocean.DnsRecordArgs{
			Domain:   _default.Name,
			Type:     pulumi.String("MX"),
			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

```

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

func (*DnsRecord) ToDnsRecordPtrOutput

func (i *DnsRecord) ToDnsRecordPtrOutput() DnsRecordPtrOutput

func (*DnsRecord) ToDnsRecordPtrOutputWithContext

func (i *DnsRecord) ToDnsRecordPtrOutputWithContext(ctx context.Context) DnsRecordPtrOutput

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.
	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) ElementType

func (DnsRecordOutput) ElementType() reflect.Type

func (DnsRecordOutput) ToDnsRecordOutput

func (o DnsRecordOutput) ToDnsRecordOutput() DnsRecordOutput

func (DnsRecordOutput) ToDnsRecordOutputWithContext

func (o DnsRecordOutput) ToDnsRecordOutputWithContext(ctx context.Context) DnsRecordOutput

func (DnsRecordOutput) ToDnsRecordPtrOutput

func (o DnsRecordOutput) ToDnsRecordPtrOutput() DnsRecordPtrOutput

func (DnsRecordOutput) ToDnsRecordPtrOutputWithContext

func (o DnsRecordOutput) ToDnsRecordPtrOutputWithContext(ctx context.Context) DnsRecordPtrOutput

type DnsRecordPtrInput

type DnsRecordPtrInput interface {
	pulumi.Input

	ToDnsRecordPtrOutput() DnsRecordPtrOutput
	ToDnsRecordPtrOutputWithContext(ctx context.Context) DnsRecordPtrOutput
}

type DnsRecordPtrOutput

type DnsRecordPtrOutput struct {
	*pulumi.OutputState
}

func (DnsRecordPtrOutput) ElementType

func (DnsRecordPtrOutput) ElementType() reflect.Type

func (DnsRecordPtrOutput) ToDnsRecordPtrOutput

func (o DnsRecordPtrOutput) ToDnsRecordPtrOutput() DnsRecordPtrOutput

func (DnsRecordPtrOutput) ToDnsRecordPtrOutputWithContext

func (o DnsRecordPtrOutput) ToDnsRecordPtrOutputWithContext(ctx context.Context) DnsRecordPtrOutput

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.
	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"`
}

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 {
		_, 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

func (*Domain) ToDomainPtrOutput

func (i *Domain) ToDomainPtrOutput() DomainPtrOutput

func (*Domain) ToDomainPtrOutputWithContext

func (i *Domain) ToDomainPtrOutputWithContext(ctx context.Context) DomainPtrOutput

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

func (DomainOutput) ElementType() reflect.Type

func (DomainOutput) ToDomainOutput

func (o DomainOutput) ToDomainOutput() DomainOutput

func (DomainOutput) ToDomainOutputWithContext

func (o DomainOutput) ToDomainOutputWithContext(ctx context.Context) DomainOutput

func (DomainOutput) ToDomainPtrOutput

func (o DomainOutput) ToDomainPtrOutput() DomainPtrOutput

func (DomainOutput) ToDomainPtrOutputWithContext

func (o DomainOutput) ToDomainPtrOutputWithContext(ctx context.Context) DomainPtrOutput

type DomainPtrInput

type DomainPtrInput interface {
	pulumi.Input

	ToDomainPtrOutput() DomainPtrOutput
	ToDomainPtrOutputWithContext(ctx context.Context) DomainPtrOutput
}

type DomainPtrOutput

type DomainPtrOutput struct {
	*pulumi.OutputState
}

func (DomainPtrOutput) ElementType

func (DomainPtrOutput) ElementType() reflect.Type

func (DomainPtrOutput) ToDomainPtrOutput

func (o DomainPtrOutput) ToDomainPtrOutput() DomainPtrOutput

func (DomainPtrOutput) ToDomainPtrOutputWithContext

func (o DomainPtrOutput) ToDomainPtrOutputWithContext(ctx context.Context) DomainPtrOutput

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
}

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
	// * `name`- The name of the Droplet
	DropletUrn pulumi.StringOutput `pulumi:"dropletUrn"`
	// The Droplet image ID or slug.
	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.
	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.
	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"`
	// Boolean controlling if private networking
	// is enabled. When VPC is enabled on an account, this will provision the
	// Droplet inside of your account's default VPC for the region. Use the
	// `vpcUuid` attribute to specify a different VPC.
	PrivateNetworking pulumi.BoolOutput `pulumi:"privateNetworking"`
	// The region to start in.
	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 {
		_, err := digitalocean.NewDroplet(ctx, "web", &digitalocean.DropletArgs{
			Image:  pulumi.String("ubuntu-18-04-x64"),
			Region: pulumi.String("nyc2"),
			Size:   pulumi.String("s-1vcpu-1gb"),
		})
		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

func (*Droplet) ToDropletPtrOutput

func (i *Droplet) ToDropletPtrOutput() DropletPtrOutput

func (*Droplet) ToDropletPtrOutputWithContext

func (i *Droplet) ToDropletPtrOutputWithContext(ctx context.Context) DropletPtrOutput

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
	// The Droplet image ID or slug.
	Image pulumi.StringInput
	// Boolean controlling if IPv6 is enabled. Defaults to false.
	Ipv6 pulumi.BoolPtrInput
	// Boolean controlling whether monitoring agent is installed.
	// Defaults to false.
	Monitoring pulumi.BoolPtrInput
	// The Droplet name.
	Name pulumi.StringPtrInput
	// Boolean controlling if private networking
	// is enabled. When VPC is enabled on an account, this will provision the
	// Droplet inside of your account's default VPC for the region. Use the
	// `vpcUuid` attribute to specify a different VPC.
	PrivateNetworking pulumi.BoolPtrInput
	// The region to start in.
	Region pulumi.StringInput
	// 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) ElementType

func (DropletOutput) ElementType() reflect.Type

func (DropletOutput) ToDropletOutput

func (o DropletOutput) ToDropletOutput() DropletOutput

func (DropletOutput) ToDropletOutputWithContext

func (o DropletOutput) ToDropletOutputWithContext(ctx context.Context) DropletOutput

func (DropletOutput) ToDropletPtrOutput

func (o DropletOutput) ToDropletPtrOutput() DropletPtrOutput

func (DropletOutput) ToDropletPtrOutputWithContext

func (o DropletOutput) ToDropletPtrOutputWithContext(ctx context.Context) DropletPtrOutput

type DropletPtrInput

type DropletPtrInput interface {
	pulumi.Input

	ToDropletPtrOutput() DropletPtrOutput
	ToDropletPtrOutputWithContext(ctx context.Context) DropletPtrOutput
}

type DropletPtrOutput

type DropletPtrOutput struct {
	*pulumi.OutputState
}

func (DropletPtrOutput) ElementType

func (DropletPtrOutput) ElementType() reflect.Type

func (DropletPtrOutput) ToDropletPtrOutput

func (o DropletPtrOutput) ToDropletPtrOutput() DropletPtrOutput

func (DropletPtrOutput) ToDropletPtrOutputWithContext

func (o DropletPtrOutput) ToDropletPtrOutputWithContext(ctx context.Context) DropletPtrOutput

type DropletSlug

type DropletSlug pulumi.String

func (DropletSlug) ElementType

func (DropletSlug) ElementType() reflect.Type

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 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("s-1vcpu-1gb"),
			Image:  pulumi.String("centos-7-x64"),
			Region: pulumi.String("nyc3"),
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewDropletSnapshot(ctx, "web_snapshot", &digitalocean.DropletSnapshotArgs{
			DropletId: web.ID(),
		})
		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

func (*DropletSnapshot) ToDropletSnapshotPtrOutput

func (i *DropletSnapshot) ToDropletSnapshotPtrOutput() DropletSnapshotPtrOutput

func (*DropletSnapshot) ToDropletSnapshotPtrOutputWithContext

func (i *DropletSnapshot) ToDropletSnapshotPtrOutputWithContext(ctx context.Context) DropletSnapshotPtrOutput

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

func (DropletSnapshotOutput) ElementType() reflect.Type

func (DropletSnapshotOutput) ToDropletSnapshotOutput

func (o DropletSnapshotOutput) ToDropletSnapshotOutput() DropletSnapshotOutput

func (DropletSnapshotOutput) ToDropletSnapshotOutputWithContext

func (o DropletSnapshotOutput) ToDropletSnapshotOutputWithContext(ctx context.Context) DropletSnapshotOutput

func (DropletSnapshotOutput) ToDropletSnapshotPtrOutput

func (o DropletSnapshotOutput) ToDropletSnapshotPtrOutput() DropletSnapshotPtrOutput

func (DropletSnapshotOutput) ToDropletSnapshotPtrOutputWithContext

func (o DropletSnapshotOutput) ToDropletSnapshotPtrOutputWithContext(ctx context.Context) DropletSnapshotPtrOutput

type DropletSnapshotPtrInput

type DropletSnapshotPtrInput interface {
	pulumi.Input

	ToDropletSnapshotPtrOutput() DropletSnapshotPtrOutput
	ToDropletSnapshotPtrOutputWithContext(ctx context.Context) DropletSnapshotPtrOutput
}

type DropletSnapshotPtrOutput

type DropletSnapshotPtrOutput struct {
	*pulumi.OutputState
}

func (DropletSnapshotPtrOutput) ElementType

func (DropletSnapshotPtrOutput) ElementType() reflect.Type

func (DropletSnapshotPtrOutput) ToDropletSnapshotPtrOutput

func (o DropletSnapshotPtrOutput) ToDropletSnapshotPtrOutput() DropletSnapshotPtrOutput

func (DropletSnapshotPtrOutput) ToDropletSnapshotPtrOutputWithContext

func (o DropletSnapshotPtrOutput) ToDropletSnapshotPtrOutputWithContext(ctx context.Context) DropletSnapshotPtrOutput

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
	// * `name`- The name of the Droplet
	DropletUrn pulumi.StringPtrInput
	// The Droplet image ID or slug.
	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.
	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.
	Monitoring pulumi.BoolPtrInput
	// The Droplet name.
	Name pulumi.StringPtrInput
	// Droplet hourly price
	PriceHourly pulumi.Float64PtrInput
	// Droplet monthly price
	PriceMonthly pulumi.Float64PtrInput
	// Boolean controlling if private networking
	// is enabled. When VPC is enabled on an account, this will provision the
	// Droplet inside of your account's default VPC for the region. Use the
	// `vpcUuid` attribute to specify a different VPC.
	PrivateNetworking pulumi.BoolPtrInput
	// The region to start in.
	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 pulumi.String

func (FileSystemType) ElementType

func (FileSystemType) ElementType() reflect.Type

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 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.

## 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

func (*Firewall) ToFirewallPtrOutput

func (i *Firewall) ToFirewallPtrOutput() FirewallPtrOutput

func (*Firewall) ToFirewallPtrOutputWithContext

func (i *Firewall) ToFirewallPtrOutputWithContext(ctx context.Context) FirewallPtrOutput

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 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 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) 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 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 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 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 (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) 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. traffic.

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

func (FirewallOutput) ElementType() reflect.Type

func (FirewallOutput) ToFirewallOutput

func (o FirewallOutput) ToFirewallOutput() FirewallOutput

func (FirewallOutput) ToFirewallOutputWithContext

func (o FirewallOutput) ToFirewallOutputWithContext(ctx context.Context) FirewallOutput

func (FirewallOutput) ToFirewallPtrOutput

func (o FirewallOutput) ToFirewallPtrOutput() FirewallPtrOutput

func (FirewallOutput) ToFirewallPtrOutputWithContext

func (o FirewallOutput) ToFirewallPtrOutputWithContext(ctx context.Context) FirewallPtrOutput

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 FirewallPtrInput

type FirewallPtrInput interface {
	pulumi.Input

	ToFirewallPtrOutput() FirewallPtrOutput
	ToFirewallPtrOutputWithContext(ctx context.Context) FirewallPtrOutput
}

type FirewallPtrOutput

type FirewallPtrOutput struct {
	*pulumi.OutputState
}

func (FirewallPtrOutput) ElementType

func (FirewallPtrOutput) ElementType() reflect.Type

func (FirewallPtrOutput) ToFirewallPtrOutput

func (o FirewallPtrOutput) ToFirewallPtrOutput() FirewallPtrOutput

func (FirewallPtrOutput) ToFirewallPtrOutputWithContext

func (o FirewallPtrOutput) ToFirewallPtrOutputWithContext(ctx context.Context) FirewallPtrOutput

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"`
}

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("s-1vcpu-1gb"),
			Image:             pulumi.String("ubuntu-18-04-x64"),
			Region:            pulumi.String("sgp1"),
			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

func (*FloatingIp) ToFloatingIpPtrOutput

func (i *FloatingIp) ToFloatingIpPtrOutput() FloatingIpPtrOutput

func (*FloatingIp) ToFloatingIpPtrOutputWithContext

func (i *FloatingIp) ToFloatingIpPtrOutputWithContext(ctx context.Context) FloatingIpPtrOutput

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"`
}

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("s-1vcpu-1gb"),
			Image:             pulumi.String("ubuntu-18-04-x64"),
			Region:            pulumi.String("sgp1"),
			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
	})
}

```

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

func (*FloatingIpAssignment) ToFloatingIpAssignmentPtrOutput

func (i *FloatingIpAssignment) ToFloatingIpAssignmentPtrOutput() FloatingIpAssignmentPtrOutput

func (*FloatingIpAssignment) ToFloatingIpAssignmentPtrOutputWithContext

func (i *FloatingIpAssignment) ToFloatingIpAssignmentPtrOutputWithContext(ctx context.Context) FloatingIpAssignmentPtrOutput

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

func (FloatingIpAssignmentOutput) ElementType() reflect.Type

func (FloatingIpAssignmentOutput) ToFloatingIpAssignmentOutput

func (o FloatingIpAssignmentOutput) ToFloatingIpAssignmentOutput() FloatingIpAssignmentOutput

func (FloatingIpAssignmentOutput) ToFloatingIpAssignmentOutputWithContext

func (o FloatingIpAssignmentOutput) ToFloatingIpAssignmentOutputWithContext(ctx context.Context) FloatingIpAssignmentOutput

func (FloatingIpAssignmentOutput) ToFloatingIpAssignmentPtrOutput

func (o FloatingIpAssignmentOutput) ToFloatingIpAssignmentPtrOutput() FloatingIpAssignmentPtrOutput

func (FloatingIpAssignmentOutput) ToFloatingIpAssignmentPtrOutputWithContext

func (o FloatingIpAssignmentOutput) ToFloatingIpAssignmentPtrOutputWithContext(ctx context.Context) FloatingIpAssignmentPtrOutput

type FloatingIpAssignmentPtrInput

type FloatingIpAssignmentPtrInput interface {
	pulumi.Input

	ToFloatingIpAssignmentPtrOutput() FloatingIpAssignmentPtrOutput
	ToFloatingIpAssignmentPtrOutputWithContext(ctx context.Context) FloatingIpAssignmentPtrOutput
}

type FloatingIpAssignmentPtrOutput

type FloatingIpAssignmentPtrOutput struct {
	*pulumi.OutputState
}

func (FloatingIpAssignmentPtrOutput) ElementType

func (FloatingIpAssignmentPtrOutput) ToFloatingIpAssignmentPtrOutput

func (o FloatingIpAssignmentPtrOutput) ToFloatingIpAssignmentPtrOutput() FloatingIpAssignmentPtrOutput

func (FloatingIpAssignmentPtrOutput) ToFloatingIpAssignmentPtrOutputWithContext

func (o FloatingIpAssignmentPtrOutput) ToFloatingIpAssignmentPtrOutputWithContext(ctx context.Context) FloatingIpAssignmentPtrOutput

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

func (FloatingIpOutput) ElementType() reflect.Type

func (FloatingIpOutput) ToFloatingIpOutput

func (o FloatingIpOutput) ToFloatingIpOutput() FloatingIpOutput

func (FloatingIpOutput) ToFloatingIpOutputWithContext

func (o FloatingIpOutput) ToFloatingIpOutputWithContext(ctx context.Context) FloatingIpOutput

func (FloatingIpOutput) ToFloatingIpPtrOutput

func (o FloatingIpOutput) ToFloatingIpPtrOutput() FloatingIpPtrOutput

func (FloatingIpOutput) ToFloatingIpPtrOutputWithContext

func (o FloatingIpOutput) ToFloatingIpPtrOutputWithContext(ctx context.Context) FloatingIpPtrOutput

type FloatingIpPtrInput

type FloatingIpPtrInput interface {
	pulumi.Input

	ToFloatingIpPtrOutput() FloatingIpPtrOutput
	ToFloatingIpPtrOutputWithContext(ctx context.Context) FloatingIpPtrOutput
}

type FloatingIpPtrOutput

type FloatingIpPtrOutput struct {
	*pulumi.OutputState
}

func (FloatingIpPtrOutput) ElementType

func (FloatingIpPtrOutput) ElementType() reflect.Type

func (FloatingIpPtrOutput) ToFloatingIpPtrOutput

func (o FloatingIpPtrOutput) ToFloatingIpPtrOutput() FloatingIpPtrOutput

func (FloatingIpPtrOutput) ToFloatingIpPtrOutputWithContext

func (o FloatingIpPtrOutput) ToFloatingIpPtrOutputWithContext(ctx context.Context) FloatingIpPtrOutput

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 {
	DropletLimit    int    `pulumi:"dropletLimit"`
	Email           string `pulumi:"email"`
	EmailVerified   bool   `pulumi:"emailVerified"`
	FloatingIpLimit int    `pulumi:"floatingIpLimit"`
	// The provider-assigned unique ID for this managed resource.
	Id            string `pulumi:"id"`
	Status        string `pulumi:"status"`
	StatusMessage string `pulumi:"statusMessage"`
	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 GetAppSpec

type GetAppSpec struct {
	Databases []GetAppSpecDatabase `pulumi:"databases"`
	// 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"`
	Jobs []GetAppSpecJob `pulumi:"jobs"`
	// The name of the component.
	Name        string                 `pulumi:"name"`
	Region      *string                `pulumi:"region"`
	Services    []GetAppSpecService    `pulumi:"services"`
	StaticSites []GetAppSpecStaticSite `pulumi:"staticSites"`
	Workers     []GetAppSpecWorker     `pulumi:"workers"`
}

type GetAppSpecArgs

type GetAppSpecArgs struct {
	Databases GetAppSpecDatabaseArrayInput `pulumi:"databases"`
	// 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"`
	Jobs GetAppSpecJobArrayInput `pulumi:"jobs"`
	// The name of the component.
	Name        pulumi.StringInput             `pulumi:"name"`
	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`, or `REDIS`).
	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`, or `REDIS`).
	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`, or `REDIS`).

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"`
	Wildcard bool    `pulumi:"wildcard"`
	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"`
	Wildcard pulumi.BoolInput      `pulumi:"wildcard"`
	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 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

func (GetAppSpecDomainOutput) Zone

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 value of the environment variable.
	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 value of the environment variable.
	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 value of the environment variable.

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 {
	// 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:
	// - `UNSPECIFIED`: Default job type, will auto-complete to POST_DEPLOY kind.
	// - `PRE_DEPLOY`: Indicates a job that runs before an app deployment.
	// - `POST_DEPLOY`: Indicates a job that runs after an app deployment.
	// - `FAILED_DEPLOY`: Indicates a job that runs after a component fails to deploy.
	Kind *string `pulumi:"kind"`
	// 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 GetAppSpecJobArgs

type GetAppSpecJobArgs struct {
	// 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:
	// - `UNSPECIFIED`: Default job type, will auto-complete to POST_DEPLOY kind.
	// - `PRE_DEPLOY`: Indicates a job that runs before an app deployment.
	// - `POST_DEPLOY`: Indicates a job that runs after an app deployment.
	// - `FAILED_DEPLOY`: Indicates a job that runs after a component fails to deploy.
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// 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 value of the environment variable.
	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 value of the environment variable.
	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 value of the environment variable.

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 {
	// The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.
	Registry *string `pulumi:"registry"`
	// 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 {
	// The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.
	Registry pulumi.StringPtrInput `pulumi:"registry"`
	// 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 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) 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) 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) 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) 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 GetAppSpecJobOutput

type GetAppSpecJobOutput struct{ *pulumi.OutputState }

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: - `UNSPECIFIED`: Default job type, will auto-complete to POST_DEPLOY kind. - `PRE_DEPLOY`: Indicates a job that runs before an app deployment. - `POST_DEPLOY`: Indicates a job that runs after an app deployment. - `FAILED_DEPLOY`: Indicates a job that runs after a component fails to deploy.

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

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

func (GetAppSpecOutput) Name

The name of the component.

func (GetAppSpecOutput) Region

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 {
	// 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 []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"`
	// The name of the component.
	Name   string                   `pulumi:"name"`
	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 GetAppSpecServiceArgs

type GetAppSpecServiceArgs struct {
	// 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 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"`
	// The name of the component.
	Name   pulumi.StringInput               `pulumi:"name"`
	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 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 value of the environment variable.
	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 value of the environment variable.
	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 value of the environment variable.

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 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 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) 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) 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 {
	// The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.
	Registry *string `pulumi:"registry"`
	// 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 {
	// The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.
	Registry pulumi.StringPtrInput `pulumi:"registry"`
	// 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 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) 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) 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) 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) 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 GetAppSpecServiceOutput

type GetAppSpecServiceOutput struct{ *pulumi.OutputState }

func (GetAppSpecServiceOutput) BuildCommand

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

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

The name of the component.

func (GetAppSpecServiceOutput) Routes

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"`
}

type GetAppSpecServiceRouteArgs

type GetAppSpecServiceRouteArgs struct {
	// Paths must start with `/` and must be unique within the app.
	Path pulumi.StringPtrInput `pulumi:"path"`
}

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) 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 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"`
	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 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"`
	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 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 value of the environment variable.
	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 value of the environment variable.
	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 value of the environment variable.

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

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"`
}

type GetAppSpecStaticSiteRouteArgs

type GetAppSpecStaticSiteRouteArgs struct {
	// Paths must start with `/` and must be unique within the app.
	Path pulumi.StringPtrInput `pulumi:"path"`
}

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

func (o GetAppSpecStaticSiteRouteOutput) ToGetAppSpecStaticSiteRouteOutput() GetAppSpecStaticSiteRouteOutput

func (GetAppSpecStaticSiteRouteOutput) ToGetAppSpecStaticSiteRouteOutputWithContext

func (o GetAppSpecStaticSiteRouteOutput) ToGetAppSpecStaticSiteRouteOutputWithContext(ctx context.Context) GetAppSpecStaticSiteRouteOutput

type GetAppSpecWorker

type GetAppSpecWorker struct {
	// 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"`
	// 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 GetAppSpecWorkerArgs

type GetAppSpecWorkerArgs struct {
	// 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"`
	// 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 value of the environment variable.
	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 value of the environment variable.
	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 value of the environment variable.

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 {
	// The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.
	Registry *string `pulumi:"registry"`
	// 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 {
	// The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.
	Registry pulumi.StringPtrInput `pulumi:"registry"`
	// 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 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) 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) 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) 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) 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 GetAppSpecWorkerOutput

type GetAppSpecWorkerOutput struct{ *pulumi.OutputState }

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) 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 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 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.
	// - `ttl`-  The TTL of the domain.
	Name string `pulumi:"name"`
	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.
	// - `ttl`-  The TTL of the domain.
	Name pulumi.StringInput `pulumi:"name"`
	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. - `ttl`- The TTL 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

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 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 (

"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 {
		_, err := digitalocean.GetDomains(ctx, &digitalocean.GetDomainsArgs{
			Filters: []digitalocean.GetDomainsFilter{
				digitalocean.GetDomainsFilter{
					Key:     "name",
					MatchBy: "re",
					Values: []string{
						fmt.Sprintf("%v%v", "example\\.com", "$"),
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

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"`
	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       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"`
	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       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

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

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 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.

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"`
	// 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"`
	// 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) 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"`
	// 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"`
	// 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) 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.
	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 GetImageResult

type GetImageResult struct {
	Created     string `pulumi:"created"`
	Description string `pulumi:"description"`
	// The name of the distribution of the OS of the image.
	// * `minDiskSize`: The minimum 'disk' required for the image.
	// * `sizeGigabytes`: The size of the image in GB.
	Distribution string `pulumi:"distribution"`
	ErrorMessage string `pulumi:"errorMessage"`
	Id           int    `pulumi:"id"`
	// The id of the image (legacy parameter).
	Image       string `pulumi:"image"`
	MinDiskSize int    `pulumi:"minDiskSize"`
	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.
	// * `regions`: A set of the regions that the image is available in.
	// * `tags`: A set of tags applied to the image
	// * `created`: When the image was created
	// * `status`: Current status of the image
	// * `errorMessage`: Any applicable error message pertaining to the image
	Private       bool     `pulumi:"private"`
	Regions       []string `pulumi:"regions"`
	SizeGigabytes float64  `pulumi:"sizeGigabytes"`
	Slug          string   `pulumi:"slug"`
	Source        *string  `pulumi:"source"`
	Status        string   `pulumi:"status"`
	Tags          []string `pulumi:"tags"`
	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 {
		opt0 := "example-1.0.0"
		_, err := digitalocean.GetImage(ctx, &digitalocean.GetImageArgs{
			Name: &opt0,
		}, 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 {
		opt0 := "example-1.0.0"
		exampleImage, err := digitalocean.GetImage(ctx, &digitalocean.GetImageArgs{
			Name: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		_, err = digitalocean.NewDroplet(ctx, "exampleDroplet", &digitalocean.DropletArgs{
			Image:  pulumi.Int(exampleImage.Id),
			Region: pulumi.String("nyc2"),
			Size:   pulumi.String("s-1vcpu-1gb"),
		})
		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 {
		opt0 := "ubuntu-18-04-x64"
		_, err := digitalocean.GetImage(ctx, &digitalocean.GetImageArgs{
			Slug: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

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 {
	Created     string `pulumi:"created"`
	Description string `pulumi:"description"`
	// The name of the distribution of the OS of the image.
	// - `minDiskSize`: The minimum 'disk' required for the image.
	// - `sizeGigabytes`: The size of the image in GB.
	Distribution string `pulumi:"distribution"`
	ErrorMessage string `pulumi:"errorMessage"`
	Id           int    `pulumi:"id"`
	// The id of the image (legacy parameter).
	Image       string `pulumi:"image"`
	MinDiskSize int    `pulumi:"minDiskSize"`
	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.
	// - `regions`: A set of the regions that the image is available in.
	// - `tags`: A set of tags applied to the image
	// - `created`: When the image was created
	// - `status`: Current status of the image
	// - `errorMessage`: Any applicable error message pertaining to the image
	Private       bool     `pulumi:"private"`
	Regions       []string `pulumi:"regions"`
	SizeGigabytes float64  `pulumi:"sizeGigabytes"`
	Slug          string   `pulumi:"slug"`
	Status        string   `pulumi:"status"`
	Tags          []string `pulumi:"tags"`
	Type          string   `pulumi:"type"`
}

type GetImagesImageArgs

type GetImagesImageArgs struct {
	Created     pulumi.StringInput `pulumi:"created"`
	Description pulumi.StringInput `pulumi:"description"`
	// The name of the distribution of the OS of the image.
	// - `minDiskSize`: The minimum 'disk' required for the image.
	// - `sizeGigabytes`: The size of the image in GB.
	Distribution pulumi.StringInput `pulumi:"distribution"`
	ErrorMessage pulumi.StringInput `pulumi:"errorMessage"`
	Id           pulumi.IntInput    `pulumi:"id"`
	// The id of the image (legacy parameter).
	Image       pulumi.StringInput `pulumi:"image"`
	MinDiskSize pulumi.IntInput    `pulumi:"minDiskSize"`
	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.
	// - `regions`: A set of the regions that the image is available in.
	// - `tags`: A set of tags applied to the image
	// - `created`: When the image was created
	// - `status`: Current status of the image
	// - `errorMessage`: Any applicable error message pertaining to the image
	Private       pulumi.BoolInput        `pulumi:"private"`
	Regions       pulumi.StringArrayInput `pulumi:"regions"`
	SizeGigabytes pulumi.Float64Input     `pulumi:"sizeGigabytes"`
	Slug          pulumi.StringInput      `pulumi:"slug"`
	Status        pulumi.StringInput      `pulumi:"status"`
	Tags          pulumi.StringArrayInput `pulumi:"tags"`
	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

func (GetImagesImageOutput) Description

func (o GetImagesImageOutput) Description() pulumi.StringOutput

func (GetImagesImageOutput) Distribution

func (o GetImagesImageOutput) Distribution() pulumi.StringOutput

The name of the distribution of the OS of the image. - `minDiskSize`: The minimum 'disk' required for the image. - `sizeGigabytes`: The size of the image in GB.

func (GetImagesImageOutput) ElementType

func (GetImagesImageOutput) ElementType() reflect.Type

func (GetImagesImageOutput) ErrorMessage

func (o GetImagesImageOutput) ErrorMessage() pulumi.StringOutput

func (GetImagesImageOutput) Id

func (GetImagesImageOutput) Image

The id of the image (legacy parameter).

func (GetImagesImageOutput) MinDiskSize

func (o GetImagesImageOutput) MinDiskSize() pulumi.IntOutput

func (GetImagesImageOutput) Name

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. - `regions`: A set of the regions that the image is available in. - `tags`: A set of tags applied to the image - `created`: When the image was created - `status`: Current status of the image - `errorMessage`: Any applicable error message pertaining to the image

func (GetImagesImageOutput) Regions

func (GetImagesImageOutput) SizeGigabytes

func (o GetImagesImageOutput) SizeGigabytes() pulumi.Float64Output

func (GetImagesImageOutput) Slug

func (GetImagesImageOutput) Status

func (GetImagesImageOutput) Tags

func (GetImagesImageOutput) ToGetImagesImageOutput

func (o GetImagesImageOutput) ToGetImagesImageOutput() GetImagesImageOutput

func (GetImagesImageOutput) ToGetImagesImageOutputWithContext

func (o GetImagesImageOutput) ToGetImagesImageOutputWithContext(ctx context.Context) GetImagesImageOutput

func (GetImagesImageOutput) 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:
	// - `slug`: Unique text identifier of the image.
	// - `id`: The ID of the image.
	// - `name`: The name of the image.
	// - `type`: Type of the image.
	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.

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 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("lon1"),
			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 {
		opt0 := "1.16."
		example, err := digitalocean.GetKubernetesVersions(ctx, &digitalocean.GetKubernetesVersionsArgs{
			VersionPrefix: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		_, err = digitalocean.NewKubernetesCluster(ctx, "example_cluster", &digitalocean.KubernetesClusterArgs{
			Region:  pulumi.String("lon1"),
			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 GetLoadBalancerForwardingRule

type GetLoadBalancerForwardingRule struct {
	CertificateId   string `pulumi:"certificateId"`
	CertificateName string `pulumi:"certificateName"`
	EntryPort       int    `pulumi:"entryPort"`
	EntryProtocol   string `pulumi:"entryProtocol"`
	TargetPort      int    `pulumi:"targetPort"`
	TargetProtocol  string `pulumi:"targetProtocol"`
	TlsPassthrough  bool   `pulumi:"tlsPassthrough"`
}

type GetLoadBalancerForwardingRuleArgs

type GetLoadBalancerForwardingRuleArgs struct {
	CertificateId   pulumi.StringInput `pulumi:"certificateId"`
	CertificateName pulumi.StringInput `pulumi:"certificateName"`
	EntryPort       pulumi.IntInput    `pulumi:"entryPort"`
	EntryProtocol   pulumi.StringInput `pulumi:"entryProtocol"`
	TargetPort      pulumi.IntInput    `pulumi:"targetPort"`
	TargetProtocol  pulumi.StringInput `pulumi:"targetProtocol"`
	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

func (GetLoadBalancerForwardingRuleOutput) CertificateName added in v4.4.0

func (GetLoadBalancerForwardingRuleOutput) ElementType

func (GetLoadBalancerForwardingRuleOutput) EntryPort

func (GetLoadBalancerForwardingRuleOutput) EntryProtocol

func (GetLoadBalancerForwardingRuleOutput) TargetPort

func (GetLoadBalancerForwardingRuleOutput) TargetProtocol

func (GetLoadBalancerForwardingRuleOutput) TlsPassthrough

func (GetLoadBalancerForwardingRuleOutput) ToGetLoadBalancerForwardingRuleOutput

func (o GetLoadBalancerForwardingRuleOutput) ToGetLoadBalancerForwardingRuleOutput() GetLoadBalancerForwardingRuleOutput

func (GetLoadBalancerForwardingRuleOutput) ToGetLoadBalancerForwardingRuleOutputWithContext

func (o GetLoadBalancerForwardingRuleOutput) ToGetLoadBalancerForwardingRuleOutputWithContext(ctx context.Context) GetLoadBalancerForwardingRuleOutput

type GetLoadBalancerHealthcheck

type GetLoadBalancerHealthcheck struct {
	CheckIntervalSeconds   int    `pulumi:"checkIntervalSeconds"`
	HealthyThreshold       int    `pulumi:"healthyThreshold"`
	Path                   string `pulumi:"path"`
	Port                   int    `pulumi:"port"`
	Protocol               string `pulumi:"protocol"`
	ResponseTimeoutSeconds int    `pulumi:"responseTimeoutSeconds"`
	UnhealthyThreshold     int    `pulumi:"unhealthyThreshold"`
}

type GetLoadBalancerHealthcheckArgs

type GetLoadBalancerHealthcheckArgs struct {
	CheckIntervalSeconds   pulumi.IntInput    `pulumi:"checkIntervalSeconds"`
	HealthyThreshold       pulumi.IntInput    `pulumi:"healthyThreshold"`
	Path                   pulumi.StringInput `pulumi:"path"`
	Port                   pulumi.IntInput    `pulumi:"port"`
	Protocol               pulumi.StringInput `pulumi:"protocol"`
	ResponseTimeoutSeconds pulumi.IntInput    `pulumi:"responseTimeoutSeconds"`
	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

func (GetLoadBalancerHealthcheckOutput) ElementType

func (GetLoadBalancerHealthcheckOutput) HealthyThreshold

func (o GetLoadBalancerHealthcheckOutput) HealthyThreshold() pulumi.IntOutput

func (GetLoadBalancerHealthcheckOutput) Path

func (GetLoadBalancerHealthcheckOutput) Port

func (GetLoadBalancerHealthcheckOutput) Protocol

func (GetLoadBalancerHealthcheckOutput) ResponseTimeoutSeconds

func (o GetLoadBalancerHealthcheckOutput) ResponseTimeoutSeconds() pulumi.IntOutput

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

type GetLoadBalancerStickySession

type GetLoadBalancerStickySession struct {
	CookieName       string `pulumi:"cookieName"`
	CookieTtlSeconds int    `pulumi:"cookieTtlSeconds"`
	Type             string `pulumi:"type"`
}

type GetLoadBalancerStickySessionArgs

type GetLoadBalancerStickySessionArgs struct {
	CookieName       pulumi.StringInput `pulumi:"cookieName"`
	CookieTtlSeconds pulumi.IntInput    `pulumi:"cookieTtlSeconds"`
	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

func (GetLoadBalancerStickySessionOutput) CookieTtlSeconds

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

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 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.

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 GetRecordResult

type GetRecordResult struct {
	Data   string `pulumi:"data"`
	Domain string `pulumi:"domain"`
	Flags  int    `pulumi:"flags"`
	// The provider-assigned unique ID for this managed resource.
	Id       string `pulumi:"id"`
	Name     string `pulumi:"name"`
	Port     int    `pulumi:"port"`
	Priority int    `pulumi:"priority"`
	Tag      string `pulumi:"tag"`
	Ttl      int    `pulumi:"ttl"`
	Type     string `pulumi:"type"`
	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.

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 GetRecordsRecord

type GetRecordsRecord struct {
	// The domain name to search for DNS records
	Domain   string `pulumi:"domain"`
	Flags    int    `pulumi:"flags"`
	Id       int    `pulumi:"id"`
	Name     string `pulumi:"name"`
	Port     int    `pulumi:"port"`
	Priority int    `pulumi:"priority"`
	Tag      string `pulumi:"tag"`
	Ttl      int    `pulumi:"ttl"`
	Type     string `pulumi:"type"`
	Value    string `pulumi:"value"`
	Weight   int    `pulumi:"weight"`
}

type GetRecordsRecordArgs

type GetRecordsRecordArgs struct {
	// The domain name to search for DNS records
	Domain   pulumi.StringInput `pulumi:"domain"`
	Flags    pulumi.IntInput    `pulumi:"flags"`
	Id       pulumi.IntInput    `pulumi:"id"`
	Name     pulumi.StringInput `pulumi:"name"`
	Port     pulumi.IntInput    `pulumi:"port"`
	Priority pulumi.IntInput    `pulumi:"priority"`
	Tag      pulumi.StringInput `pulumi:"tag"`
	Ttl      pulumi.IntInput    `pulumi:"ttl"`
	Type     pulumi.StringInput `pulumi:"type"`
	Value    pulumi.StringInput `pulumi:"value"`
	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

func (GetRecordsRecordOutput) Id

func (GetRecordsRecordOutput) Name

func (GetRecordsRecordOutput) Port

func (GetRecordsRecordOutput) Priority

func (GetRecordsRecordOutput) Tag

func (GetRecordsRecordOutput) ToGetRecordsRecordOutput

func (o GetRecordsRecordOutput) ToGetRecordsRecordOutput() GetRecordsRecordOutput

func (GetRecordsRecordOutput) ToGetRecordsRecordOutputWithContext

func (o GetRecordsRecordOutput) ToGetRecordsRecordOutputWithContext(ctx context.Context) GetRecordsRecordOutput

func (GetRecordsRecordOutput) Ttl

func (GetRecordsRecordOutput) Type

func (GetRecordsRecordOutput) Value

func (GetRecordsRecordOutput) Weight

type GetRecordsResult

type GetRecordsResult struct {
	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 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 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 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 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.

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 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 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 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 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 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 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) 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 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{
				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{
				digitalocean.GetSpacesBucketsFilter{
					Key: "region",
					Values: []string{
						"nyc3",
					},
				},
			},
			Sorts: []digitalocean.GetSpacesBucketsSort{
				digitalocean.GetSpacesBucketsSort{
					Direction: "desc",
					Key:       "name",
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

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"`
	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"`
	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

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{
				digitalocean.GetSshKeysSort{
					Direction: "asc",
					Key:       "name",
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

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 {
	Fingerprint string `pulumi:"fingerprint"`
	// The ID of the ssh key.
	// * `name`: The name of the ssh key.
	// * `publicKey`: The public key of the ssh key.
	// * `fingerprint`: The fingerprint of the public key of the ssh key.
	Id        int    `pulumi:"id"`
	Name      string `pulumi:"name"`
	PublicKey string `pulumi:"publicKey"`
}

type GetSshKeysSshKeyArgs

type GetSshKeysSshKeyArgs struct {
	Fingerprint pulumi.StringInput `pulumi:"fingerprint"`
	// The ID of the ssh key.
	// * `name`: The name of the ssh key.
	// * `publicKey`: The public key of the ssh key.
	// * `fingerprint`: The fingerprint of the public key of the ssh key.
	Id        pulumi.IntInput    `pulumi:"id"`
	Name      pulumi.StringInput `pulumi:"name"`
	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

func (GetSshKeysSshKeyOutput) Id

The ID of the ssh key. * `name`: The name of the ssh key. * `publicKey`: The public key of the ssh key. * `fingerprint`: The fingerprint of the public key of the ssh key.

func (GetSshKeysSshKeyOutput) Name

func (GetSshKeysSshKeyOutput) PublicKey

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 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{
				digitalocean.GetTagsSort{
					Key:       "total_resource_count",
					Direction: "asc",
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("sortedTags", list.Tags)
		return nil
	})
}

```

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"`
	// The base URL of the API server on the Kubernetes master node.
	Endpoint pulumi.StringOutput `pulumi:"endpoint"`
	// The public IPv4 address of the Kubernetes master node.
	Ipv4Address pulumi.StringOutput                    `pulumi:"ipv4Address"`
	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 node pool.
	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"`
	// 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 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 all of its node pools can be imported using the cluster's `id`, e.g.

```sh

$ pulumi import digitalocean:index/kubernetesCluster:KubernetesCluster mycluster 1b8b2100-0e9f-4e8f-ad78-9eb578c2a0af

```

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

func (*KubernetesCluster) ToKubernetesClusterPtrOutput

func (i *KubernetesCluster) ToKubernetesClusterPtrOutput() KubernetesClusterPtrOutput

func (*KubernetesCluster) ToKubernetesClusterPtrOutputWithContext

func (i *KubernetesCluster) ToKubernetesClusterPtrOutputWithContext(ctx context.Context) KubernetesClusterPtrOutput

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
	// 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 node pool.
	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
	// 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"`
	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"`
	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

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

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 to be applied to the Kubernetes cluster.
	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 to be applied to the Kubernetes cluster.
	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 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 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 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 (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 node pool.

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 to be applied to the Kubernetes cluster.

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 to be applied to the Kubernetes cluster.

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

func (KubernetesClusterOutput) ElementType() reflect.Type

func (KubernetesClusterOutput) ToKubernetesClusterOutput

func (o KubernetesClusterOutput) ToKubernetesClusterOutput() KubernetesClusterOutput

func (KubernetesClusterOutput) ToKubernetesClusterOutputWithContext

func (o KubernetesClusterOutput) ToKubernetesClusterOutputWithContext(ctx context.Context) KubernetesClusterOutput

func (KubernetesClusterOutput) ToKubernetesClusterPtrOutput

func (o KubernetesClusterOutput) ToKubernetesClusterPtrOutput() KubernetesClusterPtrOutput

func (KubernetesClusterOutput) ToKubernetesClusterPtrOutputWithContext

func (o KubernetesClusterOutput) ToKubernetesClusterPtrOutputWithContext(ctx context.Context) KubernetesClusterPtrOutput

type KubernetesClusterPtrInput

type KubernetesClusterPtrInput interface {
	pulumi.Input

	ToKubernetesClusterPtrOutput() KubernetesClusterPtrOutput
	ToKubernetesClusterPtrOutputWithContext(ctx context.Context) KubernetesClusterPtrOutput
}

type KubernetesClusterPtrOutput

type KubernetesClusterPtrOutput struct {
	*pulumi.OutputState
}

func (KubernetesClusterPtrOutput) ElementType

func (KubernetesClusterPtrOutput) ElementType() reflect.Type

func (KubernetesClusterPtrOutput) ToKubernetesClusterPtrOutput

func (o KubernetesClusterPtrOutput) ToKubernetesClusterPtrOutput() KubernetesClusterPtrOutput

func (KubernetesClusterPtrOutput) ToKubernetesClusterPtrOutputWithContext

func (o KubernetesClusterPtrOutput) ToKubernetesClusterPtrOutputWithContext(ctx context.Context) KubernetesClusterPtrOutput

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
	// The base URL of the API server on the Kubernetes master node.
	Endpoint pulumi.StringPtrInput
	// The public IPv4 address of the Kubernetes master node.
	Ipv4Address pulumi.StringPtrInput
	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 node pool.
	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
	// 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.
	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("nyc1"),
			Version: pulumi.String("1.20.2-do.0"),
			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("c-2"),
			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("s-1vcpu-2gb"),
			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, just import the cluster. Importing a cluster also imports all of its associated node pools. If you still need to import a single node pool, then import it by using its `id`, e.g.

```sh

$ pulumi import digitalocean:index/kubernetesNodePool:KubernetesNodePool mynodepool 9d76f410-9284-4436-9633-4066852442c8

```

NoteIf 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

func (*KubernetesNodePool) ToKubernetesNodePoolPtrOutput

func (i *KubernetesNodePool) ToKubernetesNodePoolPtrOutput() KubernetesNodePoolPtrOutput

func (*KubernetesNodePool) ToKubernetesNodePoolPtrOutputWithContext

func (i *KubernetesNodePool) ToKubernetesNodePoolPtrOutputWithContext(ctx context.Context) KubernetesNodePoolPtrOutput

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.
	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) ElementType

func (KubernetesNodePoolOutput) ElementType() reflect.Type

func (KubernetesNodePoolOutput) ToKubernetesNodePoolOutput

func (o KubernetesNodePoolOutput) ToKubernetesNodePoolOutput() KubernetesNodePoolOutput

func (KubernetesNodePoolOutput) ToKubernetesNodePoolOutputWithContext

func (o KubernetesNodePoolOutput) ToKubernetesNodePoolOutputWithContext(ctx context.Context) KubernetesNodePoolOutput

func (KubernetesNodePoolOutput) ToKubernetesNodePoolPtrOutput

func (o KubernetesNodePoolOutput) ToKubernetesNodePoolPtrOutput() KubernetesNodePoolPtrOutput

func (KubernetesNodePoolOutput) ToKubernetesNodePoolPtrOutputWithContext

func (o KubernetesNodePoolOutput) ToKubernetesNodePoolPtrOutputWithContext(ctx context.Context) KubernetesNodePoolPtrOutput

type KubernetesNodePoolPtrInput

type KubernetesNodePoolPtrInput interface {
	pulumi.Input

	ToKubernetesNodePoolPtrOutput() KubernetesNodePoolPtrOutput
	ToKubernetesNodePoolPtrOutputWithContext(ctx context.Context) KubernetesNodePoolPtrOutput
}

type KubernetesNodePoolPtrOutput

type KubernetesNodePoolPtrOutput struct {
	*pulumi.OutputState
}

func (KubernetesNodePoolPtrOutput) ElementType

func (KubernetesNodePoolPtrOutput) ToKubernetesNodePoolPtrOutput

func (o KubernetesNodePoolPtrOutput) ToKubernetesNodePoolPtrOutput() KubernetesNodePoolPtrOutput

func (KubernetesNodePoolPtrOutput) ToKubernetesNodePoolPtrOutputWithContext

func (o KubernetesNodePoolPtrOutput) ToKubernetesNodePoolPtrOutputWithContext(ctx context.Context) KubernetesNodePoolPtrOutput

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.
	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

	// The load balancing algorithm used to determine
	// which backend Droplet will be selected by a client. It must be either `roundRobin`
	// or `leastConnections`. The default value is `roundRobin`.
	Algorithm pulumi.StringPtrOutput `pulumi:"algorithm"`
	// 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 list of `forwardingRule` to be assigned to the
	// Load Balancer. The `forwardingRule` block is documented below.
	ForwardingRules LoadBalancerForwardingRuleArrayOutput `pulumi:"forwardingRules"`
	// 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"`
	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"`
	// 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.StringOutput `pulumi:"region"`
	// The size of the Load Balancer. It must be either `lb-small`, `lb-medium`, or `lb-large`. Defaults to `lb-small`.
	Size   pulumi.StringPtrOutput `pulumi:"size"`
	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"`
	// 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.

## 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

func (*LoadBalancer) ToLoadBalancerPtrOutput

func (i *LoadBalancer) ToLoadBalancerPtrOutput() LoadBalancerPtrOutput

func (*LoadBalancer) ToLoadBalancerPtrOutputWithContext

func (i *LoadBalancer) ToLoadBalancerPtrOutputWithContext(ctx context.Context) LoadBalancerPtrOutput

type LoadBalancerArgs

type LoadBalancerArgs struct {
	// The load balancing algorithm used to determine
	// which backend Droplet will be selected by a client. It must be either `roundRobin`
	// or `leastConnections`. The default value is `roundRobin`.
	Algorithm pulumi.StringPtrInput
	// 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 list of `forwardingRule` to be assigned to the
	// Load Balancer. The `forwardingRule` block is documented below.
	ForwardingRules LoadBalancerForwardingRuleArrayInput
	// A `healthcheck` block to be assigned to the
	// Load Balancer. The `healthcheck` block is documented below. Only 1 healthcheck is allowed.
	Healthcheck LoadBalancerHealthcheckPtrInput
	// The Load Balancer name
	Name 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.StringInput
	// The size of the Load Balancer. It must be either `lb-small`, `lb-medium`, or `lb-large`. Defaults to `lb-small`.
	Size 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
	// 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 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` or `tcp`.
	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` or `tcp`.
	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` or `tcp`.
	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` or `tcp`.
	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` or `tcp`.

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` or `tcp`.

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 LoadBalancerHealthcheck

type LoadBalancerHealthcheck struct {
	// The number of seconds between 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 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 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 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) ElementType

func (LoadBalancerOutput) ElementType() reflect.Type

func (LoadBalancerOutput) ToLoadBalancerOutput

func (o LoadBalancerOutput) ToLoadBalancerOutput() LoadBalancerOutput

func (LoadBalancerOutput) ToLoadBalancerOutputWithContext

func (o LoadBalancerOutput) ToLoadBalancerOutputWithContext(ctx context.Context) LoadBalancerOutput

func (LoadBalancerOutput) ToLoadBalancerPtrOutput

func (o LoadBalancerOutput) ToLoadBalancerPtrOutput() LoadBalancerPtrOutput

func (LoadBalancerOutput) ToLoadBalancerPtrOutputWithContext

func (o LoadBalancerOutput) ToLoadBalancerPtrOutputWithContext(ctx context.Context) LoadBalancerPtrOutput

type LoadBalancerPtrInput

type LoadBalancerPtrInput interface {
	pulumi.Input

	ToLoadBalancerPtrOutput() LoadBalancerPtrOutput
	ToLoadBalancerPtrOutputWithContext(ctx context.Context) LoadBalancerPtrOutput
}

type LoadBalancerPtrOutput

type LoadBalancerPtrOutput struct {
	*pulumi.OutputState
}

func (LoadBalancerPtrOutput) ElementType

func (LoadBalancerPtrOutput) ElementType() reflect.Type

func (LoadBalancerPtrOutput) ToLoadBalancerPtrOutput

func (o LoadBalancerPtrOutput) ToLoadBalancerPtrOutput() LoadBalancerPtrOutput

func (LoadBalancerPtrOutput) ToLoadBalancerPtrOutputWithContext

func (o LoadBalancerPtrOutput) ToLoadBalancerPtrOutputWithContext(ctx context.Context) LoadBalancerPtrOutput

type LoadBalancerState

type LoadBalancerState struct {
	// The load balancing algorithm used to determine
	// which backend Droplet will be selected by a client. It must be either `roundRobin`
	// or `leastConnections`. The default value is `roundRobin`.
	Algorithm pulumi.StringPtrInput
	// 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 list of `forwardingRule` to be assigned to the
	// Load Balancer. The `forwardingRule` block is documented below.
	ForwardingRules LoadBalancerForwardingRuleArrayInput
	// A `healthcheck` block to be assigned to the
	// Load Balancer. The `healthcheck` block is documented below. Only 1 healthcheck is allowed.
	Healthcheck LoadBalancerHealthcheckPtrInput
	Ip          pulumi.StringPtrInput
	// The uniform resource name for the Load Balancer
	LoadBalancerUrn pulumi.StringPtrInput
	// The Load Balancer name
	Name 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`.
	Size   pulumi.StringPtrInput
	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
	// 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 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"`
	// 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"`
}

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 LookupCertificateArgs

type LookupCertificateArgs struct {
	// The name of certificate.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getCertificate.

type LookupCertificateResult

type LookupCertificateResult struct {
	Domains []string `pulumi:"domains"`
	// The provider-assigned unique ID for this managed resource.
	Id              string `pulumi:"id"`
	Name            string `pulumi:"name"`
	NotAfter        string `pulumi:"notAfter"`
	Sha1Fingerprint string `pulumi:"sha1Fingerprint"`
	State           string `pulumi:"state"`
	Type            string `pulumi:"type"`
	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 LookupContainerRegistryArgs

type LookupContainerRegistryArgs struct {
	// The name of the container registry.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getContainerRegistry.

type LookupContainerRegistryResult

type LookupContainerRegistryResult struct {
	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"`
	ServerUrl string `pulumi:"serverUrl"`
	// The slug identifier for the subscription tier
	// * `endpoint`: The URL endpoint of the container registry. Ex: `registry.digitalocean.com/my_registry`
	// * `serverUrl`: The domain of the container registry. Ex: `registry.digitalocean.com`
	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 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 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"`
	// 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"`
	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 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 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"`
	// 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"`
}

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 LookupDomainArgs

type LookupDomainArgs struct {
	// The name of the domain.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getDomain.

type LookupDomainResult

type LookupDomainResult struct {
	// The uniform resource name of the domain
	// * `zoneFile`: The zone file of the domain.
	DomainUrn string `pulumi:"domainUrn"`
	// The provider-assigned unique ID for this managed resource.
	Id       string `pulumi:"id"`
	Name     string `pulumi:"name"`
	Ttl      int    `pulumi:"ttl"`
	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.

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 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"`
	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 {
		opt0 := "web"
		example, err := digitalocean.LookupDroplet(ctx, &digitalocean.LookupDropletArgs{
			Name: &opt0,
		}, 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 {
		opt0 := "web"
		_, err := digitalocean.LookupDroplet(ctx, &digitalocean.LookupDropletArgs{
			Tag: &opt0,
		}, 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 {
		opt0 := digitalocean_kubernetes_cluster.Example.Node_pool[0].Nodes[0].Droplet_id
		_, err := digitalocean.LookupDroplet(ctx, &digitalocean.LookupDropletArgs{
			Id: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupDropletSnapshotArgs

type LookupDropletSnapshotArgs struct {
	// If more than one result is returned, use the most recent Droplet snapshot.
	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 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 {
		opt0 := true
		opt1 := "^web"
		opt2 := "nyc3"
		_, err := digitalocean.LookupDropletSnapshot(ctx, &digitalocean.LookupDropletSnapshotArgs{
			MostRecent: &opt0,
			NameRegex:  &opt1,
			Region:     &opt2,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

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 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 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 LookupFloatingIpResult

type LookupFloatingIpResult struct {
	DropletId     int    `pulumi:"dropletId"`
	FloatingIpUrn string `pulumi:"floatingIpUrn"`
	// The provider-assigned unique ID for this managed resource.
	Id        string `pulumi:"id"`
	IpAddress string `pulumi:"ipAddress"`
	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)

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 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 LookupKubernetesClusterResult

type LookupKubernetesClusterResult struct {
	// A boolean value indicating whether the cluster will be automatically upgraded to new patch releases during its maintenance window.
	// * `kube_config.0` - A representation of the Kubernetes cluster's kubeconfig with the following attributes:
	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"`
	// 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"`
	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 LookupLoadBalancerArgs

type LookupLoadBalancerArgs struct {
	// The name of load balancer.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getLoadBalancer.

type LookupLoadBalancerResult

type LookupLoadBalancerResult struct {
	Algorithm              string                          `pulumi:"algorithm"`
	DropletIds             []int                           `pulumi:"dropletIds"`
	DropletTag             string                          `pulumi:"dropletTag"`
	EnableBackendKeepalive bool                            `pulumi:"enableBackendKeepalive"`
	EnableProxyProtocol    bool                            `pulumi:"enableProxyProtocol"`
	ForwardingRules        []GetLoadBalancerForwardingRule `pulumi:"forwardingRules"`
	Healthchecks           []GetLoadBalancerHealthcheck    `pulumi:"healthchecks"`
	// The provider-assigned unique ID for this managed resource.
	Id                  string                         `pulumi:"id"`
	Ip                  string                         `pulumi:"ip"`
	LoadBalancerUrn     string                         `pulumi:"loadBalancerUrn"`
	Name                string                         `pulumi:"name"`
	RedirectHttpToHttps bool                           `pulumi:"redirectHttpToHttps"`
	Region              string                         `pulumi:"region"`
	Size                string                         `pulumi:"size"`
	Status              string                         `pulumi:"status"`
	StickySessions      []GetLoadBalancerStickySession `pulumi:"stickySessions"`
	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:

```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: "app",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("lbOutput", example.Ip)
		return nil
	})
}

```

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 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
		}
		opt0 := "My Staging Project"
		_, err = digitalocean.LookupProject(ctx, &digitalocean.LookupProjectArgs{
			Name: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

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 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("nyc2"),
			Size:     pulumi.String("s-1vcpu-1gb"),
			UserData: pulumi.String(bootstrapScript.Body),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupSpacesBucketResult

type LookupSpacesBucketResult struct {
	// The FQDN of the bucket (e.g. bucket-name.nyc3.digitaloceanspaces.com)
	BucketDomainName string `pulumi:"bucketDomainName"`
	// 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 LookupSshKeyArgs

type LookupSshKeyArgs struct {
	// The name of the ssh key.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getSshKey.

type LookupSshKeyResult

type LookupSshKeyResult struct {
	Fingerprint string `pulumi:"fingerprint"`
	Id          int    `pulumi:"id"`
	Name        string `pulumi:"name"`
	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.

type LookupTagArgs

type LookupTagArgs struct {
	// The name of the tag.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getTag.

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("nyc2"),
			Size:   pulumi.String("s-1vcpu-1gb"),
			Tags: pulumi.StringArray{
				pulumi.String(exampleTag.Name),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

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 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"`
	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 {
		opt0 := "nyc3"
		_, err := digitalocean.LookupVolume(ctx, &digitalocean.LookupVolumeArgs{
			Name:   "app-data",
			Region: &opt0,
		}, 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 {
		opt0 := "nyc3"
		exampleVolume, err := digitalocean.LookupVolume(ctx, &digitalocean.LookupVolumeArgs{
			Name:   "app-data",
			Region: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		exampleDroplet, err := digitalocean.NewDroplet(ctx, "exampleDroplet", &digitalocean.DropletArgs{
			Size:   pulumi.String("s-1vcpu-1gb"),
			Image:  pulumi.String("ubuntu-18-04-x64"),
			Region: pulumi.String("nyc3"),
		})
		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 LookupVolumeSnapshotArgs

type LookupVolumeSnapshotArgs struct {
	// If more than one result is returned, use the most recent volume snapshot.
	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 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 {
		opt0 := true
		opt1 := "^web"
		opt2 := "nyc3"
		_, err := digitalocean.LookupVolumeSnapshot(ctx, &digitalocean.LookupVolumeSnapshotArgs{
			MostRecent: &opt0,
			NameRegex:  &opt1,
			Region:     &opt2,
		}, 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 {
		opt0 := "^web"
		opt1 := "nyc3"
		opt2 := true
		snapshot, err := digitalocean.LookupVolumeSnapshot(ctx, &digitalocean.LookupVolumeSnapshotArgs{
			NameRegex:  &opt0,
			Region:     &opt1,
			MostRecent: &opt2,
		}, nil)
		if err != nil {
			return err
		}
		_, err = digitalocean.NewVolume(ctx, "foobar", &digitalocean.VolumeArgs{
			Region:     pulumi.String("nyc3"),
			Size:       pulumi.Int(100),
			SnapshotId: pulumi.String(snapshot.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

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 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 {
		opt0 := "example-network"
		_, err := digitalocean.LookupVpc(ctx, &digitalocean.LookupVpcArgs{
			Name: &opt0,
		}, 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 {
		opt0 := "example-network"
		exampleVpc, err := digitalocean.LookupVpc(ctx, &digitalocean.LookupVpcArgs{
			Name: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		_, err = digitalocean.NewDroplet(ctx, "exampleDroplet", &digitalocean.DropletArgs{
			Size:    pulumi.String("s-1vcpu-1gb"),
			Image:   pulumi.String("ubuntu-18-04-x64"),
			Region:  pulumi.String("nyc3"),
			VpcUuid: pulumi.String(exampleVpc.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

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"`
	IsDefault   pulumi.BoolOutput      `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:

* Database Clusters * Domains * Droplets * Floating IP * Load Balancers * Spaces Bucket * Volume

**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("512mb"),
			Image:  pulumi.String("centos-7-x64"),
			Region: pulumi.String("nyc3"),
		})
		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

func (*Project) ToProjectPtrOutput

func (i *Project) ToProjectPtrOutput() ProjectPtrOutput

func (*Project) ToProjectPtrOutputWithContext

func (i *Project) ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput

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
	// 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) ElementType

func (ProjectOutput) ElementType() reflect.Type

func (ProjectOutput) ToProjectOutput

func (o ProjectOutput) ToProjectOutput() ProjectOutput

func (ProjectOutput) ToProjectOutputWithContext

func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOutput

func (ProjectOutput) ToProjectPtrOutput

func (o ProjectOutput) ToProjectPtrOutput() ProjectPtrOutput

func (ProjectOutput) ToProjectPtrOutputWithContext

func (o ProjectOutput) ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput

type ProjectPtrInput

type ProjectPtrInput interface {
	pulumi.Input

	ToProjectPtrOutput() ProjectPtrOutput
	ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput
}

type ProjectPtrOutput

type ProjectPtrOutput struct {
	*pulumi.OutputState
}

func (ProjectPtrOutput) ElementType

func (ProjectPtrOutput) ElementType() reflect.Type

func (ProjectPtrOutput) ToProjectPtrOutput

func (o ProjectPtrOutput) ToProjectPtrOutput() ProjectPtrOutput

func (ProjectPtrOutput) ToProjectPtrOutputWithContext

func (o ProjectPtrOutput) ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput

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:

* Database Clusters * Domains * Droplets * Floating IP * Load Balancers * Spaces Bucket * Volume

## 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 {
		opt0 := "playground"
		_, err := digitalocean.LookupProject(ctx, &digitalocean.LookupProjectArgs{
			Name: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		foobar, err := digitalocean.NewDroplet(ctx, "foobar", &digitalocean.DropletArgs{
			Size:   pulumi.String("512mb"),
			Image:  pulumi.String("centos-7-x64"),
			Region: pulumi.String("nyc3"),
		})
		if err != nil {
			return err
		}
		_, err = digitalocean.NewProjectResources(ctx, "barfoo", &digitalocean.ProjectResourcesArgs{
			Project: pulumi.Any(data.Digitalocean_project.Foo.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

func (*ProjectResources) ToProjectResourcesPtrOutput

func (i *ProjectResources) ToProjectResourcesPtrOutput() ProjectResourcesPtrOutput

func (*ProjectResources) ToProjectResourcesPtrOutputWithContext

func (i *ProjectResources) ToProjectResourcesPtrOutputWithContext(ctx context.Context) ProjectResourcesPtrOutput

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

func (o ProjectResourcesOutput) ToProjectResourcesOutput() ProjectResourcesOutput

func (ProjectResourcesOutput) ToProjectResourcesOutputWithContext

func (o ProjectResourcesOutput) ToProjectResourcesOutputWithContext(ctx context.Context) ProjectResourcesOutput

func (ProjectResourcesOutput) ToProjectResourcesPtrOutput

func (o ProjectResourcesOutput) ToProjectResourcesPtrOutput() ProjectResourcesPtrOutput

func (ProjectResourcesOutput) ToProjectResourcesPtrOutputWithContext

func (o ProjectResourcesOutput) ToProjectResourcesPtrOutputWithContext(ctx context.Context) ProjectResourcesPtrOutput

type ProjectResourcesPtrInput

type ProjectResourcesPtrInput interface {
	pulumi.Input

	ToProjectResourcesPtrOutput() ProjectResourcesPtrOutput
	ToProjectResourcesPtrOutputWithContext(ctx context.Context) ProjectResourcesPtrOutput
}

type ProjectResourcesPtrOutput

type ProjectResourcesPtrOutput struct {
	*pulumi.OutputState
}

func (ProjectResourcesPtrOutput) ElementType

func (ProjectResourcesPtrOutput) ElementType() reflect.Type

func (ProjectResourcesPtrOutput) ToProjectResourcesPtrOutput

func (o ProjectResourcesPtrOutput) ToProjectResourcesPtrOutput() ProjectResourcesPtrOutput

func (ProjectResourcesPtrOutput) ToProjectResourcesPtrOutputWithContext

func (o ProjectResourcesPtrOutput) ToProjectResourcesPtrOutputWithContext(ctx context.Context) ProjectResourcesPtrOutput

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
	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 pulumi.String

func (Protocol) ElementType

func (Protocol) ElementType() reflect.Type

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

func (*Provider) ToProviderPtrOutput

func (i *Provider) ToProviderPtrOutput() ProviderPtrOutput

func (*Provider) ToProviderPtrOutputWithContext

func (i *Provider) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput

type ProviderArgs

type ProviderArgs struct {
	// The URL to use for the DigitalOcean API.
	ApiEndpoint pulumi.StringPtrInput
	// 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) ElementType

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) ToProviderOutput

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext

func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

func (ProviderOutput) ToProviderPtrOutput

func (o ProviderOutput) ToProviderPtrOutput() ProviderPtrOutput

func (ProviderOutput) ToProviderPtrOutputWithContext

func (o ProviderOutput) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput

type ProviderPtrInput

type ProviderPtrInput interface {
	pulumi.Input

	ToProviderPtrOutput() ProviderPtrOutput
	ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput
}

type ProviderPtrOutput

type ProviderPtrOutput struct {
	*pulumi.OutputState
}

func (ProviderPtrOutput) ElementType

func (ProviderPtrOutput) ElementType() reflect.Type

func (ProviderPtrOutput) ToProviderPtrOutput

func (o ProviderPtrOutput) ToProviderPtrOutput() ProviderPtrOutput

func (ProviderPtrOutput) ToProviderPtrOutputWithContext

func (o ProviderPtrOutput) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput

type RecordType

type RecordType pulumi.String

func (RecordType) ElementType

func (RecordType) ElementType() reflect.Type

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 Region

type Region pulumi.String

func (Region) ElementType

func (Region) ElementType() reflect.Type

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 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).
	CorsRules SpacesBucketCorsRuleArrayOutput `pulumi:"corsRules"`
	// 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("nyc3"),
		})
		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("nyc3"),
		})
		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

func (*SpacesBucket) ToSpacesBucketPtrOutput

func (i *SpacesBucket) ToSpacesBucketPtrOutput() SpacesBucketPtrOutput

func (*SpacesBucket) ToSpacesBucketPtrOutputWithContext

func (i *SpacesBucket) ToSpacesBucketPtrOutputWithContext(ctx context.Context) SpacesBucketPtrOutput

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

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.
	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("nyc3"),
		})
		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

func (*SpacesBucketObject) ToSpacesBucketObjectPtrOutput

func (i *SpacesBucketObject) ToSpacesBucketObjectPtrOutput() SpacesBucketObjectPtrOutput

func (*SpacesBucketObject) ToSpacesBucketObjectPtrOutputWithContext

func (i *SpacesBucketObject) ToSpacesBucketObjectPtrOutputWithContext(ctx context.Context) SpacesBucketObjectPtrOutput

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.
	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) ElementType

func (SpacesBucketObjectOutput) ElementType() reflect.Type

func (SpacesBucketObjectOutput) ToSpacesBucketObjectOutput

func (o SpacesBucketObjectOutput) ToSpacesBucketObjectOutput() SpacesBucketObjectOutput

func (SpacesBucketObjectOutput) ToSpacesBucketObjectOutputWithContext

func (o SpacesBucketObjectOutput) ToSpacesBucketObjectOutputWithContext(ctx context.Context) SpacesBucketObjectOutput

func (SpacesBucketObjectOutput) ToSpacesBucketObjectPtrOutput

func (o SpacesBucketObjectOutput) ToSpacesBucketObjectPtrOutput() SpacesBucketObjectPtrOutput

func (SpacesBucketObjectOutput) ToSpacesBucketObjectPtrOutputWithContext

func (o SpacesBucketObjectOutput) ToSpacesBucketObjectPtrOutputWithContext(ctx context.Context) SpacesBucketObjectPtrOutput

type SpacesBucketObjectPtrInput

type SpacesBucketObjectPtrInput interface {
	pulumi.Input

	ToSpacesBucketObjectPtrOutput() SpacesBucketObjectPtrOutput
	ToSpacesBucketObjectPtrOutputWithContext(ctx context.Context) SpacesBucketObjectPtrOutput
}

type SpacesBucketObjectPtrOutput

type SpacesBucketObjectPtrOutput struct {
	*pulumi.OutputState
}

func (SpacesBucketObjectPtrOutput) ElementType

func (SpacesBucketObjectPtrOutput) ToSpacesBucketObjectPtrOutput

func (o SpacesBucketObjectPtrOutput) ToSpacesBucketObjectPtrOutput() SpacesBucketObjectPtrOutput

func (SpacesBucketObjectPtrOutput) ToSpacesBucketObjectPtrOutputWithContext

func (o SpacesBucketObjectPtrOutput) ToSpacesBucketObjectPtrOutputWithContext(ctx context.Context) SpacesBucketObjectPtrOutput

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.
	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) ElementType

func (SpacesBucketOutput) ElementType() reflect.Type

func (SpacesBucketOutput) ToSpacesBucketOutput

func (o SpacesBucketOutput) ToSpacesBucketOutput() SpacesBucketOutput

func (SpacesBucketOutput) ToSpacesBucketOutputWithContext

func (o SpacesBucketOutput) ToSpacesBucketOutputWithContext(ctx context.Context) SpacesBucketOutput

func (SpacesBucketOutput) ToSpacesBucketPtrOutput

func (o SpacesBucketOutput) ToSpacesBucketPtrOutput() SpacesBucketPtrOutput

func (SpacesBucketOutput) ToSpacesBucketPtrOutputWithContext

func (o SpacesBucketOutput) ToSpacesBucketPtrOutputWithContext(ctx context.Context) SpacesBucketPtrOutput

type SpacesBucketPtrInput

type SpacesBucketPtrInput interface {
	pulumi.Input

	ToSpacesBucketPtrOutput() SpacesBucketPtrOutput
	ToSpacesBucketPtrOutputWithContext(ctx context.Context) SpacesBucketPtrOutput
}

type SpacesBucketPtrOutput

type SpacesBucketPtrOutput struct {
	*pulumi.OutputState
}

func (SpacesBucketPtrOutput) ElementType

func (SpacesBucketPtrOutput) ElementType() reflect.Type

func (SpacesBucketPtrOutput) ToSpacesBucketPtrOutput

func (o SpacesBucketPtrOutput) ToSpacesBucketPtrOutput() SpacesBucketPtrOutput

func (SpacesBucketPtrOutput) ToSpacesBucketPtrOutputWithContext

func (o SpacesBucketPtrOutput) ToSpacesBucketPtrOutputWithContext(ctx context.Context) SpacesBucketPtrOutput

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).
	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
}

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.

## 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

func (*SshKey) ToSshKeyPtrOutput

func (i *SshKey) ToSshKeyPtrOutput() SshKeyPtrOutput

func (*SshKey) ToSshKeyPtrOutputWithContext

func (i *SshKey) ToSshKeyPtrOutputWithContext(ctx context.Context) SshKeyPtrOutput

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

func (o SshKeyOutput) ToSshKeyOutput() SshKeyOutput

func (SshKeyOutput) ToSshKeyOutputWithContext

func (o SshKeyOutput) ToSshKeyOutputWithContext(ctx context.Context) SshKeyOutput

func (SshKeyOutput) ToSshKeyPtrOutput

func (o SshKeyOutput) ToSshKeyPtrOutput() SshKeyPtrOutput

func (SshKeyOutput) ToSshKeyPtrOutputWithContext

func (o SshKeyOutput) ToSshKeyPtrOutputWithContext(ctx context.Context) SshKeyPtrOutput

type SshKeyPtrInput

type SshKeyPtrInput interface {
	pulumi.Input

	ToSshKeyPtrOutput() SshKeyPtrOutput
	ToSshKeyPtrOutputWithContext(ctx context.Context) SshKeyPtrOutput
}

type SshKeyPtrOutput

type SshKeyPtrOutput struct {
	*pulumi.OutputState
}

func (SshKeyPtrOutput) ElementType

func (SshKeyPtrOutput) ElementType() reflect.Type

func (SshKeyPtrOutput) ToSshKeyPtrOutput

func (o SshKeyPtrOutput) ToSshKeyPtrOutput() SshKeyPtrOutput

func (SshKeyPtrOutput) ToSshKeyPtrOutputWithContext

func (o SshKeyPtrOutput) ToSshKeyPtrOutputWithContext(ctx context.Context) SshKeyPtrOutput

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 {
		foobar, err := digitalocean.NewTag(ctx, "foobar", nil)
		if err != nil {
			return err
		}
		_, err = digitalocean.NewDroplet(ctx, "web", &digitalocean.DropletArgs{
			Image:  pulumi.String("ubuntu-18-04-x64"),
			Region: pulumi.String("nyc3"),
			Size:   pulumi.String("s-1vcpu-1gb"),
			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

func (*Tag) ToTagPtrOutput

func (i *Tag) ToTagPtrOutput() TagPtrOutput

func (*Tag) ToTagPtrOutputWithContext

func (i *Tag) ToTagPtrOutputWithContext(ctx context.Context) TagPtrOutput

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

func (TagOutput) ElementType() reflect.Type

func (TagOutput) ToTagOutput

func (o TagOutput) ToTagOutput() TagOutput

func (TagOutput) ToTagOutputWithContext

func (o TagOutput) ToTagOutputWithContext(ctx context.Context) TagOutput

func (TagOutput) ToTagPtrOutput

func (o TagOutput) ToTagPtrOutput() TagPtrOutput

func (TagOutput) ToTagPtrOutputWithContext

func (o TagOutput) ToTagPtrOutputWithContext(ctx context.Context) TagPtrOutput

type TagPtrInput

type TagPtrInput interface {
	pulumi.Input

	ToTagPtrOutput() TagPtrOutput
	ToTagPtrOutputWithContext(ctx context.Context) TagPtrOutput
}

type TagPtrOutput

type TagPtrOutput struct {
	*pulumi.OutputState
}

func (TagPtrOutput) ElementType

func (TagPtrOutput) ElementType() reflect.Type

func (TagPtrOutput) ToTagPtrOutput

func (o TagPtrOutput) ToTagPtrOutput() TagPtrOutput

func (TagPtrOutput) ToTagPtrOutputWithContext

func (o TagPtrOutput) ToTagPtrOutputWithContext(ctx context.Context) TagPtrOutput

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 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 `initial_filesystem_type`. 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.
	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("nyc1"),
			Size:                  pulumi.Int(100),
			InitialFilesystemType: pulumi.String("ext4"),
			Description:           pulumi.String("an example volume"),
		})
		if err != nil {
			return err
		}
		foobarDroplet, err := digitalocean.NewDroplet(ctx, "foobarDroplet", &digitalocean.DropletArgs{
			Size:   pulumi.String("s-1vcpu-1gb"),
			Image:  pulumi.String("ubuntu-18-04-x64"),
			Region: pulumi.String("nyc1"),
		})
		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 {
		opt0 := "baz"
		foobarVolumeSnapshot, err := digitalocean.LookupVolumeSnapshot(ctx, &digitalocean.LookupVolumeSnapshotArgs{
			Name: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		_, err = digitalocean.NewVolume(ctx, "foobarVolume", &digitalocean.VolumeArgs{
			Region:     pulumi.String("lon1"),
			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

func (*Volume) ToVolumePtrOutput

func (i *Volume) ToVolumePtrOutput() VolumePtrOutput

func (*Volume) ToVolumePtrOutputWithContext

func (i *Volume) ToVolumePtrOutputWithContext(ctx context.Context) VolumePtrOutput

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 `initial_filesystem_type`. 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.
	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("nyc1"),
			Size:                  pulumi.Int(100),
			InitialFilesystemType: pulumi.String("ext4"),
			Description:           pulumi.String("an example volume"),
		})
		if err != nil {
			return err
		}
		foobarDroplet, err := digitalocean.NewDroplet(ctx, "foobarDroplet", &digitalocean.DropletArgs{
			Size:   pulumi.String("s-1vcpu-1gb"),
			Image:  pulumi.String("ubuntu-18-04-x64"),
			Region: pulumi.String("nyc1"),
		})
		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

func (*VolumeAttachment) ToVolumeAttachmentPtrOutput

func (i *VolumeAttachment) ToVolumeAttachmentPtrOutput() VolumeAttachmentPtrOutput

func (*VolumeAttachment) ToVolumeAttachmentPtrOutputWithContext

func (i *VolumeAttachment) ToVolumeAttachmentPtrOutputWithContext(ctx context.Context) VolumeAttachmentPtrOutput

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

func (o VolumeAttachmentOutput) ToVolumeAttachmentPtrOutput() VolumeAttachmentPtrOutput

func (VolumeAttachmentOutput) ToVolumeAttachmentPtrOutputWithContext

func (o VolumeAttachmentOutput) ToVolumeAttachmentPtrOutputWithContext(ctx context.Context) VolumeAttachmentPtrOutput

type VolumeAttachmentPtrInput

type VolumeAttachmentPtrInput interface {
	pulumi.Input

	ToVolumeAttachmentPtrOutput() VolumeAttachmentPtrOutput
	ToVolumeAttachmentPtrOutputWithContext(ctx context.Context) VolumeAttachmentPtrOutput
}

type VolumeAttachmentPtrOutput

type VolumeAttachmentPtrOutput struct {
	*pulumi.OutputState
}

func (VolumeAttachmentPtrOutput) ElementType

func (VolumeAttachmentPtrOutput) ElementType() reflect.Type

func (VolumeAttachmentPtrOutput) ToVolumeAttachmentPtrOutput

func (o VolumeAttachmentPtrOutput) ToVolumeAttachmentPtrOutput() VolumeAttachmentPtrOutput

func (VolumeAttachmentPtrOutput) ToVolumeAttachmentPtrOutputWithContext

func (o VolumeAttachmentPtrOutput) ToVolumeAttachmentPtrOutputWithContext(ctx context.Context) VolumeAttachmentPtrOutput

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

func (VolumeOutput) ElementType() reflect.Type

func (VolumeOutput) ToVolumeOutput

func (o VolumeOutput) ToVolumeOutput() VolumeOutput

func (VolumeOutput) ToVolumeOutputWithContext

func (o VolumeOutput) ToVolumeOutputWithContext(ctx context.Context) VolumeOutput

func (VolumeOutput) ToVolumePtrOutput

func (o VolumeOutput) ToVolumePtrOutput() VolumePtrOutput

func (VolumeOutput) ToVolumePtrOutputWithContext

func (o VolumeOutput) ToVolumePtrOutputWithContext(ctx context.Context) VolumePtrOutput

type VolumePtrInput

type VolumePtrInput interface {
	pulumi.Input

	ToVolumePtrOutput() VolumePtrOutput
	ToVolumePtrOutputWithContext(ctx context.Context) VolumePtrOutput
}

type VolumePtrOutput

type VolumePtrOutput struct {
	*pulumi.OutputState
}

func (VolumePtrOutput) ElementType

func (VolumePtrOutput) ElementType() reflect.Type

func (VolumePtrOutput) ToVolumePtrOutput

func (o VolumePtrOutput) ToVolumePtrOutput() VolumePtrOutput

func (VolumePtrOutput) ToVolumePtrOutputWithContext

func (o VolumePtrOutput) ToVolumePtrOutputWithContext(ctx context.Context) VolumePtrOutput

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("nyc1"),
			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

func (*VolumeSnapshot) ToVolumeSnapshotPtrOutput

func (i *VolumeSnapshot) ToVolumeSnapshotPtrOutput() VolumeSnapshotPtrOutput

func (*VolumeSnapshot) ToVolumeSnapshotPtrOutputWithContext

func (i *VolumeSnapshot) ToVolumeSnapshotPtrOutputWithContext(ctx context.Context) VolumeSnapshotPtrOutput

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

func (VolumeSnapshotOutput) ElementType() reflect.Type

func (VolumeSnapshotOutput) ToVolumeSnapshotOutput

func (o VolumeSnapshotOutput) ToVolumeSnapshotOutput() VolumeSnapshotOutput

func (VolumeSnapshotOutput) ToVolumeSnapshotOutputWithContext

func (o VolumeSnapshotOutput) ToVolumeSnapshotOutputWithContext(ctx context.Context) VolumeSnapshotOutput

func (VolumeSnapshotOutput) ToVolumeSnapshotPtrOutput

func (o VolumeSnapshotOutput) ToVolumeSnapshotPtrOutput() VolumeSnapshotPtrOutput

func (VolumeSnapshotOutput) ToVolumeSnapshotPtrOutputWithContext

func (o VolumeSnapshotOutput) ToVolumeSnapshotPtrOutputWithContext(ctx context.Context) VolumeSnapshotPtrOutput

type VolumeSnapshotPtrInput

type VolumeSnapshotPtrInput interface {
	pulumi.Input

	ToVolumeSnapshotPtrOutput() VolumeSnapshotPtrOutput
	ToVolumeSnapshotPtrOutputWithContext(ctx context.Context) VolumeSnapshotPtrOutput
}

type VolumeSnapshotPtrOutput

type VolumeSnapshotPtrOutput struct {
	*pulumi.OutputState
}

func (VolumeSnapshotPtrOutput) ElementType

func (VolumeSnapshotPtrOutput) ElementType() reflect.Type

func (VolumeSnapshotPtrOutput) ToVolumeSnapshotPtrOutput

func (o VolumeSnapshotPtrOutput) ToVolumeSnapshotPtrOutput() VolumeSnapshotPtrOutput

func (VolumeSnapshotPtrOutput) ToVolumeSnapshotPtrOutputWithContext

func (o VolumeSnapshotPtrOutput) ToVolumeSnapshotPtrOutputWithContext(ctx context.Context) VolumeSnapshotPtrOutput

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 `initial_filesystem_type`. 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.
	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("s-1vcpu-1gb"),
			Image:   pulumi.String("ubuntu-18-04-x64"),
			Region:  pulumi.String("nyc3"),
			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

func (*Vpc) ToVpcPtrOutput

func (i *Vpc) ToVpcPtrOutput() VpcPtrOutput

func (*Vpc) ToVpcPtrOutputWithContext

func (i *Vpc) ToVpcPtrOutputWithContext(ctx context.Context) VpcPtrOutput

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

func (VpcOutput) ElementType() reflect.Type

func (VpcOutput) ToVpcOutput

func (o VpcOutput) ToVpcOutput() VpcOutput

func (VpcOutput) ToVpcOutputWithContext

func (o VpcOutput) ToVpcOutputWithContext(ctx context.Context) VpcOutput

func (VpcOutput) ToVpcPtrOutput

func (o VpcOutput) ToVpcPtrOutput() VpcPtrOutput

func (VpcOutput) ToVpcPtrOutputWithContext

func (o VpcOutput) ToVpcPtrOutputWithContext(ctx context.Context) VpcPtrOutput

type VpcPtrInput

type VpcPtrInput interface {
	pulumi.Input

	ToVpcPtrOutput() VpcPtrOutput
	ToVpcPtrOutputWithContext(ctx context.Context) VpcPtrOutput
}

type VpcPtrOutput

type VpcPtrOutput struct {
	*pulumi.OutputState
}

func (VpcPtrOutput) ElementType

func (VpcPtrOutput) ElementType() reflect.Type

func (VpcPtrOutput) ToVpcPtrOutput

func (o VpcPtrOutput) ToVpcPtrOutput() VpcPtrOutput

func (VpcPtrOutput) ToVpcPtrOutputWithContext

func (o VpcPtrOutput) ToVpcPtrOutputWithContext(ctx context.Context) VpcPtrOutput

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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