Documentation ¶
Overview ¶
A Pulumi package for creating and managing Digital Ocean cloud resources.
Index ¶
- type App
- type AppArgs
- type AppSpec
- type AppSpecArgs
- func (AppSpecArgs) ElementType() reflect.Type
- func (i AppSpecArgs) ToAppSpecOutput() AppSpecOutput
- func (i AppSpecArgs) ToAppSpecOutputWithContext(ctx context.Context) AppSpecOutput
- func (i AppSpecArgs) ToAppSpecPtrOutput() AppSpecPtrOutput
- func (i AppSpecArgs) ToAppSpecPtrOutputWithContext(ctx context.Context) AppSpecPtrOutput
- type AppSpecDatabase
- type AppSpecDatabaseArgs
- type AppSpecDatabaseArray
- type AppSpecDatabaseArrayInput
- type AppSpecDatabaseArrayOutput
- func (AppSpecDatabaseArrayOutput) ElementType() reflect.Type
- func (o AppSpecDatabaseArrayOutput) Index(i pulumi.IntInput) AppSpecDatabaseOutput
- func (o AppSpecDatabaseArrayOutput) ToAppSpecDatabaseArrayOutput() AppSpecDatabaseArrayOutput
- func (o AppSpecDatabaseArrayOutput) ToAppSpecDatabaseArrayOutputWithContext(ctx context.Context) AppSpecDatabaseArrayOutput
- type AppSpecDatabaseInput
- type AppSpecDatabaseOutput
- func (o AppSpecDatabaseOutput) ClusterName() pulumi.StringPtrOutput
- func (o AppSpecDatabaseOutput) DbName() pulumi.StringPtrOutput
- func (o AppSpecDatabaseOutput) DbUser() pulumi.StringPtrOutput
- func (AppSpecDatabaseOutput) ElementType() reflect.Type
- func (o AppSpecDatabaseOutput) Engine() pulumi.StringPtrOutput
- func (o AppSpecDatabaseOutput) Name() pulumi.StringPtrOutput
- func (o AppSpecDatabaseOutput) Production() pulumi.BoolPtrOutput
- func (o AppSpecDatabaseOutput) ToAppSpecDatabaseOutput() AppSpecDatabaseOutput
- func (o AppSpecDatabaseOutput) ToAppSpecDatabaseOutputWithContext(ctx context.Context) AppSpecDatabaseOutput
- func (o AppSpecDatabaseOutput) Version() pulumi.StringPtrOutput
- type AppSpecInput
- type AppSpecOutput
- func (o AppSpecOutput) Databases() AppSpecDatabaseArrayOutput
- func (o AppSpecOutput) Domains() pulumi.StringArrayOutput
- func (AppSpecOutput) ElementType() reflect.Type
- func (o AppSpecOutput) Name() pulumi.StringOutput
- func (o AppSpecOutput) Region() pulumi.StringPtrOutput
- func (o AppSpecOutput) Services() AppSpecServiceArrayOutput
- func (o AppSpecOutput) StaticSites() AppSpecStaticSiteArrayOutput
- func (o AppSpecOutput) ToAppSpecOutput() AppSpecOutput
- func (o AppSpecOutput) ToAppSpecOutputWithContext(ctx context.Context) AppSpecOutput
- func (o AppSpecOutput) ToAppSpecPtrOutput() AppSpecPtrOutput
- func (o AppSpecOutput) ToAppSpecPtrOutputWithContext(ctx context.Context) AppSpecPtrOutput
- func (o AppSpecOutput) Workers() AppSpecWorkerArrayOutput
- type AppSpecPtrInput
- type AppSpecPtrOutput
- func (o AppSpecPtrOutput) Databases() AppSpecDatabaseArrayOutput
- func (o AppSpecPtrOutput) Domains() pulumi.StringArrayOutput
- func (o AppSpecPtrOutput) Elem() AppSpecOutput
- func (AppSpecPtrOutput) ElementType() reflect.Type
- func (o AppSpecPtrOutput) Name() pulumi.StringPtrOutput
- func (o AppSpecPtrOutput) Region() pulumi.StringPtrOutput
- func (o AppSpecPtrOutput) Services() AppSpecServiceArrayOutput
- func (o AppSpecPtrOutput) StaticSites() AppSpecStaticSiteArrayOutput
- func (o AppSpecPtrOutput) ToAppSpecPtrOutput() AppSpecPtrOutput
- func (o AppSpecPtrOutput) ToAppSpecPtrOutputWithContext(ctx context.Context) AppSpecPtrOutput
- func (o AppSpecPtrOutput) Workers() AppSpecWorkerArrayOutput
- type AppSpecService
- type AppSpecServiceArgs
- type AppSpecServiceArray
- type AppSpecServiceArrayInput
- type AppSpecServiceArrayOutput
- func (AppSpecServiceArrayOutput) ElementType() reflect.Type
- func (o AppSpecServiceArrayOutput) Index(i pulumi.IntInput) AppSpecServiceOutput
- func (o AppSpecServiceArrayOutput) ToAppSpecServiceArrayOutput() AppSpecServiceArrayOutput
- func (o AppSpecServiceArrayOutput) ToAppSpecServiceArrayOutputWithContext(ctx context.Context) AppSpecServiceArrayOutput
- type AppSpecServiceEnv
- type AppSpecServiceEnvArgs
- type AppSpecServiceEnvArray
- type AppSpecServiceEnvArrayInput
- type AppSpecServiceEnvArrayOutput
- func (AppSpecServiceEnvArrayOutput) ElementType() reflect.Type
- func (o AppSpecServiceEnvArrayOutput) Index(i pulumi.IntInput) AppSpecServiceEnvOutput
- func (o AppSpecServiceEnvArrayOutput) ToAppSpecServiceEnvArrayOutput() AppSpecServiceEnvArrayOutput
- func (o AppSpecServiceEnvArrayOutput) ToAppSpecServiceEnvArrayOutputWithContext(ctx context.Context) AppSpecServiceEnvArrayOutput
- type AppSpecServiceEnvInput
- type AppSpecServiceEnvOutput
- func (AppSpecServiceEnvOutput) ElementType() reflect.Type
- func (o AppSpecServiceEnvOutput) Key() pulumi.StringPtrOutput
- func (o AppSpecServiceEnvOutput) Scope() pulumi.StringPtrOutput
- func (o AppSpecServiceEnvOutput) ToAppSpecServiceEnvOutput() AppSpecServiceEnvOutput
- func (o AppSpecServiceEnvOutput) ToAppSpecServiceEnvOutputWithContext(ctx context.Context) AppSpecServiceEnvOutput
- func (o AppSpecServiceEnvOutput) Type() pulumi.StringPtrOutput
- func (o AppSpecServiceEnvOutput) Value() pulumi.StringPtrOutput
- type AppSpecServiceGit
- type AppSpecServiceGitArgs
- func (AppSpecServiceGitArgs) ElementType() reflect.Type
- func (i AppSpecServiceGitArgs) ToAppSpecServiceGitOutput() AppSpecServiceGitOutput
- func (i AppSpecServiceGitArgs) ToAppSpecServiceGitOutputWithContext(ctx context.Context) AppSpecServiceGitOutput
- func (i AppSpecServiceGitArgs) ToAppSpecServiceGitPtrOutput() AppSpecServiceGitPtrOutput
- func (i AppSpecServiceGitArgs) ToAppSpecServiceGitPtrOutputWithContext(ctx context.Context) AppSpecServiceGitPtrOutput
- type AppSpecServiceGitInput
- type AppSpecServiceGitOutput
- func (o AppSpecServiceGitOutput) Branch() pulumi.StringPtrOutput
- func (AppSpecServiceGitOutput) ElementType() reflect.Type
- func (o AppSpecServiceGitOutput) RepoCloneUrl() pulumi.StringPtrOutput
- func (o AppSpecServiceGitOutput) ToAppSpecServiceGitOutput() AppSpecServiceGitOutput
- func (o AppSpecServiceGitOutput) ToAppSpecServiceGitOutputWithContext(ctx context.Context) AppSpecServiceGitOutput
- func (o AppSpecServiceGitOutput) ToAppSpecServiceGitPtrOutput() AppSpecServiceGitPtrOutput
- func (o AppSpecServiceGitOutput) ToAppSpecServiceGitPtrOutputWithContext(ctx context.Context) AppSpecServiceGitPtrOutput
- type AppSpecServiceGitPtrInput
- type AppSpecServiceGitPtrOutput
- func (o AppSpecServiceGitPtrOutput) Branch() pulumi.StringPtrOutput
- func (o AppSpecServiceGitPtrOutput) Elem() AppSpecServiceGitOutput
- func (AppSpecServiceGitPtrOutput) ElementType() reflect.Type
- func (o AppSpecServiceGitPtrOutput) RepoCloneUrl() pulumi.StringPtrOutput
- func (o AppSpecServiceGitPtrOutput) ToAppSpecServiceGitPtrOutput() AppSpecServiceGitPtrOutput
- func (o AppSpecServiceGitPtrOutput) ToAppSpecServiceGitPtrOutputWithContext(ctx context.Context) AppSpecServiceGitPtrOutput
- type AppSpecServiceGithub
- type AppSpecServiceGithubArgs
- func (AppSpecServiceGithubArgs) ElementType() reflect.Type
- func (i AppSpecServiceGithubArgs) ToAppSpecServiceGithubOutput() AppSpecServiceGithubOutput
- func (i AppSpecServiceGithubArgs) ToAppSpecServiceGithubOutputWithContext(ctx context.Context) AppSpecServiceGithubOutput
- func (i AppSpecServiceGithubArgs) ToAppSpecServiceGithubPtrOutput() AppSpecServiceGithubPtrOutput
- func (i AppSpecServiceGithubArgs) ToAppSpecServiceGithubPtrOutputWithContext(ctx context.Context) AppSpecServiceGithubPtrOutput
- type AppSpecServiceGithubInput
- type AppSpecServiceGithubOutput
- func (o AppSpecServiceGithubOutput) Branch() pulumi.StringPtrOutput
- func (o AppSpecServiceGithubOutput) DeployOnPush() pulumi.BoolPtrOutput
- func (AppSpecServiceGithubOutput) ElementType() reflect.Type
- func (o AppSpecServiceGithubOutput) Repo() pulumi.StringPtrOutput
- func (o AppSpecServiceGithubOutput) ToAppSpecServiceGithubOutput() AppSpecServiceGithubOutput
- func (o AppSpecServiceGithubOutput) ToAppSpecServiceGithubOutputWithContext(ctx context.Context) AppSpecServiceGithubOutput
- func (o AppSpecServiceGithubOutput) ToAppSpecServiceGithubPtrOutput() AppSpecServiceGithubPtrOutput
- func (o AppSpecServiceGithubOutput) ToAppSpecServiceGithubPtrOutputWithContext(ctx context.Context) AppSpecServiceGithubPtrOutput
- type AppSpecServiceGithubPtrInput
- type AppSpecServiceGithubPtrOutput
- func (o AppSpecServiceGithubPtrOutput) Branch() pulumi.StringPtrOutput
- func (o AppSpecServiceGithubPtrOutput) DeployOnPush() pulumi.BoolPtrOutput
- func (o AppSpecServiceGithubPtrOutput) Elem() AppSpecServiceGithubOutput
- func (AppSpecServiceGithubPtrOutput) ElementType() reflect.Type
- func (o AppSpecServiceGithubPtrOutput) Repo() pulumi.StringPtrOutput
- func (o AppSpecServiceGithubPtrOutput) ToAppSpecServiceGithubPtrOutput() AppSpecServiceGithubPtrOutput
- func (o AppSpecServiceGithubPtrOutput) ToAppSpecServiceGithubPtrOutputWithContext(ctx context.Context) AppSpecServiceGithubPtrOutput
- type AppSpecServiceHealthCheck
- type AppSpecServiceHealthCheckArgs
- func (AppSpecServiceHealthCheckArgs) ElementType() reflect.Type
- func (i AppSpecServiceHealthCheckArgs) ToAppSpecServiceHealthCheckOutput() AppSpecServiceHealthCheckOutput
- func (i AppSpecServiceHealthCheckArgs) ToAppSpecServiceHealthCheckOutputWithContext(ctx context.Context) AppSpecServiceHealthCheckOutput
- func (i AppSpecServiceHealthCheckArgs) ToAppSpecServiceHealthCheckPtrOutput() AppSpecServiceHealthCheckPtrOutput
- func (i AppSpecServiceHealthCheckArgs) ToAppSpecServiceHealthCheckPtrOutputWithContext(ctx context.Context) AppSpecServiceHealthCheckPtrOutput
- type AppSpecServiceHealthCheckInput
- type AppSpecServiceHealthCheckOutput
- func (AppSpecServiceHealthCheckOutput) ElementType() reflect.Type
- func (o AppSpecServiceHealthCheckOutput) FailureThreshold() pulumi.IntPtrOutput
- func (o AppSpecServiceHealthCheckOutput) HttpPath() pulumi.StringPtrOutput
- func (o AppSpecServiceHealthCheckOutput) InitialDelaySeconds() pulumi.IntPtrOutput
- func (o AppSpecServiceHealthCheckOutput) PeriodSeconds() pulumi.IntPtrOutput
- func (o AppSpecServiceHealthCheckOutput) SuccessThreshold() pulumi.IntPtrOutput
- func (o AppSpecServiceHealthCheckOutput) TimeoutSeconds() pulumi.IntPtrOutput
- func (o AppSpecServiceHealthCheckOutput) ToAppSpecServiceHealthCheckOutput() AppSpecServiceHealthCheckOutput
- func (o AppSpecServiceHealthCheckOutput) ToAppSpecServiceHealthCheckOutputWithContext(ctx context.Context) AppSpecServiceHealthCheckOutput
- func (o AppSpecServiceHealthCheckOutput) ToAppSpecServiceHealthCheckPtrOutput() AppSpecServiceHealthCheckPtrOutput
- func (o AppSpecServiceHealthCheckOutput) ToAppSpecServiceHealthCheckPtrOutputWithContext(ctx context.Context) AppSpecServiceHealthCheckPtrOutput
- type AppSpecServiceHealthCheckPtrInput
- type AppSpecServiceHealthCheckPtrOutput
- func (o AppSpecServiceHealthCheckPtrOutput) Elem() AppSpecServiceHealthCheckOutput
- func (AppSpecServiceHealthCheckPtrOutput) ElementType() reflect.Type
- func (o AppSpecServiceHealthCheckPtrOutput) FailureThreshold() pulumi.IntPtrOutput
- func (o AppSpecServiceHealthCheckPtrOutput) HttpPath() pulumi.StringPtrOutput
- func (o AppSpecServiceHealthCheckPtrOutput) InitialDelaySeconds() pulumi.IntPtrOutput
- func (o AppSpecServiceHealthCheckPtrOutput) PeriodSeconds() pulumi.IntPtrOutput
- func (o AppSpecServiceHealthCheckPtrOutput) SuccessThreshold() pulumi.IntPtrOutput
- func (o AppSpecServiceHealthCheckPtrOutput) TimeoutSeconds() pulumi.IntPtrOutput
- func (o AppSpecServiceHealthCheckPtrOutput) ToAppSpecServiceHealthCheckPtrOutput() AppSpecServiceHealthCheckPtrOutput
- func (o AppSpecServiceHealthCheckPtrOutput) ToAppSpecServiceHealthCheckPtrOutputWithContext(ctx context.Context) AppSpecServiceHealthCheckPtrOutput
- type AppSpecServiceInput
- type AppSpecServiceOutput
- func (o AppSpecServiceOutput) BuildCommand() pulumi.StringPtrOutput
- func (o AppSpecServiceOutput) DockerfilePath() pulumi.StringPtrOutput
- func (AppSpecServiceOutput) ElementType() reflect.Type
- func (o AppSpecServiceOutput) EnvironmentSlug() pulumi.StringPtrOutput
- func (o AppSpecServiceOutput) Envs() AppSpecServiceEnvArrayOutput
- func (o AppSpecServiceOutput) Git() AppSpecServiceGitPtrOutput
- func (o AppSpecServiceOutput) Github() AppSpecServiceGithubPtrOutput
- func (o AppSpecServiceOutput) HealthCheck() AppSpecServiceHealthCheckPtrOutput
- func (o AppSpecServiceOutput) HttpPort() pulumi.IntPtrOutput
- func (o AppSpecServiceOutput) InstanceCount() pulumi.IntPtrOutput
- func (o AppSpecServiceOutput) InstanceSizeSlug() pulumi.StringPtrOutput
- func (o AppSpecServiceOutput) Name() pulumi.StringOutput
- func (o AppSpecServiceOutput) Routes() AppSpecServiceRoutesPtrOutput
- func (o AppSpecServiceOutput) RunCommand() pulumi.StringPtrOutput
- func (o AppSpecServiceOutput) SourceDir() pulumi.StringPtrOutput
- func (o AppSpecServiceOutput) ToAppSpecServiceOutput() AppSpecServiceOutput
- func (o AppSpecServiceOutput) ToAppSpecServiceOutputWithContext(ctx context.Context) AppSpecServiceOutput
- type AppSpecServiceRoutes
- type AppSpecServiceRoutesArgs
- func (AppSpecServiceRoutesArgs) ElementType() reflect.Type
- func (i AppSpecServiceRoutesArgs) ToAppSpecServiceRoutesOutput() AppSpecServiceRoutesOutput
- func (i AppSpecServiceRoutesArgs) ToAppSpecServiceRoutesOutputWithContext(ctx context.Context) AppSpecServiceRoutesOutput
- func (i AppSpecServiceRoutesArgs) ToAppSpecServiceRoutesPtrOutput() AppSpecServiceRoutesPtrOutput
- func (i AppSpecServiceRoutesArgs) ToAppSpecServiceRoutesPtrOutputWithContext(ctx context.Context) AppSpecServiceRoutesPtrOutput
- type AppSpecServiceRoutesInput
- type AppSpecServiceRoutesOutput
- func (AppSpecServiceRoutesOutput) ElementType() reflect.Type
- func (o AppSpecServiceRoutesOutput) Path() pulumi.StringPtrOutput
- func (o AppSpecServiceRoutesOutput) ToAppSpecServiceRoutesOutput() AppSpecServiceRoutesOutput
- func (o AppSpecServiceRoutesOutput) ToAppSpecServiceRoutesOutputWithContext(ctx context.Context) AppSpecServiceRoutesOutput
- func (o AppSpecServiceRoutesOutput) ToAppSpecServiceRoutesPtrOutput() AppSpecServiceRoutesPtrOutput
- func (o AppSpecServiceRoutesOutput) ToAppSpecServiceRoutesPtrOutputWithContext(ctx context.Context) AppSpecServiceRoutesPtrOutput
- type AppSpecServiceRoutesPtrInput
- type AppSpecServiceRoutesPtrOutput
- func (o AppSpecServiceRoutesPtrOutput) Elem() AppSpecServiceRoutesOutput
- func (AppSpecServiceRoutesPtrOutput) ElementType() reflect.Type
- func (o AppSpecServiceRoutesPtrOutput) Path() pulumi.StringPtrOutput
- func (o AppSpecServiceRoutesPtrOutput) ToAppSpecServiceRoutesPtrOutput() AppSpecServiceRoutesPtrOutput
- func (o AppSpecServiceRoutesPtrOutput) ToAppSpecServiceRoutesPtrOutputWithContext(ctx context.Context) AppSpecServiceRoutesPtrOutput
- type AppSpecStaticSite
- type AppSpecStaticSiteArgs
- type AppSpecStaticSiteArray
- type AppSpecStaticSiteArrayInput
- type AppSpecStaticSiteArrayOutput
- func (AppSpecStaticSiteArrayOutput) ElementType() reflect.Type
- func (o AppSpecStaticSiteArrayOutput) Index(i pulumi.IntInput) AppSpecStaticSiteOutput
- func (o AppSpecStaticSiteArrayOutput) ToAppSpecStaticSiteArrayOutput() AppSpecStaticSiteArrayOutput
- func (o AppSpecStaticSiteArrayOutput) ToAppSpecStaticSiteArrayOutputWithContext(ctx context.Context) AppSpecStaticSiteArrayOutput
- type AppSpecStaticSiteEnv
- type AppSpecStaticSiteEnvArgs
- type AppSpecStaticSiteEnvArray
- type AppSpecStaticSiteEnvArrayInput
- type AppSpecStaticSiteEnvArrayOutput
- func (AppSpecStaticSiteEnvArrayOutput) ElementType() reflect.Type
- func (o AppSpecStaticSiteEnvArrayOutput) Index(i pulumi.IntInput) AppSpecStaticSiteEnvOutput
- func (o AppSpecStaticSiteEnvArrayOutput) ToAppSpecStaticSiteEnvArrayOutput() AppSpecStaticSiteEnvArrayOutput
- func (o AppSpecStaticSiteEnvArrayOutput) ToAppSpecStaticSiteEnvArrayOutputWithContext(ctx context.Context) AppSpecStaticSiteEnvArrayOutput
- type AppSpecStaticSiteEnvInput
- type AppSpecStaticSiteEnvOutput
- func (AppSpecStaticSiteEnvOutput) ElementType() reflect.Type
- func (o AppSpecStaticSiteEnvOutput) Key() pulumi.StringPtrOutput
- func (o AppSpecStaticSiteEnvOutput) Scope() pulumi.StringPtrOutput
- func (o AppSpecStaticSiteEnvOutput) ToAppSpecStaticSiteEnvOutput() AppSpecStaticSiteEnvOutput
- func (o AppSpecStaticSiteEnvOutput) ToAppSpecStaticSiteEnvOutputWithContext(ctx context.Context) AppSpecStaticSiteEnvOutput
- func (o AppSpecStaticSiteEnvOutput) Type() pulumi.StringPtrOutput
- func (o AppSpecStaticSiteEnvOutput) Value() pulumi.StringPtrOutput
- type AppSpecStaticSiteGit
- type AppSpecStaticSiteGitArgs
- func (AppSpecStaticSiteGitArgs) ElementType() reflect.Type
- func (i AppSpecStaticSiteGitArgs) ToAppSpecStaticSiteGitOutput() AppSpecStaticSiteGitOutput
- func (i AppSpecStaticSiteGitArgs) ToAppSpecStaticSiteGitOutputWithContext(ctx context.Context) AppSpecStaticSiteGitOutput
- func (i AppSpecStaticSiteGitArgs) ToAppSpecStaticSiteGitPtrOutput() AppSpecStaticSiteGitPtrOutput
- func (i AppSpecStaticSiteGitArgs) ToAppSpecStaticSiteGitPtrOutputWithContext(ctx context.Context) AppSpecStaticSiteGitPtrOutput
- type AppSpecStaticSiteGitInput
- type AppSpecStaticSiteGitOutput
- func (o AppSpecStaticSiteGitOutput) Branch() pulumi.StringPtrOutput
- func (AppSpecStaticSiteGitOutput) ElementType() reflect.Type
- func (o AppSpecStaticSiteGitOutput) RepoCloneUrl() pulumi.StringPtrOutput
- func (o AppSpecStaticSiteGitOutput) ToAppSpecStaticSiteGitOutput() AppSpecStaticSiteGitOutput
- func (o AppSpecStaticSiteGitOutput) ToAppSpecStaticSiteGitOutputWithContext(ctx context.Context) AppSpecStaticSiteGitOutput
- func (o AppSpecStaticSiteGitOutput) ToAppSpecStaticSiteGitPtrOutput() AppSpecStaticSiteGitPtrOutput
- func (o AppSpecStaticSiteGitOutput) ToAppSpecStaticSiteGitPtrOutputWithContext(ctx context.Context) AppSpecStaticSiteGitPtrOutput
- type AppSpecStaticSiteGitPtrInput
- type AppSpecStaticSiteGitPtrOutput
- func (o AppSpecStaticSiteGitPtrOutput) Branch() pulumi.StringPtrOutput
- func (o AppSpecStaticSiteGitPtrOutput) Elem() AppSpecStaticSiteGitOutput
- func (AppSpecStaticSiteGitPtrOutput) ElementType() reflect.Type
- func (o AppSpecStaticSiteGitPtrOutput) RepoCloneUrl() pulumi.StringPtrOutput
- func (o AppSpecStaticSiteGitPtrOutput) ToAppSpecStaticSiteGitPtrOutput() AppSpecStaticSiteGitPtrOutput
- func (o AppSpecStaticSiteGitPtrOutput) ToAppSpecStaticSiteGitPtrOutputWithContext(ctx context.Context) AppSpecStaticSiteGitPtrOutput
- type AppSpecStaticSiteGithub
- type AppSpecStaticSiteGithubArgs
- func (AppSpecStaticSiteGithubArgs) ElementType() reflect.Type
- func (i AppSpecStaticSiteGithubArgs) ToAppSpecStaticSiteGithubOutput() AppSpecStaticSiteGithubOutput
- func (i AppSpecStaticSiteGithubArgs) ToAppSpecStaticSiteGithubOutputWithContext(ctx context.Context) AppSpecStaticSiteGithubOutput
- func (i AppSpecStaticSiteGithubArgs) ToAppSpecStaticSiteGithubPtrOutput() AppSpecStaticSiteGithubPtrOutput
- func (i AppSpecStaticSiteGithubArgs) ToAppSpecStaticSiteGithubPtrOutputWithContext(ctx context.Context) AppSpecStaticSiteGithubPtrOutput
- type AppSpecStaticSiteGithubInput
- type AppSpecStaticSiteGithubOutput
- func (o AppSpecStaticSiteGithubOutput) Branch() pulumi.StringPtrOutput
- func (o AppSpecStaticSiteGithubOutput) DeployOnPush() pulumi.BoolPtrOutput
- func (AppSpecStaticSiteGithubOutput) ElementType() reflect.Type
- func (o AppSpecStaticSiteGithubOutput) Repo() pulumi.StringPtrOutput
- func (o AppSpecStaticSiteGithubOutput) ToAppSpecStaticSiteGithubOutput() AppSpecStaticSiteGithubOutput
- func (o AppSpecStaticSiteGithubOutput) ToAppSpecStaticSiteGithubOutputWithContext(ctx context.Context) AppSpecStaticSiteGithubOutput
- func (o AppSpecStaticSiteGithubOutput) ToAppSpecStaticSiteGithubPtrOutput() AppSpecStaticSiteGithubPtrOutput
- func (o AppSpecStaticSiteGithubOutput) ToAppSpecStaticSiteGithubPtrOutputWithContext(ctx context.Context) AppSpecStaticSiteGithubPtrOutput
- type AppSpecStaticSiteGithubPtrInput
- type AppSpecStaticSiteGithubPtrOutput
- func (o AppSpecStaticSiteGithubPtrOutput) Branch() pulumi.StringPtrOutput
- func (o AppSpecStaticSiteGithubPtrOutput) DeployOnPush() pulumi.BoolPtrOutput
- func (o AppSpecStaticSiteGithubPtrOutput) Elem() AppSpecStaticSiteGithubOutput
- func (AppSpecStaticSiteGithubPtrOutput) ElementType() reflect.Type
- func (o AppSpecStaticSiteGithubPtrOutput) Repo() pulumi.StringPtrOutput
- func (o AppSpecStaticSiteGithubPtrOutput) ToAppSpecStaticSiteGithubPtrOutput() AppSpecStaticSiteGithubPtrOutput
- func (o AppSpecStaticSiteGithubPtrOutput) ToAppSpecStaticSiteGithubPtrOutputWithContext(ctx context.Context) AppSpecStaticSiteGithubPtrOutput
- type AppSpecStaticSiteInput
- type AppSpecStaticSiteOutput
- func (o AppSpecStaticSiteOutput) BuildCommand() pulumi.StringPtrOutput
- func (o AppSpecStaticSiteOutput) DockerfilePath() pulumi.StringPtrOutput
- func (AppSpecStaticSiteOutput) ElementType() reflect.Type
- func (o AppSpecStaticSiteOutput) EnvironmentSlug() pulumi.StringPtrOutput
- func (o AppSpecStaticSiteOutput) Envs() AppSpecStaticSiteEnvArrayOutput
- func (o AppSpecStaticSiteOutput) ErrorDocument() pulumi.StringPtrOutput
- func (o AppSpecStaticSiteOutput) Git() AppSpecStaticSiteGitPtrOutput
- func (o AppSpecStaticSiteOutput) Github() AppSpecStaticSiteGithubPtrOutput
- func (o AppSpecStaticSiteOutput) IndexDocument() pulumi.StringPtrOutput
- func (o AppSpecStaticSiteOutput) Name() pulumi.StringOutput
- func (o AppSpecStaticSiteOutput) OutputDir() pulumi.StringPtrOutput
- func (o AppSpecStaticSiteOutput) Routes() AppSpecStaticSiteRoutesPtrOutput
- func (o AppSpecStaticSiteOutput) SourceDir() pulumi.StringPtrOutput
- func (o AppSpecStaticSiteOutput) ToAppSpecStaticSiteOutput() AppSpecStaticSiteOutput
- func (o AppSpecStaticSiteOutput) ToAppSpecStaticSiteOutputWithContext(ctx context.Context) AppSpecStaticSiteOutput
- type AppSpecStaticSiteRoutes
- type AppSpecStaticSiteRoutesArgs
- func (AppSpecStaticSiteRoutesArgs) ElementType() reflect.Type
- func (i AppSpecStaticSiteRoutesArgs) ToAppSpecStaticSiteRoutesOutput() AppSpecStaticSiteRoutesOutput
- func (i AppSpecStaticSiteRoutesArgs) ToAppSpecStaticSiteRoutesOutputWithContext(ctx context.Context) AppSpecStaticSiteRoutesOutput
- func (i AppSpecStaticSiteRoutesArgs) ToAppSpecStaticSiteRoutesPtrOutput() AppSpecStaticSiteRoutesPtrOutput
- func (i AppSpecStaticSiteRoutesArgs) ToAppSpecStaticSiteRoutesPtrOutputWithContext(ctx context.Context) AppSpecStaticSiteRoutesPtrOutput
- type AppSpecStaticSiteRoutesInput
- type AppSpecStaticSiteRoutesOutput
- func (AppSpecStaticSiteRoutesOutput) ElementType() reflect.Type
- func (o AppSpecStaticSiteRoutesOutput) Path() pulumi.StringPtrOutput
- func (o AppSpecStaticSiteRoutesOutput) ToAppSpecStaticSiteRoutesOutput() AppSpecStaticSiteRoutesOutput
- func (o AppSpecStaticSiteRoutesOutput) ToAppSpecStaticSiteRoutesOutputWithContext(ctx context.Context) AppSpecStaticSiteRoutesOutput
- func (o AppSpecStaticSiteRoutesOutput) ToAppSpecStaticSiteRoutesPtrOutput() AppSpecStaticSiteRoutesPtrOutput
- func (o AppSpecStaticSiteRoutesOutput) ToAppSpecStaticSiteRoutesPtrOutputWithContext(ctx context.Context) AppSpecStaticSiteRoutesPtrOutput
- type AppSpecStaticSiteRoutesPtrInput
- type AppSpecStaticSiteRoutesPtrOutput
- func (o AppSpecStaticSiteRoutesPtrOutput) Elem() AppSpecStaticSiteRoutesOutput
- func (AppSpecStaticSiteRoutesPtrOutput) ElementType() reflect.Type
- func (o AppSpecStaticSiteRoutesPtrOutput) Path() pulumi.StringPtrOutput
- func (o AppSpecStaticSiteRoutesPtrOutput) ToAppSpecStaticSiteRoutesPtrOutput() AppSpecStaticSiteRoutesPtrOutput
- func (o AppSpecStaticSiteRoutesPtrOutput) ToAppSpecStaticSiteRoutesPtrOutputWithContext(ctx context.Context) AppSpecStaticSiteRoutesPtrOutput
- type AppSpecWorker
- type AppSpecWorkerArgs
- type AppSpecWorkerArray
- type AppSpecWorkerArrayInput
- type AppSpecWorkerArrayOutput
- func (AppSpecWorkerArrayOutput) ElementType() reflect.Type
- func (o AppSpecWorkerArrayOutput) Index(i pulumi.IntInput) AppSpecWorkerOutput
- func (o AppSpecWorkerArrayOutput) ToAppSpecWorkerArrayOutput() AppSpecWorkerArrayOutput
- func (o AppSpecWorkerArrayOutput) ToAppSpecWorkerArrayOutputWithContext(ctx context.Context) AppSpecWorkerArrayOutput
- type AppSpecWorkerEnv
- type AppSpecWorkerEnvArgs
- type AppSpecWorkerEnvArray
- type AppSpecWorkerEnvArrayInput
- type AppSpecWorkerEnvArrayOutput
- func (AppSpecWorkerEnvArrayOutput) ElementType() reflect.Type
- func (o AppSpecWorkerEnvArrayOutput) Index(i pulumi.IntInput) AppSpecWorkerEnvOutput
- func (o AppSpecWorkerEnvArrayOutput) ToAppSpecWorkerEnvArrayOutput() AppSpecWorkerEnvArrayOutput
- func (o AppSpecWorkerEnvArrayOutput) ToAppSpecWorkerEnvArrayOutputWithContext(ctx context.Context) AppSpecWorkerEnvArrayOutput
- type AppSpecWorkerEnvInput
- type AppSpecWorkerEnvOutput
- func (AppSpecWorkerEnvOutput) ElementType() reflect.Type
- func (o AppSpecWorkerEnvOutput) Key() pulumi.StringPtrOutput
- func (o AppSpecWorkerEnvOutput) Scope() pulumi.StringPtrOutput
- func (o AppSpecWorkerEnvOutput) ToAppSpecWorkerEnvOutput() AppSpecWorkerEnvOutput
- func (o AppSpecWorkerEnvOutput) ToAppSpecWorkerEnvOutputWithContext(ctx context.Context) AppSpecWorkerEnvOutput
- func (o AppSpecWorkerEnvOutput) Type() pulumi.StringPtrOutput
- func (o AppSpecWorkerEnvOutput) Value() pulumi.StringPtrOutput
- type AppSpecWorkerGit
- type AppSpecWorkerGitArgs
- func (AppSpecWorkerGitArgs) ElementType() reflect.Type
- func (i AppSpecWorkerGitArgs) ToAppSpecWorkerGitOutput() AppSpecWorkerGitOutput
- func (i AppSpecWorkerGitArgs) ToAppSpecWorkerGitOutputWithContext(ctx context.Context) AppSpecWorkerGitOutput
- func (i AppSpecWorkerGitArgs) ToAppSpecWorkerGitPtrOutput() AppSpecWorkerGitPtrOutput
- func (i AppSpecWorkerGitArgs) ToAppSpecWorkerGitPtrOutputWithContext(ctx context.Context) AppSpecWorkerGitPtrOutput
- type AppSpecWorkerGitInput
- type AppSpecWorkerGitOutput
- func (o AppSpecWorkerGitOutput) Branch() pulumi.StringPtrOutput
- func (AppSpecWorkerGitOutput) ElementType() reflect.Type
- func (o AppSpecWorkerGitOutput) RepoCloneUrl() pulumi.StringPtrOutput
- func (o AppSpecWorkerGitOutput) ToAppSpecWorkerGitOutput() AppSpecWorkerGitOutput
- func (o AppSpecWorkerGitOutput) ToAppSpecWorkerGitOutputWithContext(ctx context.Context) AppSpecWorkerGitOutput
- func (o AppSpecWorkerGitOutput) ToAppSpecWorkerGitPtrOutput() AppSpecWorkerGitPtrOutput
- func (o AppSpecWorkerGitOutput) ToAppSpecWorkerGitPtrOutputWithContext(ctx context.Context) AppSpecWorkerGitPtrOutput
- type AppSpecWorkerGitPtrInput
- type AppSpecWorkerGitPtrOutput
- func (o AppSpecWorkerGitPtrOutput) Branch() pulumi.StringPtrOutput
- func (o AppSpecWorkerGitPtrOutput) Elem() AppSpecWorkerGitOutput
- func (AppSpecWorkerGitPtrOutput) ElementType() reflect.Type
- func (o AppSpecWorkerGitPtrOutput) RepoCloneUrl() pulumi.StringPtrOutput
- func (o AppSpecWorkerGitPtrOutput) ToAppSpecWorkerGitPtrOutput() AppSpecWorkerGitPtrOutput
- func (o AppSpecWorkerGitPtrOutput) ToAppSpecWorkerGitPtrOutputWithContext(ctx context.Context) AppSpecWorkerGitPtrOutput
- type AppSpecWorkerGithub
- type AppSpecWorkerGithubArgs
- func (AppSpecWorkerGithubArgs) ElementType() reflect.Type
- func (i AppSpecWorkerGithubArgs) ToAppSpecWorkerGithubOutput() AppSpecWorkerGithubOutput
- func (i AppSpecWorkerGithubArgs) ToAppSpecWorkerGithubOutputWithContext(ctx context.Context) AppSpecWorkerGithubOutput
- func (i AppSpecWorkerGithubArgs) ToAppSpecWorkerGithubPtrOutput() AppSpecWorkerGithubPtrOutput
- func (i AppSpecWorkerGithubArgs) ToAppSpecWorkerGithubPtrOutputWithContext(ctx context.Context) AppSpecWorkerGithubPtrOutput
- type AppSpecWorkerGithubInput
- type AppSpecWorkerGithubOutput
- func (o AppSpecWorkerGithubOutput) Branch() pulumi.StringPtrOutput
- func (o AppSpecWorkerGithubOutput) DeployOnPush() pulumi.BoolPtrOutput
- func (AppSpecWorkerGithubOutput) ElementType() reflect.Type
- func (o AppSpecWorkerGithubOutput) Repo() pulumi.StringPtrOutput
- func (o AppSpecWorkerGithubOutput) ToAppSpecWorkerGithubOutput() AppSpecWorkerGithubOutput
- func (o AppSpecWorkerGithubOutput) ToAppSpecWorkerGithubOutputWithContext(ctx context.Context) AppSpecWorkerGithubOutput
- func (o AppSpecWorkerGithubOutput) ToAppSpecWorkerGithubPtrOutput() AppSpecWorkerGithubPtrOutput
- func (o AppSpecWorkerGithubOutput) ToAppSpecWorkerGithubPtrOutputWithContext(ctx context.Context) AppSpecWorkerGithubPtrOutput
- type AppSpecWorkerGithubPtrInput
- type AppSpecWorkerGithubPtrOutput
- func (o AppSpecWorkerGithubPtrOutput) Branch() pulumi.StringPtrOutput
- func (o AppSpecWorkerGithubPtrOutput) DeployOnPush() pulumi.BoolPtrOutput
- func (o AppSpecWorkerGithubPtrOutput) Elem() AppSpecWorkerGithubOutput
- func (AppSpecWorkerGithubPtrOutput) ElementType() reflect.Type
- func (o AppSpecWorkerGithubPtrOutput) Repo() pulumi.StringPtrOutput
- func (o AppSpecWorkerGithubPtrOutput) ToAppSpecWorkerGithubPtrOutput() AppSpecWorkerGithubPtrOutput
- func (o AppSpecWorkerGithubPtrOutput) ToAppSpecWorkerGithubPtrOutputWithContext(ctx context.Context) AppSpecWorkerGithubPtrOutput
- type AppSpecWorkerInput
- type AppSpecWorkerOutput
- func (o AppSpecWorkerOutput) BuildCommand() pulumi.StringPtrOutput
- func (o AppSpecWorkerOutput) DockerfilePath() pulumi.StringPtrOutput
- func (AppSpecWorkerOutput) ElementType() reflect.Type
- func (o AppSpecWorkerOutput) EnvironmentSlug() pulumi.StringPtrOutput
- func (o AppSpecWorkerOutput) Envs() AppSpecWorkerEnvArrayOutput
- func (o AppSpecWorkerOutput) Git() AppSpecWorkerGitPtrOutput
- func (o AppSpecWorkerOutput) Github() AppSpecWorkerGithubPtrOutput
- func (o AppSpecWorkerOutput) InstanceCount() pulumi.IntPtrOutput
- func (o AppSpecWorkerOutput) InstanceSizeSlug() pulumi.StringPtrOutput
- func (o AppSpecWorkerOutput) Name() pulumi.StringOutput
- func (o AppSpecWorkerOutput) Routes() AppSpecWorkerRoutesPtrOutput
- func (o AppSpecWorkerOutput) RunCommand() pulumi.StringPtrOutput
- func (o AppSpecWorkerOutput) SourceDir() pulumi.StringPtrOutput
- func (o AppSpecWorkerOutput) ToAppSpecWorkerOutput() AppSpecWorkerOutput
- func (o AppSpecWorkerOutput) ToAppSpecWorkerOutputWithContext(ctx context.Context) AppSpecWorkerOutput
- type AppSpecWorkerRoutes
- type AppSpecWorkerRoutesArgs
- func (AppSpecWorkerRoutesArgs) ElementType() reflect.Type
- func (i AppSpecWorkerRoutesArgs) ToAppSpecWorkerRoutesOutput() AppSpecWorkerRoutesOutput
- func (i AppSpecWorkerRoutesArgs) ToAppSpecWorkerRoutesOutputWithContext(ctx context.Context) AppSpecWorkerRoutesOutput
- func (i AppSpecWorkerRoutesArgs) ToAppSpecWorkerRoutesPtrOutput() AppSpecWorkerRoutesPtrOutput
- func (i AppSpecWorkerRoutesArgs) ToAppSpecWorkerRoutesPtrOutputWithContext(ctx context.Context) AppSpecWorkerRoutesPtrOutput
- type AppSpecWorkerRoutesInput
- type AppSpecWorkerRoutesOutput
- func (AppSpecWorkerRoutesOutput) ElementType() reflect.Type
- func (o AppSpecWorkerRoutesOutput) Path() pulumi.StringPtrOutput
- func (o AppSpecWorkerRoutesOutput) ToAppSpecWorkerRoutesOutput() AppSpecWorkerRoutesOutput
- func (o AppSpecWorkerRoutesOutput) ToAppSpecWorkerRoutesOutputWithContext(ctx context.Context) AppSpecWorkerRoutesOutput
- func (o AppSpecWorkerRoutesOutput) ToAppSpecWorkerRoutesPtrOutput() AppSpecWorkerRoutesPtrOutput
- func (o AppSpecWorkerRoutesOutput) ToAppSpecWorkerRoutesPtrOutputWithContext(ctx context.Context) AppSpecWorkerRoutesPtrOutput
- type AppSpecWorkerRoutesPtrInput
- type AppSpecWorkerRoutesPtrOutput
- func (o AppSpecWorkerRoutesPtrOutput) Elem() AppSpecWorkerRoutesOutput
- func (AppSpecWorkerRoutesPtrOutput) ElementType() reflect.Type
- func (o AppSpecWorkerRoutesPtrOutput) Path() pulumi.StringPtrOutput
- func (o AppSpecWorkerRoutesPtrOutput) ToAppSpecWorkerRoutesPtrOutput() AppSpecWorkerRoutesPtrOutput
- func (o AppSpecWorkerRoutesPtrOutput) ToAppSpecWorkerRoutesPtrOutputWithContext(ctx context.Context) AppSpecWorkerRoutesPtrOutput
- type AppState
- type Cdn
- type CdnArgs
- type CdnState
- type Certificate
- type CertificateArgs
- type CertificateState
- type ContainerRegistry
- type ContainerRegistryArgs
- type ContainerRegistryDockerCredentials
- func GetContainerRegistryDockerCredentials(ctx *pulumi.Context, name string, id pulumi.IDInput, ...) (*ContainerRegistryDockerCredentials, error)
- func NewContainerRegistryDockerCredentials(ctx *pulumi.Context, name string, args *ContainerRegistryDockerCredentialsArgs, ...) (*ContainerRegistryDockerCredentials, error)
- type ContainerRegistryDockerCredentialsArgs
- type ContainerRegistryDockerCredentialsState
- type ContainerRegistryState
- type DatabaseCluster
- type DatabaseClusterArgs
- type DatabaseClusterMaintenanceWindow
- type DatabaseClusterMaintenanceWindowArgs
- func (DatabaseClusterMaintenanceWindowArgs) ElementType() reflect.Type
- func (i DatabaseClusterMaintenanceWindowArgs) ToDatabaseClusterMaintenanceWindowOutput() DatabaseClusterMaintenanceWindowOutput
- func (i DatabaseClusterMaintenanceWindowArgs) ToDatabaseClusterMaintenanceWindowOutputWithContext(ctx context.Context) DatabaseClusterMaintenanceWindowOutput
- type DatabaseClusterMaintenanceWindowArray
- func (DatabaseClusterMaintenanceWindowArray) ElementType() reflect.Type
- func (i DatabaseClusterMaintenanceWindowArray) ToDatabaseClusterMaintenanceWindowArrayOutput() DatabaseClusterMaintenanceWindowArrayOutput
- func (i DatabaseClusterMaintenanceWindowArray) ToDatabaseClusterMaintenanceWindowArrayOutputWithContext(ctx context.Context) DatabaseClusterMaintenanceWindowArrayOutput
- type DatabaseClusterMaintenanceWindowArrayInput
- type DatabaseClusterMaintenanceWindowArrayOutput
- func (DatabaseClusterMaintenanceWindowArrayOutput) ElementType() reflect.Type
- func (o DatabaseClusterMaintenanceWindowArrayOutput) Index(i pulumi.IntInput) DatabaseClusterMaintenanceWindowOutput
- func (o DatabaseClusterMaintenanceWindowArrayOutput) ToDatabaseClusterMaintenanceWindowArrayOutput() DatabaseClusterMaintenanceWindowArrayOutput
- func (o DatabaseClusterMaintenanceWindowArrayOutput) ToDatabaseClusterMaintenanceWindowArrayOutputWithContext(ctx context.Context) DatabaseClusterMaintenanceWindowArrayOutput
- type DatabaseClusterMaintenanceWindowInput
- type DatabaseClusterMaintenanceWindowOutput
- func (o DatabaseClusterMaintenanceWindowOutput) Day() pulumi.StringOutput
- func (DatabaseClusterMaintenanceWindowOutput) ElementType() reflect.Type
- func (o DatabaseClusterMaintenanceWindowOutput) Hour() pulumi.StringOutput
- func (o DatabaseClusterMaintenanceWindowOutput) ToDatabaseClusterMaintenanceWindowOutput() DatabaseClusterMaintenanceWindowOutput
- func (o DatabaseClusterMaintenanceWindowOutput) ToDatabaseClusterMaintenanceWindowOutputWithContext(ctx context.Context) DatabaseClusterMaintenanceWindowOutput
- type DatabaseClusterState
- type DatabaseConnectionPool
- type DatabaseConnectionPoolArgs
- type DatabaseConnectionPoolState
- type DatabaseDb
- type DatabaseDbArgs
- type DatabaseDbState
- type DatabaseFirewall
- type DatabaseFirewallArgs
- type DatabaseFirewallRule
- type DatabaseFirewallRuleArgs
- type DatabaseFirewallRuleArray
- type DatabaseFirewallRuleArrayInput
- type DatabaseFirewallRuleArrayOutput
- func (DatabaseFirewallRuleArrayOutput) ElementType() reflect.Type
- func (o DatabaseFirewallRuleArrayOutput) Index(i pulumi.IntInput) DatabaseFirewallRuleOutput
- func (o DatabaseFirewallRuleArrayOutput) ToDatabaseFirewallRuleArrayOutput() DatabaseFirewallRuleArrayOutput
- func (o DatabaseFirewallRuleArrayOutput) ToDatabaseFirewallRuleArrayOutputWithContext(ctx context.Context) DatabaseFirewallRuleArrayOutput
- type DatabaseFirewallRuleInput
- type DatabaseFirewallRuleOutput
- func (o DatabaseFirewallRuleOutput) CreatedAt() pulumi.StringPtrOutput
- func (DatabaseFirewallRuleOutput) ElementType() reflect.Type
- func (o DatabaseFirewallRuleOutput) ToDatabaseFirewallRuleOutput() DatabaseFirewallRuleOutput
- func (o DatabaseFirewallRuleOutput) ToDatabaseFirewallRuleOutputWithContext(ctx context.Context) DatabaseFirewallRuleOutput
- func (o DatabaseFirewallRuleOutput) Type() pulumi.StringOutput
- func (o DatabaseFirewallRuleOutput) Uuid() pulumi.StringPtrOutput
- func (o DatabaseFirewallRuleOutput) Value() pulumi.StringOutput
- type DatabaseFirewallState
- type DatabaseReplica
- type DatabaseReplicaArgs
- type DatabaseReplicaState
- type DatabaseUser
- type DatabaseUserArgs
- type DatabaseUserState
- type DnsRecord
- type DnsRecordArgs
- type DnsRecordState
- type Domain
- type DomainArgs
- type DomainState
- type Droplet
- type DropletArgs
- type DropletSnapshot
- type DropletSnapshotArgs
- type DropletSnapshotState
- type DropletState
- type Firewall
- type FirewallArgs
- type FirewallInboundRule
- type FirewallInboundRuleArgs
- type FirewallInboundRuleArray
- type FirewallInboundRuleArrayInput
- type FirewallInboundRuleArrayOutput
- func (FirewallInboundRuleArrayOutput) ElementType() reflect.Type
- func (o FirewallInboundRuleArrayOutput) Index(i pulumi.IntInput) FirewallInboundRuleOutput
- func (o FirewallInboundRuleArrayOutput) ToFirewallInboundRuleArrayOutput() FirewallInboundRuleArrayOutput
- func (o FirewallInboundRuleArrayOutput) ToFirewallInboundRuleArrayOutputWithContext(ctx context.Context) FirewallInboundRuleArrayOutput
- type FirewallInboundRuleInput
- type FirewallInboundRuleOutput
- func (FirewallInboundRuleOutput) ElementType() reflect.Type
- func (o FirewallInboundRuleOutput) PortRange() pulumi.StringPtrOutput
- func (o FirewallInboundRuleOutput) Protocol() pulumi.StringOutput
- func (o FirewallInboundRuleOutput) SourceAddresses() pulumi.StringArrayOutput
- func (o FirewallInboundRuleOutput) SourceDropletIds() pulumi.IntArrayOutput
- func (o FirewallInboundRuleOutput) SourceLoadBalancerUids() pulumi.StringArrayOutput
- func (o FirewallInboundRuleOutput) SourceTags() pulumi.StringArrayOutput
- func (o FirewallInboundRuleOutput) ToFirewallInboundRuleOutput() FirewallInboundRuleOutput
- func (o FirewallInboundRuleOutput) ToFirewallInboundRuleOutputWithContext(ctx context.Context) FirewallInboundRuleOutput
- type FirewallOutboundRule
- type FirewallOutboundRuleArgs
- type FirewallOutboundRuleArray
- type FirewallOutboundRuleArrayInput
- type FirewallOutboundRuleArrayOutput
- func (FirewallOutboundRuleArrayOutput) ElementType() reflect.Type
- func (o FirewallOutboundRuleArrayOutput) Index(i pulumi.IntInput) FirewallOutboundRuleOutput
- func (o FirewallOutboundRuleArrayOutput) ToFirewallOutboundRuleArrayOutput() FirewallOutboundRuleArrayOutput
- func (o FirewallOutboundRuleArrayOutput) ToFirewallOutboundRuleArrayOutputWithContext(ctx context.Context) FirewallOutboundRuleArrayOutput
- type FirewallOutboundRuleInput
- type FirewallOutboundRuleOutput
- func (o FirewallOutboundRuleOutput) DestinationAddresses() pulumi.StringArrayOutput
- func (o FirewallOutboundRuleOutput) DestinationDropletIds() pulumi.IntArrayOutput
- func (o FirewallOutboundRuleOutput) DestinationLoadBalancerUids() pulumi.StringArrayOutput
- func (o FirewallOutboundRuleOutput) DestinationTags() pulumi.StringArrayOutput
- func (FirewallOutboundRuleOutput) ElementType() reflect.Type
- func (o FirewallOutboundRuleOutput) PortRange() pulumi.StringPtrOutput
- func (o FirewallOutboundRuleOutput) Protocol() pulumi.StringOutput
- func (o FirewallOutboundRuleOutput) ToFirewallOutboundRuleOutput() FirewallOutboundRuleOutput
- func (o FirewallOutboundRuleOutput) ToFirewallOutboundRuleOutputWithContext(ctx context.Context) FirewallOutboundRuleOutput
- type FirewallPendingChange
- type FirewallPendingChangeArgs
- type FirewallPendingChangeArray
- func (FirewallPendingChangeArray) ElementType() reflect.Type
- func (i FirewallPendingChangeArray) ToFirewallPendingChangeArrayOutput() FirewallPendingChangeArrayOutput
- func (i FirewallPendingChangeArray) ToFirewallPendingChangeArrayOutputWithContext(ctx context.Context) FirewallPendingChangeArrayOutput
- type FirewallPendingChangeArrayInput
- type FirewallPendingChangeArrayOutput
- func (FirewallPendingChangeArrayOutput) ElementType() reflect.Type
- func (o FirewallPendingChangeArrayOutput) Index(i pulumi.IntInput) FirewallPendingChangeOutput
- func (o FirewallPendingChangeArrayOutput) ToFirewallPendingChangeArrayOutput() FirewallPendingChangeArrayOutput
- func (o FirewallPendingChangeArrayOutput) ToFirewallPendingChangeArrayOutputWithContext(ctx context.Context) FirewallPendingChangeArrayOutput
- type FirewallPendingChangeInput
- type FirewallPendingChangeOutput
- func (o FirewallPendingChangeOutput) DropletId() pulumi.IntPtrOutput
- func (FirewallPendingChangeOutput) ElementType() reflect.Type
- func (o FirewallPendingChangeOutput) Removing() pulumi.BoolPtrOutput
- func (o FirewallPendingChangeOutput) Status() pulumi.StringPtrOutput
- func (o FirewallPendingChangeOutput) ToFirewallPendingChangeOutput() FirewallPendingChangeOutput
- func (o FirewallPendingChangeOutput) ToFirewallPendingChangeOutputWithContext(ctx context.Context) FirewallPendingChangeOutput
- type FirewallState
- type FloatingIp
- type FloatingIpArgs
- type FloatingIpAssignment
- type FloatingIpAssignmentArgs
- type FloatingIpAssignmentState
- type FloatingIpState
- type GetAccountResult
- type GetAppSpec
- type GetAppSpecArgs
- type GetAppSpecDatabase
- type GetAppSpecDatabaseArgs
- type GetAppSpecDatabaseArray
- type GetAppSpecDatabaseArrayInput
- type GetAppSpecDatabaseArrayOutput
- func (GetAppSpecDatabaseArrayOutput) ElementType() reflect.Type
- func (o GetAppSpecDatabaseArrayOutput) Index(i pulumi.IntInput) GetAppSpecDatabaseOutput
- func (o GetAppSpecDatabaseArrayOutput) ToGetAppSpecDatabaseArrayOutput() GetAppSpecDatabaseArrayOutput
- func (o GetAppSpecDatabaseArrayOutput) ToGetAppSpecDatabaseArrayOutputWithContext(ctx context.Context) GetAppSpecDatabaseArrayOutput
- type GetAppSpecDatabaseInput
- type GetAppSpecDatabaseOutput
- func (o GetAppSpecDatabaseOutput) ClusterName() pulumi.StringPtrOutput
- func (o GetAppSpecDatabaseOutput) DbName() pulumi.StringPtrOutput
- func (o GetAppSpecDatabaseOutput) DbUser() pulumi.StringPtrOutput
- func (GetAppSpecDatabaseOutput) ElementType() reflect.Type
- func (o GetAppSpecDatabaseOutput) Engine() pulumi.StringPtrOutput
- func (o GetAppSpecDatabaseOutput) Name() pulumi.StringPtrOutput
- func (o GetAppSpecDatabaseOutput) Production() pulumi.BoolPtrOutput
- func (o GetAppSpecDatabaseOutput) ToGetAppSpecDatabaseOutput() GetAppSpecDatabaseOutput
- func (o GetAppSpecDatabaseOutput) ToGetAppSpecDatabaseOutputWithContext(ctx context.Context) GetAppSpecDatabaseOutput
- func (o GetAppSpecDatabaseOutput) Version() pulumi.StringPtrOutput
- type GetAppSpecInput
- type GetAppSpecOutput
- func (o GetAppSpecOutput) Databases() GetAppSpecDatabaseArrayOutput
- func (o GetAppSpecOutput) Domains() pulumi.StringArrayOutput
- func (GetAppSpecOutput) ElementType() reflect.Type
- func (o GetAppSpecOutput) Name() pulumi.StringOutput
- func (o GetAppSpecOutput) Region() pulumi.StringPtrOutput
- func (o GetAppSpecOutput) Services() GetAppSpecServiceArrayOutput
- func (o GetAppSpecOutput) StaticSites() GetAppSpecStaticSiteArrayOutput
- func (o GetAppSpecOutput) ToGetAppSpecOutput() GetAppSpecOutput
- func (o GetAppSpecOutput) ToGetAppSpecOutputWithContext(ctx context.Context) GetAppSpecOutput
- func (o GetAppSpecOutput) Workers() GetAppSpecWorkerArrayOutput
- type GetAppSpecService
- type GetAppSpecServiceArgs
- type GetAppSpecServiceArray
- type GetAppSpecServiceArrayInput
- type GetAppSpecServiceArrayOutput
- func (GetAppSpecServiceArrayOutput) ElementType() reflect.Type
- func (o GetAppSpecServiceArrayOutput) Index(i pulumi.IntInput) GetAppSpecServiceOutput
- func (o GetAppSpecServiceArrayOutput) ToGetAppSpecServiceArrayOutput() GetAppSpecServiceArrayOutput
- func (o GetAppSpecServiceArrayOutput) ToGetAppSpecServiceArrayOutputWithContext(ctx context.Context) GetAppSpecServiceArrayOutput
- type GetAppSpecServiceEnv
- type GetAppSpecServiceEnvArgs
- type GetAppSpecServiceEnvArray
- type GetAppSpecServiceEnvArrayInput
- type GetAppSpecServiceEnvArrayOutput
- func (GetAppSpecServiceEnvArrayOutput) ElementType() reflect.Type
- func (o GetAppSpecServiceEnvArrayOutput) Index(i pulumi.IntInput) GetAppSpecServiceEnvOutput
- func (o GetAppSpecServiceEnvArrayOutput) ToGetAppSpecServiceEnvArrayOutput() GetAppSpecServiceEnvArrayOutput
- func (o GetAppSpecServiceEnvArrayOutput) ToGetAppSpecServiceEnvArrayOutputWithContext(ctx context.Context) GetAppSpecServiceEnvArrayOutput
- type GetAppSpecServiceEnvInput
- type GetAppSpecServiceEnvOutput
- func (GetAppSpecServiceEnvOutput) ElementType() reflect.Type
- func (o GetAppSpecServiceEnvOutput) Key() pulumi.StringPtrOutput
- func (o GetAppSpecServiceEnvOutput) Scope() pulumi.StringPtrOutput
- func (o GetAppSpecServiceEnvOutput) ToGetAppSpecServiceEnvOutput() GetAppSpecServiceEnvOutput
- func (o GetAppSpecServiceEnvOutput) ToGetAppSpecServiceEnvOutputWithContext(ctx context.Context) GetAppSpecServiceEnvOutput
- func (o GetAppSpecServiceEnvOutput) Type() pulumi.StringOutput
- func (o GetAppSpecServiceEnvOutput) Value() pulumi.StringPtrOutput
- type GetAppSpecServiceGit
- type GetAppSpecServiceGitArgs
- func (GetAppSpecServiceGitArgs) ElementType() reflect.Type
- func (i GetAppSpecServiceGitArgs) ToGetAppSpecServiceGitOutput() GetAppSpecServiceGitOutput
- func (i GetAppSpecServiceGitArgs) ToGetAppSpecServiceGitOutputWithContext(ctx context.Context) GetAppSpecServiceGitOutput
- func (i GetAppSpecServiceGitArgs) ToGetAppSpecServiceGitPtrOutput() GetAppSpecServiceGitPtrOutput
- func (i GetAppSpecServiceGitArgs) ToGetAppSpecServiceGitPtrOutputWithContext(ctx context.Context) GetAppSpecServiceGitPtrOutput
- type GetAppSpecServiceGitInput
- type GetAppSpecServiceGitOutput
- func (o GetAppSpecServiceGitOutput) Branch() pulumi.StringPtrOutput
- func (GetAppSpecServiceGitOutput) ElementType() reflect.Type
- func (o GetAppSpecServiceGitOutput) RepoCloneUrl() pulumi.StringPtrOutput
- func (o GetAppSpecServiceGitOutput) ToGetAppSpecServiceGitOutput() GetAppSpecServiceGitOutput
- func (o GetAppSpecServiceGitOutput) ToGetAppSpecServiceGitOutputWithContext(ctx context.Context) GetAppSpecServiceGitOutput
- func (o GetAppSpecServiceGitOutput) ToGetAppSpecServiceGitPtrOutput() GetAppSpecServiceGitPtrOutput
- func (o GetAppSpecServiceGitOutput) ToGetAppSpecServiceGitPtrOutputWithContext(ctx context.Context) GetAppSpecServiceGitPtrOutput
- type GetAppSpecServiceGitPtrInput
- type GetAppSpecServiceGitPtrOutput
- func (o GetAppSpecServiceGitPtrOutput) Branch() pulumi.StringPtrOutput
- func (o GetAppSpecServiceGitPtrOutput) Elem() GetAppSpecServiceGitOutput
- func (GetAppSpecServiceGitPtrOutput) ElementType() reflect.Type
- func (o GetAppSpecServiceGitPtrOutput) RepoCloneUrl() pulumi.StringPtrOutput
- func (o GetAppSpecServiceGitPtrOutput) ToGetAppSpecServiceGitPtrOutput() GetAppSpecServiceGitPtrOutput
- func (o GetAppSpecServiceGitPtrOutput) ToGetAppSpecServiceGitPtrOutputWithContext(ctx context.Context) GetAppSpecServiceGitPtrOutput
- type GetAppSpecServiceGithub
- type GetAppSpecServiceGithubArgs
- func (GetAppSpecServiceGithubArgs) ElementType() reflect.Type
- func (i GetAppSpecServiceGithubArgs) ToGetAppSpecServiceGithubOutput() GetAppSpecServiceGithubOutput
- func (i GetAppSpecServiceGithubArgs) ToGetAppSpecServiceGithubOutputWithContext(ctx context.Context) GetAppSpecServiceGithubOutput
- func (i GetAppSpecServiceGithubArgs) ToGetAppSpecServiceGithubPtrOutput() GetAppSpecServiceGithubPtrOutput
- func (i GetAppSpecServiceGithubArgs) ToGetAppSpecServiceGithubPtrOutputWithContext(ctx context.Context) GetAppSpecServiceGithubPtrOutput
- type GetAppSpecServiceGithubInput
- type GetAppSpecServiceGithubOutput
- func (o GetAppSpecServiceGithubOutput) Branch() pulumi.StringPtrOutput
- func (o GetAppSpecServiceGithubOutput) DeployOnPush() pulumi.BoolPtrOutput
- func (GetAppSpecServiceGithubOutput) ElementType() reflect.Type
- func (o GetAppSpecServiceGithubOutput) Repo() pulumi.StringPtrOutput
- func (o GetAppSpecServiceGithubOutput) ToGetAppSpecServiceGithubOutput() GetAppSpecServiceGithubOutput
- func (o GetAppSpecServiceGithubOutput) ToGetAppSpecServiceGithubOutputWithContext(ctx context.Context) GetAppSpecServiceGithubOutput
- func (o GetAppSpecServiceGithubOutput) ToGetAppSpecServiceGithubPtrOutput() GetAppSpecServiceGithubPtrOutput
- func (o GetAppSpecServiceGithubOutput) ToGetAppSpecServiceGithubPtrOutputWithContext(ctx context.Context) GetAppSpecServiceGithubPtrOutput
- type GetAppSpecServiceGithubPtrInput
- type GetAppSpecServiceGithubPtrOutput
- func (o GetAppSpecServiceGithubPtrOutput) Branch() pulumi.StringPtrOutput
- func (o GetAppSpecServiceGithubPtrOutput) DeployOnPush() pulumi.BoolPtrOutput
- func (o GetAppSpecServiceGithubPtrOutput) Elem() GetAppSpecServiceGithubOutput
- func (GetAppSpecServiceGithubPtrOutput) ElementType() reflect.Type
- func (o GetAppSpecServiceGithubPtrOutput) Repo() pulumi.StringPtrOutput
- func (o GetAppSpecServiceGithubPtrOutput) ToGetAppSpecServiceGithubPtrOutput() GetAppSpecServiceGithubPtrOutput
- func (o GetAppSpecServiceGithubPtrOutput) ToGetAppSpecServiceGithubPtrOutputWithContext(ctx context.Context) GetAppSpecServiceGithubPtrOutput
- type GetAppSpecServiceHealthCheck
- type GetAppSpecServiceHealthCheckArgs
- func (GetAppSpecServiceHealthCheckArgs) ElementType() reflect.Type
- func (i GetAppSpecServiceHealthCheckArgs) ToGetAppSpecServiceHealthCheckOutput() GetAppSpecServiceHealthCheckOutput
- func (i GetAppSpecServiceHealthCheckArgs) ToGetAppSpecServiceHealthCheckOutputWithContext(ctx context.Context) GetAppSpecServiceHealthCheckOutput
- func (i GetAppSpecServiceHealthCheckArgs) ToGetAppSpecServiceHealthCheckPtrOutput() GetAppSpecServiceHealthCheckPtrOutput
- func (i GetAppSpecServiceHealthCheckArgs) ToGetAppSpecServiceHealthCheckPtrOutputWithContext(ctx context.Context) GetAppSpecServiceHealthCheckPtrOutput
- type GetAppSpecServiceHealthCheckInput
- type GetAppSpecServiceHealthCheckOutput
- func (GetAppSpecServiceHealthCheckOutput) ElementType() reflect.Type
- func (o GetAppSpecServiceHealthCheckOutput) FailureThreshold() pulumi.IntPtrOutput
- func (o GetAppSpecServiceHealthCheckOutput) HttpPath() pulumi.StringPtrOutput
- func (o GetAppSpecServiceHealthCheckOutput) InitialDelaySeconds() pulumi.IntPtrOutput
- func (o GetAppSpecServiceHealthCheckOutput) PeriodSeconds() pulumi.IntPtrOutput
- func (o GetAppSpecServiceHealthCheckOutput) SuccessThreshold() pulumi.IntPtrOutput
- func (o GetAppSpecServiceHealthCheckOutput) TimeoutSeconds() pulumi.IntPtrOutput
- func (o GetAppSpecServiceHealthCheckOutput) ToGetAppSpecServiceHealthCheckOutput() GetAppSpecServiceHealthCheckOutput
- func (o GetAppSpecServiceHealthCheckOutput) ToGetAppSpecServiceHealthCheckOutputWithContext(ctx context.Context) GetAppSpecServiceHealthCheckOutput
- func (o GetAppSpecServiceHealthCheckOutput) ToGetAppSpecServiceHealthCheckPtrOutput() GetAppSpecServiceHealthCheckPtrOutput
- func (o GetAppSpecServiceHealthCheckOutput) ToGetAppSpecServiceHealthCheckPtrOutputWithContext(ctx context.Context) GetAppSpecServiceHealthCheckPtrOutput
- type GetAppSpecServiceHealthCheckPtrInput
- type GetAppSpecServiceHealthCheckPtrOutput
- func (o GetAppSpecServiceHealthCheckPtrOutput) Elem() GetAppSpecServiceHealthCheckOutput
- func (GetAppSpecServiceHealthCheckPtrOutput) ElementType() reflect.Type
- func (o GetAppSpecServiceHealthCheckPtrOutput) FailureThreshold() pulumi.IntPtrOutput
- func (o GetAppSpecServiceHealthCheckPtrOutput) HttpPath() pulumi.StringPtrOutput
- func (o GetAppSpecServiceHealthCheckPtrOutput) InitialDelaySeconds() pulumi.IntPtrOutput
- func (o GetAppSpecServiceHealthCheckPtrOutput) PeriodSeconds() pulumi.IntPtrOutput
- func (o GetAppSpecServiceHealthCheckPtrOutput) SuccessThreshold() pulumi.IntPtrOutput
- func (o GetAppSpecServiceHealthCheckPtrOutput) TimeoutSeconds() pulumi.IntPtrOutput
- func (o GetAppSpecServiceHealthCheckPtrOutput) ToGetAppSpecServiceHealthCheckPtrOutput() GetAppSpecServiceHealthCheckPtrOutput
- func (o GetAppSpecServiceHealthCheckPtrOutput) ToGetAppSpecServiceHealthCheckPtrOutputWithContext(ctx context.Context) GetAppSpecServiceHealthCheckPtrOutput
- type GetAppSpecServiceInput
- type GetAppSpecServiceOutput
- func (o GetAppSpecServiceOutput) BuildCommand() pulumi.StringPtrOutput
- func (o GetAppSpecServiceOutput) DockerfilePath() pulumi.StringPtrOutput
- func (GetAppSpecServiceOutput) ElementType() reflect.Type
- func (o GetAppSpecServiceOutput) EnvironmentSlug() pulumi.StringPtrOutput
- func (o GetAppSpecServiceOutput) Envs() GetAppSpecServiceEnvArrayOutput
- func (o GetAppSpecServiceOutput) Git() GetAppSpecServiceGitPtrOutput
- func (o GetAppSpecServiceOutput) Github() GetAppSpecServiceGithubPtrOutput
- func (o GetAppSpecServiceOutput) HealthCheck() GetAppSpecServiceHealthCheckPtrOutput
- func (o GetAppSpecServiceOutput) HttpPort() pulumi.IntOutput
- func (o GetAppSpecServiceOutput) InstanceCount() pulumi.IntPtrOutput
- func (o GetAppSpecServiceOutput) InstanceSizeSlug() pulumi.StringPtrOutput
- func (o GetAppSpecServiceOutput) Name() pulumi.StringOutput
- func (o GetAppSpecServiceOutput) Routes() GetAppSpecServiceRoutesOutput
- func (o GetAppSpecServiceOutput) RunCommand() pulumi.StringOutput
- func (o GetAppSpecServiceOutput) SourceDir() pulumi.StringPtrOutput
- func (o GetAppSpecServiceOutput) ToGetAppSpecServiceOutput() GetAppSpecServiceOutput
- func (o GetAppSpecServiceOutput) ToGetAppSpecServiceOutputWithContext(ctx context.Context) GetAppSpecServiceOutput
- type GetAppSpecServiceRoutes
- type GetAppSpecServiceRoutesArgs
- type GetAppSpecServiceRoutesInput
- type GetAppSpecServiceRoutesOutput
- func (GetAppSpecServiceRoutesOutput) ElementType() reflect.Type
- func (o GetAppSpecServiceRoutesOutput) Path() pulumi.StringPtrOutput
- func (o GetAppSpecServiceRoutesOutput) ToGetAppSpecServiceRoutesOutput() GetAppSpecServiceRoutesOutput
- func (o GetAppSpecServiceRoutesOutput) ToGetAppSpecServiceRoutesOutputWithContext(ctx context.Context) GetAppSpecServiceRoutesOutput
- type GetAppSpecStaticSite
- type GetAppSpecStaticSiteArgs
- type GetAppSpecStaticSiteArray
- type GetAppSpecStaticSiteArrayInput
- type GetAppSpecStaticSiteArrayOutput
- func (GetAppSpecStaticSiteArrayOutput) ElementType() reflect.Type
- func (o GetAppSpecStaticSiteArrayOutput) Index(i pulumi.IntInput) GetAppSpecStaticSiteOutput
- func (o GetAppSpecStaticSiteArrayOutput) ToGetAppSpecStaticSiteArrayOutput() GetAppSpecStaticSiteArrayOutput
- func (o GetAppSpecStaticSiteArrayOutput) ToGetAppSpecStaticSiteArrayOutputWithContext(ctx context.Context) GetAppSpecStaticSiteArrayOutput
- type GetAppSpecStaticSiteEnv
- type GetAppSpecStaticSiteEnvArgs
- type GetAppSpecStaticSiteEnvArray
- func (GetAppSpecStaticSiteEnvArray) ElementType() reflect.Type
- func (i GetAppSpecStaticSiteEnvArray) ToGetAppSpecStaticSiteEnvArrayOutput() GetAppSpecStaticSiteEnvArrayOutput
- func (i GetAppSpecStaticSiteEnvArray) ToGetAppSpecStaticSiteEnvArrayOutputWithContext(ctx context.Context) GetAppSpecStaticSiteEnvArrayOutput
- type GetAppSpecStaticSiteEnvArrayInput
- type GetAppSpecStaticSiteEnvArrayOutput
- func (GetAppSpecStaticSiteEnvArrayOutput) ElementType() reflect.Type
- func (o GetAppSpecStaticSiteEnvArrayOutput) Index(i pulumi.IntInput) GetAppSpecStaticSiteEnvOutput
- func (o GetAppSpecStaticSiteEnvArrayOutput) ToGetAppSpecStaticSiteEnvArrayOutput() GetAppSpecStaticSiteEnvArrayOutput
- func (o GetAppSpecStaticSiteEnvArrayOutput) ToGetAppSpecStaticSiteEnvArrayOutputWithContext(ctx context.Context) GetAppSpecStaticSiteEnvArrayOutput
- type GetAppSpecStaticSiteEnvInput
- type GetAppSpecStaticSiteEnvOutput
- func (GetAppSpecStaticSiteEnvOutput) ElementType() reflect.Type
- func (o GetAppSpecStaticSiteEnvOutput) Key() pulumi.StringPtrOutput
- func (o GetAppSpecStaticSiteEnvOutput) Scope() pulumi.StringPtrOutput
- func (o GetAppSpecStaticSiteEnvOutput) ToGetAppSpecStaticSiteEnvOutput() GetAppSpecStaticSiteEnvOutput
- func (o GetAppSpecStaticSiteEnvOutput) ToGetAppSpecStaticSiteEnvOutputWithContext(ctx context.Context) GetAppSpecStaticSiteEnvOutput
- func (o GetAppSpecStaticSiteEnvOutput) Type() pulumi.StringOutput
- func (o GetAppSpecStaticSiteEnvOutput) Value() pulumi.StringPtrOutput
- type GetAppSpecStaticSiteGit
- type GetAppSpecStaticSiteGitArgs
- func (GetAppSpecStaticSiteGitArgs) ElementType() reflect.Type
- func (i GetAppSpecStaticSiteGitArgs) ToGetAppSpecStaticSiteGitOutput() GetAppSpecStaticSiteGitOutput
- func (i GetAppSpecStaticSiteGitArgs) ToGetAppSpecStaticSiteGitOutputWithContext(ctx context.Context) GetAppSpecStaticSiteGitOutput
- func (i GetAppSpecStaticSiteGitArgs) ToGetAppSpecStaticSiteGitPtrOutput() GetAppSpecStaticSiteGitPtrOutput
- func (i GetAppSpecStaticSiteGitArgs) ToGetAppSpecStaticSiteGitPtrOutputWithContext(ctx context.Context) GetAppSpecStaticSiteGitPtrOutput
- type GetAppSpecStaticSiteGitInput
- type GetAppSpecStaticSiteGitOutput
- func (o GetAppSpecStaticSiteGitOutput) Branch() pulumi.StringPtrOutput
- func (GetAppSpecStaticSiteGitOutput) ElementType() reflect.Type
- func (o GetAppSpecStaticSiteGitOutput) RepoCloneUrl() pulumi.StringPtrOutput
- func (o GetAppSpecStaticSiteGitOutput) ToGetAppSpecStaticSiteGitOutput() GetAppSpecStaticSiteGitOutput
- func (o GetAppSpecStaticSiteGitOutput) ToGetAppSpecStaticSiteGitOutputWithContext(ctx context.Context) GetAppSpecStaticSiteGitOutput
- func (o GetAppSpecStaticSiteGitOutput) ToGetAppSpecStaticSiteGitPtrOutput() GetAppSpecStaticSiteGitPtrOutput
- func (o GetAppSpecStaticSiteGitOutput) ToGetAppSpecStaticSiteGitPtrOutputWithContext(ctx context.Context) GetAppSpecStaticSiteGitPtrOutput
- type GetAppSpecStaticSiteGitPtrInput
- type GetAppSpecStaticSiteGitPtrOutput
- func (o GetAppSpecStaticSiteGitPtrOutput) Branch() pulumi.StringPtrOutput
- func (o GetAppSpecStaticSiteGitPtrOutput) Elem() GetAppSpecStaticSiteGitOutput
- func (GetAppSpecStaticSiteGitPtrOutput) ElementType() reflect.Type
- func (o GetAppSpecStaticSiteGitPtrOutput) RepoCloneUrl() pulumi.StringPtrOutput
- func (o GetAppSpecStaticSiteGitPtrOutput) ToGetAppSpecStaticSiteGitPtrOutput() GetAppSpecStaticSiteGitPtrOutput
- func (o GetAppSpecStaticSiteGitPtrOutput) ToGetAppSpecStaticSiteGitPtrOutputWithContext(ctx context.Context) GetAppSpecStaticSiteGitPtrOutput
- type GetAppSpecStaticSiteGithub
- type GetAppSpecStaticSiteGithubArgs
- func (GetAppSpecStaticSiteGithubArgs) ElementType() reflect.Type
- func (i GetAppSpecStaticSiteGithubArgs) ToGetAppSpecStaticSiteGithubOutput() GetAppSpecStaticSiteGithubOutput
- func (i GetAppSpecStaticSiteGithubArgs) ToGetAppSpecStaticSiteGithubOutputWithContext(ctx context.Context) GetAppSpecStaticSiteGithubOutput
- func (i GetAppSpecStaticSiteGithubArgs) ToGetAppSpecStaticSiteGithubPtrOutput() GetAppSpecStaticSiteGithubPtrOutput
- func (i GetAppSpecStaticSiteGithubArgs) ToGetAppSpecStaticSiteGithubPtrOutputWithContext(ctx context.Context) GetAppSpecStaticSiteGithubPtrOutput
- type GetAppSpecStaticSiteGithubInput
- type GetAppSpecStaticSiteGithubOutput
- func (o GetAppSpecStaticSiteGithubOutput) Branch() pulumi.StringPtrOutput
- func (o GetAppSpecStaticSiteGithubOutput) DeployOnPush() pulumi.BoolPtrOutput
- func (GetAppSpecStaticSiteGithubOutput) ElementType() reflect.Type
- func (o GetAppSpecStaticSiteGithubOutput) Repo() pulumi.StringPtrOutput
- func (o GetAppSpecStaticSiteGithubOutput) ToGetAppSpecStaticSiteGithubOutput() GetAppSpecStaticSiteGithubOutput
- func (o GetAppSpecStaticSiteGithubOutput) ToGetAppSpecStaticSiteGithubOutputWithContext(ctx context.Context) GetAppSpecStaticSiteGithubOutput
- func (o GetAppSpecStaticSiteGithubOutput) ToGetAppSpecStaticSiteGithubPtrOutput() GetAppSpecStaticSiteGithubPtrOutput
- func (o GetAppSpecStaticSiteGithubOutput) ToGetAppSpecStaticSiteGithubPtrOutputWithContext(ctx context.Context) GetAppSpecStaticSiteGithubPtrOutput
- type GetAppSpecStaticSiteGithubPtrInput
- type GetAppSpecStaticSiteGithubPtrOutput
- func (o GetAppSpecStaticSiteGithubPtrOutput) Branch() pulumi.StringPtrOutput
- func (o GetAppSpecStaticSiteGithubPtrOutput) DeployOnPush() pulumi.BoolPtrOutput
- func (o GetAppSpecStaticSiteGithubPtrOutput) Elem() GetAppSpecStaticSiteGithubOutput
- func (GetAppSpecStaticSiteGithubPtrOutput) ElementType() reflect.Type
- func (o GetAppSpecStaticSiteGithubPtrOutput) Repo() pulumi.StringPtrOutput
- func (o GetAppSpecStaticSiteGithubPtrOutput) ToGetAppSpecStaticSiteGithubPtrOutput() GetAppSpecStaticSiteGithubPtrOutput
- func (o GetAppSpecStaticSiteGithubPtrOutput) ToGetAppSpecStaticSiteGithubPtrOutputWithContext(ctx context.Context) GetAppSpecStaticSiteGithubPtrOutput
- type GetAppSpecStaticSiteInput
- type GetAppSpecStaticSiteOutput
- func (o GetAppSpecStaticSiteOutput) BuildCommand() pulumi.StringPtrOutput
- func (o GetAppSpecStaticSiteOutput) DockerfilePath() pulumi.StringPtrOutput
- func (GetAppSpecStaticSiteOutput) ElementType() reflect.Type
- func (o GetAppSpecStaticSiteOutput) EnvironmentSlug() pulumi.StringPtrOutput
- func (o GetAppSpecStaticSiteOutput) Envs() GetAppSpecStaticSiteEnvArrayOutput
- func (o GetAppSpecStaticSiteOutput) ErrorDocument() pulumi.StringPtrOutput
- func (o GetAppSpecStaticSiteOutput) Git() GetAppSpecStaticSiteGitPtrOutput
- func (o GetAppSpecStaticSiteOutput) Github() GetAppSpecStaticSiteGithubPtrOutput
- func (o GetAppSpecStaticSiteOutput) IndexDocument() pulumi.StringPtrOutput
- func (o GetAppSpecStaticSiteOutput) Name() pulumi.StringOutput
- func (o GetAppSpecStaticSiteOutput) OutputDir() pulumi.StringPtrOutput
- func (o GetAppSpecStaticSiteOutput) Routes() GetAppSpecStaticSiteRoutesOutput
- func (o GetAppSpecStaticSiteOutput) SourceDir() pulumi.StringPtrOutput
- func (o GetAppSpecStaticSiteOutput) ToGetAppSpecStaticSiteOutput() GetAppSpecStaticSiteOutput
- func (o GetAppSpecStaticSiteOutput) ToGetAppSpecStaticSiteOutputWithContext(ctx context.Context) GetAppSpecStaticSiteOutput
- type GetAppSpecStaticSiteRoutes
- type GetAppSpecStaticSiteRoutesArgs
- func (GetAppSpecStaticSiteRoutesArgs) ElementType() reflect.Type
- func (i GetAppSpecStaticSiteRoutesArgs) ToGetAppSpecStaticSiteRoutesOutput() GetAppSpecStaticSiteRoutesOutput
- func (i GetAppSpecStaticSiteRoutesArgs) ToGetAppSpecStaticSiteRoutesOutputWithContext(ctx context.Context) GetAppSpecStaticSiteRoutesOutput
- type GetAppSpecStaticSiteRoutesInput
- type GetAppSpecStaticSiteRoutesOutput
- func (GetAppSpecStaticSiteRoutesOutput) ElementType() reflect.Type
- func (o GetAppSpecStaticSiteRoutesOutput) Path() pulumi.StringPtrOutput
- func (o GetAppSpecStaticSiteRoutesOutput) ToGetAppSpecStaticSiteRoutesOutput() GetAppSpecStaticSiteRoutesOutput
- func (o GetAppSpecStaticSiteRoutesOutput) ToGetAppSpecStaticSiteRoutesOutputWithContext(ctx context.Context) GetAppSpecStaticSiteRoutesOutput
- type GetAppSpecWorker
- type GetAppSpecWorkerArgs
- type GetAppSpecWorkerArray
- type GetAppSpecWorkerArrayInput
- type GetAppSpecWorkerArrayOutput
- func (GetAppSpecWorkerArrayOutput) ElementType() reflect.Type
- func (o GetAppSpecWorkerArrayOutput) Index(i pulumi.IntInput) GetAppSpecWorkerOutput
- func (o GetAppSpecWorkerArrayOutput) ToGetAppSpecWorkerArrayOutput() GetAppSpecWorkerArrayOutput
- func (o GetAppSpecWorkerArrayOutput) ToGetAppSpecWorkerArrayOutputWithContext(ctx context.Context) GetAppSpecWorkerArrayOutput
- type GetAppSpecWorkerEnv
- type GetAppSpecWorkerEnvArgs
- type GetAppSpecWorkerEnvArray
- type GetAppSpecWorkerEnvArrayInput
- type GetAppSpecWorkerEnvArrayOutput
- func (GetAppSpecWorkerEnvArrayOutput) ElementType() reflect.Type
- func (o GetAppSpecWorkerEnvArrayOutput) Index(i pulumi.IntInput) GetAppSpecWorkerEnvOutput
- func (o GetAppSpecWorkerEnvArrayOutput) ToGetAppSpecWorkerEnvArrayOutput() GetAppSpecWorkerEnvArrayOutput
- func (o GetAppSpecWorkerEnvArrayOutput) ToGetAppSpecWorkerEnvArrayOutputWithContext(ctx context.Context) GetAppSpecWorkerEnvArrayOutput
- type GetAppSpecWorkerEnvInput
- type GetAppSpecWorkerEnvOutput
- func (GetAppSpecWorkerEnvOutput) ElementType() reflect.Type
- func (o GetAppSpecWorkerEnvOutput) Key() pulumi.StringPtrOutput
- func (o GetAppSpecWorkerEnvOutput) Scope() pulumi.StringPtrOutput
- func (o GetAppSpecWorkerEnvOutput) ToGetAppSpecWorkerEnvOutput() GetAppSpecWorkerEnvOutput
- func (o GetAppSpecWorkerEnvOutput) ToGetAppSpecWorkerEnvOutputWithContext(ctx context.Context) GetAppSpecWorkerEnvOutput
- func (o GetAppSpecWorkerEnvOutput) Type() pulumi.StringOutput
- func (o GetAppSpecWorkerEnvOutput) Value() pulumi.StringPtrOutput
- type GetAppSpecWorkerGit
- type GetAppSpecWorkerGitArgs
- func (GetAppSpecWorkerGitArgs) ElementType() reflect.Type
- func (i GetAppSpecWorkerGitArgs) ToGetAppSpecWorkerGitOutput() GetAppSpecWorkerGitOutput
- func (i GetAppSpecWorkerGitArgs) ToGetAppSpecWorkerGitOutputWithContext(ctx context.Context) GetAppSpecWorkerGitOutput
- func (i GetAppSpecWorkerGitArgs) ToGetAppSpecWorkerGitPtrOutput() GetAppSpecWorkerGitPtrOutput
- func (i GetAppSpecWorkerGitArgs) ToGetAppSpecWorkerGitPtrOutputWithContext(ctx context.Context) GetAppSpecWorkerGitPtrOutput
- type GetAppSpecWorkerGitInput
- type GetAppSpecWorkerGitOutput
- func (o GetAppSpecWorkerGitOutput) Branch() pulumi.StringPtrOutput
- func (GetAppSpecWorkerGitOutput) ElementType() reflect.Type
- func (o GetAppSpecWorkerGitOutput) RepoCloneUrl() pulumi.StringPtrOutput
- func (o GetAppSpecWorkerGitOutput) ToGetAppSpecWorkerGitOutput() GetAppSpecWorkerGitOutput
- func (o GetAppSpecWorkerGitOutput) ToGetAppSpecWorkerGitOutputWithContext(ctx context.Context) GetAppSpecWorkerGitOutput
- func (o GetAppSpecWorkerGitOutput) ToGetAppSpecWorkerGitPtrOutput() GetAppSpecWorkerGitPtrOutput
- func (o GetAppSpecWorkerGitOutput) ToGetAppSpecWorkerGitPtrOutputWithContext(ctx context.Context) GetAppSpecWorkerGitPtrOutput
- type GetAppSpecWorkerGitPtrInput
- type GetAppSpecWorkerGitPtrOutput
- func (o GetAppSpecWorkerGitPtrOutput) Branch() pulumi.StringPtrOutput
- func (o GetAppSpecWorkerGitPtrOutput) Elem() GetAppSpecWorkerGitOutput
- func (GetAppSpecWorkerGitPtrOutput) ElementType() reflect.Type
- func (o GetAppSpecWorkerGitPtrOutput) RepoCloneUrl() pulumi.StringPtrOutput
- func (o GetAppSpecWorkerGitPtrOutput) ToGetAppSpecWorkerGitPtrOutput() GetAppSpecWorkerGitPtrOutput
- func (o GetAppSpecWorkerGitPtrOutput) ToGetAppSpecWorkerGitPtrOutputWithContext(ctx context.Context) GetAppSpecWorkerGitPtrOutput
- type GetAppSpecWorkerGithub
- type GetAppSpecWorkerGithubArgs
- func (GetAppSpecWorkerGithubArgs) ElementType() reflect.Type
- func (i GetAppSpecWorkerGithubArgs) ToGetAppSpecWorkerGithubOutput() GetAppSpecWorkerGithubOutput
- func (i GetAppSpecWorkerGithubArgs) ToGetAppSpecWorkerGithubOutputWithContext(ctx context.Context) GetAppSpecWorkerGithubOutput
- func (i GetAppSpecWorkerGithubArgs) ToGetAppSpecWorkerGithubPtrOutput() GetAppSpecWorkerGithubPtrOutput
- func (i GetAppSpecWorkerGithubArgs) ToGetAppSpecWorkerGithubPtrOutputWithContext(ctx context.Context) GetAppSpecWorkerGithubPtrOutput
- type GetAppSpecWorkerGithubInput
- type GetAppSpecWorkerGithubOutput
- func (o GetAppSpecWorkerGithubOutput) Branch() pulumi.StringPtrOutput
- func (o GetAppSpecWorkerGithubOutput) DeployOnPush() pulumi.BoolPtrOutput
- func (GetAppSpecWorkerGithubOutput) ElementType() reflect.Type
- func (o GetAppSpecWorkerGithubOutput) Repo() pulumi.StringPtrOutput
- func (o GetAppSpecWorkerGithubOutput) ToGetAppSpecWorkerGithubOutput() GetAppSpecWorkerGithubOutput
- func (o GetAppSpecWorkerGithubOutput) ToGetAppSpecWorkerGithubOutputWithContext(ctx context.Context) GetAppSpecWorkerGithubOutput
- func (o GetAppSpecWorkerGithubOutput) ToGetAppSpecWorkerGithubPtrOutput() GetAppSpecWorkerGithubPtrOutput
- func (o GetAppSpecWorkerGithubOutput) ToGetAppSpecWorkerGithubPtrOutputWithContext(ctx context.Context) GetAppSpecWorkerGithubPtrOutput
- type GetAppSpecWorkerGithubPtrInput
- type GetAppSpecWorkerGithubPtrOutput
- func (o GetAppSpecWorkerGithubPtrOutput) Branch() pulumi.StringPtrOutput
- func (o GetAppSpecWorkerGithubPtrOutput) DeployOnPush() pulumi.BoolPtrOutput
- func (o GetAppSpecWorkerGithubPtrOutput) Elem() GetAppSpecWorkerGithubOutput
- func (GetAppSpecWorkerGithubPtrOutput) ElementType() reflect.Type
- func (o GetAppSpecWorkerGithubPtrOutput) Repo() pulumi.StringPtrOutput
- func (o GetAppSpecWorkerGithubPtrOutput) ToGetAppSpecWorkerGithubPtrOutput() GetAppSpecWorkerGithubPtrOutput
- func (o GetAppSpecWorkerGithubPtrOutput) ToGetAppSpecWorkerGithubPtrOutputWithContext(ctx context.Context) GetAppSpecWorkerGithubPtrOutput
- type GetAppSpecWorkerInput
- type GetAppSpecWorkerOutput
- func (o GetAppSpecWorkerOutput) BuildCommand() pulumi.StringPtrOutput
- func (o GetAppSpecWorkerOutput) DockerfilePath() pulumi.StringPtrOutput
- func (GetAppSpecWorkerOutput) ElementType() reflect.Type
- func (o GetAppSpecWorkerOutput) EnvironmentSlug() pulumi.StringPtrOutput
- func (o GetAppSpecWorkerOutput) Envs() GetAppSpecWorkerEnvArrayOutput
- func (o GetAppSpecWorkerOutput) Git() GetAppSpecWorkerGitPtrOutput
- func (o GetAppSpecWorkerOutput) Github() GetAppSpecWorkerGithubPtrOutput
- func (o GetAppSpecWorkerOutput) InstanceCount() pulumi.IntPtrOutput
- func (o GetAppSpecWorkerOutput) InstanceSizeSlug() pulumi.StringPtrOutput
- func (o GetAppSpecWorkerOutput) Name() pulumi.StringOutput
- func (o GetAppSpecWorkerOutput) Routes() GetAppSpecWorkerRoutesOutput
- func (o GetAppSpecWorkerOutput) RunCommand() pulumi.StringPtrOutput
- func (o GetAppSpecWorkerOutput) SourceDir() pulumi.StringPtrOutput
- func (o GetAppSpecWorkerOutput) ToGetAppSpecWorkerOutput() GetAppSpecWorkerOutput
- func (o GetAppSpecWorkerOutput) ToGetAppSpecWorkerOutputWithContext(ctx context.Context) GetAppSpecWorkerOutput
- type GetAppSpecWorkerRoutes
- type GetAppSpecWorkerRoutesArgs
- type GetAppSpecWorkerRoutesInput
- type GetAppSpecWorkerRoutesOutput
- func (GetAppSpecWorkerRoutesOutput) ElementType() reflect.Type
- func (o GetAppSpecWorkerRoutesOutput) Path() pulumi.StringPtrOutput
- func (o GetAppSpecWorkerRoutesOutput) ToGetAppSpecWorkerRoutesOutput() GetAppSpecWorkerRoutesOutput
- func (o GetAppSpecWorkerRoutesOutput) ToGetAppSpecWorkerRoutesOutputWithContext(ctx context.Context) GetAppSpecWorkerRoutesOutput
- type GetDatabaseClusterMaintenanceWindow
- type GetDatabaseClusterMaintenanceWindowArgs
- func (GetDatabaseClusterMaintenanceWindowArgs) ElementType() reflect.Type
- func (i GetDatabaseClusterMaintenanceWindowArgs) ToGetDatabaseClusterMaintenanceWindowOutput() GetDatabaseClusterMaintenanceWindowOutput
- func (i GetDatabaseClusterMaintenanceWindowArgs) ToGetDatabaseClusterMaintenanceWindowOutputWithContext(ctx context.Context) GetDatabaseClusterMaintenanceWindowOutput
- type GetDatabaseClusterMaintenanceWindowArray
- func (GetDatabaseClusterMaintenanceWindowArray) ElementType() reflect.Type
- func (i GetDatabaseClusterMaintenanceWindowArray) ToGetDatabaseClusterMaintenanceWindowArrayOutput() GetDatabaseClusterMaintenanceWindowArrayOutput
- func (i GetDatabaseClusterMaintenanceWindowArray) ToGetDatabaseClusterMaintenanceWindowArrayOutputWithContext(ctx context.Context) GetDatabaseClusterMaintenanceWindowArrayOutput
- type GetDatabaseClusterMaintenanceWindowArrayInput
- type GetDatabaseClusterMaintenanceWindowArrayOutput
- func (GetDatabaseClusterMaintenanceWindowArrayOutput) ElementType() reflect.Type
- func (o GetDatabaseClusterMaintenanceWindowArrayOutput) Index(i pulumi.IntInput) GetDatabaseClusterMaintenanceWindowOutput
- func (o GetDatabaseClusterMaintenanceWindowArrayOutput) ToGetDatabaseClusterMaintenanceWindowArrayOutput() GetDatabaseClusterMaintenanceWindowArrayOutput
- func (o GetDatabaseClusterMaintenanceWindowArrayOutput) ToGetDatabaseClusterMaintenanceWindowArrayOutputWithContext(ctx context.Context) GetDatabaseClusterMaintenanceWindowArrayOutput
- type GetDatabaseClusterMaintenanceWindowInput
- type GetDatabaseClusterMaintenanceWindowOutput
- func (o GetDatabaseClusterMaintenanceWindowOutput) Day() pulumi.StringOutput
- func (GetDatabaseClusterMaintenanceWindowOutput) ElementType() reflect.Type
- func (o GetDatabaseClusterMaintenanceWindowOutput) Hour() pulumi.StringOutput
- func (o GetDatabaseClusterMaintenanceWindowOutput) ToGetDatabaseClusterMaintenanceWindowOutput() GetDatabaseClusterMaintenanceWindowOutput
- func (o GetDatabaseClusterMaintenanceWindowOutput) ToGetDatabaseClusterMaintenanceWindowOutputWithContext(ctx context.Context) GetDatabaseClusterMaintenanceWindowOutput
- type GetDomainsArgs
- type GetDomainsDomain
- type GetDomainsDomainArgs
- type GetDomainsDomainArray
- type GetDomainsDomainArrayInput
- type GetDomainsDomainArrayOutput
- func (GetDomainsDomainArrayOutput) ElementType() reflect.Type
- func (o GetDomainsDomainArrayOutput) Index(i pulumi.IntInput) GetDomainsDomainOutput
- func (o GetDomainsDomainArrayOutput) ToGetDomainsDomainArrayOutput() GetDomainsDomainArrayOutput
- func (o GetDomainsDomainArrayOutput) ToGetDomainsDomainArrayOutputWithContext(ctx context.Context) GetDomainsDomainArrayOutput
- type GetDomainsDomainInput
- type GetDomainsDomainOutput
- func (GetDomainsDomainOutput) ElementType() reflect.Type
- func (o GetDomainsDomainOutput) Name() pulumi.StringOutput
- func (o GetDomainsDomainOutput) ToGetDomainsDomainOutput() GetDomainsDomainOutput
- func (o GetDomainsDomainOutput) ToGetDomainsDomainOutputWithContext(ctx context.Context) GetDomainsDomainOutput
- func (o GetDomainsDomainOutput) Ttl() pulumi.IntOutput
- func (o GetDomainsDomainOutput) Urn() pulumi.StringOutput
- type GetDomainsFilter
- type GetDomainsFilterArgs
- type GetDomainsFilterArray
- type GetDomainsFilterArrayInput
- type GetDomainsFilterArrayOutput
- func (GetDomainsFilterArrayOutput) ElementType() reflect.Type
- func (o GetDomainsFilterArrayOutput) Index(i pulumi.IntInput) GetDomainsFilterOutput
- func (o GetDomainsFilterArrayOutput) ToGetDomainsFilterArrayOutput() GetDomainsFilterArrayOutput
- func (o GetDomainsFilterArrayOutput) ToGetDomainsFilterArrayOutputWithContext(ctx context.Context) GetDomainsFilterArrayOutput
- type GetDomainsFilterInput
- type GetDomainsFilterOutput
- func (o GetDomainsFilterOutput) All() pulumi.BoolPtrOutput
- func (GetDomainsFilterOutput) ElementType() reflect.Type
- func (o GetDomainsFilterOutput) Key() pulumi.StringOutput
- func (o GetDomainsFilterOutput) MatchBy() pulumi.StringPtrOutput
- func (o GetDomainsFilterOutput) ToGetDomainsFilterOutput() GetDomainsFilterOutput
- func (o GetDomainsFilterOutput) ToGetDomainsFilterOutputWithContext(ctx context.Context) GetDomainsFilterOutput
- func (o GetDomainsFilterOutput) Values() pulumi.StringArrayOutput
- type GetDomainsResult
- type GetDomainsSort
- type GetDomainsSortArgs
- type GetDomainsSortArray
- type GetDomainsSortArrayInput
- type GetDomainsSortArrayOutput
- func (GetDomainsSortArrayOutput) ElementType() reflect.Type
- func (o GetDomainsSortArrayOutput) Index(i pulumi.IntInput) GetDomainsSortOutput
- func (o GetDomainsSortArrayOutput) ToGetDomainsSortArrayOutput() GetDomainsSortArrayOutput
- func (o GetDomainsSortArrayOutput) ToGetDomainsSortArrayOutputWithContext(ctx context.Context) GetDomainsSortArrayOutput
- type GetDomainsSortInput
- type GetDomainsSortOutput
- func (o GetDomainsSortOutput) Direction() pulumi.StringPtrOutput
- func (GetDomainsSortOutput) ElementType() reflect.Type
- func (o GetDomainsSortOutput) Key() pulumi.StringOutput
- func (o GetDomainsSortOutput) ToGetDomainsSortOutput() GetDomainsSortOutput
- func (o GetDomainsSortOutput) ToGetDomainsSortOutputWithContext(ctx context.Context) GetDomainsSortOutput
- type GetDropletsArgs
- type GetDropletsDroplet
- type GetDropletsDropletArgs
- type GetDropletsDropletArray
- type GetDropletsDropletArrayInput
- type GetDropletsDropletArrayOutput
- func (GetDropletsDropletArrayOutput) ElementType() reflect.Type
- func (o GetDropletsDropletArrayOutput) Index(i pulumi.IntInput) GetDropletsDropletOutput
- func (o GetDropletsDropletArrayOutput) ToGetDropletsDropletArrayOutput() GetDropletsDropletArrayOutput
- func (o GetDropletsDropletArrayOutput) ToGetDropletsDropletArrayOutputWithContext(ctx context.Context) GetDropletsDropletArrayOutput
- type GetDropletsDropletInput
- type GetDropletsDropletOutput
- func (o GetDropletsDropletOutput) Backups() pulumi.BoolOutput
- func (o GetDropletsDropletOutput) CreatedAt() pulumi.StringOutput
- func (o GetDropletsDropletOutput) Disk() pulumi.IntOutput
- func (GetDropletsDropletOutput) ElementType() reflect.Type
- func (o GetDropletsDropletOutput) Id() pulumi.IntOutput
- func (o GetDropletsDropletOutput) Image() pulumi.StringOutput
- func (o GetDropletsDropletOutput) Ipv4Address() pulumi.StringOutput
- func (o GetDropletsDropletOutput) Ipv4AddressPrivate() pulumi.StringOutput
- func (o GetDropletsDropletOutput) Ipv6() pulumi.BoolOutput
- func (o GetDropletsDropletOutput) Ipv6Address() pulumi.StringOutput
- func (o GetDropletsDropletOutput) Ipv6AddressPrivate() pulumi.StringOutput
- func (o GetDropletsDropletOutput) Locked() pulumi.BoolOutput
- func (o GetDropletsDropletOutput) Memory() pulumi.IntOutput
- func (o GetDropletsDropletOutput) Monitoring() pulumi.BoolOutput
- func (o GetDropletsDropletOutput) Name() pulumi.StringOutput
- func (o GetDropletsDropletOutput) PriceHourly() pulumi.Float64Output
- func (o GetDropletsDropletOutput) PriceMonthly() pulumi.Float64Output
- func (o GetDropletsDropletOutput) PrivateNetworking() pulumi.BoolOutput
- func (o GetDropletsDropletOutput) Region() pulumi.StringOutput
- func (o GetDropletsDropletOutput) Size() pulumi.StringOutput
- func (o GetDropletsDropletOutput) Status() pulumi.StringOutput
- func (o GetDropletsDropletOutput) Tags() pulumi.StringArrayOutput
- func (o GetDropletsDropletOutput) ToGetDropletsDropletOutput() GetDropletsDropletOutput
- func (o GetDropletsDropletOutput) ToGetDropletsDropletOutputWithContext(ctx context.Context) GetDropletsDropletOutput
- func (o GetDropletsDropletOutput) Urn() pulumi.StringOutput
- func (o GetDropletsDropletOutput) Vcpus() pulumi.IntOutput
- func (o GetDropletsDropletOutput) VolumeIds() pulumi.StringArrayOutput
- func (o GetDropletsDropletOutput) VpcUuid() pulumi.StringOutput
- type GetDropletsFilter
- type GetDropletsFilterArgs
- type GetDropletsFilterArray
- type GetDropletsFilterArrayInput
- type GetDropletsFilterArrayOutput
- func (GetDropletsFilterArrayOutput) ElementType() reflect.Type
- func (o GetDropletsFilterArrayOutput) Index(i pulumi.IntInput) GetDropletsFilterOutput
- func (o GetDropletsFilterArrayOutput) ToGetDropletsFilterArrayOutput() GetDropletsFilterArrayOutput
- func (o GetDropletsFilterArrayOutput) ToGetDropletsFilterArrayOutputWithContext(ctx context.Context) GetDropletsFilterArrayOutput
- type GetDropletsFilterInput
- type GetDropletsFilterOutput
- func (o GetDropletsFilterOutput) All() pulumi.BoolPtrOutput
- func (GetDropletsFilterOutput) ElementType() reflect.Type
- func (o GetDropletsFilterOutput) Key() pulumi.StringOutput
- func (o GetDropletsFilterOutput) MatchBy() pulumi.StringPtrOutput
- func (o GetDropletsFilterOutput) ToGetDropletsFilterOutput() GetDropletsFilterOutput
- func (o GetDropletsFilterOutput) ToGetDropletsFilterOutputWithContext(ctx context.Context) GetDropletsFilterOutput
- func (o GetDropletsFilterOutput) Values() pulumi.StringArrayOutput
- type GetDropletsResult
- type GetDropletsSort
- type GetDropletsSortArgs
- type GetDropletsSortArray
- type GetDropletsSortArrayInput
- type GetDropletsSortArrayOutput
- func (GetDropletsSortArrayOutput) ElementType() reflect.Type
- func (o GetDropletsSortArrayOutput) Index(i pulumi.IntInput) GetDropletsSortOutput
- func (o GetDropletsSortArrayOutput) ToGetDropletsSortArrayOutput() GetDropletsSortArrayOutput
- func (o GetDropletsSortArrayOutput) ToGetDropletsSortArrayOutputWithContext(ctx context.Context) GetDropletsSortArrayOutput
- type GetDropletsSortInput
- type GetDropletsSortOutput
- func (o GetDropletsSortOutput) Direction() pulumi.StringPtrOutput
- func (GetDropletsSortOutput) ElementType() reflect.Type
- func (o GetDropletsSortOutput) Key() pulumi.StringOutput
- func (o GetDropletsSortOutput) ToGetDropletsSortOutput() GetDropletsSortOutput
- func (o GetDropletsSortOutput) ToGetDropletsSortOutputWithContext(ctx context.Context) GetDropletsSortOutput
- type GetImageArgs
- type GetImageResult
- type GetImagesArgs
- type GetImagesFilter
- type GetImagesFilterArgs
- type GetImagesFilterArray
- type GetImagesFilterArrayInput
- type GetImagesFilterArrayOutput
- func (GetImagesFilterArrayOutput) ElementType() reflect.Type
- func (o GetImagesFilterArrayOutput) Index(i pulumi.IntInput) GetImagesFilterOutput
- func (o GetImagesFilterArrayOutput) ToGetImagesFilterArrayOutput() GetImagesFilterArrayOutput
- func (o GetImagesFilterArrayOutput) ToGetImagesFilterArrayOutputWithContext(ctx context.Context) GetImagesFilterArrayOutput
- type GetImagesFilterInput
- type GetImagesFilterOutput
- func (o GetImagesFilterOutput) All() pulumi.BoolPtrOutput
- func (GetImagesFilterOutput) ElementType() reflect.Type
- func (o GetImagesFilterOutput) Key() pulumi.StringOutput
- func (o GetImagesFilterOutput) MatchBy() pulumi.StringPtrOutput
- func (o GetImagesFilterOutput) ToGetImagesFilterOutput() GetImagesFilterOutput
- func (o GetImagesFilterOutput) ToGetImagesFilterOutputWithContext(ctx context.Context) GetImagesFilterOutput
- func (o GetImagesFilterOutput) Values() pulumi.StringArrayOutput
- type GetImagesImage
- type GetImagesImageArgs
- type GetImagesImageArray
- type GetImagesImageArrayInput
- type GetImagesImageArrayOutput
- func (GetImagesImageArrayOutput) ElementType() reflect.Type
- func (o GetImagesImageArrayOutput) Index(i pulumi.IntInput) GetImagesImageOutput
- func (o GetImagesImageArrayOutput) ToGetImagesImageArrayOutput() GetImagesImageArrayOutput
- func (o GetImagesImageArrayOutput) ToGetImagesImageArrayOutputWithContext(ctx context.Context) GetImagesImageArrayOutput
- type GetImagesImageInput
- type GetImagesImageOutput
- func (o GetImagesImageOutput) Created() pulumi.StringOutput
- func (o GetImagesImageOutput) Distribution() pulumi.StringOutput
- func (GetImagesImageOutput) ElementType() reflect.Type
- func (o GetImagesImageOutput) ErrorMessage() pulumi.StringOutput
- func (o GetImagesImageOutput) Id() pulumi.IntOutput
- func (o GetImagesImageOutput) Image() pulumi.StringOutput
- func (o GetImagesImageOutput) MinDiskSize() pulumi.IntOutput
- func (o GetImagesImageOutput) Name() pulumi.StringOutput
- func (o GetImagesImageOutput) Private() pulumi.BoolOutput
- func (o GetImagesImageOutput) Regions() pulumi.StringArrayOutput
- func (o GetImagesImageOutput) SizeGigabytes() pulumi.Float64Output
- func (o GetImagesImageOutput) Slug() pulumi.StringOutput
- func (o GetImagesImageOutput) Status() pulumi.StringOutput
- func (o GetImagesImageOutput) Tags() pulumi.StringArrayOutput
- func (o GetImagesImageOutput) ToGetImagesImageOutput() GetImagesImageOutput
- func (o GetImagesImageOutput) ToGetImagesImageOutputWithContext(ctx context.Context) GetImagesImageOutput
- func (o GetImagesImageOutput) Type() pulumi.StringOutput
- type GetImagesResult
- type GetImagesSort
- type GetImagesSortArgs
- type GetImagesSortArray
- type GetImagesSortArrayInput
- type GetImagesSortArrayOutput
- func (GetImagesSortArrayOutput) ElementType() reflect.Type
- func (o GetImagesSortArrayOutput) Index(i pulumi.IntInput) GetImagesSortOutput
- func (o GetImagesSortArrayOutput) ToGetImagesSortArrayOutput() GetImagesSortArrayOutput
- func (o GetImagesSortArrayOutput) ToGetImagesSortArrayOutputWithContext(ctx context.Context) GetImagesSortArrayOutput
- type GetImagesSortInput
- type GetImagesSortOutput
- func (o GetImagesSortOutput) Direction() pulumi.StringPtrOutput
- func (GetImagesSortOutput) ElementType() reflect.Type
- func (o GetImagesSortOutput) Key() pulumi.StringOutput
- func (o GetImagesSortOutput) ToGetImagesSortOutput() GetImagesSortOutput
- func (o GetImagesSortOutput) ToGetImagesSortOutputWithContext(ctx context.Context) GetImagesSortOutput
- type GetKubernetesClusterKubeConfig
- type GetKubernetesClusterKubeConfigArgs
- func (GetKubernetesClusterKubeConfigArgs) ElementType() reflect.Type
- func (i GetKubernetesClusterKubeConfigArgs) ToGetKubernetesClusterKubeConfigOutput() GetKubernetesClusterKubeConfigOutput
- func (i GetKubernetesClusterKubeConfigArgs) ToGetKubernetesClusterKubeConfigOutputWithContext(ctx context.Context) GetKubernetesClusterKubeConfigOutput
- type GetKubernetesClusterKubeConfigArray
- func (GetKubernetesClusterKubeConfigArray) ElementType() reflect.Type
- func (i GetKubernetesClusterKubeConfigArray) ToGetKubernetesClusterKubeConfigArrayOutput() GetKubernetesClusterKubeConfigArrayOutput
- func (i GetKubernetesClusterKubeConfigArray) ToGetKubernetesClusterKubeConfigArrayOutputWithContext(ctx context.Context) GetKubernetesClusterKubeConfigArrayOutput
- type GetKubernetesClusterKubeConfigArrayInput
- type GetKubernetesClusterKubeConfigArrayOutput
- func (GetKubernetesClusterKubeConfigArrayOutput) ElementType() reflect.Type
- func (o GetKubernetesClusterKubeConfigArrayOutput) Index(i pulumi.IntInput) GetKubernetesClusterKubeConfigOutput
- func (o GetKubernetesClusterKubeConfigArrayOutput) ToGetKubernetesClusterKubeConfigArrayOutput() GetKubernetesClusterKubeConfigArrayOutput
- func (o GetKubernetesClusterKubeConfigArrayOutput) ToGetKubernetesClusterKubeConfigArrayOutputWithContext(ctx context.Context) GetKubernetesClusterKubeConfigArrayOutput
- type GetKubernetesClusterKubeConfigInput
- type GetKubernetesClusterKubeConfigOutput
- func (o GetKubernetesClusterKubeConfigOutput) ClientCertificate() pulumi.StringOutput
- func (o GetKubernetesClusterKubeConfigOutput) ClientKey() pulumi.StringOutput
- func (o GetKubernetesClusterKubeConfigOutput) ClusterCaCertificate() pulumi.StringOutput
- func (GetKubernetesClusterKubeConfigOutput) ElementType() reflect.Type
- func (o GetKubernetesClusterKubeConfigOutput) ExpiresAt() pulumi.StringOutput
- func (o GetKubernetesClusterKubeConfigOutput) Host() pulumi.StringOutput
- func (o GetKubernetesClusterKubeConfigOutput) RawConfig() pulumi.StringOutput
- func (o GetKubernetesClusterKubeConfigOutput) ToGetKubernetesClusterKubeConfigOutput() GetKubernetesClusterKubeConfigOutput
- func (o GetKubernetesClusterKubeConfigOutput) ToGetKubernetesClusterKubeConfigOutputWithContext(ctx context.Context) GetKubernetesClusterKubeConfigOutput
- func (o GetKubernetesClusterKubeConfigOutput) Token() pulumi.StringOutput
- type GetKubernetesClusterNodePool
- type GetKubernetesClusterNodePoolArgs
- func (GetKubernetesClusterNodePoolArgs) ElementType() reflect.Type
- func (i GetKubernetesClusterNodePoolArgs) ToGetKubernetesClusterNodePoolOutput() GetKubernetesClusterNodePoolOutput
- func (i GetKubernetesClusterNodePoolArgs) ToGetKubernetesClusterNodePoolOutputWithContext(ctx context.Context) GetKubernetesClusterNodePoolOutput
- type GetKubernetesClusterNodePoolArray
- func (GetKubernetesClusterNodePoolArray) ElementType() reflect.Type
- func (i GetKubernetesClusterNodePoolArray) ToGetKubernetesClusterNodePoolArrayOutput() GetKubernetesClusterNodePoolArrayOutput
- func (i GetKubernetesClusterNodePoolArray) ToGetKubernetesClusterNodePoolArrayOutputWithContext(ctx context.Context) GetKubernetesClusterNodePoolArrayOutput
- type GetKubernetesClusterNodePoolArrayInput
- type GetKubernetesClusterNodePoolArrayOutput
- func (GetKubernetesClusterNodePoolArrayOutput) ElementType() reflect.Type
- func (o GetKubernetesClusterNodePoolArrayOutput) Index(i pulumi.IntInput) GetKubernetesClusterNodePoolOutput
- func (o GetKubernetesClusterNodePoolArrayOutput) ToGetKubernetesClusterNodePoolArrayOutput() GetKubernetesClusterNodePoolArrayOutput
- func (o GetKubernetesClusterNodePoolArrayOutput) ToGetKubernetesClusterNodePoolArrayOutputWithContext(ctx context.Context) GetKubernetesClusterNodePoolArrayOutput
- type GetKubernetesClusterNodePoolInput
- type GetKubernetesClusterNodePoolNode
- type GetKubernetesClusterNodePoolNodeArgs
- func (GetKubernetesClusterNodePoolNodeArgs) ElementType() reflect.Type
- func (i GetKubernetesClusterNodePoolNodeArgs) ToGetKubernetesClusterNodePoolNodeOutput() GetKubernetesClusterNodePoolNodeOutput
- func (i GetKubernetesClusterNodePoolNodeArgs) ToGetKubernetesClusterNodePoolNodeOutputWithContext(ctx context.Context) GetKubernetesClusterNodePoolNodeOutput
- type GetKubernetesClusterNodePoolNodeArray
- func (GetKubernetesClusterNodePoolNodeArray) ElementType() reflect.Type
- func (i GetKubernetesClusterNodePoolNodeArray) ToGetKubernetesClusterNodePoolNodeArrayOutput() GetKubernetesClusterNodePoolNodeArrayOutput
- func (i GetKubernetesClusterNodePoolNodeArray) ToGetKubernetesClusterNodePoolNodeArrayOutputWithContext(ctx context.Context) GetKubernetesClusterNodePoolNodeArrayOutput
- type GetKubernetesClusterNodePoolNodeArrayInput
- type GetKubernetesClusterNodePoolNodeArrayOutput
- func (GetKubernetesClusterNodePoolNodeArrayOutput) ElementType() reflect.Type
- func (o GetKubernetesClusterNodePoolNodeArrayOutput) Index(i pulumi.IntInput) GetKubernetesClusterNodePoolNodeOutput
- func (o GetKubernetesClusterNodePoolNodeArrayOutput) ToGetKubernetesClusterNodePoolNodeArrayOutput() GetKubernetesClusterNodePoolNodeArrayOutput
- func (o GetKubernetesClusterNodePoolNodeArrayOutput) ToGetKubernetesClusterNodePoolNodeArrayOutputWithContext(ctx context.Context) GetKubernetesClusterNodePoolNodeArrayOutput
- type GetKubernetesClusterNodePoolNodeInput
- type GetKubernetesClusterNodePoolNodeOutput
- func (o GetKubernetesClusterNodePoolNodeOutput) CreatedAt() pulumi.StringOutput
- func (o GetKubernetesClusterNodePoolNodeOutput) DropletId() pulumi.StringOutput
- func (GetKubernetesClusterNodePoolNodeOutput) ElementType() reflect.Type
- func (o GetKubernetesClusterNodePoolNodeOutput) Id() pulumi.StringOutput
- func (o GetKubernetesClusterNodePoolNodeOutput) Name() pulumi.StringOutput
- func (o GetKubernetesClusterNodePoolNodeOutput) Status() pulumi.StringOutput
- func (o GetKubernetesClusterNodePoolNodeOutput) ToGetKubernetesClusterNodePoolNodeOutput() GetKubernetesClusterNodePoolNodeOutput
- func (o GetKubernetesClusterNodePoolNodeOutput) ToGetKubernetesClusterNodePoolNodeOutputWithContext(ctx context.Context) GetKubernetesClusterNodePoolNodeOutput
- func (o GetKubernetesClusterNodePoolNodeOutput) UpdatedAt() pulumi.StringOutput
- type GetKubernetesClusterNodePoolOutput
- func (o GetKubernetesClusterNodePoolOutput) ActualNodeCount() pulumi.IntOutput
- func (o GetKubernetesClusterNodePoolOutput) AutoScale() pulumi.BoolOutput
- func (GetKubernetesClusterNodePoolOutput) ElementType() reflect.Type
- func (o GetKubernetesClusterNodePoolOutput) Id() pulumi.StringOutput
- func (o GetKubernetesClusterNodePoolOutput) Labels() pulumi.StringMapOutput
- func (o GetKubernetesClusterNodePoolOutput) MaxNodes() pulumi.IntOutput
- func (o GetKubernetesClusterNodePoolOutput) MinNodes() pulumi.IntOutput
- func (o GetKubernetesClusterNodePoolOutput) Name() pulumi.StringOutput
- func (o GetKubernetesClusterNodePoolOutput) NodeCount() pulumi.IntOutput
- func (o GetKubernetesClusterNodePoolOutput) Nodes() GetKubernetesClusterNodePoolNodeArrayOutput
- func (o GetKubernetesClusterNodePoolOutput) Size() pulumi.StringOutput
- func (o GetKubernetesClusterNodePoolOutput) Tags() pulumi.StringArrayOutput
- func (o GetKubernetesClusterNodePoolOutput) ToGetKubernetesClusterNodePoolOutput() GetKubernetesClusterNodePoolOutput
- func (o GetKubernetesClusterNodePoolOutput) ToGetKubernetesClusterNodePoolOutputWithContext(ctx context.Context) GetKubernetesClusterNodePoolOutput
- type GetKubernetesVersionsArgs
- type GetKubernetesVersionsResult
- type GetLoadBalancerForwardingRule
- type GetLoadBalancerForwardingRuleArgs
- func (GetLoadBalancerForwardingRuleArgs) ElementType() reflect.Type
- func (i GetLoadBalancerForwardingRuleArgs) ToGetLoadBalancerForwardingRuleOutput() GetLoadBalancerForwardingRuleOutput
- func (i GetLoadBalancerForwardingRuleArgs) ToGetLoadBalancerForwardingRuleOutputWithContext(ctx context.Context) GetLoadBalancerForwardingRuleOutput
- type GetLoadBalancerForwardingRuleArray
- func (GetLoadBalancerForwardingRuleArray) ElementType() reflect.Type
- func (i GetLoadBalancerForwardingRuleArray) ToGetLoadBalancerForwardingRuleArrayOutput() GetLoadBalancerForwardingRuleArrayOutput
- func (i GetLoadBalancerForwardingRuleArray) ToGetLoadBalancerForwardingRuleArrayOutputWithContext(ctx context.Context) GetLoadBalancerForwardingRuleArrayOutput
- type GetLoadBalancerForwardingRuleArrayInput
- type GetLoadBalancerForwardingRuleArrayOutput
- func (GetLoadBalancerForwardingRuleArrayOutput) ElementType() reflect.Type
- func (o GetLoadBalancerForwardingRuleArrayOutput) Index(i pulumi.IntInput) GetLoadBalancerForwardingRuleOutput
- func (o GetLoadBalancerForwardingRuleArrayOutput) ToGetLoadBalancerForwardingRuleArrayOutput() GetLoadBalancerForwardingRuleArrayOutput
- func (o GetLoadBalancerForwardingRuleArrayOutput) ToGetLoadBalancerForwardingRuleArrayOutputWithContext(ctx context.Context) GetLoadBalancerForwardingRuleArrayOutput
- type GetLoadBalancerForwardingRuleInput
- type GetLoadBalancerForwardingRuleOutput
- func (o GetLoadBalancerForwardingRuleOutput) CertificateId() pulumi.StringOutput
- func (GetLoadBalancerForwardingRuleOutput) ElementType() reflect.Type
- func (o GetLoadBalancerForwardingRuleOutput) EntryPort() pulumi.IntOutput
- func (o GetLoadBalancerForwardingRuleOutput) EntryProtocol() pulumi.StringOutput
- func (o GetLoadBalancerForwardingRuleOutput) TargetPort() pulumi.IntOutput
- func (o GetLoadBalancerForwardingRuleOutput) TargetProtocol() pulumi.StringOutput
- func (o GetLoadBalancerForwardingRuleOutput) TlsPassthrough() pulumi.BoolOutput
- func (o GetLoadBalancerForwardingRuleOutput) ToGetLoadBalancerForwardingRuleOutput() GetLoadBalancerForwardingRuleOutput
- func (o GetLoadBalancerForwardingRuleOutput) ToGetLoadBalancerForwardingRuleOutputWithContext(ctx context.Context) GetLoadBalancerForwardingRuleOutput
- type GetLoadBalancerHealthcheck
- type GetLoadBalancerHealthcheckArgs
- func (GetLoadBalancerHealthcheckArgs) ElementType() reflect.Type
- func (i GetLoadBalancerHealthcheckArgs) ToGetLoadBalancerHealthcheckOutput() GetLoadBalancerHealthcheckOutput
- func (i GetLoadBalancerHealthcheckArgs) ToGetLoadBalancerHealthcheckOutputWithContext(ctx context.Context) GetLoadBalancerHealthcheckOutput
- type GetLoadBalancerHealthcheckInput
- type GetLoadBalancerHealthcheckOutput
- func (o GetLoadBalancerHealthcheckOutput) CheckIntervalSeconds() pulumi.IntOutput
- func (GetLoadBalancerHealthcheckOutput) ElementType() reflect.Type
- func (o GetLoadBalancerHealthcheckOutput) HealthyThreshold() pulumi.IntOutput
- func (o GetLoadBalancerHealthcheckOutput) Path() pulumi.StringOutput
- func (o GetLoadBalancerHealthcheckOutput) Port() pulumi.IntOutput
- func (o GetLoadBalancerHealthcheckOutput) Protocol() pulumi.StringOutput
- func (o GetLoadBalancerHealthcheckOutput) ResponseTimeoutSeconds() pulumi.IntOutput
- func (o GetLoadBalancerHealthcheckOutput) ToGetLoadBalancerHealthcheckOutput() GetLoadBalancerHealthcheckOutput
- func (o GetLoadBalancerHealthcheckOutput) ToGetLoadBalancerHealthcheckOutputWithContext(ctx context.Context) GetLoadBalancerHealthcheckOutput
- func (o GetLoadBalancerHealthcheckOutput) UnhealthyThreshold() pulumi.IntOutput
- type GetLoadBalancerStickySessions
- type GetLoadBalancerStickySessionsArgs
- func (GetLoadBalancerStickySessionsArgs) ElementType() reflect.Type
- func (i GetLoadBalancerStickySessionsArgs) ToGetLoadBalancerStickySessionsOutput() GetLoadBalancerStickySessionsOutput
- func (i GetLoadBalancerStickySessionsArgs) ToGetLoadBalancerStickySessionsOutputWithContext(ctx context.Context) GetLoadBalancerStickySessionsOutput
- type GetLoadBalancerStickySessionsInput
- type GetLoadBalancerStickySessionsOutput
- func (o GetLoadBalancerStickySessionsOutput) CookieName() pulumi.StringOutput
- func (o GetLoadBalancerStickySessionsOutput) CookieTtlSeconds() pulumi.IntOutput
- func (GetLoadBalancerStickySessionsOutput) ElementType() reflect.Type
- func (o GetLoadBalancerStickySessionsOutput) ToGetLoadBalancerStickySessionsOutput() GetLoadBalancerStickySessionsOutput
- func (o GetLoadBalancerStickySessionsOutput) ToGetLoadBalancerStickySessionsOutputWithContext(ctx context.Context) GetLoadBalancerStickySessionsOutput
- func (o GetLoadBalancerStickySessionsOutput) Type() pulumi.StringOutput
- type GetProjectsArgs
- type GetProjectsFilter
- type GetProjectsFilterArgs
- type GetProjectsFilterArray
- type GetProjectsFilterArrayInput
- type GetProjectsFilterArrayOutput
- func (GetProjectsFilterArrayOutput) ElementType() reflect.Type
- func (o GetProjectsFilterArrayOutput) Index(i pulumi.IntInput) GetProjectsFilterOutput
- func (o GetProjectsFilterArrayOutput) ToGetProjectsFilterArrayOutput() GetProjectsFilterArrayOutput
- func (o GetProjectsFilterArrayOutput) ToGetProjectsFilterArrayOutputWithContext(ctx context.Context) GetProjectsFilterArrayOutput
- type GetProjectsFilterInput
- type GetProjectsFilterOutput
- func (o GetProjectsFilterOutput) All() pulumi.BoolPtrOutput
- func (GetProjectsFilterOutput) ElementType() reflect.Type
- func (o GetProjectsFilterOutput) Key() pulumi.StringOutput
- func (o GetProjectsFilterOutput) MatchBy() pulumi.StringPtrOutput
- func (o GetProjectsFilterOutput) ToGetProjectsFilterOutput() GetProjectsFilterOutput
- func (o GetProjectsFilterOutput) ToGetProjectsFilterOutputWithContext(ctx context.Context) GetProjectsFilterOutput
- func (o GetProjectsFilterOutput) Values() pulumi.StringArrayOutput
- type GetProjectsProject
- type GetProjectsProjectArgs
- type GetProjectsProjectArray
- type GetProjectsProjectArrayInput
- type GetProjectsProjectArrayOutput
- func (GetProjectsProjectArrayOutput) ElementType() reflect.Type
- func (o GetProjectsProjectArrayOutput) Index(i pulumi.IntInput) GetProjectsProjectOutput
- func (o GetProjectsProjectArrayOutput) ToGetProjectsProjectArrayOutput() GetProjectsProjectArrayOutput
- func (o GetProjectsProjectArrayOutput) ToGetProjectsProjectArrayOutputWithContext(ctx context.Context) GetProjectsProjectArrayOutput
- type GetProjectsProjectInput
- type GetProjectsProjectOutput
- func (o GetProjectsProjectOutput) CreatedAt() pulumi.StringOutput
- func (o GetProjectsProjectOutput) Description() pulumi.StringOutput
- func (GetProjectsProjectOutput) ElementType() reflect.Type
- func (o GetProjectsProjectOutput) Environment() pulumi.StringOutput
- func (o GetProjectsProjectOutput) Id() pulumi.StringOutput
- func (o GetProjectsProjectOutput) IsDefault() pulumi.BoolOutput
- func (o GetProjectsProjectOutput) Name() pulumi.StringOutput
- func (o GetProjectsProjectOutput) OwnerId() pulumi.IntOutput
- func (o GetProjectsProjectOutput) OwnerUuid() pulumi.StringOutput
- func (o GetProjectsProjectOutput) Purpose() pulumi.StringOutput
- func (o GetProjectsProjectOutput) Resources() pulumi.StringArrayOutput
- func (o GetProjectsProjectOutput) ToGetProjectsProjectOutput() GetProjectsProjectOutput
- func (o GetProjectsProjectOutput) ToGetProjectsProjectOutputWithContext(ctx context.Context) GetProjectsProjectOutput
- func (o GetProjectsProjectOutput) UpdatedAt() pulumi.StringOutput
- type GetProjectsResult
- type GetProjectsSort
- type GetProjectsSortArgs
- type GetProjectsSortArray
- type GetProjectsSortArrayInput
- type GetProjectsSortArrayOutput
- func (GetProjectsSortArrayOutput) ElementType() reflect.Type
- func (o GetProjectsSortArrayOutput) Index(i pulumi.IntInput) GetProjectsSortOutput
- func (o GetProjectsSortArrayOutput) ToGetProjectsSortArrayOutput() GetProjectsSortArrayOutput
- func (o GetProjectsSortArrayOutput) ToGetProjectsSortArrayOutputWithContext(ctx context.Context) GetProjectsSortArrayOutput
- type GetProjectsSortInput
- type GetProjectsSortOutput
- func (o GetProjectsSortOutput) Direction() pulumi.StringPtrOutput
- func (GetProjectsSortOutput) ElementType() reflect.Type
- func (o GetProjectsSortOutput) Key() pulumi.StringOutput
- func (o GetProjectsSortOutput) ToGetProjectsSortOutput() GetProjectsSortOutput
- func (o GetProjectsSortOutput) ToGetProjectsSortOutputWithContext(ctx context.Context) GetProjectsSortOutput
- type GetRecordArgs
- type GetRecordResult
- type GetRegionArgs
- type GetRegionResult
- type GetRegionsArgs
- type GetRegionsFilter
- type GetRegionsFilterArgs
- type GetRegionsFilterArray
- type GetRegionsFilterArrayInput
- type GetRegionsFilterArrayOutput
- func (GetRegionsFilterArrayOutput) ElementType() reflect.Type
- func (o GetRegionsFilterArrayOutput) Index(i pulumi.IntInput) GetRegionsFilterOutput
- func (o GetRegionsFilterArrayOutput) ToGetRegionsFilterArrayOutput() GetRegionsFilterArrayOutput
- func (o GetRegionsFilterArrayOutput) ToGetRegionsFilterArrayOutputWithContext(ctx context.Context) GetRegionsFilterArrayOutput
- type GetRegionsFilterInput
- type GetRegionsFilterOutput
- func (o GetRegionsFilterOutput) All() pulumi.BoolPtrOutput
- func (GetRegionsFilterOutput) ElementType() reflect.Type
- func (o GetRegionsFilterOutput) Key() pulumi.StringOutput
- func (o GetRegionsFilterOutput) MatchBy() pulumi.StringPtrOutput
- func (o GetRegionsFilterOutput) ToGetRegionsFilterOutput() GetRegionsFilterOutput
- func (o GetRegionsFilterOutput) ToGetRegionsFilterOutputWithContext(ctx context.Context) GetRegionsFilterOutput
- func (o GetRegionsFilterOutput) Values() pulumi.StringArrayOutput
- type GetRegionsRegion
- type GetRegionsRegionArgs
- type GetRegionsRegionArray
- type GetRegionsRegionArrayInput
- type GetRegionsRegionArrayOutput
- func (GetRegionsRegionArrayOutput) ElementType() reflect.Type
- func (o GetRegionsRegionArrayOutput) Index(i pulumi.IntInput) GetRegionsRegionOutput
- func (o GetRegionsRegionArrayOutput) ToGetRegionsRegionArrayOutput() GetRegionsRegionArrayOutput
- func (o GetRegionsRegionArrayOutput) ToGetRegionsRegionArrayOutputWithContext(ctx context.Context) GetRegionsRegionArrayOutput
- type GetRegionsRegionInput
- type GetRegionsRegionOutput
- func (o GetRegionsRegionOutput) Available() pulumi.BoolOutput
- func (GetRegionsRegionOutput) ElementType() reflect.Type
- func (o GetRegionsRegionOutput) Features() pulumi.StringArrayOutput
- func (o GetRegionsRegionOutput) Name() pulumi.StringOutput
- func (o GetRegionsRegionOutput) Sizes() pulumi.StringArrayOutput
- func (o GetRegionsRegionOutput) Slug() pulumi.StringOutput
- func (o GetRegionsRegionOutput) ToGetRegionsRegionOutput() GetRegionsRegionOutput
- func (o GetRegionsRegionOutput) ToGetRegionsRegionOutputWithContext(ctx context.Context) GetRegionsRegionOutput
- type GetRegionsResult
- type GetRegionsSort
- type GetRegionsSortArgs
- type GetRegionsSortArray
- type GetRegionsSortArrayInput
- type GetRegionsSortArrayOutput
- func (GetRegionsSortArrayOutput) ElementType() reflect.Type
- func (o GetRegionsSortArrayOutput) Index(i pulumi.IntInput) GetRegionsSortOutput
- func (o GetRegionsSortArrayOutput) ToGetRegionsSortArrayOutput() GetRegionsSortArrayOutput
- func (o GetRegionsSortArrayOutput) ToGetRegionsSortArrayOutputWithContext(ctx context.Context) GetRegionsSortArrayOutput
- type GetRegionsSortInput
- type GetRegionsSortOutput
- func (o GetRegionsSortOutput) Direction() pulumi.StringPtrOutput
- func (GetRegionsSortOutput) ElementType() reflect.Type
- func (o GetRegionsSortOutput) Key() pulumi.StringOutput
- func (o GetRegionsSortOutput) ToGetRegionsSortOutput() GetRegionsSortOutput
- func (o GetRegionsSortOutput) ToGetRegionsSortOutputWithContext(ctx context.Context) GetRegionsSortOutput
- type GetSizesArgs
- type GetSizesFilter
- type GetSizesFilterArgs
- type GetSizesFilterArray
- type GetSizesFilterArrayInput
- type GetSizesFilterArrayOutput
- func (GetSizesFilterArrayOutput) ElementType() reflect.Type
- func (o GetSizesFilterArrayOutput) Index(i pulumi.IntInput) GetSizesFilterOutput
- func (o GetSizesFilterArrayOutput) ToGetSizesFilterArrayOutput() GetSizesFilterArrayOutput
- func (o GetSizesFilterArrayOutput) ToGetSizesFilterArrayOutputWithContext(ctx context.Context) GetSizesFilterArrayOutput
- type GetSizesFilterInput
- type GetSizesFilterOutput
- func (o GetSizesFilterOutput) All() pulumi.BoolPtrOutput
- func (GetSizesFilterOutput) ElementType() reflect.Type
- func (o GetSizesFilterOutput) Key() pulumi.StringOutput
- func (o GetSizesFilterOutput) MatchBy() pulumi.StringPtrOutput
- func (o GetSizesFilterOutput) ToGetSizesFilterOutput() GetSizesFilterOutput
- func (o GetSizesFilterOutput) ToGetSizesFilterOutputWithContext(ctx context.Context) GetSizesFilterOutput
- func (o GetSizesFilterOutput) Values() pulumi.StringArrayOutput
- type GetSizesResult
- type GetSizesSize
- type GetSizesSizeArgs
- type GetSizesSizeArray
- type GetSizesSizeArrayInput
- type GetSizesSizeArrayOutput
- func (GetSizesSizeArrayOutput) ElementType() reflect.Type
- func (o GetSizesSizeArrayOutput) Index(i pulumi.IntInput) GetSizesSizeOutput
- func (o GetSizesSizeArrayOutput) ToGetSizesSizeArrayOutput() GetSizesSizeArrayOutput
- func (o GetSizesSizeArrayOutput) ToGetSizesSizeArrayOutputWithContext(ctx context.Context) GetSizesSizeArrayOutput
- type GetSizesSizeInput
- type GetSizesSizeOutput
- func (o GetSizesSizeOutput) Available() pulumi.BoolOutput
- func (o GetSizesSizeOutput) Disk() pulumi.IntOutput
- func (GetSizesSizeOutput) ElementType() reflect.Type
- func (o GetSizesSizeOutput) Memory() pulumi.IntOutput
- func (o GetSizesSizeOutput) PriceHourly() pulumi.Float64Output
- func (o GetSizesSizeOutput) PriceMonthly() pulumi.Float64Output
- func (o GetSizesSizeOutput) Regions() pulumi.StringArrayOutput
- func (o GetSizesSizeOutput) Slug() pulumi.StringOutput
- func (o GetSizesSizeOutput) ToGetSizesSizeOutput() GetSizesSizeOutput
- func (o GetSizesSizeOutput) ToGetSizesSizeOutputWithContext(ctx context.Context) GetSizesSizeOutput
- func (o GetSizesSizeOutput) Transfer() pulumi.Float64Output
- func (o GetSizesSizeOutput) Vcpus() pulumi.IntOutput
- type GetSizesSort
- type GetSizesSortArgs
- type GetSizesSortArray
- type GetSizesSortArrayInput
- type GetSizesSortArrayOutput
- func (GetSizesSortArrayOutput) ElementType() reflect.Type
- func (o GetSizesSortArrayOutput) Index(i pulumi.IntInput) GetSizesSortOutput
- func (o GetSizesSortArrayOutput) ToGetSizesSortArrayOutput() GetSizesSortArrayOutput
- func (o GetSizesSortArrayOutput) ToGetSizesSortArrayOutputWithContext(ctx context.Context) GetSizesSortArrayOutput
- type GetSizesSortInput
- type GetSizesSortOutput
- func (o GetSizesSortOutput) Direction() pulumi.StringPtrOutput
- func (GetSizesSortOutput) ElementType() reflect.Type
- func (o GetSizesSortOutput) Key() pulumi.StringOutput
- func (o GetSizesSortOutput) ToGetSizesSortOutput() GetSizesSortOutput
- func (o GetSizesSortOutput) ToGetSizesSortOutputWithContext(ctx context.Context) GetSizesSortOutput
- type GetSpacesBucketObjectsArgs
- type GetSpacesBucketObjectsResult
- type GetSpacesBucketsArgs
- type GetSpacesBucketsBucket
- type GetSpacesBucketsBucketArgs
- type GetSpacesBucketsBucketArray
- func (GetSpacesBucketsBucketArray) ElementType() reflect.Type
- func (i GetSpacesBucketsBucketArray) ToGetSpacesBucketsBucketArrayOutput() GetSpacesBucketsBucketArrayOutput
- func (i GetSpacesBucketsBucketArray) ToGetSpacesBucketsBucketArrayOutputWithContext(ctx context.Context) GetSpacesBucketsBucketArrayOutput
- type GetSpacesBucketsBucketArrayInput
- type GetSpacesBucketsBucketArrayOutput
- func (GetSpacesBucketsBucketArrayOutput) ElementType() reflect.Type
- func (o GetSpacesBucketsBucketArrayOutput) Index(i pulumi.IntInput) GetSpacesBucketsBucketOutput
- func (o GetSpacesBucketsBucketArrayOutput) ToGetSpacesBucketsBucketArrayOutput() GetSpacesBucketsBucketArrayOutput
- func (o GetSpacesBucketsBucketArrayOutput) ToGetSpacesBucketsBucketArrayOutputWithContext(ctx context.Context) GetSpacesBucketsBucketArrayOutput
- type GetSpacesBucketsBucketInput
- type GetSpacesBucketsBucketOutput
- func (o GetSpacesBucketsBucketOutput) BucketDomainName() pulumi.StringOutput
- func (GetSpacesBucketsBucketOutput) ElementType() reflect.Type
- func (o GetSpacesBucketsBucketOutput) Name() pulumi.StringOutput
- func (o GetSpacesBucketsBucketOutput) Region() pulumi.StringOutput
- func (o GetSpacesBucketsBucketOutput) ToGetSpacesBucketsBucketOutput() GetSpacesBucketsBucketOutput
- func (o GetSpacesBucketsBucketOutput) ToGetSpacesBucketsBucketOutputWithContext(ctx context.Context) GetSpacesBucketsBucketOutput
- func (o GetSpacesBucketsBucketOutput) Urn() pulumi.StringOutput
- type GetSpacesBucketsFilter
- type GetSpacesBucketsFilterArgs
- type GetSpacesBucketsFilterArray
- func (GetSpacesBucketsFilterArray) ElementType() reflect.Type
- func (i GetSpacesBucketsFilterArray) ToGetSpacesBucketsFilterArrayOutput() GetSpacesBucketsFilterArrayOutput
- func (i GetSpacesBucketsFilterArray) ToGetSpacesBucketsFilterArrayOutputWithContext(ctx context.Context) GetSpacesBucketsFilterArrayOutput
- type GetSpacesBucketsFilterArrayInput
- type GetSpacesBucketsFilterArrayOutput
- func (GetSpacesBucketsFilterArrayOutput) ElementType() reflect.Type
- func (o GetSpacesBucketsFilterArrayOutput) Index(i pulumi.IntInput) GetSpacesBucketsFilterOutput
- func (o GetSpacesBucketsFilterArrayOutput) ToGetSpacesBucketsFilterArrayOutput() GetSpacesBucketsFilterArrayOutput
- func (o GetSpacesBucketsFilterArrayOutput) ToGetSpacesBucketsFilterArrayOutputWithContext(ctx context.Context) GetSpacesBucketsFilterArrayOutput
- type GetSpacesBucketsFilterInput
- type GetSpacesBucketsFilterOutput
- func (o GetSpacesBucketsFilterOutput) All() pulumi.BoolPtrOutput
- func (GetSpacesBucketsFilterOutput) ElementType() reflect.Type
- func (o GetSpacesBucketsFilterOutput) Key() pulumi.StringOutput
- func (o GetSpacesBucketsFilterOutput) MatchBy() pulumi.StringPtrOutput
- func (o GetSpacesBucketsFilterOutput) ToGetSpacesBucketsFilterOutput() GetSpacesBucketsFilterOutput
- func (o GetSpacesBucketsFilterOutput) ToGetSpacesBucketsFilterOutputWithContext(ctx context.Context) GetSpacesBucketsFilterOutput
- func (o GetSpacesBucketsFilterOutput) Values() pulumi.StringArrayOutput
- type GetSpacesBucketsResult
- type GetSpacesBucketsSort
- type GetSpacesBucketsSortArgs
- type GetSpacesBucketsSortArray
- type GetSpacesBucketsSortArrayInput
- type GetSpacesBucketsSortArrayOutput
- func (GetSpacesBucketsSortArrayOutput) ElementType() reflect.Type
- func (o GetSpacesBucketsSortArrayOutput) Index(i pulumi.IntInput) GetSpacesBucketsSortOutput
- func (o GetSpacesBucketsSortArrayOutput) ToGetSpacesBucketsSortArrayOutput() GetSpacesBucketsSortArrayOutput
- func (o GetSpacesBucketsSortArrayOutput) ToGetSpacesBucketsSortArrayOutputWithContext(ctx context.Context) GetSpacesBucketsSortArrayOutput
- type GetSpacesBucketsSortInput
- type GetSpacesBucketsSortOutput
- func (o GetSpacesBucketsSortOutput) Direction() pulumi.StringPtrOutput
- func (GetSpacesBucketsSortOutput) ElementType() reflect.Type
- func (o GetSpacesBucketsSortOutput) Key() pulumi.StringOutput
- func (o GetSpacesBucketsSortOutput) ToGetSpacesBucketsSortOutput() GetSpacesBucketsSortOutput
- func (o GetSpacesBucketsSortOutput) ToGetSpacesBucketsSortOutputWithContext(ctx context.Context) GetSpacesBucketsSortOutput
- type GetTagsArgs
- type GetTagsFilter
- type GetTagsFilterArgs
- type GetTagsFilterArray
- type GetTagsFilterArrayInput
- type GetTagsFilterArrayOutput
- func (GetTagsFilterArrayOutput) ElementType() reflect.Type
- func (o GetTagsFilterArrayOutput) Index(i pulumi.IntInput) GetTagsFilterOutput
- func (o GetTagsFilterArrayOutput) ToGetTagsFilterArrayOutput() GetTagsFilterArrayOutput
- func (o GetTagsFilterArrayOutput) ToGetTagsFilterArrayOutputWithContext(ctx context.Context) GetTagsFilterArrayOutput
- type GetTagsFilterInput
- type GetTagsFilterOutput
- func (o GetTagsFilterOutput) All() pulumi.BoolPtrOutput
- func (GetTagsFilterOutput) ElementType() reflect.Type
- func (o GetTagsFilterOutput) Key() pulumi.StringOutput
- func (o GetTagsFilterOutput) MatchBy() pulumi.StringPtrOutput
- func (o GetTagsFilterOutput) ToGetTagsFilterOutput() GetTagsFilterOutput
- func (o GetTagsFilterOutput) ToGetTagsFilterOutputWithContext(ctx context.Context) GetTagsFilterOutput
- func (o GetTagsFilterOutput) Values() pulumi.StringArrayOutput
- type GetTagsResult
- type GetTagsSort
- type GetTagsSortArgs
- type GetTagsSortArray
- type GetTagsSortArrayInput
- type GetTagsSortArrayOutput
- func (GetTagsSortArrayOutput) ElementType() reflect.Type
- func (o GetTagsSortArrayOutput) Index(i pulumi.IntInput) GetTagsSortOutput
- func (o GetTagsSortArrayOutput) ToGetTagsSortArrayOutput() GetTagsSortArrayOutput
- func (o GetTagsSortArrayOutput) ToGetTagsSortArrayOutputWithContext(ctx context.Context) GetTagsSortArrayOutput
- type GetTagsSortInput
- type GetTagsSortOutput
- func (o GetTagsSortOutput) Direction() pulumi.StringPtrOutput
- func (GetTagsSortOutput) ElementType() reflect.Type
- func (o GetTagsSortOutput) Key() pulumi.StringOutput
- func (o GetTagsSortOutput) ToGetTagsSortOutput() GetTagsSortOutput
- func (o GetTagsSortOutput) ToGetTagsSortOutputWithContext(ctx context.Context) GetTagsSortOutput
- type GetTagsTag
- type GetTagsTagArgs
- type GetTagsTagArray
- type GetTagsTagArrayInput
- type GetTagsTagArrayOutput
- func (GetTagsTagArrayOutput) ElementType() reflect.Type
- func (o GetTagsTagArrayOutput) Index(i pulumi.IntInput) GetTagsTagOutput
- func (o GetTagsTagArrayOutput) ToGetTagsTagArrayOutput() GetTagsTagArrayOutput
- func (o GetTagsTagArrayOutput) ToGetTagsTagArrayOutputWithContext(ctx context.Context) GetTagsTagArrayOutput
- type GetTagsTagInput
- type GetTagsTagOutput
- func (o GetTagsTagOutput) DatabasesCount() pulumi.IntOutput
- func (o GetTagsTagOutput) DropletsCount() pulumi.IntOutput
- func (GetTagsTagOutput) ElementType() reflect.Type
- func (o GetTagsTagOutput) ImagesCount() pulumi.IntOutput
- func (o GetTagsTagOutput) Name() pulumi.StringOutput
- func (o GetTagsTagOutput) ToGetTagsTagOutput() GetTagsTagOutput
- func (o GetTagsTagOutput) ToGetTagsTagOutputWithContext(ctx context.Context) GetTagsTagOutput
- func (o GetTagsTagOutput) TotalResourceCount() pulumi.IntOutput
- func (o GetTagsTagOutput) VolumeSnapshotsCount() pulumi.IntOutput
- func (o GetTagsTagOutput) VolumesCount() pulumi.IntOutput
- type KubernetesCluster
- type KubernetesClusterArgs
- type KubernetesClusterKubeConfig
- type KubernetesClusterKubeConfigArgs
- func (KubernetesClusterKubeConfigArgs) ElementType() reflect.Type
- func (i KubernetesClusterKubeConfigArgs) ToKubernetesClusterKubeConfigOutput() KubernetesClusterKubeConfigOutput
- func (i KubernetesClusterKubeConfigArgs) ToKubernetesClusterKubeConfigOutputWithContext(ctx context.Context) KubernetesClusterKubeConfigOutput
- type KubernetesClusterKubeConfigArray
- func (KubernetesClusterKubeConfigArray) ElementType() reflect.Type
- func (i KubernetesClusterKubeConfigArray) ToKubernetesClusterKubeConfigArrayOutput() KubernetesClusterKubeConfigArrayOutput
- func (i KubernetesClusterKubeConfigArray) ToKubernetesClusterKubeConfigArrayOutputWithContext(ctx context.Context) KubernetesClusterKubeConfigArrayOutput
- type KubernetesClusterKubeConfigArrayInput
- type KubernetesClusterKubeConfigArrayOutput
- func (KubernetesClusterKubeConfigArrayOutput) ElementType() reflect.Type
- func (o KubernetesClusterKubeConfigArrayOutput) Index(i pulumi.IntInput) KubernetesClusterKubeConfigOutput
- func (o KubernetesClusterKubeConfigArrayOutput) ToKubernetesClusterKubeConfigArrayOutput() KubernetesClusterKubeConfigArrayOutput
- func (o KubernetesClusterKubeConfigArrayOutput) ToKubernetesClusterKubeConfigArrayOutputWithContext(ctx context.Context) KubernetesClusterKubeConfigArrayOutput
- type KubernetesClusterKubeConfigInput
- type KubernetesClusterKubeConfigOutput
- func (o KubernetesClusterKubeConfigOutput) ClientCertificate() pulumi.StringPtrOutput
- func (o KubernetesClusterKubeConfigOutput) ClientKey() pulumi.StringPtrOutput
- func (o KubernetesClusterKubeConfigOutput) ClusterCaCertificate() pulumi.StringPtrOutput
- func (KubernetesClusterKubeConfigOutput) ElementType() reflect.Type
- func (o KubernetesClusterKubeConfigOutput) ExpiresAt() pulumi.StringPtrOutput
- func (o KubernetesClusterKubeConfigOutput) Host() pulumi.StringPtrOutput
- func (o KubernetesClusterKubeConfigOutput) RawConfig() pulumi.StringPtrOutput
- func (o KubernetesClusterKubeConfigOutput) ToKubernetesClusterKubeConfigOutput() KubernetesClusterKubeConfigOutput
- func (o KubernetesClusterKubeConfigOutput) ToKubernetesClusterKubeConfigOutputWithContext(ctx context.Context) KubernetesClusterKubeConfigOutput
- func (o KubernetesClusterKubeConfigOutput) Token() pulumi.StringPtrOutput
- type KubernetesClusterNodePool
- type KubernetesClusterNodePoolArgs
- func (KubernetesClusterNodePoolArgs) ElementType() reflect.Type
- func (i KubernetesClusterNodePoolArgs) ToKubernetesClusterNodePoolOutput() KubernetesClusterNodePoolOutput
- func (i KubernetesClusterNodePoolArgs) ToKubernetesClusterNodePoolOutputWithContext(ctx context.Context) KubernetesClusterNodePoolOutput
- func (i KubernetesClusterNodePoolArgs) ToKubernetesClusterNodePoolPtrOutput() KubernetesClusterNodePoolPtrOutput
- func (i KubernetesClusterNodePoolArgs) ToKubernetesClusterNodePoolPtrOutputWithContext(ctx context.Context) KubernetesClusterNodePoolPtrOutput
- type KubernetesClusterNodePoolInput
- type KubernetesClusterNodePoolNode
- type KubernetesClusterNodePoolNodeArgs
- func (KubernetesClusterNodePoolNodeArgs) ElementType() reflect.Type
- func (i KubernetesClusterNodePoolNodeArgs) ToKubernetesClusterNodePoolNodeOutput() KubernetesClusterNodePoolNodeOutput
- func (i KubernetesClusterNodePoolNodeArgs) ToKubernetesClusterNodePoolNodeOutputWithContext(ctx context.Context) KubernetesClusterNodePoolNodeOutput
- type KubernetesClusterNodePoolNodeArray
- func (KubernetesClusterNodePoolNodeArray) ElementType() reflect.Type
- func (i KubernetesClusterNodePoolNodeArray) ToKubernetesClusterNodePoolNodeArrayOutput() KubernetesClusterNodePoolNodeArrayOutput
- func (i KubernetesClusterNodePoolNodeArray) ToKubernetesClusterNodePoolNodeArrayOutputWithContext(ctx context.Context) KubernetesClusterNodePoolNodeArrayOutput
- type KubernetesClusterNodePoolNodeArrayInput
- type KubernetesClusterNodePoolNodeArrayOutput
- func (KubernetesClusterNodePoolNodeArrayOutput) ElementType() reflect.Type
- func (o KubernetesClusterNodePoolNodeArrayOutput) Index(i pulumi.IntInput) KubernetesClusterNodePoolNodeOutput
- func (o KubernetesClusterNodePoolNodeArrayOutput) ToKubernetesClusterNodePoolNodeArrayOutput() KubernetesClusterNodePoolNodeArrayOutput
- func (o KubernetesClusterNodePoolNodeArrayOutput) ToKubernetesClusterNodePoolNodeArrayOutputWithContext(ctx context.Context) KubernetesClusterNodePoolNodeArrayOutput
- type KubernetesClusterNodePoolNodeInput
- type KubernetesClusterNodePoolNodeOutput
- func (o KubernetesClusterNodePoolNodeOutput) CreatedAt() pulumi.StringPtrOutput
- func (o KubernetesClusterNodePoolNodeOutput) DropletId() pulumi.StringPtrOutput
- func (KubernetesClusterNodePoolNodeOutput) ElementType() reflect.Type
- func (o KubernetesClusterNodePoolNodeOutput) Id() pulumi.StringPtrOutput
- func (o KubernetesClusterNodePoolNodeOutput) Name() pulumi.StringPtrOutput
- func (o KubernetesClusterNodePoolNodeOutput) Status() pulumi.StringPtrOutput
- func (o KubernetesClusterNodePoolNodeOutput) ToKubernetesClusterNodePoolNodeOutput() KubernetesClusterNodePoolNodeOutput
- func (o KubernetesClusterNodePoolNodeOutput) ToKubernetesClusterNodePoolNodeOutputWithContext(ctx context.Context) KubernetesClusterNodePoolNodeOutput
- func (o KubernetesClusterNodePoolNodeOutput) UpdatedAt() pulumi.StringPtrOutput
- type KubernetesClusterNodePoolOutput
- func (o KubernetesClusterNodePoolOutput) ActualNodeCount() pulumi.IntPtrOutput
- func (o KubernetesClusterNodePoolOutput) AutoScale() pulumi.BoolPtrOutput
- func (KubernetesClusterNodePoolOutput) ElementType() reflect.Type
- func (o KubernetesClusterNodePoolOutput) Id() pulumi.StringPtrOutput
- func (o KubernetesClusterNodePoolOutput) Labels() pulumi.StringMapOutput
- func (o KubernetesClusterNodePoolOutput) MaxNodes() pulumi.IntPtrOutput
- func (o KubernetesClusterNodePoolOutput) MinNodes() pulumi.IntPtrOutput
- func (o KubernetesClusterNodePoolOutput) Name() pulumi.StringOutput
- func (o KubernetesClusterNodePoolOutput) NodeCount() pulumi.IntPtrOutput
- func (o KubernetesClusterNodePoolOutput) Nodes() KubernetesClusterNodePoolNodeArrayOutput
- func (o KubernetesClusterNodePoolOutput) Size() pulumi.StringOutput
- func (o KubernetesClusterNodePoolOutput) Tags() pulumi.StringArrayOutput
- func (o KubernetesClusterNodePoolOutput) ToKubernetesClusterNodePoolOutput() KubernetesClusterNodePoolOutput
- func (o KubernetesClusterNodePoolOutput) ToKubernetesClusterNodePoolOutputWithContext(ctx context.Context) KubernetesClusterNodePoolOutput
- func (o KubernetesClusterNodePoolOutput) ToKubernetesClusterNodePoolPtrOutput() KubernetesClusterNodePoolPtrOutput
- func (o KubernetesClusterNodePoolOutput) ToKubernetesClusterNodePoolPtrOutputWithContext(ctx context.Context) KubernetesClusterNodePoolPtrOutput
- type KubernetesClusterNodePoolPtrInput
- type KubernetesClusterNodePoolPtrOutput
- func (o KubernetesClusterNodePoolPtrOutput) ActualNodeCount() pulumi.IntPtrOutput
- func (o KubernetesClusterNodePoolPtrOutput) AutoScale() pulumi.BoolPtrOutput
- func (o KubernetesClusterNodePoolPtrOutput) Elem() KubernetesClusterNodePoolOutput
- func (KubernetesClusterNodePoolPtrOutput) ElementType() reflect.Type
- func (o KubernetesClusterNodePoolPtrOutput) Id() pulumi.StringPtrOutput
- func (o KubernetesClusterNodePoolPtrOutput) Labels() pulumi.StringMapOutput
- func (o KubernetesClusterNodePoolPtrOutput) MaxNodes() pulumi.IntPtrOutput
- func (o KubernetesClusterNodePoolPtrOutput) MinNodes() pulumi.IntPtrOutput
- func (o KubernetesClusterNodePoolPtrOutput) Name() pulumi.StringPtrOutput
- func (o KubernetesClusterNodePoolPtrOutput) NodeCount() pulumi.IntPtrOutput
- func (o KubernetesClusterNodePoolPtrOutput) Nodes() KubernetesClusterNodePoolNodeArrayOutput
- func (o KubernetesClusterNodePoolPtrOutput) Size() pulumi.StringPtrOutput
- func (o KubernetesClusterNodePoolPtrOutput) Tags() pulumi.StringArrayOutput
- func (o KubernetesClusterNodePoolPtrOutput) ToKubernetesClusterNodePoolPtrOutput() KubernetesClusterNodePoolPtrOutput
- func (o KubernetesClusterNodePoolPtrOutput) ToKubernetesClusterNodePoolPtrOutputWithContext(ctx context.Context) KubernetesClusterNodePoolPtrOutput
- type KubernetesClusterState
- type KubernetesNodePool
- type KubernetesNodePoolArgs
- type KubernetesNodePoolNode
- type KubernetesNodePoolNodeArgs
- type KubernetesNodePoolNodeArray
- func (KubernetesNodePoolNodeArray) ElementType() reflect.Type
- func (i KubernetesNodePoolNodeArray) ToKubernetesNodePoolNodeArrayOutput() KubernetesNodePoolNodeArrayOutput
- func (i KubernetesNodePoolNodeArray) ToKubernetesNodePoolNodeArrayOutputWithContext(ctx context.Context) KubernetesNodePoolNodeArrayOutput
- type KubernetesNodePoolNodeArrayInput
- type KubernetesNodePoolNodeArrayOutput
- func (KubernetesNodePoolNodeArrayOutput) ElementType() reflect.Type
- func (o KubernetesNodePoolNodeArrayOutput) Index(i pulumi.IntInput) KubernetesNodePoolNodeOutput
- func (o KubernetesNodePoolNodeArrayOutput) ToKubernetesNodePoolNodeArrayOutput() KubernetesNodePoolNodeArrayOutput
- func (o KubernetesNodePoolNodeArrayOutput) ToKubernetesNodePoolNodeArrayOutputWithContext(ctx context.Context) KubernetesNodePoolNodeArrayOutput
- type KubernetesNodePoolNodeInput
- type KubernetesNodePoolNodeOutput
- func (o KubernetesNodePoolNodeOutput) CreatedAt() pulumi.StringPtrOutput
- func (o KubernetesNodePoolNodeOutput) DropletId() pulumi.StringPtrOutput
- func (KubernetesNodePoolNodeOutput) ElementType() reflect.Type
- func (o KubernetesNodePoolNodeOutput) Id() pulumi.StringPtrOutput
- func (o KubernetesNodePoolNodeOutput) Name() pulumi.StringPtrOutput
- func (o KubernetesNodePoolNodeOutput) Status() pulumi.StringPtrOutput
- func (o KubernetesNodePoolNodeOutput) ToKubernetesNodePoolNodeOutput() KubernetesNodePoolNodeOutput
- func (o KubernetesNodePoolNodeOutput) ToKubernetesNodePoolNodeOutputWithContext(ctx context.Context) KubernetesNodePoolNodeOutput
- func (o KubernetesNodePoolNodeOutput) UpdatedAt() pulumi.StringPtrOutput
- type KubernetesNodePoolState
- type LoadBalancer
- type LoadBalancerArgs
- type LoadBalancerForwardingRule
- type LoadBalancerForwardingRuleArgs
- func (LoadBalancerForwardingRuleArgs) ElementType() reflect.Type
- func (i LoadBalancerForwardingRuleArgs) ToLoadBalancerForwardingRuleOutput() LoadBalancerForwardingRuleOutput
- func (i LoadBalancerForwardingRuleArgs) ToLoadBalancerForwardingRuleOutputWithContext(ctx context.Context) LoadBalancerForwardingRuleOutput
- type LoadBalancerForwardingRuleArray
- func (LoadBalancerForwardingRuleArray) ElementType() reflect.Type
- func (i LoadBalancerForwardingRuleArray) ToLoadBalancerForwardingRuleArrayOutput() LoadBalancerForwardingRuleArrayOutput
- func (i LoadBalancerForwardingRuleArray) ToLoadBalancerForwardingRuleArrayOutputWithContext(ctx context.Context) LoadBalancerForwardingRuleArrayOutput
- type LoadBalancerForwardingRuleArrayInput
- type LoadBalancerForwardingRuleArrayOutput
- func (LoadBalancerForwardingRuleArrayOutput) ElementType() reflect.Type
- func (o LoadBalancerForwardingRuleArrayOutput) Index(i pulumi.IntInput) LoadBalancerForwardingRuleOutput
- func (o LoadBalancerForwardingRuleArrayOutput) ToLoadBalancerForwardingRuleArrayOutput() LoadBalancerForwardingRuleArrayOutput
- func (o LoadBalancerForwardingRuleArrayOutput) ToLoadBalancerForwardingRuleArrayOutputWithContext(ctx context.Context) LoadBalancerForwardingRuleArrayOutput
- type LoadBalancerForwardingRuleInput
- type LoadBalancerForwardingRuleOutput
- func (o LoadBalancerForwardingRuleOutput) CertificateId() pulumi.StringPtrOutput
- func (LoadBalancerForwardingRuleOutput) ElementType() reflect.Type
- func (o LoadBalancerForwardingRuleOutput) EntryPort() pulumi.IntOutput
- func (o LoadBalancerForwardingRuleOutput) EntryProtocol() pulumi.StringOutput
- func (o LoadBalancerForwardingRuleOutput) TargetPort() pulumi.IntOutput
- func (o LoadBalancerForwardingRuleOutput) TargetProtocol() pulumi.StringOutput
- func (o LoadBalancerForwardingRuleOutput) TlsPassthrough() pulumi.BoolPtrOutput
- func (o LoadBalancerForwardingRuleOutput) ToLoadBalancerForwardingRuleOutput() LoadBalancerForwardingRuleOutput
- func (o LoadBalancerForwardingRuleOutput) ToLoadBalancerForwardingRuleOutputWithContext(ctx context.Context) LoadBalancerForwardingRuleOutput
- type LoadBalancerHealthcheck
- type LoadBalancerHealthcheckArgs
- func (LoadBalancerHealthcheckArgs) ElementType() reflect.Type
- func (i LoadBalancerHealthcheckArgs) ToLoadBalancerHealthcheckOutput() LoadBalancerHealthcheckOutput
- func (i LoadBalancerHealthcheckArgs) ToLoadBalancerHealthcheckOutputWithContext(ctx context.Context) LoadBalancerHealthcheckOutput
- func (i LoadBalancerHealthcheckArgs) ToLoadBalancerHealthcheckPtrOutput() LoadBalancerHealthcheckPtrOutput
- func (i LoadBalancerHealthcheckArgs) ToLoadBalancerHealthcheckPtrOutputWithContext(ctx context.Context) LoadBalancerHealthcheckPtrOutput
- type LoadBalancerHealthcheckInput
- type LoadBalancerHealthcheckOutput
- func (o LoadBalancerHealthcheckOutput) CheckIntervalSeconds() pulumi.IntPtrOutput
- func (LoadBalancerHealthcheckOutput) ElementType() reflect.Type
- func (o LoadBalancerHealthcheckOutput) HealthyThreshold() pulumi.IntPtrOutput
- func (o LoadBalancerHealthcheckOutput) Path() pulumi.StringPtrOutput
- func (o LoadBalancerHealthcheckOutput) Port() pulumi.IntOutput
- func (o LoadBalancerHealthcheckOutput) Protocol() pulumi.StringOutput
- func (o LoadBalancerHealthcheckOutput) ResponseTimeoutSeconds() pulumi.IntPtrOutput
- func (o LoadBalancerHealthcheckOutput) ToLoadBalancerHealthcheckOutput() LoadBalancerHealthcheckOutput
- func (o LoadBalancerHealthcheckOutput) ToLoadBalancerHealthcheckOutputWithContext(ctx context.Context) LoadBalancerHealthcheckOutput
- func (o LoadBalancerHealthcheckOutput) ToLoadBalancerHealthcheckPtrOutput() LoadBalancerHealthcheckPtrOutput
- func (o LoadBalancerHealthcheckOutput) ToLoadBalancerHealthcheckPtrOutputWithContext(ctx context.Context) LoadBalancerHealthcheckPtrOutput
- func (o LoadBalancerHealthcheckOutput) UnhealthyThreshold() pulumi.IntPtrOutput
- type LoadBalancerHealthcheckPtrInput
- type LoadBalancerHealthcheckPtrOutput
- func (o LoadBalancerHealthcheckPtrOutput) CheckIntervalSeconds() pulumi.IntPtrOutput
- func (o LoadBalancerHealthcheckPtrOutput) Elem() LoadBalancerHealthcheckOutput
- func (LoadBalancerHealthcheckPtrOutput) ElementType() reflect.Type
- func (o LoadBalancerHealthcheckPtrOutput) HealthyThreshold() pulumi.IntPtrOutput
- func (o LoadBalancerHealthcheckPtrOutput) Path() pulumi.StringPtrOutput
- func (o LoadBalancerHealthcheckPtrOutput) Port() pulumi.IntPtrOutput
- func (o LoadBalancerHealthcheckPtrOutput) Protocol() pulumi.StringPtrOutput
- func (o LoadBalancerHealthcheckPtrOutput) ResponseTimeoutSeconds() pulumi.IntPtrOutput
- func (o LoadBalancerHealthcheckPtrOutput) ToLoadBalancerHealthcheckPtrOutput() LoadBalancerHealthcheckPtrOutput
- func (o LoadBalancerHealthcheckPtrOutput) ToLoadBalancerHealthcheckPtrOutputWithContext(ctx context.Context) LoadBalancerHealthcheckPtrOutput
- func (o LoadBalancerHealthcheckPtrOutput) UnhealthyThreshold() pulumi.IntPtrOutput
- type LoadBalancerState
- type LoadBalancerStickySessions
- type LoadBalancerStickySessionsArgs
- func (LoadBalancerStickySessionsArgs) ElementType() reflect.Type
- func (i LoadBalancerStickySessionsArgs) ToLoadBalancerStickySessionsOutput() LoadBalancerStickySessionsOutput
- func (i LoadBalancerStickySessionsArgs) ToLoadBalancerStickySessionsOutputWithContext(ctx context.Context) LoadBalancerStickySessionsOutput
- func (i LoadBalancerStickySessionsArgs) ToLoadBalancerStickySessionsPtrOutput() LoadBalancerStickySessionsPtrOutput
- func (i LoadBalancerStickySessionsArgs) ToLoadBalancerStickySessionsPtrOutputWithContext(ctx context.Context) LoadBalancerStickySessionsPtrOutput
- type LoadBalancerStickySessionsInput
- type LoadBalancerStickySessionsOutput
- func (o LoadBalancerStickySessionsOutput) CookieName() pulumi.StringPtrOutput
- func (o LoadBalancerStickySessionsOutput) CookieTtlSeconds() pulumi.IntPtrOutput
- func (LoadBalancerStickySessionsOutput) ElementType() reflect.Type
- func (o LoadBalancerStickySessionsOutput) ToLoadBalancerStickySessionsOutput() LoadBalancerStickySessionsOutput
- func (o LoadBalancerStickySessionsOutput) ToLoadBalancerStickySessionsOutputWithContext(ctx context.Context) LoadBalancerStickySessionsOutput
- func (o LoadBalancerStickySessionsOutput) ToLoadBalancerStickySessionsPtrOutput() LoadBalancerStickySessionsPtrOutput
- func (o LoadBalancerStickySessionsOutput) ToLoadBalancerStickySessionsPtrOutputWithContext(ctx context.Context) LoadBalancerStickySessionsPtrOutput
- func (o LoadBalancerStickySessionsOutput) Type() pulumi.StringPtrOutput
- type LoadBalancerStickySessionsPtrInput
- type LoadBalancerStickySessionsPtrOutput
- func (o LoadBalancerStickySessionsPtrOutput) CookieName() pulumi.StringPtrOutput
- func (o LoadBalancerStickySessionsPtrOutput) CookieTtlSeconds() pulumi.IntPtrOutput
- func (o LoadBalancerStickySessionsPtrOutput) Elem() LoadBalancerStickySessionsOutput
- func (LoadBalancerStickySessionsPtrOutput) ElementType() reflect.Type
- func (o LoadBalancerStickySessionsPtrOutput) ToLoadBalancerStickySessionsPtrOutput() LoadBalancerStickySessionsPtrOutput
- func (o LoadBalancerStickySessionsPtrOutput) ToLoadBalancerStickySessionsPtrOutputWithContext(ctx context.Context) LoadBalancerStickySessionsPtrOutput
- func (o LoadBalancerStickySessionsPtrOutput) Type() pulumi.StringPtrOutput
- type LookupAppArgs
- type LookupAppResult
- type LookupCertificateArgs
- type LookupCertificateResult
- type LookupContainerRegistryArgs
- type LookupContainerRegistryResult
- type LookupDatabaseClusterArgs
- type LookupDatabaseClusterResult
- type LookupDomainArgs
- type LookupDomainResult
- type LookupDropletArgs
- type LookupDropletResult
- type LookupDropletSnapshotArgs
- type LookupDropletSnapshotResult
- type LookupFloatingIpArgs
- type LookupFloatingIpResult
- type LookupKubernetesClusterArgs
- type LookupKubernetesClusterResult
- type LookupLoadBalancerArgs
- type LookupLoadBalancerResult
- type LookupProjectArgs
- type LookupProjectResult
- type LookupSpacesBucketArgs
- type LookupSpacesBucketObjectArgs
- type LookupSpacesBucketObjectResult
- type LookupSpacesBucketResult
- type LookupSshKeyArgs
- type LookupSshKeyResult
- type LookupTagArgs
- type LookupTagResult
- type LookupVolumeArgs
- type LookupVolumeResult
- type LookupVolumeSnapshotArgs
- type LookupVolumeSnapshotResult
- type LookupVpcArgs
- type LookupVpcResult
- type Project
- type ProjectArgs
- type ProjectResources
- type ProjectResourcesArgs
- type ProjectResourcesState
- type ProjectState
- type Provider
- type ProviderArgs
- type SpacesBucket
- type SpacesBucketArgs
- type SpacesBucketCorsRule
- type SpacesBucketCorsRuleArgs
- type SpacesBucketCorsRuleArray
- type SpacesBucketCorsRuleArrayInput
- type SpacesBucketCorsRuleArrayOutput
- func (SpacesBucketCorsRuleArrayOutput) ElementType() reflect.Type
- func (o SpacesBucketCorsRuleArrayOutput) Index(i pulumi.IntInput) SpacesBucketCorsRuleOutput
- func (o SpacesBucketCorsRuleArrayOutput) ToSpacesBucketCorsRuleArrayOutput() SpacesBucketCorsRuleArrayOutput
- func (o SpacesBucketCorsRuleArrayOutput) ToSpacesBucketCorsRuleArrayOutputWithContext(ctx context.Context) SpacesBucketCorsRuleArrayOutput
- type SpacesBucketCorsRuleInput
- type SpacesBucketCorsRuleOutput
- func (o SpacesBucketCorsRuleOutput) AllowedHeaders() pulumi.StringArrayOutput
- func (o SpacesBucketCorsRuleOutput) AllowedMethods() pulumi.StringArrayOutput
- func (o SpacesBucketCorsRuleOutput) AllowedOrigins() pulumi.StringArrayOutput
- func (SpacesBucketCorsRuleOutput) ElementType() reflect.Type
- func (o SpacesBucketCorsRuleOutput) MaxAgeSeconds() pulumi.IntPtrOutput
- func (o SpacesBucketCorsRuleOutput) ToSpacesBucketCorsRuleOutput() SpacesBucketCorsRuleOutput
- func (o SpacesBucketCorsRuleOutput) ToSpacesBucketCorsRuleOutputWithContext(ctx context.Context) SpacesBucketCorsRuleOutput
- type SpacesBucketLifecycleRule
- type SpacesBucketLifecycleRuleArgs
- func (SpacesBucketLifecycleRuleArgs) ElementType() reflect.Type
- func (i SpacesBucketLifecycleRuleArgs) ToSpacesBucketLifecycleRuleOutput() SpacesBucketLifecycleRuleOutput
- func (i SpacesBucketLifecycleRuleArgs) ToSpacesBucketLifecycleRuleOutputWithContext(ctx context.Context) SpacesBucketLifecycleRuleOutput
- type SpacesBucketLifecycleRuleArray
- func (SpacesBucketLifecycleRuleArray) ElementType() reflect.Type
- func (i SpacesBucketLifecycleRuleArray) ToSpacesBucketLifecycleRuleArrayOutput() SpacesBucketLifecycleRuleArrayOutput
- func (i SpacesBucketLifecycleRuleArray) ToSpacesBucketLifecycleRuleArrayOutputWithContext(ctx context.Context) SpacesBucketLifecycleRuleArrayOutput
- type SpacesBucketLifecycleRuleArrayInput
- type SpacesBucketLifecycleRuleArrayOutput
- func (SpacesBucketLifecycleRuleArrayOutput) ElementType() reflect.Type
- func (o SpacesBucketLifecycleRuleArrayOutput) Index(i pulumi.IntInput) SpacesBucketLifecycleRuleOutput
- func (o SpacesBucketLifecycleRuleArrayOutput) ToSpacesBucketLifecycleRuleArrayOutput() SpacesBucketLifecycleRuleArrayOutput
- func (o SpacesBucketLifecycleRuleArrayOutput) ToSpacesBucketLifecycleRuleArrayOutputWithContext(ctx context.Context) SpacesBucketLifecycleRuleArrayOutput
- type SpacesBucketLifecycleRuleExpiration
- type SpacesBucketLifecycleRuleExpirationArgs
- func (SpacesBucketLifecycleRuleExpirationArgs) ElementType() reflect.Type
- func (i SpacesBucketLifecycleRuleExpirationArgs) ToSpacesBucketLifecycleRuleExpirationOutput() SpacesBucketLifecycleRuleExpirationOutput
- func (i SpacesBucketLifecycleRuleExpirationArgs) ToSpacesBucketLifecycleRuleExpirationOutputWithContext(ctx context.Context) SpacesBucketLifecycleRuleExpirationOutput
- func (i SpacesBucketLifecycleRuleExpirationArgs) ToSpacesBucketLifecycleRuleExpirationPtrOutput() SpacesBucketLifecycleRuleExpirationPtrOutput
- func (i SpacesBucketLifecycleRuleExpirationArgs) ToSpacesBucketLifecycleRuleExpirationPtrOutputWithContext(ctx context.Context) SpacesBucketLifecycleRuleExpirationPtrOutput
- type SpacesBucketLifecycleRuleExpirationInput
- type SpacesBucketLifecycleRuleExpirationOutput
- func (o SpacesBucketLifecycleRuleExpirationOutput) Date() pulumi.StringPtrOutput
- func (o SpacesBucketLifecycleRuleExpirationOutput) Days() pulumi.IntPtrOutput
- func (SpacesBucketLifecycleRuleExpirationOutput) ElementType() reflect.Type
- func (o SpacesBucketLifecycleRuleExpirationOutput) ExpiredObjectDeleteMarker() pulumi.BoolPtrOutput
- func (o SpacesBucketLifecycleRuleExpirationOutput) ToSpacesBucketLifecycleRuleExpirationOutput() SpacesBucketLifecycleRuleExpirationOutput
- func (o SpacesBucketLifecycleRuleExpirationOutput) ToSpacesBucketLifecycleRuleExpirationOutputWithContext(ctx context.Context) SpacesBucketLifecycleRuleExpirationOutput
- func (o SpacesBucketLifecycleRuleExpirationOutput) ToSpacesBucketLifecycleRuleExpirationPtrOutput() SpacesBucketLifecycleRuleExpirationPtrOutput
- func (o SpacesBucketLifecycleRuleExpirationOutput) ToSpacesBucketLifecycleRuleExpirationPtrOutputWithContext(ctx context.Context) SpacesBucketLifecycleRuleExpirationPtrOutput
- type SpacesBucketLifecycleRuleExpirationPtrInput
- type SpacesBucketLifecycleRuleExpirationPtrOutput
- func (o SpacesBucketLifecycleRuleExpirationPtrOutput) Date() pulumi.StringPtrOutput
- func (o SpacesBucketLifecycleRuleExpirationPtrOutput) Days() pulumi.IntPtrOutput
- func (o SpacesBucketLifecycleRuleExpirationPtrOutput) Elem() SpacesBucketLifecycleRuleExpirationOutput
- func (SpacesBucketLifecycleRuleExpirationPtrOutput) ElementType() reflect.Type
- func (o SpacesBucketLifecycleRuleExpirationPtrOutput) ExpiredObjectDeleteMarker() pulumi.BoolPtrOutput
- func (o SpacesBucketLifecycleRuleExpirationPtrOutput) ToSpacesBucketLifecycleRuleExpirationPtrOutput() SpacesBucketLifecycleRuleExpirationPtrOutput
- func (o SpacesBucketLifecycleRuleExpirationPtrOutput) ToSpacesBucketLifecycleRuleExpirationPtrOutputWithContext(ctx context.Context) SpacesBucketLifecycleRuleExpirationPtrOutput
- type SpacesBucketLifecycleRuleInput
- type SpacesBucketLifecycleRuleNoncurrentVersionExpiration
- type SpacesBucketLifecycleRuleNoncurrentVersionExpirationArgs
- func (SpacesBucketLifecycleRuleNoncurrentVersionExpirationArgs) ElementType() reflect.Type
- func (i SpacesBucketLifecycleRuleNoncurrentVersionExpirationArgs) ToSpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput() SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput
- func (i SpacesBucketLifecycleRuleNoncurrentVersionExpirationArgs) ToSpacesBucketLifecycleRuleNoncurrentVersionExpirationOutputWithContext(ctx context.Context) SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput
- func (i SpacesBucketLifecycleRuleNoncurrentVersionExpirationArgs) ToSpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput() SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput
- func (i SpacesBucketLifecycleRuleNoncurrentVersionExpirationArgs) ToSpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutputWithContext(ctx context.Context) SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput
- type SpacesBucketLifecycleRuleNoncurrentVersionExpirationInput
- type SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput
- func (o SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput) Days() pulumi.IntPtrOutput
- func (SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput) ElementType() reflect.Type
- func (o SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput) ToSpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput() SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput
- func (o SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput) ToSpacesBucketLifecycleRuleNoncurrentVersionExpirationOutputWithContext(ctx context.Context) SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput
- func (o SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput) ToSpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput() SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput
- func (o SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput) ToSpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutputWithContext(ctx context.Context) SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput
- type SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrInput
- type SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput
- func (o SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput) Days() pulumi.IntPtrOutput
- func (o SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput) Elem() SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput
- func (SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput) ElementType() reflect.Type
- func (o SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput) ToSpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput() SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput
- func (o SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput) ToSpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutputWithContext(ctx context.Context) SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput
- type SpacesBucketLifecycleRuleOutput
- func (o SpacesBucketLifecycleRuleOutput) AbortIncompleteMultipartUploadDays() pulumi.IntPtrOutput
- func (SpacesBucketLifecycleRuleOutput) ElementType() reflect.Type
- func (o SpacesBucketLifecycleRuleOutput) Enabled() pulumi.BoolOutput
- func (o SpacesBucketLifecycleRuleOutput) Expiration() SpacesBucketLifecycleRuleExpirationPtrOutput
- func (o SpacesBucketLifecycleRuleOutput) Id() pulumi.StringPtrOutput
- func (o SpacesBucketLifecycleRuleOutput) NoncurrentVersionExpiration() SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput
- func (o SpacesBucketLifecycleRuleOutput) Prefix() pulumi.StringPtrOutput
- func (o SpacesBucketLifecycleRuleOutput) ToSpacesBucketLifecycleRuleOutput() SpacesBucketLifecycleRuleOutput
- func (o SpacesBucketLifecycleRuleOutput) ToSpacesBucketLifecycleRuleOutputWithContext(ctx context.Context) SpacesBucketLifecycleRuleOutput
- type SpacesBucketObject
- type SpacesBucketObjectArgs
- type SpacesBucketObjectState
- type SpacesBucketState
- type SpacesBucketVersioning
- type SpacesBucketVersioningArgs
- func (SpacesBucketVersioningArgs) ElementType() reflect.Type
- func (i SpacesBucketVersioningArgs) ToSpacesBucketVersioningOutput() SpacesBucketVersioningOutput
- func (i SpacesBucketVersioningArgs) ToSpacesBucketVersioningOutputWithContext(ctx context.Context) SpacesBucketVersioningOutput
- func (i SpacesBucketVersioningArgs) ToSpacesBucketVersioningPtrOutput() SpacesBucketVersioningPtrOutput
- func (i SpacesBucketVersioningArgs) ToSpacesBucketVersioningPtrOutputWithContext(ctx context.Context) SpacesBucketVersioningPtrOutput
- type SpacesBucketVersioningInput
- type SpacesBucketVersioningOutput
- func (SpacesBucketVersioningOutput) ElementType() reflect.Type
- func (o SpacesBucketVersioningOutput) Enabled() pulumi.BoolPtrOutput
- func (o SpacesBucketVersioningOutput) ToSpacesBucketVersioningOutput() SpacesBucketVersioningOutput
- func (o SpacesBucketVersioningOutput) ToSpacesBucketVersioningOutputWithContext(ctx context.Context) SpacesBucketVersioningOutput
- func (o SpacesBucketVersioningOutput) ToSpacesBucketVersioningPtrOutput() SpacesBucketVersioningPtrOutput
- func (o SpacesBucketVersioningOutput) ToSpacesBucketVersioningPtrOutputWithContext(ctx context.Context) SpacesBucketVersioningPtrOutput
- type SpacesBucketVersioningPtrInput
- type SpacesBucketVersioningPtrOutput
- func (o SpacesBucketVersioningPtrOutput) Elem() SpacesBucketVersioningOutput
- func (SpacesBucketVersioningPtrOutput) ElementType() reflect.Type
- func (o SpacesBucketVersioningPtrOutput) Enabled() pulumi.BoolPtrOutput
- func (o SpacesBucketVersioningPtrOutput) ToSpacesBucketVersioningPtrOutput() SpacesBucketVersioningPtrOutput
- func (o SpacesBucketVersioningPtrOutput) ToSpacesBucketVersioningPtrOutputWithContext(ctx context.Context) SpacesBucketVersioningPtrOutput
- type SshKey
- type SshKeyArgs
- type SshKeyState
- type Tag
- type TagArgs
- type TagState
- type Volume
- type VolumeArgs
- type VolumeAttachment
- type VolumeAttachmentArgs
- type VolumeAttachmentState
- type VolumeSnapshot
- type VolumeSnapshotArgs
- type VolumeSnapshotState
- type VolumeState
- type Vpc
- type VpcArgs
- type VpcState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶ added in v2.9.0
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/resources/app-specification-reference/) specifying the app's components. ### Basic Example
```go package main
import (
"github.com/pulumi/pulumi-digitalocean/sdk/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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 }) }
``` ### Multiple Components Example
```go package main
import (
"github.com/pulumi/pulumi-digitalocean/sdk/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := digitalocean.NewApp(ctx, "mono_repo_example", &digitalocean.AppArgs{ Spec: &digitalocean.AppSpecArgs{ Domains: pulumi.StringArray{ pulumi.String("foo.example.com"), }, Name: pulumi.String("mono-repo-example"), Region: pulumi.String("ams"), Services: digitalocean.AppSpecServiceArray{ &digitalocean.AppSpecServiceArgs{ EnvironmentSlug: pulumi.String("go"), Github: &digitalocean.AppSpecServiceGithubArgs{ Branch: pulumi.String("main"), DeployOnPush: pulumi.Bool(true), Repo: pulumi.String("username/repo"), }, HttpPort: pulumi.Int(3000), InstanceCount: pulumi.Int(2), InstanceSizeSlug: pulumi.String("professional-xs"), Name: pulumi.String("api"), Routes: &digitalocean.AppSpecServiceRoutesArgs{ Path: pulumi.String("/api"), }, RunCommand: pulumi.String("bin/api"), SourceDir: pulumi.String("api/"), }, }, StaticSites: digitalocean.AppSpecStaticSiteArray{ &digitalocean.AppSpecStaticSiteArgs{ BuildCommand: pulumi.String("npm run build"), Github: &digitalocean.AppSpecStaticSiteGithubArgs{ Branch: pulumi.String("main"), DeployOnPush: pulumi.Bool(true), Repo: pulumi.String("username/repo"), }, Name: pulumi.String("web"), Routes: &digitalocean.AppSpecStaticSiteRoutesArgs{ Path: pulumi.String("/"), }, }, }, }, }) if err != nil { return err } return nil }) }
```
func GetApp ¶ added in v2.9.0
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).
type AppArgs ¶ added in v2.9.0
type AppArgs struct { // A DigitalOcean App spec describing the app. Spec AppSpecPtrInput }
The set of arguments for constructing a App resource.
func (AppArgs) ElementType ¶ added in v2.9.0
type AppSpec ¶ added in v2.9.0
type AppSpec struct { Databases []AppSpecDatabase `pulumi:"databases"` // A list of hostnames where the application will be available. Domains []string `pulumi:"domains"` // 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 ¶ added in v2.9.0
type AppSpecArgs struct { Databases AppSpecDatabaseArrayInput `pulumi:"databases"` // A list of hostnames where the application will be available. Domains pulumi.StringArrayInput `pulumi:"domains"` // 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 ¶ added in v2.9.0
func (AppSpecArgs) ElementType() reflect.Type
func (AppSpecArgs) ToAppSpecOutput ¶ added in v2.9.0
func (i AppSpecArgs) ToAppSpecOutput() AppSpecOutput
func (AppSpecArgs) ToAppSpecOutputWithContext ¶ added in v2.9.0
func (i AppSpecArgs) ToAppSpecOutputWithContext(ctx context.Context) AppSpecOutput
func (AppSpecArgs) ToAppSpecPtrOutput ¶ added in v2.9.0
func (i AppSpecArgs) ToAppSpecPtrOutput() AppSpecPtrOutput
func (AppSpecArgs) ToAppSpecPtrOutputWithContext ¶ added in v2.9.0
func (i AppSpecArgs) ToAppSpecPtrOutputWithContext(ctx context.Context) AppSpecPtrOutput
type AppSpecDatabase ¶ added in v2.9.0
type AppSpecDatabase struct { ClusterName *string `pulumi:"clusterName"` DbName *string `pulumi:"dbName"` DbUser *string `pulumi:"dbUser"` Engine *string `pulumi:"engine"` // The name of the component Name *string `pulumi:"name"` Production *bool `pulumi:"production"` Version *string `pulumi:"version"` }
type AppSpecDatabaseArgs ¶ added in v2.9.0
type AppSpecDatabaseArgs struct { ClusterName pulumi.StringPtrInput `pulumi:"clusterName"` DbName pulumi.StringPtrInput `pulumi:"dbName"` DbUser pulumi.StringPtrInput `pulumi:"dbUser"` Engine pulumi.StringPtrInput `pulumi:"engine"` // The name of the component Name pulumi.StringPtrInput `pulumi:"name"` Production pulumi.BoolPtrInput `pulumi:"production"` Version pulumi.StringPtrInput `pulumi:"version"` }
func (AppSpecDatabaseArgs) ElementType ¶ added in v2.9.0
func (AppSpecDatabaseArgs) ElementType() reflect.Type
func (AppSpecDatabaseArgs) ToAppSpecDatabaseOutput ¶ added in v2.9.0
func (i AppSpecDatabaseArgs) ToAppSpecDatabaseOutput() AppSpecDatabaseOutput
func (AppSpecDatabaseArgs) ToAppSpecDatabaseOutputWithContext ¶ added in v2.9.0
func (i AppSpecDatabaseArgs) ToAppSpecDatabaseOutputWithContext(ctx context.Context) AppSpecDatabaseOutput
type AppSpecDatabaseArray ¶ added in v2.9.0
type AppSpecDatabaseArray []AppSpecDatabaseInput
func (AppSpecDatabaseArray) ElementType ¶ added in v2.9.0
func (AppSpecDatabaseArray) ElementType() reflect.Type
func (AppSpecDatabaseArray) ToAppSpecDatabaseArrayOutput ¶ added in v2.9.0
func (i AppSpecDatabaseArray) ToAppSpecDatabaseArrayOutput() AppSpecDatabaseArrayOutput
func (AppSpecDatabaseArray) ToAppSpecDatabaseArrayOutputWithContext ¶ added in v2.9.0
func (i AppSpecDatabaseArray) ToAppSpecDatabaseArrayOutputWithContext(ctx context.Context) AppSpecDatabaseArrayOutput
type AppSpecDatabaseArrayInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type AppSpecDatabaseArrayOutput struct{ *pulumi.OutputState }
func (AppSpecDatabaseArrayOutput) ElementType ¶ added in v2.9.0
func (AppSpecDatabaseArrayOutput) ElementType() reflect.Type
func (AppSpecDatabaseArrayOutput) Index ¶ added in v2.9.0
func (o AppSpecDatabaseArrayOutput) Index(i pulumi.IntInput) AppSpecDatabaseOutput
func (AppSpecDatabaseArrayOutput) ToAppSpecDatabaseArrayOutput ¶ added in v2.9.0
func (o AppSpecDatabaseArrayOutput) ToAppSpecDatabaseArrayOutput() AppSpecDatabaseArrayOutput
func (AppSpecDatabaseArrayOutput) ToAppSpecDatabaseArrayOutputWithContext ¶ added in v2.9.0
func (o AppSpecDatabaseArrayOutput) ToAppSpecDatabaseArrayOutputWithContext(ctx context.Context) AppSpecDatabaseArrayOutput
type AppSpecDatabaseInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type AppSpecDatabaseOutput struct{ *pulumi.OutputState }
func (AppSpecDatabaseOutput) ClusterName ¶ added in v2.9.0
func (o AppSpecDatabaseOutput) ClusterName() pulumi.StringPtrOutput
func (AppSpecDatabaseOutput) DbName ¶ added in v2.9.0
func (o AppSpecDatabaseOutput) DbName() pulumi.StringPtrOutput
func (AppSpecDatabaseOutput) DbUser ¶ added in v2.9.0
func (o AppSpecDatabaseOutput) DbUser() pulumi.StringPtrOutput
func (AppSpecDatabaseOutput) ElementType ¶ added in v2.9.0
func (AppSpecDatabaseOutput) ElementType() reflect.Type
func (AppSpecDatabaseOutput) Engine ¶ added in v2.9.0
func (o AppSpecDatabaseOutput) Engine() pulumi.StringPtrOutput
func (AppSpecDatabaseOutput) Name ¶ added in v2.9.0
func (o AppSpecDatabaseOutput) Name() pulumi.StringPtrOutput
The name of the component
func (AppSpecDatabaseOutput) Production ¶ added in v2.9.0
func (o AppSpecDatabaseOutput) Production() pulumi.BoolPtrOutput
func (AppSpecDatabaseOutput) ToAppSpecDatabaseOutput ¶ added in v2.9.0
func (o AppSpecDatabaseOutput) ToAppSpecDatabaseOutput() AppSpecDatabaseOutput
func (AppSpecDatabaseOutput) ToAppSpecDatabaseOutputWithContext ¶ added in v2.9.0
func (o AppSpecDatabaseOutput) ToAppSpecDatabaseOutputWithContext(ctx context.Context) AppSpecDatabaseOutput
func (AppSpecDatabaseOutput) Version ¶ added in v2.9.0
func (o AppSpecDatabaseOutput) Version() pulumi.StringPtrOutput
type AppSpecInput ¶ added in v2.9.0
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 AppSpecOutput ¶ added in v2.9.0
type AppSpecOutput struct{ *pulumi.OutputState }
func (AppSpecOutput) Databases ¶ added in v2.9.0
func (o AppSpecOutput) Databases() AppSpecDatabaseArrayOutput
func (AppSpecOutput) Domains ¶ added in v2.9.0
func (o AppSpecOutput) Domains() pulumi.StringArrayOutput
A list of hostnames where the application will be available.
func (AppSpecOutput) ElementType ¶ added in v2.9.0
func (AppSpecOutput) ElementType() reflect.Type
func (AppSpecOutput) Name ¶ added in v2.9.0
func (o AppSpecOutput) Name() pulumi.StringOutput
The name of the component
func (AppSpecOutput) Region ¶ added in v2.9.0
func (o AppSpecOutput) Region() pulumi.StringPtrOutput
The slug for the DigitalOcean data center region hosting the app.
func (AppSpecOutput) Services ¶ added in v2.9.0
func (o AppSpecOutput) Services() AppSpecServiceArrayOutput
func (AppSpecOutput) StaticSites ¶ added in v2.9.0
func (o AppSpecOutput) StaticSites() AppSpecStaticSiteArrayOutput
func (AppSpecOutput) ToAppSpecOutput ¶ added in v2.9.0
func (o AppSpecOutput) ToAppSpecOutput() AppSpecOutput
func (AppSpecOutput) ToAppSpecOutputWithContext ¶ added in v2.9.0
func (o AppSpecOutput) ToAppSpecOutputWithContext(ctx context.Context) AppSpecOutput
func (AppSpecOutput) ToAppSpecPtrOutput ¶ added in v2.9.0
func (o AppSpecOutput) ToAppSpecPtrOutput() AppSpecPtrOutput
func (AppSpecOutput) ToAppSpecPtrOutputWithContext ¶ added in v2.9.0
func (o AppSpecOutput) ToAppSpecPtrOutputWithContext(ctx context.Context) AppSpecPtrOutput
func (AppSpecOutput) Workers ¶ added in v2.9.0
func (o AppSpecOutput) Workers() AppSpecWorkerArrayOutput
type AppSpecPtrInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
func AppSpecPtr(v *AppSpecArgs) AppSpecPtrInput
type AppSpecPtrOutput ¶ added in v2.9.0
type AppSpecPtrOutput struct{ *pulumi.OutputState }
func (AppSpecPtrOutput) Databases ¶ added in v2.9.0
func (o AppSpecPtrOutput) Databases() AppSpecDatabaseArrayOutput
func (AppSpecPtrOutput) Domains ¶ added in v2.9.0
func (o AppSpecPtrOutput) Domains() pulumi.StringArrayOutput
A list of hostnames where the application will be available.
func (AppSpecPtrOutput) Elem ¶ added in v2.9.0
func (o AppSpecPtrOutput) Elem() AppSpecOutput
func (AppSpecPtrOutput) ElementType ¶ added in v2.9.0
func (AppSpecPtrOutput) ElementType() reflect.Type
func (AppSpecPtrOutput) Name ¶ added in v2.9.0
func (o AppSpecPtrOutput) Name() pulumi.StringPtrOutput
The name of the component
func (AppSpecPtrOutput) Region ¶ added in v2.9.0
func (o AppSpecPtrOutput) Region() pulumi.StringPtrOutput
The slug for the DigitalOcean data center region hosting the app.
func (AppSpecPtrOutput) Services ¶ added in v2.9.0
func (o AppSpecPtrOutput) Services() AppSpecServiceArrayOutput
func (AppSpecPtrOutput) StaticSites ¶ added in v2.9.0
func (o AppSpecPtrOutput) StaticSites() AppSpecStaticSiteArrayOutput
func (AppSpecPtrOutput) ToAppSpecPtrOutput ¶ added in v2.9.0
func (o AppSpecPtrOutput) ToAppSpecPtrOutput() AppSpecPtrOutput
func (AppSpecPtrOutput) ToAppSpecPtrOutputWithContext ¶ added in v2.9.0
func (o AppSpecPtrOutput) ToAppSpecPtrOutputWithContext(ctx context.Context) AppSpecPtrOutput
func (AppSpecPtrOutput) Workers ¶ added in v2.9.0
func (o AppSpecPtrOutput) Workers() AppSpecWorkerArrayOutput
type AppSpecService ¶ added in v2.9.0
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 component's source. Only one of `git` and `github` may be set. Git *AppSpecServiceGit `pulumi:"git"` // A GitHub repo to use as component's source. Only one of `git` and `github` may be set. Github *AppSpecServiceGithub `pulumi:"github"` // 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"` // 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"` Routes *AppSpecServiceRoutes `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 ¶ added in v2.9.0
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 component's source. Only one of `git` and `github` may be set. Git AppSpecServiceGitPtrInput `pulumi:"git"` // A GitHub repo to use as component's source. Only one of `git` and `github` may be set. Github AppSpecServiceGithubPtrInput `pulumi:"github"` // 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"` // 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"` Routes AppSpecServiceRoutesPtrInput `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 ¶ added in v2.9.0
func (AppSpecServiceArgs) ElementType() reflect.Type
func (AppSpecServiceArgs) ToAppSpecServiceOutput ¶ added in v2.9.0
func (i AppSpecServiceArgs) ToAppSpecServiceOutput() AppSpecServiceOutput
func (AppSpecServiceArgs) ToAppSpecServiceOutputWithContext ¶ added in v2.9.0
func (i AppSpecServiceArgs) ToAppSpecServiceOutputWithContext(ctx context.Context) AppSpecServiceOutput
type AppSpecServiceArray ¶ added in v2.9.0
type AppSpecServiceArray []AppSpecServiceInput
func (AppSpecServiceArray) ElementType ¶ added in v2.9.0
func (AppSpecServiceArray) ElementType() reflect.Type
func (AppSpecServiceArray) ToAppSpecServiceArrayOutput ¶ added in v2.9.0
func (i AppSpecServiceArray) ToAppSpecServiceArrayOutput() AppSpecServiceArrayOutput
func (AppSpecServiceArray) ToAppSpecServiceArrayOutputWithContext ¶ added in v2.9.0
func (i AppSpecServiceArray) ToAppSpecServiceArrayOutputWithContext(ctx context.Context) AppSpecServiceArrayOutput
type AppSpecServiceArrayInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type AppSpecServiceArrayOutput struct{ *pulumi.OutputState }
func (AppSpecServiceArrayOutput) ElementType ¶ added in v2.9.0
func (AppSpecServiceArrayOutput) ElementType() reflect.Type
func (AppSpecServiceArrayOutput) Index ¶ added in v2.9.0
func (o AppSpecServiceArrayOutput) Index(i pulumi.IntInput) AppSpecServiceOutput
func (AppSpecServiceArrayOutput) ToAppSpecServiceArrayOutput ¶ added in v2.9.0
func (o AppSpecServiceArrayOutput) ToAppSpecServiceArrayOutput() AppSpecServiceArrayOutput
func (AppSpecServiceArrayOutput) ToAppSpecServiceArrayOutputWithContext ¶ added in v2.9.0
func (o AppSpecServiceArrayOutput) ToAppSpecServiceArrayOutputWithContext(ctx context.Context) AppSpecServiceArrayOutput
type AppSpecServiceEnv ¶ added in v2.9.0
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 ¶ added in v2.9.0
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 ¶ added in v2.9.0
func (AppSpecServiceEnvArgs) ElementType() reflect.Type
func (AppSpecServiceEnvArgs) ToAppSpecServiceEnvOutput ¶ added in v2.9.0
func (i AppSpecServiceEnvArgs) ToAppSpecServiceEnvOutput() AppSpecServiceEnvOutput
func (AppSpecServiceEnvArgs) ToAppSpecServiceEnvOutputWithContext ¶ added in v2.9.0
func (i AppSpecServiceEnvArgs) ToAppSpecServiceEnvOutputWithContext(ctx context.Context) AppSpecServiceEnvOutput
type AppSpecServiceEnvArray ¶ added in v2.9.0
type AppSpecServiceEnvArray []AppSpecServiceEnvInput
func (AppSpecServiceEnvArray) ElementType ¶ added in v2.9.0
func (AppSpecServiceEnvArray) ElementType() reflect.Type
func (AppSpecServiceEnvArray) ToAppSpecServiceEnvArrayOutput ¶ added in v2.9.0
func (i AppSpecServiceEnvArray) ToAppSpecServiceEnvArrayOutput() AppSpecServiceEnvArrayOutput
func (AppSpecServiceEnvArray) ToAppSpecServiceEnvArrayOutputWithContext ¶ added in v2.9.0
func (i AppSpecServiceEnvArray) ToAppSpecServiceEnvArrayOutputWithContext(ctx context.Context) AppSpecServiceEnvArrayOutput
type AppSpecServiceEnvArrayInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type AppSpecServiceEnvArrayOutput struct{ *pulumi.OutputState }
func (AppSpecServiceEnvArrayOutput) ElementType ¶ added in v2.9.0
func (AppSpecServiceEnvArrayOutput) ElementType() reflect.Type
func (AppSpecServiceEnvArrayOutput) Index ¶ added in v2.9.0
func (o AppSpecServiceEnvArrayOutput) Index(i pulumi.IntInput) AppSpecServiceEnvOutput
func (AppSpecServiceEnvArrayOutput) ToAppSpecServiceEnvArrayOutput ¶ added in v2.9.0
func (o AppSpecServiceEnvArrayOutput) ToAppSpecServiceEnvArrayOutput() AppSpecServiceEnvArrayOutput
func (AppSpecServiceEnvArrayOutput) ToAppSpecServiceEnvArrayOutputWithContext ¶ added in v2.9.0
func (o AppSpecServiceEnvArrayOutput) ToAppSpecServiceEnvArrayOutputWithContext(ctx context.Context) AppSpecServiceEnvArrayOutput
type AppSpecServiceEnvInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type AppSpecServiceEnvOutput struct{ *pulumi.OutputState }
func (AppSpecServiceEnvOutput) ElementType ¶ added in v2.9.0
func (AppSpecServiceEnvOutput) ElementType() reflect.Type
func (AppSpecServiceEnvOutput) Key ¶ added in v2.9.0
func (o AppSpecServiceEnvOutput) Key() pulumi.StringPtrOutput
The name of the environment variable.
func (AppSpecServiceEnvOutput) Scope ¶ added in v2.9.0
func (o AppSpecServiceEnvOutput) Scope() pulumi.StringPtrOutput
The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).
func (AppSpecServiceEnvOutput) ToAppSpecServiceEnvOutput ¶ added in v2.9.0
func (o AppSpecServiceEnvOutput) ToAppSpecServiceEnvOutput() AppSpecServiceEnvOutput
func (AppSpecServiceEnvOutput) ToAppSpecServiceEnvOutputWithContext ¶ added in v2.9.0
func (o AppSpecServiceEnvOutput) ToAppSpecServiceEnvOutputWithContext(ctx context.Context) AppSpecServiceEnvOutput
func (AppSpecServiceEnvOutput) Type ¶ added in v2.9.0
func (o AppSpecServiceEnvOutput) Type() pulumi.StringPtrOutput
The type of the environment variable, `GENERAL` or `SECRET`.
func (AppSpecServiceEnvOutput) Value ¶ added in v2.9.0
func (o AppSpecServiceEnvOutput) Value() pulumi.StringPtrOutput
The value of the environment variable.
type AppSpecServiceGit ¶ added in v2.9.0
type AppSpecServiceGitArgs ¶ added in v2.9.0
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 ¶ added in v2.9.0
func (AppSpecServiceGitArgs) ElementType() reflect.Type
func (AppSpecServiceGitArgs) ToAppSpecServiceGitOutput ¶ added in v2.9.0
func (i AppSpecServiceGitArgs) ToAppSpecServiceGitOutput() AppSpecServiceGitOutput
func (AppSpecServiceGitArgs) ToAppSpecServiceGitOutputWithContext ¶ added in v2.9.0
func (i AppSpecServiceGitArgs) ToAppSpecServiceGitOutputWithContext(ctx context.Context) AppSpecServiceGitOutput
func (AppSpecServiceGitArgs) ToAppSpecServiceGitPtrOutput ¶ added in v2.9.0
func (i AppSpecServiceGitArgs) ToAppSpecServiceGitPtrOutput() AppSpecServiceGitPtrOutput
func (AppSpecServiceGitArgs) ToAppSpecServiceGitPtrOutputWithContext ¶ added in v2.9.0
func (i AppSpecServiceGitArgs) ToAppSpecServiceGitPtrOutputWithContext(ctx context.Context) AppSpecServiceGitPtrOutput
type AppSpecServiceGitInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type AppSpecServiceGitOutput struct{ *pulumi.OutputState }
func (AppSpecServiceGitOutput) Branch ¶ added in v2.9.0
func (o AppSpecServiceGitOutput) Branch() pulumi.StringPtrOutput
The name of the branch to use.
func (AppSpecServiceGitOutput) ElementType ¶ added in v2.9.0
func (AppSpecServiceGitOutput) ElementType() reflect.Type
func (AppSpecServiceGitOutput) RepoCloneUrl ¶ added in v2.9.0
func (o AppSpecServiceGitOutput) RepoCloneUrl() pulumi.StringPtrOutput
The clone URL of the repo.
func (AppSpecServiceGitOutput) ToAppSpecServiceGitOutput ¶ added in v2.9.0
func (o AppSpecServiceGitOutput) ToAppSpecServiceGitOutput() AppSpecServiceGitOutput
func (AppSpecServiceGitOutput) ToAppSpecServiceGitOutputWithContext ¶ added in v2.9.0
func (o AppSpecServiceGitOutput) ToAppSpecServiceGitOutputWithContext(ctx context.Context) AppSpecServiceGitOutput
func (AppSpecServiceGitOutput) ToAppSpecServiceGitPtrOutput ¶ added in v2.9.0
func (o AppSpecServiceGitOutput) ToAppSpecServiceGitPtrOutput() AppSpecServiceGitPtrOutput
func (AppSpecServiceGitOutput) ToAppSpecServiceGitPtrOutputWithContext ¶ added in v2.9.0
func (o AppSpecServiceGitOutput) ToAppSpecServiceGitPtrOutputWithContext(ctx context.Context) AppSpecServiceGitPtrOutput
type AppSpecServiceGitPtrInput ¶ added in v2.9.0
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
func AppSpecServiceGitPtr ¶ added in v2.9.0
func AppSpecServiceGitPtr(v *AppSpecServiceGitArgs) AppSpecServiceGitPtrInput
type AppSpecServiceGitPtrOutput ¶ added in v2.9.0
type AppSpecServiceGitPtrOutput struct{ *pulumi.OutputState }
func (AppSpecServiceGitPtrOutput) Branch ¶ added in v2.9.0
func (o AppSpecServiceGitPtrOutput) Branch() pulumi.StringPtrOutput
The name of the branch to use.
func (AppSpecServiceGitPtrOutput) Elem ¶ added in v2.9.0
func (o AppSpecServiceGitPtrOutput) Elem() AppSpecServiceGitOutput
func (AppSpecServiceGitPtrOutput) ElementType ¶ added in v2.9.0
func (AppSpecServiceGitPtrOutput) ElementType() reflect.Type
func (AppSpecServiceGitPtrOutput) RepoCloneUrl ¶ added in v2.9.0
func (o AppSpecServiceGitPtrOutput) RepoCloneUrl() pulumi.StringPtrOutput
The clone URL of the repo.
func (AppSpecServiceGitPtrOutput) ToAppSpecServiceGitPtrOutput ¶ added in v2.9.0
func (o AppSpecServiceGitPtrOutput) ToAppSpecServiceGitPtrOutput() AppSpecServiceGitPtrOutput
func (AppSpecServiceGitPtrOutput) ToAppSpecServiceGitPtrOutputWithContext ¶ added in v2.9.0
func (o AppSpecServiceGitPtrOutput) ToAppSpecServiceGitPtrOutputWithContext(ctx context.Context) AppSpecServiceGitPtrOutput
type AppSpecServiceGithub ¶ added in v2.9.0
type AppSpecServiceGithubArgs ¶ added in v2.9.0
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 ¶ added in v2.9.0
func (AppSpecServiceGithubArgs) ElementType() reflect.Type
func (AppSpecServiceGithubArgs) ToAppSpecServiceGithubOutput ¶ added in v2.9.0
func (i AppSpecServiceGithubArgs) ToAppSpecServiceGithubOutput() AppSpecServiceGithubOutput
func (AppSpecServiceGithubArgs) ToAppSpecServiceGithubOutputWithContext ¶ added in v2.9.0
func (i AppSpecServiceGithubArgs) ToAppSpecServiceGithubOutputWithContext(ctx context.Context) AppSpecServiceGithubOutput
func (AppSpecServiceGithubArgs) ToAppSpecServiceGithubPtrOutput ¶ added in v2.9.0
func (i AppSpecServiceGithubArgs) ToAppSpecServiceGithubPtrOutput() AppSpecServiceGithubPtrOutput
func (AppSpecServiceGithubArgs) ToAppSpecServiceGithubPtrOutputWithContext ¶ added in v2.9.0
func (i AppSpecServiceGithubArgs) ToAppSpecServiceGithubPtrOutputWithContext(ctx context.Context) AppSpecServiceGithubPtrOutput
type AppSpecServiceGithubInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type AppSpecServiceGithubOutput struct{ *pulumi.OutputState }
func (AppSpecServiceGithubOutput) Branch ¶ added in v2.9.0
func (o AppSpecServiceGithubOutput) Branch() pulumi.StringPtrOutput
The name of the branch to use.
func (AppSpecServiceGithubOutput) DeployOnPush ¶ added in v2.9.0
func (o AppSpecServiceGithubOutput) DeployOnPush() pulumi.BoolPtrOutput
Whether to automatically deploy new commits made to the repo.
func (AppSpecServiceGithubOutput) ElementType ¶ added in v2.9.0
func (AppSpecServiceGithubOutput) ElementType() reflect.Type
func (AppSpecServiceGithubOutput) Repo ¶ added in v2.9.0
func (o AppSpecServiceGithubOutput) Repo() pulumi.StringPtrOutput
The name of the repo in the format `owner/repo`.
func (AppSpecServiceGithubOutput) ToAppSpecServiceGithubOutput ¶ added in v2.9.0
func (o AppSpecServiceGithubOutput) ToAppSpecServiceGithubOutput() AppSpecServiceGithubOutput
func (AppSpecServiceGithubOutput) ToAppSpecServiceGithubOutputWithContext ¶ added in v2.9.0
func (o AppSpecServiceGithubOutput) ToAppSpecServiceGithubOutputWithContext(ctx context.Context) AppSpecServiceGithubOutput
func (AppSpecServiceGithubOutput) ToAppSpecServiceGithubPtrOutput ¶ added in v2.9.0
func (o AppSpecServiceGithubOutput) ToAppSpecServiceGithubPtrOutput() AppSpecServiceGithubPtrOutput
func (AppSpecServiceGithubOutput) ToAppSpecServiceGithubPtrOutputWithContext ¶ added in v2.9.0
func (o AppSpecServiceGithubOutput) ToAppSpecServiceGithubPtrOutputWithContext(ctx context.Context) AppSpecServiceGithubPtrOutput
type AppSpecServiceGithubPtrInput ¶ added in v2.9.0
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
func AppSpecServiceGithubPtr ¶ added in v2.9.0
func AppSpecServiceGithubPtr(v *AppSpecServiceGithubArgs) AppSpecServiceGithubPtrInput
type AppSpecServiceGithubPtrOutput ¶ added in v2.9.0
type AppSpecServiceGithubPtrOutput struct{ *pulumi.OutputState }
func (AppSpecServiceGithubPtrOutput) Branch ¶ added in v2.9.0
func (o AppSpecServiceGithubPtrOutput) Branch() pulumi.StringPtrOutput
The name of the branch to use.
func (AppSpecServiceGithubPtrOutput) DeployOnPush ¶ added in v2.9.0
func (o AppSpecServiceGithubPtrOutput) DeployOnPush() pulumi.BoolPtrOutput
Whether to automatically deploy new commits made to the repo.
func (AppSpecServiceGithubPtrOutput) Elem ¶ added in v2.9.0
func (o AppSpecServiceGithubPtrOutput) Elem() AppSpecServiceGithubOutput
func (AppSpecServiceGithubPtrOutput) ElementType ¶ added in v2.9.0
func (AppSpecServiceGithubPtrOutput) ElementType() reflect.Type
func (AppSpecServiceGithubPtrOutput) Repo ¶ added in v2.9.0
func (o AppSpecServiceGithubPtrOutput) Repo() pulumi.StringPtrOutput
The name of the repo in the format `owner/repo`.
func (AppSpecServiceGithubPtrOutput) ToAppSpecServiceGithubPtrOutput ¶ added in v2.9.0
func (o AppSpecServiceGithubPtrOutput) ToAppSpecServiceGithubPtrOutput() AppSpecServiceGithubPtrOutput
func (AppSpecServiceGithubPtrOutput) ToAppSpecServiceGithubPtrOutputWithContext ¶ added in v2.9.0
func (o AppSpecServiceGithubPtrOutput) ToAppSpecServiceGithubPtrOutputWithContext(ctx context.Context) AppSpecServiceGithubPtrOutput
type AppSpecServiceHealthCheck ¶ added in v2.9.0
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 ¶ added in v2.9.0
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 ¶ added in v2.9.0
func (AppSpecServiceHealthCheckArgs) ElementType() reflect.Type
func (AppSpecServiceHealthCheckArgs) ToAppSpecServiceHealthCheckOutput ¶ added in v2.9.0
func (i AppSpecServiceHealthCheckArgs) ToAppSpecServiceHealthCheckOutput() AppSpecServiceHealthCheckOutput
func (AppSpecServiceHealthCheckArgs) ToAppSpecServiceHealthCheckOutputWithContext ¶ added in v2.9.0
func (i AppSpecServiceHealthCheckArgs) ToAppSpecServiceHealthCheckOutputWithContext(ctx context.Context) AppSpecServiceHealthCheckOutput
func (AppSpecServiceHealthCheckArgs) ToAppSpecServiceHealthCheckPtrOutput ¶ added in v2.9.0
func (i AppSpecServiceHealthCheckArgs) ToAppSpecServiceHealthCheckPtrOutput() AppSpecServiceHealthCheckPtrOutput
func (AppSpecServiceHealthCheckArgs) ToAppSpecServiceHealthCheckPtrOutputWithContext ¶ added in v2.9.0
func (i AppSpecServiceHealthCheckArgs) ToAppSpecServiceHealthCheckPtrOutputWithContext(ctx context.Context) AppSpecServiceHealthCheckPtrOutput
type AppSpecServiceHealthCheckInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type AppSpecServiceHealthCheckOutput struct{ *pulumi.OutputState }
func (AppSpecServiceHealthCheckOutput) ElementType ¶ added in v2.9.0
func (AppSpecServiceHealthCheckOutput) ElementType() reflect.Type
func (AppSpecServiceHealthCheckOutput) FailureThreshold ¶ added in v2.9.0
func (o AppSpecServiceHealthCheckOutput) FailureThreshold() pulumi.IntPtrOutput
The number of failed health checks before considered unhealthy.
func (AppSpecServiceHealthCheckOutput) HttpPath ¶ added in v2.9.0
func (o AppSpecServiceHealthCheckOutput) HttpPath() pulumi.StringPtrOutput
The route path used for the HTTP health check ping.
func (AppSpecServiceHealthCheckOutput) InitialDelaySeconds ¶ added in v2.9.0
func (o AppSpecServiceHealthCheckOutput) InitialDelaySeconds() pulumi.IntPtrOutput
The number of seconds to wait before beginning health checks.
func (AppSpecServiceHealthCheckOutput) PeriodSeconds ¶ added in v2.9.0
func (o AppSpecServiceHealthCheckOutput) PeriodSeconds() pulumi.IntPtrOutput
The number of seconds to wait between health checks.
func (AppSpecServiceHealthCheckOutput) SuccessThreshold ¶ added in v2.9.0
func (o AppSpecServiceHealthCheckOutput) SuccessThreshold() pulumi.IntPtrOutput
The number of successful health checks before considered healthy.
func (AppSpecServiceHealthCheckOutput) TimeoutSeconds ¶ added in v2.9.0
func (o AppSpecServiceHealthCheckOutput) TimeoutSeconds() pulumi.IntPtrOutput
The number of seconds after which the check times out.
func (AppSpecServiceHealthCheckOutput) ToAppSpecServiceHealthCheckOutput ¶ added in v2.9.0
func (o AppSpecServiceHealthCheckOutput) ToAppSpecServiceHealthCheckOutput() AppSpecServiceHealthCheckOutput
func (AppSpecServiceHealthCheckOutput) ToAppSpecServiceHealthCheckOutputWithContext ¶ added in v2.9.0
func (o AppSpecServiceHealthCheckOutput) ToAppSpecServiceHealthCheckOutputWithContext(ctx context.Context) AppSpecServiceHealthCheckOutput
func (AppSpecServiceHealthCheckOutput) ToAppSpecServiceHealthCheckPtrOutput ¶ added in v2.9.0
func (o AppSpecServiceHealthCheckOutput) ToAppSpecServiceHealthCheckPtrOutput() AppSpecServiceHealthCheckPtrOutput
func (AppSpecServiceHealthCheckOutput) ToAppSpecServiceHealthCheckPtrOutputWithContext ¶ added in v2.9.0
func (o AppSpecServiceHealthCheckOutput) ToAppSpecServiceHealthCheckPtrOutputWithContext(ctx context.Context) AppSpecServiceHealthCheckPtrOutput
type AppSpecServiceHealthCheckPtrInput ¶ added in v2.9.0
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
func AppSpecServiceHealthCheckPtr ¶ added in v2.9.0
func AppSpecServiceHealthCheckPtr(v *AppSpecServiceHealthCheckArgs) AppSpecServiceHealthCheckPtrInput
type AppSpecServiceHealthCheckPtrOutput ¶ added in v2.9.0
type AppSpecServiceHealthCheckPtrOutput struct{ *pulumi.OutputState }
func (AppSpecServiceHealthCheckPtrOutput) Elem ¶ added in v2.9.0
func (o AppSpecServiceHealthCheckPtrOutput) Elem() AppSpecServiceHealthCheckOutput
func (AppSpecServiceHealthCheckPtrOutput) ElementType ¶ added in v2.9.0
func (AppSpecServiceHealthCheckPtrOutput) ElementType() reflect.Type
func (AppSpecServiceHealthCheckPtrOutput) FailureThreshold ¶ added in v2.9.0
func (o AppSpecServiceHealthCheckPtrOutput) FailureThreshold() pulumi.IntPtrOutput
The number of failed health checks before considered unhealthy.
func (AppSpecServiceHealthCheckPtrOutput) HttpPath ¶ added in v2.9.0
func (o AppSpecServiceHealthCheckPtrOutput) HttpPath() pulumi.StringPtrOutput
The route path used for the HTTP health check ping.
func (AppSpecServiceHealthCheckPtrOutput) InitialDelaySeconds ¶ added in v2.9.0
func (o AppSpecServiceHealthCheckPtrOutput) InitialDelaySeconds() pulumi.IntPtrOutput
The number of seconds to wait before beginning health checks.
func (AppSpecServiceHealthCheckPtrOutput) PeriodSeconds ¶ added in v2.9.0
func (o AppSpecServiceHealthCheckPtrOutput) PeriodSeconds() pulumi.IntPtrOutput
The number of seconds to wait between health checks.
func (AppSpecServiceHealthCheckPtrOutput) SuccessThreshold ¶ added in v2.9.0
func (o AppSpecServiceHealthCheckPtrOutput) SuccessThreshold() pulumi.IntPtrOutput
The number of successful health checks before considered healthy.
func (AppSpecServiceHealthCheckPtrOutput) TimeoutSeconds ¶ added in v2.9.0
func (o AppSpecServiceHealthCheckPtrOutput) TimeoutSeconds() pulumi.IntPtrOutput
The number of seconds after which the check times out.
func (AppSpecServiceHealthCheckPtrOutput) ToAppSpecServiceHealthCheckPtrOutput ¶ added in v2.9.0
func (o AppSpecServiceHealthCheckPtrOutput) ToAppSpecServiceHealthCheckPtrOutput() AppSpecServiceHealthCheckPtrOutput
func (AppSpecServiceHealthCheckPtrOutput) ToAppSpecServiceHealthCheckPtrOutputWithContext ¶ added in v2.9.0
func (o AppSpecServiceHealthCheckPtrOutput) ToAppSpecServiceHealthCheckPtrOutputWithContext(ctx context.Context) AppSpecServiceHealthCheckPtrOutput
type AppSpecServiceInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type AppSpecServiceOutput struct{ *pulumi.OutputState }
func (AppSpecServiceOutput) BuildCommand ¶ added in v2.9.0
func (o AppSpecServiceOutput) BuildCommand() pulumi.StringPtrOutput
An optional build command to run while building this component from source.
func (AppSpecServiceOutput) DockerfilePath ¶ added in v2.9.0
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 ¶ added in v2.9.0
func (AppSpecServiceOutput) ElementType() reflect.Type
func (AppSpecServiceOutput) EnvironmentSlug ¶ added in v2.9.0
func (o AppSpecServiceOutput) EnvironmentSlug() pulumi.StringPtrOutput
An environment slug describing the type of this app.
func (AppSpecServiceOutput) Envs ¶ added in v2.9.0
func (o AppSpecServiceOutput) Envs() AppSpecServiceEnvArrayOutput
Describes an environment variable made available to an app competent.
func (AppSpecServiceOutput) Git ¶ added in v2.9.0
func (o AppSpecServiceOutput) Git() AppSpecServiceGitPtrOutput
A Git repo to use as component's source. Only one of `git` and `github` may be set.
func (AppSpecServiceOutput) Github ¶ added in v2.9.0
func (o AppSpecServiceOutput) Github() AppSpecServiceGithubPtrOutput
A GitHub repo to use as component's source. Only one of `git` and `github` may be set.
func (AppSpecServiceOutput) HealthCheck ¶ added in v2.9.0
func (o AppSpecServiceOutput) HealthCheck() AppSpecServiceHealthCheckPtrOutput
A health check to determine the availability of this component.
func (AppSpecServiceOutput) HttpPort ¶ added in v2.9.0
func (o AppSpecServiceOutput) HttpPort() pulumi.IntPtrOutput
The internal port on which this service's run command will listen.
func (AppSpecServiceOutput) InstanceCount ¶ added in v2.9.0
func (o AppSpecServiceOutput) InstanceCount() pulumi.IntPtrOutput
The amount of instances that this component should be scaled to.
func (AppSpecServiceOutput) InstanceSizeSlug ¶ added in v2.9.0
func (o AppSpecServiceOutput) InstanceSizeSlug() pulumi.StringPtrOutput
The instance size to use for this component.
func (AppSpecServiceOutput) Name ¶ added in v2.9.0
func (o AppSpecServiceOutput) Name() pulumi.StringOutput
The name of the component
func (AppSpecServiceOutput) Routes ¶ added in v2.9.0
func (o AppSpecServiceOutput) Routes() AppSpecServiceRoutesPtrOutput
func (AppSpecServiceOutput) RunCommand ¶ added in v2.9.0
func (o AppSpecServiceOutput) RunCommand() pulumi.StringPtrOutput
An optional run command to override the component's default.
func (AppSpecServiceOutput) SourceDir ¶ added in v2.9.0
func (o AppSpecServiceOutput) SourceDir() pulumi.StringPtrOutput
An optional path to the working directory to use for the build.
func (AppSpecServiceOutput) ToAppSpecServiceOutput ¶ added in v2.9.0
func (o AppSpecServiceOutput) ToAppSpecServiceOutput() AppSpecServiceOutput
func (AppSpecServiceOutput) ToAppSpecServiceOutputWithContext ¶ added in v2.9.0
func (o AppSpecServiceOutput) ToAppSpecServiceOutputWithContext(ctx context.Context) AppSpecServiceOutput
type AppSpecServiceRoutes ¶ added in v2.9.0
type AppSpecServiceRoutes struct { // Paths must start with `/` and must be unique within the app. Path *string `pulumi:"path"` }
type AppSpecServiceRoutesArgs ¶ added in v2.9.0
type AppSpecServiceRoutesArgs struct { // Paths must start with `/` and must be unique within the app. Path pulumi.StringPtrInput `pulumi:"path"` }
func (AppSpecServiceRoutesArgs) ElementType ¶ added in v2.9.0
func (AppSpecServiceRoutesArgs) ElementType() reflect.Type
func (AppSpecServiceRoutesArgs) ToAppSpecServiceRoutesOutput ¶ added in v2.9.0
func (i AppSpecServiceRoutesArgs) ToAppSpecServiceRoutesOutput() AppSpecServiceRoutesOutput
func (AppSpecServiceRoutesArgs) ToAppSpecServiceRoutesOutputWithContext ¶ added in v2.9.0
func (i AppSpecServiceRoutesArgs) ToAppSpecServiceRoutesOutputWithContext(ctx context.Context) AppSpecServiceRoutesOutput
func (AppSpecServiceRoutesArgs) ToAppSpecServiceRoutesPtrOutput ¶ added in v2.9.0
func (i AppSpecServiceRoutesArgs) ToAppSpecServiceRoutesPtrOutput() AppSpecServiceRoutesPtrOutput
func (AppSpecServiceRoutesArgs) ToAppSpecServiceRoutesPtrOutputWithContext ¶ added in v2.9.0
func (i AppSpecServiceRoutesArgs) ToAppSpecServiceRoutesPtrOutputWithContext(ctx context.Context) AppSpecServiceRoutesPtrOutput
type AppSpecServiceRoutesInput ¶ added in v2.9.0
type AppSpecServiceRoutesInput interface { pulumi.Input ToAppSpecServiceRoutesOutput() AppSpecServiceRoutesOutput ToAppSpecServiceRoutesOutputWithContext(context.Context) AppSpecServiceRoutesOutput }
AppSpecServiceRoutesInput is an input type that accepts AppSpecServiceRoutesArgs and AppSpecServiceRoutesOutput values. You can construct a concrete instance of `AppSpecServiceRoutesInput` via:
AppSpecServiceRoutesArgs{...}
type AppSpecServiceRoutesOutput ¶ added in v2.9.0
type AppSpecServiceRoutesOutput struct{ *pulumi.OutputState }
func (AppSpecServiceRoutesOutput) ElementType ¶ added in v2.9.0
func (AppSpecServiceRoutesOutput) ElementType() reflect.Type
func (AppSpecServiceRoutesOutput) Path ¶ added in v2.9.0
func (o AppSpecServiceRoutesOutput) Path() pulumi.StringPtrOutput
Paths must start with `/` and must be unique within the app.
func (AppSpecServiceRoutesOutput) ToAppSpecServiceRoutesOutput ¶ added in v2.9.0
func (o AppSpecServiceRoutesOutput) ToAppSpecServiceRoutesOutput() AppSpecServiceRoutesOutput
func (AppSpecServiceRoutesOutput) ToAppSpecServiceRoutesOutputWithContext ¶ added in v2.9.0
func (o AppSpecServiceRoutesOutput) ToAppSpecServiceRoutesOutputWithContext(ctx context.Context) AppSpecServiceRoutesOutput
func (AppSpecServiceRoutesOutput) ToAppSpecServiceRoutesPtrOutput ¶ added in v2.9.0
func (o AppSpecServiceRoutesOutput) ToAppSpecServiceRoutesPtrOutput() AppSpecServiceRoutesPtrOutput
func (AppSpecServiceRoutesOutput) ToAppSpecServiceRoutesPtrOutputWithContext ¶ added in v2.9.0
func (o AppSpecServiceRoutesOutput) ToAppSpecServiceRoutesPtrOutputWithContext(ctx context.Context) AppSpecServiceRoutesPtrOutput
type AppSpecServiceRoutesPtrInput ¶ added in v2.9.0
type AppSpecServiceRoutesPtrInput interface { pulumi.Input ToAppSpecServiceRoutesPtrOutput() AppSpecServiceRoutesPtrOutput ToAppSpecServiceRoutesPtrOutputWithContext(context.Context) AppSpecServiceRoutesPtrOutput }
AppSpecServiceRoutesPtrInput is an input type that accepts AppSpecServiceRoutesArgs, AppSpecServiceRoutesPtr and AppSpecServiceRoutesPtrOutput values. You can construct a concrete instance of `AppSpecServiceRoutesPtrInput` via:
AppSpecServiceRoutesArgs{...} or: nil
func AppSpecServiceRoutesPtr ¶ added in v2.9.0
func AppSpecServiceRoutesPtr(v *AppSpecServiceRoutesArgs) AppSpecServiceRoutesPtrInput
type AppSpecServiceRoutesPtrOutput ¶ added in v2.9.0
type AppSpecServiceRoutesPtrOutput struct{ *pulumi.OutputState }
func (AppSpecServiceRoutesPtrOutput) Elem ¶ added in v2.9.0
func (o AppSpecServiceRoutesPtrOutput) Elem() AppSpecServiceRoutesOutput
func (AppSpecServiceRoutesPtrOutput) ElementType ¶ added in v2.9.0
func (AppSpecServiceRoutesPtrOutput) ElementType() reflect.Type
func (AppSpecServiceRoutesPtrOutput) Path ¶ added in v2.9.0
func (o AppSpecServiceRoutesPtrOutput) Path() pulumi.StringPtrOutput
Paths must start with `/` and must be unique within the app.
func (AppSpecServiceRoutesPtrOutput) ToAppSpecServiceRoutesPtrOutput ¶ added in v2.9.0
func (o AppSpecServiceRoutesPtrOutput) ToAppSpecServiceRoutesPtrOutput() AppSpecServiceRoutesPtrOutput
func (AppSpecServiceRoutesPtrOutput) ToAppSpecServiceRoutesPtrOutputWithContext ¶ added in v2.9.0
func (o AppSpecServiceRoutesPtrOutput) ToAppSpecServiceRoutesPtrOutputWithContext(ctx context.Context) AppSpecServiceRoutesPtrOutput
type AppSpecStaticSite ¶ added in v2.9.0
type AppSpecStaticSite 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 []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 component's source. Only one of `git` and `github` may be set. Git *AppSpecStaticSiteGit `pulumi:"git"` // A GitHub repo to use as component's source. Only one of `git` and `github` may be set. Github *AppSpecStaticSiteGithub `pulumi:"github"` // 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 *AppSpecStaticSiteRoutes `pulumi:"routes"` // An optional path to the working directory to use for the build. SourceDir *string `pulumi:"sourceDir"` }
type AppSpecStaticSiteArgs ¶ added in v2.9.0
type AppSpecStaticSiteArgs 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 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 component's source. Only one of `git` and `github` may be set. Git AppSpecStaticSiteGitPtrInput `pulumi:"git"` // A GitHub repo to use as component's source. Only one of `git` and `github` may be set. Github AppSpecStaticSiteGithubPtrInput `pulumi:"github"` // 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 AppSpecStaticSiteRoutesPtrInput `pulumi:"routes"` // An optional path to the working directory to use for the build. SourceDir pulumi.StringPtrInput `pulumi:"sourceDir"` }
func (AppSpecStaticSiteArgs) ElementType ¶ added in v2.9.0
func (AppSpecStaticSiteArgs) ElementType() reflect.Type
func (AppSpecStaticSiteArgs) ToAppSpecStaticSiteOutput ¶ added in v2.9.0
func (i AppSpecStaticSiteArgs) ToAppSpecStaticSiteOutput() AppSpecStaticSiteOutput
func (AppSpecStaticSiteArgs) ToAppSpecStaticSiteOutputWithContext ¶ added in v2.9.0
func (i AppSpecStaticSiteArgs) ToAppSpecStaticSiteOutputWithContext(ctx context.Context) AppSpecStaticSiteOutput
type AppSpecStaticSiteArray ¶ added in v2.9.0
type AppSpecStaticSiteArray []AppSpecStaticSiteInput
func (AppSpecStaticSiteArray) ElementType ¶ added in v2.9.0
func (AppSpecStaticSiteArray) ElementType() reflect.Type
func (AppSpecStaticSiteArray) ToAppSpecStaticSiteArrayOutput ¶ added in v2.9.0
func (i AppSpecStaticSiteArray) ToAppSpecStaticSiteArrayOutput() AppSpecStaticSiteArrayOutput
func (AppSpecStaticSiteArray) ToAppSpecStaticSiteArrayOutputWithContext ¶ added in v2.9.0
func (i AppSpecStaticSiteArray) ToAppSpecStaticSiteArrayOutputWithContext(ctx context.Context) AppSpecStaticSiteArrayOutput
type AppSpecStaticSiteArrayInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type AppSpecStaticSiteArrayOutput struct{ *pulumi.OutputState }
func (AppSpecStaticSiteArrayOutput) ElementType ¶ added in v2.9.0
func (AppSpecStaticSiteArrayOutput) ElementType() reflect.Type
func (AppSpecStaticSiteArrayOutput) Index ¶ added in v2.9.0
func (o AppSpecStaticSiteArrayOutput) Index(i pulumi.IntInput) AppSpecStaticSiteOutput
func (AppSpecStaticSiteArrayOutput) ToAppSpecStaticSiteArrayOutput ¶ added in v2.9.0
func (o AppSpecStaticSiteArrayOutput) ToAppSpecStaticSiteArrayOutput() AppSpecStaticSiteArrayOutput
func (AppSpecStaticSiteArrayOutput) ToAppSpecStaticSiteArrayOutputWithContext ¶ added in v2.9.0
func (o AppSpecStaticSiteArrayOutput) ToAppSpecStaticSiteArrayOutputWithContext(ctx context.Context) AppSpecStaticSiteArrayOutput
type AppSpecStaticSiteEnv ¶ added in v2.9.0
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 ¶ added in v2.9.0
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 ¶ added in v2.9.0
func (AppSpecStaticSiteEnvArgs) ElementType() reflect.Type
func (AppSpecStaticSiteEnvArgs) ToAppSpecStaticSiteEnvOutput ¶ added in v2.9.0
func (i AppSpecStaticSiteEnvArgs) ToAppSpecStaticSiteEnvOutput() AppSpecStaticSiteEnvOutput
func (AppSpecStaticSiteEnvArgs) ToAppSpecStaticSiteEnvOutputWithContext ¶ added in v2.9.0
func (i AppSpecStaticSiteEnvArgs) ToAppSpecStaticSiteEnvOutputWithContext(ctx context.Context) AppSpecStaticSiteEnvOutput
type AppSpecStaticSiteEnvArray ¶ added in v2.9.0
type AppSpecStaticSiteEnvArray []AppSpecStaticSiteEnvInput
func (AppSpecStaticSiteEnvArray) ElementType ¶ added in v2.9.0
func (AppSpecStaticSiteEnvArray) ElementType() reflect.Type
func (AppSpecStaticSiteEnvArray) ToAppSpecStaticSiteEnvArrayOutput ¶ added in v2.9.0
func (i AppSpecStaticSiteEnvArray) ToAppSpecStaticSiteEnvArrayOutput() AppSpecStaticSiteEnvArrayOutput
func (AppSpecStaticSiteEnvArray) ToAppSpecStaticSiteEnvArrayOutputWithContext ¶ added in v2.9.0
func (i AppSpecStaticSiteEnvArray) ToAppSpecStaticSiteEnvArrayOutputWithContext(ctx context.Context) AppSpecStaticSiteEnvArrayOutput
type AppSpecStaticSiteEnvArrayInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type AppSpecStaticSiteEnvArrayOutput struct{ *pulumi.OutputState }
func (AppSpecStaticSiteEnvArrayOutput) ElementType ¶ added in v2.9.0
func (AppSpecStaticSiteEnvArrayOutput) ElementType() reflect.Type
func (AppSpecStaticSiteEnvArrayOutput) Index ¶ added in v2.9.0
func (o AppSpecStaticSiteEnvArrayOutput) Index(i pulumi.IntInput) AppSpecStaticSiteEnvOutput
func (AppSpecStaticSiteEnvArrayOutput) ToAppSpecStaticSiteEnvArrayOutput ¶ added in v2.9.0
func (o AppSpecStaticSiteEnvArrayOutput) ToAppSpecStaticSiteEnvArrayOutput() AppSpecStaticSiteEnvArrayOutput
func (AppSpecStaticSiteEnvArrayOutput) ToAppSpecStaticSiteEnvArrayOutputWithContext ¶ added in v2.9.0
func (o AppSpecStaticSiteEnvArrayOutput) ToAppSpecStaticSiteEnvArrayOutputWithContext(ctx context.Context) AppSpecStaticSiteEnvArrayOutput
type AppSpecStaticSiteEnvInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type AppSpecStaticSiteEnvOutput struct{ *pulumi.OutputState }
func (AppSpecStaticSiteEnvOutput) ElementType ¶ added in v2.9.0
func (AppSpecStaticSiteEnvOutput) ElementType() reflect.Type
func (AppSpecStaticSiteEnvOutput) Key ¶ added in v2.9.0
func (o AppSpecStaticSiteEnvOutput) Key() pulumi.StringPtrOutput
The name of the environment variable.
func (AppSpecStaticSiteEnvOutput) Scope ¶ added in v2.9.0
func (o AppSpecStaticSiteEnvOutput) Scope() pulumi.StringPtrOutput
The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).
func (AppSpecStaticSiteEnvOutput) ToAppSpecStaticSiteEnvOutput ¶ added in v2.9.0
func (o AppSpecStaticSiteEnvOutput) ToAppSpecStaticSiteEnvOutput() AppSpecStaticSiteEnvOutput
func (AppSpecStaticSiteEnvOutput) ToAppSpecStaticSiteEnvOutputWithContext ¶ added in v2.9.0
func (o AppSpecStaticSiteEnvOutput) ToAppSpecStaticSiteEnvOutputWithContext(ctx context.Context) AppSpecStaticSiteEnvOutput
func (AppSpecStaticSiteEnvOutput) Type ¶ added in v2.9.0
func (o AppSpecStaticSiteEnvOutput) Type() pulumi.StringPtrOutput
The type of the environment variable, `GENERAL` or `SECRET`.
func (AppSpecStaticSiteEnvOutput) Value ¶ added in v2.9.0
func (o AppSpecStaticSiteEnvOutput) Value() pulumi.StringPtrOutput
The value of the environment variable.
type AppSpecStaticSiteGit ¶ added in v2.9.0
type AppSpecStaticSiteGitArgs ¶ added in v2.9.0
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 ¶ added in v2.9.0
func (AppSpecStaticSiteGitArgs) ElementType() reflect.Type
func (AppSpecStaticSiteGitArgs) ToAppSpecStaticSiteGitOutput ¶ added in v2.9.0
func (i AppSpecStaticSiteGitArgs) ToAppSpecStaticSiteGitOutput() AppSpecStaticSiteGitOutput
func (AppSpecStaticSiteGitArgs) ToAppSpecStaticSiteGitOutputWithContext ¶ added in v2.9.0
func (i AppSpecStaticSiteGitArgs) ToAppSpecStaticSiteGitOutputWithContext(ctx context.Context) AppSpecStaticSiteGitOutput
func (AppSpecStaticSiteGitArgs) ToAppSpecStaticSiteGitPtrOutput ¶ added in v2.9.0
func (i AppSpecStaticSiteGitArgs) ToAppSpecStaticSiteGitPtrOutput() AppSpecStaticSiteGitPtrOutput
func (AppSpecStaticSiteGitArgs) ToAppSpecStaticSiteGitPtrOutputWithContext ¶ added in v2.9.0
func (i AppSpecStaticSiteGitArgs) ToAppSpecStaticSiteGitPtrOutputWithContext(ctx context.Context) AppSpecStaticSiteGitPtrOutput
type AppSpecStaticSiteGitInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type AppSpecStaticSiteGitOutput struct{ *pulumi.OutputState }
func (AppSpecStaticSiteGitOutput) Branch ¶ added in v2.9.0
func (o AppSpecStaticSiteGitOutput) Branch() pulumi.StringPtrOutput
The name of the branch to use.
func (AppSpecStaticSiteGitOutput) ElementType ¶ added in v2.9.0
func (AppSpecStaticSiteGitOutput) ElementType() reflect.Type
func (AppSpecStaticSiteGitOutput) RepoCloneUrl ¶ added in v2.9.0
func (o AppSpecStaticSiteGitOutput) RepoCloneUrl() pulumi.StringPtrOutput
The clone URL of the repo.
func (AppSpecStaticSiteGitOutput) ToAppSpecStaticSiteGitOutput ¶ added in v2.9.0
func (o AppSpecStaticSiteGitOutput) ToAppSpecStaticSiteGitOutput() AppSpecStaticSiteGitOutput
func (AppSpecStaticSiteGitOutput) ToAppSpecStaticSiteGitOutputWithContext ¶ added in v2.9.0
func (o AppSpecStaticSiteGitOutput) ToAppSpecStaticSiteGitOutputWithContext(ctx context.Context) AppSpecStaticSiteGitOutput
func (AppSpecStaticSiteGitOutput) ToAppSpecStaticSiteGitPtrOutput ¶ added in v2.9.0
func (o AppSpecStaticSiteGitOutput) ToAppSpecStaticSiteGitPtrOutput() AppSpecStaticSiteGitPtrOutput
func (AppSpecStaticSiteGitOutput) ToAppSpecStaticSiteGitPtrOutputWithContext ¶ added in v2.9.0
func (o AppSpecStaticSiteGitOutput) ToAppSpecStaticSiteGitPtrOutputWithContext(ctx context.Context) AppSpecStaticSiteGitPtrOutput
type AppSpecStaticSiteGitPtrInput ¶ added in v2.9.0
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
func AppSpecStaticSiteGitPtr ¶ added in v2.9.0
func AppSpecStaticSiteGitPtr(v *AppSpecStaticSiteGitArgs) AppSpecStaticSiteGitPtrInput
type AppSpecStaticSiteGitPtrOutput ¶ added in v2.9.0
type AppSpecStaticSiteGitPtrOutput struct{ *pulumi.OutputState }
func (AppSpecStaticSiteGitPtrOutput) Branch ¶ added in v2.9.0
func (o AppSpecStaticSiteGitPtrOutput) Branch() pulumi.StringPtrOutput
The name of the branch to use.
func (AppSpecStaticSiteGitPtrOutput) Elem ¶ added in v2.9.0
func (o AppSpecStaticSiteGitPtrOutput) Elem() AppSpecStaticSiteGitOutput
func (AppSpecStaticSiteGitPtrOutput) ElementType ¶ added in v2.9.0
func (AppSpecStaticSiteGitPtrOutput) ElementType() reflect.Type
func (AppSpecStaticSiteGitPtrOutput) RepoCloneUrl ¶ added in v2.9.0
func (o AppSpecStaticSiteGitPtrOutput) RepoCloneUrl() pulumi.StringPtrOutput
The clone URL of the repo.
func (AppSpecStaticSiteGitPtrOutput) ToAppSpecStaticSiteGitPtrOutput ¶ added in v2.9.0
func (o AppSpecStaticSiteGitPtrOutput) ToAppSpecStaticSiteGitPtrOutput() AppSpecStaticSiteGitPtrOutput
func (AppSpecStaticSiteGitPtrOutput) ToAppSpecStaticSiteGitPtrOutputWithContext ¶ added in v2.9.0
func (o AppSpecStaticSiteGitPtrOutput) ToAppSpecStaticSiteGitPtrOutputWithContext(ctx context.Context) AppSpecStaticSiteGitPtrOutput
type AppSpecStaticSiteGithub ¶ added in v2.9.0
type AppSpecStaticSiteGithubArgs ¶ added in v2.9.0
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 ¶ added in v2.9.0
func (AppSpecStaticSiteGithubArgs) ElementType() reflect.Type
func (AppSpecStaticSiteGithubArgs) ToAppSpecStaticSiteGithubOutput ¶ added in v2.9.0
func (i AppSpecStaticSiteGithubArgs) ToAppSpecStaticSiteGithubOutput() AppSpecStaticSiteGithubOutput
func (AppSpecStaticSiteGithubArgs) ToAppSpecStaticSiteGithubOutputWithContext ¶ added in v2.9.0
func (i AppSpecStaticSiteGithubArgs) ToAppSpecStaticSiteGithubOutputWithContext(ctx context.Context) AppSpecStaticSiteGithubOutput
func (AppSpecStaticSiteGithubArgs) ToAppSpecStaticSiteGithubPtrOutput ¶ added in v2.9.0
func (i AppSpecStaticSiteGithubArgs) ToAppSpecStaticSiteGithubPtrOutput() AppSpecStaticSiteGithubPtrOutput
func (AppSpecStaticSiteGithubArgs) ToAppSpecStaticSiteGithubPtrOutputWithContext ¶ added in v2.9.0
func (i AppSpecStaticSiteGithubArgs) ToAppSpecStaticSiteGithubPtrOutputWithContext(ctx context.Context) AppSpecStaticSiteGithubPtrOutput
type AppSpecStaticSiteGithubInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type AppSpecStaticSiteGithubOutput struct{ *pulumi.OutputState }
func (AppSpecStaticSiteGithubOutput) Branch ¶ added in v2.9.0
func (o AppSpecStaticSiteGithubOutput) Branch() pulumi.StringPtrOutput
The name of the branch to use.
func (AppSpecStaticSiteGithubOutput) DeployOnPush ¶ added in v2.9.0
func (o AppSpecStaticSiteGithubOutput) DeployOnPush() pulumi.BoolPtrOutput
Whether to automatically deploy new commits made to the repo.
func (AppSpecStaticSiteGithubOutput) ElementType ¶ added in v2.9.0
func (AppSpecStaticSiteGithubOutput) ElementType() reflect.Type
func (AppSpecStaticSiteGithubOutput) Repo ¶ added in v2.9.0
func (o AppSpecStaticSiteGithubOutput) Repo() pulumi.StringPtrOutput
The name of the repo in the format `owner/repo`.
func (AppSpecStaticSiteGithubOutput) ToAppSpecStaticSiteGithubOutput ¶ added in v2.9.0
func (o AppSpecStaticSiteGithubOutput) ToAppSpecStaticSiteGithubOutput() AppSpecStaticSiteGithubOutput
func (AppSpecStaticSiteGithubOutput) ToAppSpecStaticSiteGithubOutputWithContext ¶ added in v2.9.0
func (o AppSpecStaticSiteGithubOutput) ToAppSpecStaticSiteGithubOutputWithContext(ctx context.Context) AppSpecStaticSiteGithubOutput
func (AppSpecStaticSiteGithubOutput) ToAppSpecStaticSiteGithubPtrOutput ¶ added in v2.9.0
func (o AppSpecStaticSiteGithubOutput) ToAppSpecStaticSiteGithubPtrOutput() AppSpecStaticSiteGithubPtrOutput
func (AppSpecStaticSiteGithubOutput) ToAppSpecStaticSiteGithubPtrOutputWithContext ¶ added in v2.9.0
func (o AppSpecStaticSiteGithubOutput) ToAppSpecStaticSiteGithubPtrOutputWithContext(ctx context.Context) AppSpecStaticSiteGithubPtrOutput
type AppSpecStaticSiteGithubPtrInput ¶ added in v2.9.0
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
func AppSpecStaticSiteGithubPtr ¶ added in v2.9.0
func AppSpecStaticSiteGithubPtr(v *AppSpecStaticSiteGithubArgs) AppSpecStaticSiteGithubPtrInput
type AppSpecStaticSiteGithubPtrOutput ¶ added in v2.9.0
type AppSpecStaticSiteGithubPtrOutput struct{ *pulumi.OutputState }
func (AppSpecStaticSiteGithubPtrOutput) Branch ¶ added in v2.9.0
func (o AppSpecStaticSiteGithubPtrOutput) Branch() pulumi.StringPtrOutput
The name of the branch to use.
func (AppSpecStaticSiteGithubPtrOutput) DeployOnPush ¶ added in v2.9.0
func (o AppSpecStaticSiteGithubPtrOutput) DeployOnPush() pulumi.BoolPtrOutput
Whether to automatically deploy new commits made to the repo.
func (AppSpecStaticSiteGithubPtrOutput) Elem ¶ added in v2.9.0
func (o AppSpecStaticSiteGithubPtrOutput) Elem() AppSpecStaticSiteGithubOutput
func (AppSpecStaticSiteGithubPtrOutput) ElementType ¶ added in v2.9.0
func (AppSpecStaticSiteGithubPtrOutput) ElementType() reflect.Type
func (AppSpecStaticSiteGithubPtrOutput) Repo ¶ added in v2.9.0
func (o AppSpecStaticSiteGithubPtrOutput) Repo() pulumi.StringPtrOutput
The name of the repo in the format `owner/repo`.
func (AppSpecStaticSiteGithubPtrOutput) ToAppSpecStaticSiteGithubPtrOutput ¶ added in v2.9.0
func (o AppSpecStaticSiteGithubPtrOutput) ToAppSpecStaticSiteGithubPtrOutput() AppSpecStaticSiteGithubPtrOutput
func (AppSpecStaticSiteGithubPtrOutput) ToAppSpecStaticSiteGithubPtrOutputWithContext ¶ added in v2.9.0
func (o AppSpecStaticSiteGithubPtrOutput) ToAppSpecStaticSiteGithubPtrOutputWithContext(ctx context.Context) AppSpecStaticSiteGithubPtrOutput
type AppSpecStaticSiteInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type AppSpecStaticSiteOutput struct{ *pulumi.OutputState }
func (AppSpecStaticSiteOutput) BuildCommand ¶ added in v2.9.0
func (o AppSpecStaticSiteOutput) BuildCommand() pulumi.StringPtrOutput
An optional build command to run while building this component from source.
func (AppSpecStaticSiteOutput) DockerfilePath ¶ added in v2.9.0
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 ¶ added in v2.9.0
func (AppSpecStaticSiteOutput) ElementType() reflect.Type
func (AppSpecStaticSiteOutput) EnvironmentSlug ¶ added in v2.9.0
func (o AppSpecStaticSiteOutput) EnvironmentSlug() pulumi.StringPtrOutput
An environment slug describing the type of this app.
func (AppSpecStaticSiteOutput) Envs ¶ added in v2.9.0
func (o AppSpecStaticSiteOutput) Envs() AppSpecStaticSiteEnvArrayOutput
Describes an environment variable made available to an app competent.
func (AppSpecStaticSiteOutput) ErrorDocument ¶ added in v2.9.0
func (o AppSpecStaticSiteOutput) ErrorDocument() pulumi.StringPtrOutput
The name of the error document to use when serving this static site*
func (AppSpecStaticSiteOutput) Git ¶ added in v2.9.0
func (o AppSpecStaticSiteOutput) Git() AppSpecStaticSiteGitPtrOutput
A Git repo to use as component's source. Only one of `git` and `github` may be set.
func (AppSpecStaticSiteOutput) Github ¶ added in v2.9.0
func (o AppSpecStaticSiteOutput) Github() AppSpecStaticSiteGithubPtrOutput
A GitHub repo to use as component's source. Only one of `git` and `github` may be set.
func (AppSpecStaticSiteOutput) IndexDocument ¶ added in v2.9.0
func (o AppSpecStaticSiteOutput) IndexDocument() pulumi.StringPtrOutput
The name of the index document to use when serving this static site.
func (AppSpecStaticSiteOutput) Name ¶ added in v2.9.0
func (o AppSpecStaticSiteOutput) Name() pulumi.StringOutput
The name of the component
func (AppSpecStaticSiteOutput) OutputDir ¶ added in v2.9.0
func (o AppSpecStaticSiteOutput) OutputDir() pulumi.StringPtrOutput
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 ¶ added in v2.9.0
func (o AppSpecStaticSiteOutput) Routes() AppSpecStaticSiteRoutesPtrOutput
func (AppSpecStaticSiteOutput) SourceDir ¶ added in v2.9.0
func (o AppSpecStaticSiteOutput) SourceDir() pulumi.StringPtrOutput
An optional path to the working directory to use for the build.
func (AppSpecStaticSiteOutput) ToAppSpecStaticSiteOutput ¶ added in v2.9.0
func (o AppSpecStaticSiteOutput) ToAppSpecStaticSiteOutput() AppSpecStaticSiteOutput
func (AppSpecStaticSiteOutput) ToAppSpecStaticSiteOutputWithContext ¶ added in v2.9.0
func (o AppSpecStaticSiteOutput) ToAppSpecStaticSiteOutputWithContext(ctx context.Context) AppSpecStaticSiteOutput
type AppSpecStaticSiteRoutes ¶ added in v2.9.0
type AppSpecStaticSiteRoutes struct { // Paths must start with `/` and must be unique within the app. Path *string `pulumi:"path"` }
type AppSpecStaticSiteRoutesArgs ¶ added in v2.9.0
type AppSpecStaticSiteRoutesArgs struct { // Paths must start with `/` and must be unique within the app. Path pulumi.StringPtrInput `pulumi:"path"` }
func (AppSpecStaticSiteRoutesArgs) ElementType ¶ added in v2.9.0
func (AppSpecStaticSiteRoutesArgs) ElementType() reflect.Type
func (AppSpecStaticSiteRoutesArgs) ToAppSpecStaticSiteRoutesOutput ¶ added in v2.9.0
func (i AppSpecStaticSiteRoutesArgs) ToAppSpecStaticSiteRoutesOutput() AppSpecStaticSiteRoutesOutput
func (AppSpecStaticSiteRoutesArgs) ToAppSpecStaticSiteRoutesOutputWithContext ¶ added in v2.9.0
func (i AppSpecStaticSiteRoutesArgs) ToAppSpecStaticSiteRoutesOutputWithContext(ctx context.Context) AppSpecStaticSiteRoutesOutput
func (AppSpecStaticSiteRoutesArgs) ToAppSpecStaticSiteRoutesPtrOutput ¶ added in v2.9.0
func (i AppSpecStaticSiteRoutesArgs) ToAppSpecStaticSiteRoutesPtrOutput() AppSpecStaticSiteRoutesPtrOutput
func (AppSpecStaticSiteRoutesArgs) ToAppSpecStaticSiteRoutesPtrOutputWithContext ¶ added in v2.9.0
func (i AppSpecStaticSiteRoutesArgs) ToAppSpecStaticSiteRoutesPtrOutputWithContext(ctx context.Context) AppSpecStaticSiteRoutesPtrOutput
type AppSpecStaticSiteRoutesInput ¶ added in v2.9.0
type AppSpecStaticSiteRoutesInput interface { pulumi.Input ToAppSpecStaticSiteRoutesOutput() AppSpecStaticSiteRoutesOutput ToAppSpecStaticSiteRoutesOutputWithContext(context.Context) AppSpecStaticSiteRoutesOutput }
AppSpecStaticSiteRoutesInput is an input type that accepts AppSpecStaticSiteRoutesArgs and AppSpecStaticSiteRoutesOutput values. You can construct a concrete instance of `AppSpecStaticSiteRoutesInput` via:
AppSpecStaticSiteRoutesArgs{...}
type AppSpecStaticSiteRoutesOutput ¶ added in v2.9.0
type AppSpecStaticSiteRoutesOutput struct{ *pulumi.OutputState }
func (AppSpecStaticSiteRoutesOutput) ElementType ¶ added in v2.9.0
func (AppSpecStaticSiteRoutesOutput) ElementType() reflect.Type
func (AppSpecStaticSiteRoutesOutput) Path ¶ added in v2.9.0
func (o AppSpecStaticSiteRoutesOutput) Path() pulumi.StringPtrOutput
Paths must start with `/` and must be unique within the app.
func (AppSpecStaticSiteRoutesOutput) ToAppSpecStaticSiteRoutesOutput ¶ added in v2.9.0
func (o AppSpecStaticSiteRoutesOutput) ToAppSpecStaticSiteRoutesOutput() AppSpecStaticSiteRoutesOutput
func (AppSpecStaticSiteRoutesOutput) ToAppSpecStaticSiteRoutesOutputWithContext ¶ added in v2.9.0
func (o AppSpecStaticSiteRoutesOutput) ToAppSpecStaticSiteRoutesOutputWithContext(ctx context.Context) AppSpecStaticSiteRoutesOutput
func (AppSpecStaticSiteRoutesOutput) ToAppSpecStaticSiteRoutesPtrOutput ¶ added in v2.9.0
func (o AppSpecStaticSiteRoutesOutput) ToAppSpecStaticSiteRoutesPtrOutput() AppSpecStaticSiteRoutesPtrOutput
func (AppSpecStaticSiteRoutesOutput) ToAppSpecStaticSiteRoutesPtrOutputWithContext ¶ added in v2.9.0
func (o AppSpecStaticSiteRoutesOutput) ToAppSpecStaticSiteRoutesPtrOutputWithContext(ctx context.Context) AppSpecStaticSiteRoutesPtrOutput
type AppSpecStaticSiteRoutesPtrInput ¶ added in v2.9.0
type AppSpecStaticSiteRoutesPtrInput interface { pulumi.Input ToAppSpecStaticSiteRoutesPtrOutput() AppSpecStaticSiteRoutesPtrOutput ToAppSpecStaticSiteRoutesPtrOutputWithContext(context.Context) AppSpecStaticSiteRoutesPtrOutput }
AppSpecStaticSiteRoutesPtrInput is an input type that accepts AppSpecStaticSiteRoutesArgs, AppSpecStaticSiteRoutesPtr and AppSpecStaticSiteRoutesPtrOutput values. You can construct a concrete instance of `AppSpecStaticSiteRoutesPtrInput` via:
AppSpecStaticSiteRoutesArgs{...} or: nil
func AppSpecStaticSiteRoutesPtr ¶ added in v2.9.0
func AppSpecStaticSiteRoutesPtr(v *AppSpecStaticSiteRoutesArgs) AppSpecStaticSiteRoutesPtrInput
type AppSpecStaticSiteRoutesPtrOutput ¶ added in v2.9.0
type AppSpecStaticSiteRoutesPtrOutput struct{ *pulumi.OutputState }
func (AppSpecStaticSiteRoutesPtrOutput) Elem ¶ added in v2.9.0
func (o AppSpecStaticSiteRoutesPtrOutput) Elem() AppSpecStaticSiteRoutesOutput
func (AppSpecStaticSiteRoutesPtrOutput) ElementType ¶ added in v2.9.0
func (AppSpecStaticSiteRoutesPtrOutput) ElementType() reflect.Type
func (AppSpecStaticSiteRoutesPtrOutput) Path ¶ added in v2.9.0
func (o AppSpecStaticSiteRoutesPtrOutput) Path() pulumi.StringPtrOutput
Paths must start with `/` and must be unique within the app.
func (AppSpecStaticSiteRoutesPtrOutput) ToAppSpecStaticSiteRoutesPtrOutput ¶ added in v2.9.0
func (o AppSpecStaticSiteRoutesPtrOutput) ToAppSpecStaticSiteRoutesPtrOutput() AppSpecStaticSiteRoutesPtrOutput
func (AppSpecStaticSiteRoutesPtrOutput) ToAppSpecStaticSiteRoutesPtrOutputWithContext ¶ added in v2.9.0
func (o AppSpecStaticSiteRoutesPtrOutput) ToAppSpecStaticSiteRoutesPtrOutputWithContext(ctx context.Context) AppSpecStaticSiteRoutesPtrOutput
type AppSpecWorker ¶ added in v2.9.0
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 component's source. Only one of `git` and `github` may be set. Git *AppSpecWorkerGit `pulumi:"git"` // A GitHub repo to use as component's source. Only one of `git` and `github` may be set. Github *AppSpecWorkerGithub `pulumi:"github"` // 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"` Routes *AppSpecWorkerRoutes `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 AppSpecWorkerArgs ¶ added in v2.9.0
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 component's source. Only one of `git` and `github` may be set. Git AppSpecWorkerGitPtrInput `pulumi:"git"` // A GitHub repo to use as component's source. Only one of `git` and `github` may be set. Github AppSpecWorkerGithubPtrInput `pulumi:"github"` // 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"` Routes AppSpecWorkerRoutesPtrInput `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 (AppSpecWorkerArgs) ElementType ¶ added in v2.9.0
func (AppSpecWorkerArgs) ElementType() reflect.Type
func (AppSpecWorkerArgs) ToAppSpecWorkerOutput ¶ added in v2.9.0
func (i AppSpecWorkerArgs) ToAppSpecWorkerOutput() AppSpecWorkerOutput
func (AppSpecWorkerArgs) ToAppSpecWorkerOutputWithContext ¶ added in v2.9.0
func (i AppSpecWorkerArgs) ToAppSpecWorkerOutputWithContext(ctx context.Context) AppSpecWorkerOutput
type AppSpecWorkerArray ¶ added in v2.9.0
type AppSpecWorkerArray []AppSpecWorkerInput
func (AppSpecWorkerArray) ElementType ¶ added in v2.9.0
func (AppSpecWorkerArray) ElementType() reflect.Type
func (AppSpecWorkerArray) ToAppSpecWorkerArrayOutput ¶ added in v2.9.0
func (i AppSpecWorkerArray) ToAppSpecWorkerArrayOutput() AppSpecWorkerArrayOutput
func (AppSpecWorkerArray) ToAppSpecWorkerArrayOutputWithContext ¶ added in v2.9.0
func (i AppSpecWorkerArray) ToAppSpecWorkerArrayOutputWithContext(ctx context.Context) AppSpecWorkerArrayOutput
type AppSpecWorkerArrayInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type AppSpecWorkerArrayOutput struct{ *pulumi.OutputState }
func (AppSpecWorkerArrayOutput) ElementType ¶ added in v2.9.0
func (AppSpecWorkerArrayOutput) ElementType() reflect.Type
func (AppSpecWorkerArrayOutput) Index ¶ added in v2.9.0
func (o AppSpecWorkerArrayOutput) Index(i pulumi.IntInput) AppSpecWorkerOutput
func (AppSpecWorkerArrayOutput) ToAppSpecWorkerArrayOutput ¶ added in v2.9.0
func (o AppSpecWorkerArrayOutput) ToAppSpecWorkerArrayOutput() AppSpecWorkerArrayOutput
func (AppSpecWorkerArrayOutput) ToAppSpecWorkerArrayOutputWithContext ¶ added in v2.9.0
func (o AppSpecWorkerArrayOutput) ToAppSpecWorkerArrayOutputWithContext(ctx context.Context) AppSpecWorkerArrayOutput
type AppSpecWorkerEnv ¶ added in v2.9.0
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 ¶ added in v2.9.0
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 ¶ added in v2.9.0
func (AppSpecWorkerEnvArgs) ElementType() reflect.Type
func (AppSpecWorkerEnvArgs) ToAppSpecWorkerEnvOutput ¶ added in v2.9.0
func (i AppSpecWorkerEnvArgs) ToAppSpecWorkerEnvOutput() AppSpecWorkerEnvOutput
func (AppSpecWorkerEnvArgs) ToAppSpecWorkerEnvOutputWithContext ¶ added in v2.9.0
func (i AppSpecWorkerEnvArgs) ToAppSpecWorkerEnvOutputWithContext(ctx context.Context) AppSpecWorkerEnvOutput
type AppSpecWorkerEnvArray ¶ added in v2.9.0
type AppSpecWorkerEnvArray []AppSpecWorkerEnvInput
func (AppSpecWorkerEnvArray) ElementType ¶ added in v2.9.0
func (AppSpecWorkerEnvArray) ElementType() reflect.Type
func (AppSpecWorkerEnvArray) ToAppSpecWorkerEnvArrayOutput ¶ added in v2.9.0
func (i AppSpecWorkerEnvArray) ToAppSpecWorkerEnvArrayOutput() AppSpecWorkerEnvArrayOutput
func (AppSpecWorkerEnvArray) ToAppSpecWorkerEnvArrayOutputWithContext ¶ added in v2.9.0
func (i AppSpecWorkerEnvArray) ToAppSpecWorkerEnvArrayOutputWithContext(ctx context.Context) AppSpecWorkerEnvArrayOutput
type AppSpecWorkerEnvArrayInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type AppSpecWorkerEnvArrayOutput struct{ *pulumi.OutputState }
func (AppSpecWorkerEnvArrayOutput) ElementType ¶ added in v2.9.0
func (AppSpecWorkerEnvArrayOutput) ElementType() reflect.Type
func (AppSpecWorkerEnvArrayOutput) Index ¶ added in v2.9.0
func (o AppSpecWorkerEnvArrayOutput) Index(i pulumi.IntInput) AppSpecWorkerEnvOutput
func (AppSpecWorkerEnvArrayOutput) ToAppSpecWorkerEnvArrayOutput ¶ added in v2.9.0
func (o AppSpecWorkerEnvArrayOutput) ToAppSpecWorkerEnvArrayOutput() AppSpecWorkerEnvArrayOutput
func (AppSpecWorkerEnvArrayOutput) ToAppSpecWorkerEnvArrayOutputWithContext ¶ added in v2.9.0
func (o AppSpecWorkerEnvArrayOutput) ToAppSpecWorkerEnvArrayOutputWithContext(ctx context.Context) AppSpecWorkerEnvArrayOutput
type AppSpecWorkerEnvInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type AppSpecWorkerEnvOutput struct{ *pulumi.OutputState }
func (AppSpecWorkerEnvOutput) ElementType ¶ added in v2.9.0
func (AppSpecWorkerEnvOutput) ElementType() reflect.Type
func (AppSpecWorkerEnvOutput) Key ¶ added in v2.9.0
func (o AppSpecWorkerEnvOutput) Key() pulumi.StringPtrOutput
The name of the environment variable.
func (AppSpecWorkerEnvOutput) Scope ¶ added in v2.9.0
func (o AppSpecWorkerEnvOutput) Scope() pulumi.StringPtrOutput
The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).
func (AppSpecWorkerEnvOutput) ToAppSpecWorkerEnvOutput ¶ added in v2.9.0
func (o AppSpecWorkerEnvOutput) ToAppSpecWorkerEnvOutput() AppSpecWorkerEnvOutput
func (AppSpecWorkerEnvOutput) ToAppSpecWorkerEnvOutputWithContext ¶ added in v2.9.0
func (o AppSpecWorkerEnvOutput) ToAppSpecWorkerEnvOutputWithContext(ctx context.Context) AppSpecWorkerEnvOutput
func (AppSpecWorkerEnvOutput) Type ¶ added in v2.9.0
func (o AppSpecWorkerEnvOutput) Type() pulumi.StringPtrOutput
The type of the environment variable, `GENERAL` or `SECRET`.
func (AppSpecWorkerEnvOutput) Value ¶ added in v2.9.0
func (o AppSpecWorkerEnvOutput) Value() pulumi.StringPtrOutput
The value of the environment variable.
type AppSpecWorkerGit ¶ added in v2.9.0
type AppSpecWorkerGitArgs ¶ added in v2.9.0
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 ¶ added in v2.9.0
func (AppSpecWorkerGitArgs) ElementType() reflect.Type
func (AppSpecWorkerGitArgs) ToAppSpecWorkerGitOutput ¶ added in v2.9.0
func (i AppSpecWorkerGitArgs) ToAppSpecWorkerGitOutput() AppSpecWorkerGitOutput
func (AppSpecWorkerGitArgs) ToAppSpecWorkerGitOutputWithContext ¶ added in v2.9.0
func (i AppSpecWorkerGitArgs) ToAppSpecWorkerGitOutputWithContext(ctx context.Context) AppSpecWorkerGitOutput
func (AppSpecWorkerGitArgs) ToAppSpecWorkerGitPtrOutput ¶ added in v2.9.0
func (i AppSpecWorkerGitArgs) ToAppSpecWorkerGitPtrOutput() AppSpecWorkerGitPtrOutput
func (AppSpecWorkerGitArgs) ToAppSpecWorkerGitPtrOutputWithContext ¶ added in v2.9.0
func (i AppSpecWorkerGitArgs) ToAppSpecWorkerGitPtrOutputWithContext(ctx context.Context) AppSpecWorkerGitPtrOutput
type AppSpecWorkerGitInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type AppSpecWorkerGitOutput struct{ *pulumi.OutputState }
func (AppSpecWorkerGitOutput) Branch ¶ added in v2.9.0
func (o AppSpecWorkerGitOutput) Branch() pulumi.StringPtrOutput
The name of the branch to use.
func (AppSpecWorkerGitOutput) ElementType ¶ added in v2.9.0
func (AppSpecWorkerGitOutput) ElementType() reflect.Type
func (AppSpecWorkerGitOutput) RepoCloneUrl ¶ added in v2.9.0
func (o AppSpecWorkerGitOutput) RepoCloneUrl() pulumi.StringPtrOutput
The clone URL of the repo.
func (AppSpecWorkerGitOutput) ToAppSpecWorkerGitOutput ¶ added in v2.9.0
func (o AppSpecWorkerGitOutput) ToAppSpecWorkerGitOutput() AppSpecWorkerGitOutput
func (AppSpecWorkerGitOutput) ToAppSpecWorkerGitOutputWithContext ¶ added in v2.9.0
func (o AppSpecWorkerGitOutput) ToAppSpecWorkerGitOutputWithContext(ctx context.Context) AppSpecWorkerGitOutput
func (AppSpecWorkerGitOutput) ToAppSpecWorkerGitPtrOutput ¶ added in v2.9.0
func (o AppSpecWorkerGitOutput) ToAppSpecWorkerGitPtrOutput() AppSpecWorkerGitPtrOutput
func (AppSpecWorkerGitOutput) ToAppSpecWorkerGitPtrOutputWithContext ¶ added in v2.9.0
func (o AppSpecWorkerGitOutput) ToAppSpecWorkerGitPtrOutputWithContext(ctx context.Context) AppSpecWorkerGitPtrOutput
type AppSpecWorkerGitPtrInput ¶ added in v2.9.0
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
func AppSpecWorkerGitPtr ¶ added in v2.9.0
func AppSpecWorkerGitPtr(v *AppSpecWorkerGitArgs) AppSpecWorkerGitPtrInput
type AppSpecWorkerGitPtrOutput ¶ added in v2.9.0
type AppSpecWorkerGitPtrOutput struct{ *pulumi.OutputState }
func (AppSpecWorkerGitPtrOutput) Branch ¶ added in v2.9.0
func (o AppSpecWorkerGitPtrOutput) Branch() pulumi.StringPtrOutput
The name of the branch to use.
func (AppSpecWorkerGitPtrOutput) Elem ¶ added in v2.9.0
func (o AppSpecWorkerGitPtrOutput) Elem() AppSpecWorkerGitOutput
func (AppSpecWorkerGitPtrOutput) ElementType ¶ added in v2.9.0
func (AppSpecWorkerGitPtrOutput) ElementType() reflect.Type
func (AppSpecWorkerGitPtrOutput) RepoCloneUrl ¶ added in v2.9.0
func (o AppSpecWorkerGitPtrOutput) RepoCloneUrl() pulumi.StringPtrOutput
The clone URL of the repo.
func (AppSpecWorkerGitPtrOutput) ToAppSpecWorkerGitPtrOutput ¶ added in v2.9.0
func (o AppSpecWorkerGitPtrOutput) ToAppSpecWorkerGitPtrOutput() AppSpecWorkerGitPtrOutput
func (AppSpecWorkerGitPtrOutput) ToAppSpecWorkerGitPtrOutputWithContext ¶ added in v2.9.0
func (o AppSpecWorkerGitPtrOutput) ToAppSpecWorkerGitPtrOutputWithContext(ctx context.Context) AppSpecWorkerGitPtrOutput
type AppSpecWorkerGithub ¶ added in v2.9.0
type AppSpecWorkerGithubArgs ¶ added in v2.9.0
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 ¶ added in v2.9.0
func (AppSpecWorkerGithubArgs) ElementType() reflect.Type
func (AppSpecWorkerGithubArgs) ToAppSpecWorkerGithubOutput ¶ added in v2.9.0
func (i AppSpecWorkerGithubArgs) ToAppSpecWorkerGithubOutput() AppSpecWorkerGithubOutput
func (AppSpecWorkerGithubArgs) ToAppSpecWorkerGithubOutputWithContext ¶ added in v2.9.0
func (i AppSpecWorkerGithubArgs) ToAppSpecWorkerGithubOutputWithContext(ctx context.Context) AppSpecWorkerGithubOutput
func (AppSpecWorkerGithubArgs) ToAppSpecWorkerGithubPtrOutput ¶ added in v2.9.0
func (i AppSpecWorkerGithubArgs) ToAppSpecWorkerGithubPtrOutput() AppSpecWorkerGithubPtrOutput
func (AppSpecWorkerGithubArgs) ToAppSpecWorkerGithubPtrOutputWithContext ¶ added in v2.9.0
func (i AppSpecWorkerGithubArgs) ToAppSpecWorkerGithubPtrOutputWithContext(ctx context.Context) AppSpecWorkerGithubPtrOutput
type AppSpecWorkerGithubInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type AppSpecWorkerGithubOutput struct{ *pulumi.OutputState }
func (AppSpecWorkerGithubOutput) Branch ¶ added in v2.9.0
func (o AppSpecWorkerGithubOutput) Branch() pulumi.StringPtrOutput
The name of the branch to use.
func (AppSpecWorkerGithubOutput) DeployOnPush ¶ added in v2.9.0
func (o AppSpecWorkerGithubOutput) DeployOnPush() pulumi.BoolPtrOutput
Whether to automatically deploy new commits made to the repo.
func (AppSpecWorkerGithubOutput) ElementType ¶ added in v2.9.0
func (AppSpecWorkerGithubOutput) ElementType() reflect.Type
func (AppSpecWorkerGithubOutput) Repo ¶ added in v2.9.0
func (o AppSpecWorkerGithubOutput) Repo() pulumi.StringPtrOutput
The name of the repo in the format `owner/repo`.
func (AppSpecWorkerGithubOutput) ToAppSpecWorkerGithubOutput ¶ added in v2.9.0
func (o AppSpecWorkerGithubOutput) ToAppSpecWorkerGithubOutput() AppSpecWorkerGithubOutput
func (AppSpecWorkerGithubOutput) ToAppSpecWorkerGithubOutputWithContext ¶ added in v2.9.0
func (o AppSpecWorkerGithubOutput) ToAppSpecWorkerGithubOutputWithContext(ctx context.Context) AppSpecWorkerGithubOutput
func (AppSpecWorkerGithubOutput) ToAppSpecWorkerGithubPtrOutput ¶ added in v2.9.0
func (o AppSpecWorkerGithubOutput) ToAppSpecWorkerGithubPtrOutput() AppSpecWorkerGithubPtrOutput
func (AppSpecWorkerGithubOutput) ToAppSpecWorkerGithubPtrOutputWithContext ¶ added in v2.9.0
func (o AppSpecWorkerGithubOutput) ToAppSpecWorkerGithubPtrOutputWithContext(ctx context.Context) AppSpecWorkerGithubPtrOutput
type AppSpecWorkerGithubPtrInput ¶ added in v2.9.0
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
func AppSpecWorkerGithubPtr ¶ added in v2.9.0
func AppSpecWorkerGithubPtr(v *AppSpecWorkerGithubArgs) AppSpecWorkerGithubPtrInput
type AppSpecWorkerGithubPtrOutput ¶ added in v2.9.0
type AppSpecWorkerGithubPtrOutput struct{ *pulumi.OutputState }
func (AppSpecWorkerGithubPtrOutput) Branch ¶ added in v2.9.0
func (o AppSpecWorkerGithubPtrOutput) Branch() pulumi.StringPtrOutput
The name of the branch to use.
func (AppSpecWorkerGithubPtrOutput) DeployOnPush ¶ added in v2.9.0
func (o AppSpecWorkerGithubPtrOutput) DeployOnPush() pulumi.BoolPtrOutput
Whether to automatically deploy new commits made to the repo.
func (AppSpecWorkerGithubPtrOutput) Elem ¶ added in v2.9.0
func (o AppSpecWorkerGithubPtrOutput) Elem() AppSpecWorkerGithubOutput
func (AppSpecWorkerGithubPtrOutput) ElementType ¶ added in v2.9.0
func (AppSpecWorkerGithubPtrOutput) ElementType() reflect.Type
func (AppSpecWorkerGithubPtrOutput) Repo ¶ added in v2.9.0
func (o AppSpecWorkerGithubPtrOutput) Repo() pulumi.StringPtrOutput
The name of the repo in the format `owner/repo`.
func (AppSpecWorkerGithubPtrOutput) ToAppSpecWorkerGithubPtrOutput ¶ added in v2.9.0
func (o AppSpecWorkerGithubPtrOutput) ToAppSpecWorkerGithubPtrOutput() AppSpecWorkerGithubPtrOutput
func (AppSpecWorkerGithubPtrOutput) ToAppSpecWorkerGithubPtrOutputWithContext ¶ added in v2.9.0
func (o AppSpecWorkerGithubPtrOutput) ToAppSpecWorkerGithubPtrOutputWithContext(ctx context.Context) AppSpecWorkerGithubPtrOutput
type AppSpecWorkerInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type AppSpecWorkerOutput struct{ *pulumi.OutputState }
func (AppSpecWorkerOutput) BuildCommand ¶ added in v2.9.0
func (o AppSpecWorkerOutput) BuildCommand() pulumi.StringPtrOutput
An optional build command to run while building this component from source.
func (AppSpecWorkerOutput) DockerfilePath ¶ added in v2.9.0
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 ¶ added in v2.9.0
func (AppSpecWorkerOutput) ElementType() reflect.Type
func (AppSpecWorkerOutput) EnvironmentSlug ¶ added in v2.9.0
func (o AppSpecWorkerOutput) EnvironmentSlug() pulumi.StringPtrOutput
An environment slug describing the type of this app.
func (AppSpecWorkerOutput) Envs ¶ added in v2.9.0
func (o AppSpecWorkerOutput) Envs() AppSpecWorkerEnvArrayOutput
Describes an environment variable made available to an app competent.
func (AppSpecWorkerOutput) Git ¶ added in v2.9.0
func (o AppSpecWorkerOutput) Git() AppSpecWorkerGitPtrOutput
A Git repo to use as component's source. Only one of `git` and `github` may be set.
func (AppSpecWorkerOutput) Github ¶ added in v2.9.0
func (o AppSpecWorkerOutput) Github() AppSpecWorkerGithubPtrOutput
A GitHub repo to use as component's source. Only one of `git` and `github` may be set.
func (AppSpecWorkerOutput) InstanceCount ¶ added in v2.9.0
func (o AppSpecWorkerOutput) InstanceCount() pulumi.IntPtrOutput
The amount of instances that this component should be scaled to.
func (AppSpecWorkerOutput) InstanceSizeSlug ¶ added in v2.9.0
func (o AppSpecWorkerOutput) InstanceSizeSlug() pulumi.StringPtrOutput
The instance size to use for this component.
func (AppSpecWorkerOutput) Name ¶ added in v2.9.0
func (o AppSpecWorkerOutput) Name() pulumi.StringOutput
The name of the component
func (AppSpecWorkerOutput) Routes ¶ added in v2.9.0
func (o AppSpecWorkerOutput) Routes() AppSpecWorkerRoutesPtrOutput
func (AppSpecWorkerOutput) RunCommand ¶ added in v2.9.0
func (o AppSpecWorkerOutput) RunCommand() pulumi.StringPtrOutput
An optional run command to override the component's default.
func (AppSpecWorkerOutput) SourceDir ¶ added in v2.9.0
func (o AppSpecWorkerOutput) SourceDir() pulumi.StringPtrOutput
An optional path to the working directory to use for the build.
func (AppSpecWorkerOutput) ToAppSpecWorkerOutput ¶ added in v2.9.0
func (o AppSpecWorkerOutput) ToAppSpecWorkerOutput() AppSpecWorkerOutput
func (AppSpecWorkerOutput) ToAppSpecWorkerOutputWithContext ¶ added in v2.9.0
func (o AppSpecWorkerOutput) ToAppSpecWorkerOutputWithContext(ctx context.Context) AppSpecWorkerOutput
type AppSpecWorkerRoutes ¶ added in v2.9.0
type AppSpecWorkerRoutes struct { // Paths must start with `/` and must be unique within the app. Path *string `pulumi:"path"` }
type AppSpecWorkerRoutesArgs ¶ added in v2.9.0
type AppSpecWorkerRoutesArgs struct { // Paths must start with `/` and must be unique within the app. Path pulumi.StringPtrInput `pulumi:"path"` }
func (AppSpecWorkerRoutesArgs) ElementType ¶ added in v2.9.0
func (AppSpecWorkerRoutesArgs) ElementType() reflect.Type
func (AppSpecWorkerRoutesArgs) ToAppSpecWorkerRoutesOutput ¶ added in v2.9.0
func (i AppSpecWorkerRoutesArgs) ToAppSpecWorkerRoutesOutput() AppSpecWorkerRoutesOutput
func (AppSpecWorkerRoutesArgs) ToAppSpecWorkerRoutesOutputWithContext ¶ added in v2.9.0
func (i AppSpecWorkerRoutesArgs) ToAppSpecWorkerRoutesOutputWithContext(ctx context.Context) AppSpecWorkerRoutesOutput
func (AppSpecWorkerRoutesArgs) ToAppSpecWorkerRoutesPtrOutput ¶ added in v2.9.0
func (i AppSpecWorkerRoutesArgs) ToAppSpecWorkerRoutesPtrOutput() AppSpecWorkerRoutesPtrOutput
func (AppSpecWorkerRoutesArgs) ToAppSpecWorkerRoutesPtrOutputWithContext ¶ added in v2.9.0
func (i AppSpecWorkerRoutesArgs) ToAppSpecWorkerRoutesPtrOutputWithContext(ctx context.Context) AppSpecWorkerRoutesPtrOutput
type AppSpecWorkerRoutesInput ¶ added in v2.9.0
type AppSpecWorkerRoutesInput interface { pulumi.Input ToAppSpecWorkerRoutesOutput() AppSpecWorkerRoutesOutput ToAppSpecWorkerRoutesOutputWithContext(context.Context) AppSpecWorkerRoutesOutput }
AppSpecWorkerRoutesInput is an input type that accepts AppSpecWorkerRoutesArgs and AppSpecWorkerRoutesOutput values. You can construct a concrete instance of `AppSpecWorkerRoutesInput` via:
AppSpecWorkerRoutesArgs{...}
type AppSpecWorkerRoutesOutput ¶ added in v2.9.0
type AppSpecWorkerRoutesOutput struct{ *pulumi.OutputState }
func (AppSpecWorkerRoutesOutput) ElementType ¶ added in v2.9.0
func (AppSpecWorkerRoutesOutput) ElementType() reflect.Type
func (AppSpecWorkerRoutesOutput) Path ¶ added in v2.9.0
func (o AppSpecWorkerRoutesOutput) Path() pulumi.StringPtrOutput
Paths must start with `/` and must be unique within the app.
func (AppSpecWorkerRoutesOutput) ToAppSpecWorkerRoutesOutput ¶ added in v2.9.0
func (o AppSpecWorkerRoutesOutput) ToAppSpecWorkerRoutesOutput() AppSpecWorkerRoutesOutput
func (AppSpecWorkerRoutesOutput) ToAppSpecWorkerRoutesOutputWithContext ¶ added in v2.9.0
func (o AppSpecWorkerRoutesOutput) ToAppSpecWorkerRoutesOutputWithContext(ctx context.Context) AppSpecWorkerRoutesOutput
func (AppSpecWorkerRoutesOutput) ToAppSpecWorkerRoutesPtrOutput ¶ added in v2.9.0
func (o AppSpecWorkerRoutesOutput) ToAppSpecWorkerRoutesPtrOutput() AppSpecWorkerRoutesPtrOutput
func (AppSpecWorkerRoutesOutput) ToAppSpecWorkerRoutesPtrOutputWithContext ¶ added in v2.9.0
func (o AppSpecWorkerRoutesOutput) ToAppSpecWorkerRoutesPtrOutputWithContext(ctx context.Context) AppSpecWorkerRoutesPtrOutput
type AppSpecWorkerRoutesPtrInput ¶ added in v2.9.0
type AppSpecWorkerRoutesPtrInput interface { pulumi.Input ToAppSpecWorkerRoutesPtrOutput() AppSpecWorkerRoutesPtrOutput ToAppSpecWorkerRoutesPtrOutputWithContext(context.Context) AppSpecWorkerRoutesPtrOutput }
AppSpecWorkerRoutesPtrInput is an input type that accepts AppSpecWorkerRoutesArgs, AppSpecWorkerRoutesPtr and AppSpecWorkerRoutesPtrOutput values. You can construct a concrete instance of `AppSpecWorkerRoutesPtrInput` via:
AppSpecWorkerRoutesArgs{...} or: nil
func AppSpecWorkerRoutesPtr ¶ added in v2.9.0
func AppSpecWorkerRoutesPtr(v *AppSpecWorkerRoutesArgs) AppSpecWorkerRoutesPtrInput
type AppSpecWorkerRoutesPtrOutput ¶ added in v2.9.0
type AppSpecWorkerRoutesPtrOutput struct{ *pulumi.OutputState }
func (AppSpecWorkerRoutesPtrOutput) Elem ¶ added in v2.9.0
func (o AppSpecWorkerRoutesPtrOutput) Elem() AppSpecWorkerRoutesOutput
func (AppSpecWorkerRoutesPtrOutput) ElementType ¶ added in v2.9.0
func (AppSpecWorkerRoutesPtrOutput) ElementType() reflect.Type
func (AppSpecWorkerRoutesPtrOutput) Path ¶ added in v2.9.0
func (o AppSpecWorkerRoutesPtrOutput) Path() pulumi.StringPtrOutput
Paths must start with `/` and must be unique within the app.
func (AppSpecWorkerRoutesPtrOutput) ToAppSpecWorkerRoutesPtrOutput ¶ added in v2.9.0
func (o AppSpecWorkerRoutesPtrOutput) ToAppSpecWorkerRoutesPtrOutput() AppSpecWorkerRoutesPtrOutput
func (AppSpecWorkerRoutesPtrOutput) ToAppSpecWorkerRoutesPtrOutputWithContext ¶ added in v2.9.0
func (o AppSpecWorkerRoutesPtrOutput) ToAppSpecWorkerRoutesPtrOutputWithContext(ctx context.Context) AppSpecWorkerRoutesPtrOutput
type AppState ¶ added in v2.9.0
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 ¶ added in v2.9.0
type Cdn ¶
type Cdn struct { pulumi.CustomResourceState // The ID of a DigitalOcean managed TLS certificate used for SSL when a custom subdomain is provided. CertificateId pulumi.StringPtrOutput `pulumi:"certificateId"` // 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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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"), CertificateId: cert.ID(), }) if err != nil { return err } return nil }) }
```
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).
type CdnArgs ¶
type CdnArgs struct { // The ID of a DigitalOcean managed TLS certificate used for SSL when a custom subdomain is provided. CertificateId 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 ¶
type CdnState ¶
type CdnState struct { // The ID of a DigitalOcean managed TLS certificate used for SSL when a custom subdomain is provided. CertificateId 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 ¶
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"` }
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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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"), CertificateId: cert.ID(), }, }, }) if err != nil { return err } return nil }) }
```
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.
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 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 }
func (CertificateState) ElementType ¶
func (CertificateState) ElementType() reflect.Type
type ContainerRegistry ¶ added in v2.5.0
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"` }
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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := digitalocean.NewContainerRegistry(ctx, "foobar", nil) if err != nil { return err } return nil }) }
```
func GetContainerRegistry ¶ added in v2.5.0
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 ¶ added in v2.5.0
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.
type ContainerRegistryArgs ¶ added in v2.5.0
type ContainerRegistryArgs struct { // The name of the container_registry Name pulumi.StringPtrInput }
The set of arguments for constructing a ContainerRegistry resource.
func (ContainerRegistryArgs) ElementType ¶ added in v2.5.0
func (ContainerRegistryArgs) ElementType() reflect.Type
type ContainerRegistryDockerCredentials ¶ added in v2.5.0
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 2147483647, or roughly 68 years. Must be greater than 0 and less than 2147483647. 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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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 ¶ added in v2.5.0
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 ¶ added in v2.5.0
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.
type ContainerRegistryDockerCredentialsArgs ¶ added in v2.5.0
type ContainerRegistryDockerCredentialsArgs struct { // The amount of time to pass before the Docker credentials expire in seconds. Defaults to 2147483647, or roughly 68 years. Must be greater than 0 and less than 2147483647. 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 ¶ added in v2.5.0
func (ContainerRegistryDockerCredentialsArgs) ElementType() reflect.Type
type ContainerRegistryDockerCredentialsState ¶ added in v2.5.0
type ContainerRegistryDockerCredentialsState struct { CredentialExpirationTime pulumi.StringPtrInput DockerCredentials pulumi.StringPtrInput // The amount of time to pass before the Docker credentials expire in seconds. Defaults to 2147483647, or roughly 68 years. Must be greater than 0 and less than 2147483647. 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 ¶ added in v2.5.0
func (ContainerRegistryDockerCredentialsState) ElementType() reflect.Type
type ContainerRegistryState ¶ added in v2.5.0
type ContainerRegistryState struct { Endpoint pulumi.StringPtrInput // The name of the container_registry Name pulumi.StringPtrInput ServerUrl pulumi.StringPtrInput }
func (ContainerRegistryState) ElementType ¶ added in v2.5.0
func (ContainerRegistryState) 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, or `redis` for Redis). 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`). 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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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("5"), }) if err != nil { return err } return nil }) }
```
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.
type DatabaseClusterArgs ¶
type DatabaseClusterArgs struct { // Database engine used by the cluster (ex. `pg` for PostreSQL, `mysql` for MySQL, or `redis` for Redis). 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`). 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 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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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 ¶
func (o DatabaseClusterMaintenanceWindowOutput) Day() pulumi.StringOutput
The day of the week on which to apply maintenance updates.
func (DatabaseClusterMaintenanceWindowOutput) ElementType ¶
func (DatabaseClusterMaintenanceWindowOutput) ElementType() reflect.Type
func (DatabaseClusterMaintenanceWindowOutput) Hour ¶
func (o DatabaseClusterMaintenanceWindowOutput) Hour() pulumi.StringOutput
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 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, or `redis` for Redis). 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`). 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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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 }) }
```
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.
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 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 ¶
func (DatabaseConnectionPoolState) ElementType() reflect.Type
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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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 }) }
```
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.
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 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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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 }) }
```
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.
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 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`, or `tag`. 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`, or `tag`. 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) ElementType() reflect.Type
func (DatabaseFirewallRuleArrayOutput) Index ¶
func (o DatabaseFirewallRuleArrayOutput) Index(i pulumi.IntInput) DatabaseFirewallRuleOutput
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 ¶
func (o DatabaseFirewallRuleOutput) CreatedAt() pulumi.StringPtrOutput
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 ¶
func (o DatabaseFirewallRuleOutput) Type() pulumi.StringOutput
The type of resource that the firewall rule allows to access the database cluster. The possible values are: `droplet`, `k8s`, `ipAddr`, or `tag`.
func (DatabaseFirewallRuleOutput) Uuid ¶
func (o DatabaseFirewallRuleOutput) Uuid() pulumi.StringPtrOutput
A unique identifier for the firewall rule.
func (DatabaseFirewallRuleOutput) Value ¶
func (o DatabaseFirewallRuleOutput) Value() pulumi.StringOutput
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"` 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"` 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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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 }) }
```
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.
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 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 Tags pulumi.StringArrayInput }
The set of arguments for constructing a DatabaseReplica resource.
func (DatabaseReplicaArgs) ElementType ¶
func (DatabaseReplicaArgs) ElementType() reflect.Type
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 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 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 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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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 }) }
```
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.
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 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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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 }) }
```
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.
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 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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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 }) }
```
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.
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 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"` // 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://developers.digitalocean.com/documentation/v2/#list-all-sizes). Size pulumi.StringOutput `pulumi:"size"` // A list of SSH IDs or fingerprints to enable in // the format `[12345, 123456]`. To retrieve this info, use a tool such // as `curl` with the [DigitalOcean API](https://developers.digitalocean.com/documentation/v2/#ssh-keys), // to retrieve them. 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](https://www.terraform.io/docs/providers/do/r/volume.html) 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. Droplets also support [provisioning](https://www.terraform.io/docs/provisioners/index.html).
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-digitalocean/sdk/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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 }) }
```
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.
type DropletArgs ¶
type DropletArgs struct { // Boolean controlling if backups are made. Defaults to // false. Backups 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://developers.digitalocean.com/documentation/v2/#list-all-sizes). Size pulumi.StringInput // A list of SSH IDs or fingerprints to enable in // the format `[12345, 123456]`. To retrieve this info, use a tool such // as `curl` with the [DigitalOcean API](https://developers.digitalocean.com/documentation/v2/#ssh-keys), // to retrieve them. 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](https://www.terraform.io/docs/providers/do/r/volume.html) 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 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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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 }) }
```
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.
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 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 // 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://developers.digitalocean.com/documentation/v2/#list-all-sizes). Size pulumi.StringPtrInput // A list of SSH IDs or fingerprints to enable in // the format `[12345, 123456]`. To retrieve this info, use a tool such // as `curl` with the [DigitalOcean API](https://developers.digitalocean.com/documentation/v2/#ssh-keys), // to retrieve them. 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](https://www.terraform.io/docs/providers/do/r/volume.html) 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 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.
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.
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 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) ElementType() reflect.Type
func (FirewallInboundRuleArrayOutput) Index ¶
func (o FirewallInboundRuleArrayOutput) Index(i pulumi.IntInput) FirewallInboundRuleOutput
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 ¶
func (o FirewallInboundRuleOutput) PortRange() pulumi.StringPtrOutput
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 ¶
func (o FirewallInboundRuleOutput) Protocol() pulumi.StringOutput
The type of traffic to be allowed. This may be one of "tcp", "udp", or "icmp".
func (FirewallInboundRuleOutput) SourceAddresses ¶
func (o FirewallInboundRuleOutput) SourceAddresses() pulumi.StringArrayOutput
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 ¶
func (o FirewallInboundRuleOutput) SourceTags() pulumi.StringArrayOutput
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 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) ElementType() reflect.Type
func (FirewallOutboundRuleArrayOutput) Index ¶
func (o FirewallOutboundRuleArrayOutput) Index(i pulumi.IntInput) FirewallOutboundRuleOutput
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 ¶
func (o FirewallOutboundRuleOutput) DestinationTags() pulumi.StringArrayOutput
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 ¶
func (o FirewallOutboundRuleOutput) PortRange() pulumi.StringPtrOutput
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 ¶
func (o FirewallOutboundRuleOutput) Protocol() pulumi.StringOutput
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 FirewallPendingChange ¶
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) ElementType() reflect.Type
func (FirewallPendingChangeArrayOutput) Index ¶
func (o FirewallPendingChangeArrayOutput) Index(i pulumi.IntInput) FirewallPendingChangeOutput
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 (o FirewallPendingChangeOutput) DropletId() pulumi.IntPtrOutput
func (FirewallPendingChangeOutput) ElementType ¶
func (FirewallPendingChangeOutput) ElementType() reflect.Type
func (FirewallPendingChangeOutput) Removing ¶
func (o FirewallPendingChangeOutput) Removing() pulumi.BoolPtrOutput
func (FirewallPendingChangeOutput) Status ¶
func (o FirewallPendingChangeOutput) Status() pulumi.StringPtrOutput
A status string indicating the current state of the Firewall. This can be "waiting", "succeeded", or "failed".
func (FirewallPendingChangeOutput) ToFirewallPendingChangeOutput ¶
func (o FirewallPendingChangeOutput) ToFirewallPendingChangeOutput() FirewallPendingChangeOutput
func (FirewallPendingChangeOutput) ToFirewallPendingChangeOutputWithContext ¶
func (o FirewallPendingChangeOutput) ToFirewallPendingChangeOutputWithContext(ctx context.Context) FirewallPendingChangeOutput
type FirewallState ¶
type FirewallState struct { // A time value given in ISO8601 combined date and time format // that represents when the Firewall was created. CreatedAt pulumi.StringPtrInput // The list of the IDs of the Droplets assigned // to the Firewall. DropletIds pulumi.IntArrayInput // The inbound access rule block for the Firewall. // The `inboundRule` block is documented below. InboundRules FirewallInboundRuleArrayInput // The Firewall name Name pulumi.StringPtrInput // The outbound access rule block for the Firewall. // The `outboundRule` block is documented below. OutboundRules FirewallOutboundRuleArrayInput // An list of object containing the fields, "dropletId", // "removing", and "status". It is provided to detail exactly which Droplets // are having their security policies updated. When empty, all changes // have been successfully applied. PendingChanges FirewallPendingChangeArrayInput // A status string indicating the current state of the Firewall. // This can be "waiting", "succeeded", or "failed". Status pulumi.StringPtrInput // The names of the Tags assigned to the Firewall. Tags pulumi.StringArrayInput }
func (FirewallState) ElementType ¶
func (FirewallState) ElementType() reflect.Type
type FloatingIp ¶
type FloatingIp struct { pulumi.CustomResourceState // The ID of Droplet that the Floating IP will be assigned to. DropletId pulumi.IntPtrOutput `pulumi:"dropletId"` // The uniform resource name of the floating ip FloatingIpUrn pulumi.StringOutput `pulumi:"floatingIpUrn"` // The IP Address of the resource IpAddress pulumi.StringOutput `pulumi:"ipAddress"` // The region that the Floating IP is reserved to. Region pulumi.StringOutput `pulumi:"region"` }
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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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 }) }
```
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.
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 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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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.
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 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 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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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 ¶ added in v2.9.0
type GetAppSpec struct { Databases []GetAppSpecDatabase `pulumi:"databases"` Domains []string `pulumi:"domains"` // 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 ¶ added in v2.9.0
type GetAppSpecArgs struct { Databases GetAppSpecDatabaseArrayInput `pulumi:"databases"` Domains pulumi.StringArrayInput `pulumi:"domains"` // 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 ¶ added in v2.9.0
func (GetAppSpecArgs) ElementType() reflect.Type
func (GetAppSpecArgs) ToGetAppSpecOutput ¶ added in v2.9.0
func (i GetAppSpecArgs) ToGetAppSpecOutput() GetAppSpecOutput
func (GetAppSpecArgs) ToGetAppSpecOutputWithContext ¶ added in v2.9.0
func (i GetAppSpecArgs) ToGetAppSpecOutputWithContext(ctx context.Context) GetAppSpecOutput
type GetAppSpecDatabase ¶ added in v2.9.0
type GetAppSpecDatabase struct { ClusterName *string `pulumi:"clusterName"` DbName *string `pulumi:"dbName"` DbUser *string `pulumi:"dbUser"` Engine *string `pulumi:"engine"` // The name of the component Name *string `pulumi:"name"` Production *bool `pulumi:"production"` Version *string `pulumi:"version"` }
type GetAppSpecDatabaseArgs ¶ added in v2.9.0
type GetAppSpecDatabaseArgs struct { ClusterName pulumi.StringPtrInput `pulumi:"clusterName"` DbName pulumi.StringPtrInput `pulumi:"dbName"` DbUser pulumi.StringPtrInput `pulumi:"dbUser"` Engine pulumi.StringPtrInput `pulumi:"engine"` // The name of the component Name pulumi.StringPtrInput `pulumi:"name"` Production pulumi.BoolPtrInput `pulumi:"production"` Version pulumi.StringPtrInput `pulumi:"version"` }
func (GetAppSpecDatabaseArgs) ElementType ¶ added in v2.9.0
func (GetAppSpecDatabaseArgs) ElementType() reflect.Type
func (GetAppSpecDatabaseArgs) ToGetAppSpecDatabaseOutput ¶ added in v2.9.0
func (i GetAppSpecDatabaseArgs) ToGetAppSpecDatabaseOutput() GetAppSpecDatabaseOutput
func (GetAppSpecDatabaseArgs) ToGetAppSpecDatabaseOutputWithContext ¶ added in v2.9.0
func (i GetAppSpecDatabaseArgs) ToGetAppSpecDatabaseOutputWithContext(ctx context.Context) GetAppSpecDatabaseOutput
type GetAppSpecDatabaseArray ¶ added in v2.9.0
type GetAppSpecDatabaseArray []GetAppSpecDatabaseInput
func (GetAppSpecDatabaseArray) ElementType ¶ added in v2.9.0
func (GetAppSpecDatabaseArray) ElementType() reflect.Type
func (GetAppSpecDatabaseArray) ToGetAppSpecDatabaseArrayOutput ¶ added in v2.9.0
func (i GetAppSpecDatabaseArray) ToGetAppSpecDatabaseArrayOutput() GetAppSpecDatabaseArrayOutput
func (GetAppSpecDatabaseArray) ToGetAppSpecDatabaseArrayOutputWithContext ¶ added in v2.9.0
func (i GetAppSpecDatabaseArray) ToGetAppSpecDatabaseArrayOutputWithContext(ctx context.Context) GetAppSpecDatabaseArrayOutput
type GetAppSpecDatabaseArrayInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type GetAppSpecDatabaseArrayOutput struct{ *pulumi.OutputState }
func (GetAppSpecDatabaseArrayOutput) ElementType ¶ added in v2.9.0
func (GetAppSpecDatabaseArrayOutput) ElementType() reflect.Type
func (GetAppSpecDatabaseArrayOutput) Index ¶ added in v2.9.0
func (o GetAppSpecDatabaseArrayOutput) Index(i pulumi.IntInput) GetAppSpecDatabaseOutput
func (GetAppSpecDatabaseArrayOutput) ToGetAppSpecDatabaseArrayOutput ¶ added in v2.9.0
func (o GetAppSpecDatabaseArrayOutput) ToGetAppSpecDatabaseArrayOutput() GetAppSpecDatabaseArrayOutput
func (GetAppSpecDatabaseArrayOutput) ToGetAppSpecDatabaseArrayOutputWithContext ¶ added in v2.9.0
func (o GetAppSpecDatabaseArrayOutput) ToGetAppSpecDatabaseArrayOutputWithContext(ctx context.Context) GetAppSpecDatabaseArrayOutput
type GetAppSpecDatabaseInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type GetAppSpecDatabaseOutput struct{ *pulumi.OutputState }
func (GetAppSpecDatabaseOutput) ClusterName ¶ added in v2.9.0
func (o GetAppSpecDatabaseOutput) ClusterName() pulumi.StringPtrOutput
func (GetAppSpecDatabaseOutput) DbName ¶ added in v2.9.0
func (o GetAppSpecDatabaseOutput) DbName() pulumi.StringPtrOutput
func (GetAppSpecDatabaseOutput) DbUser ¶ added in v2.9.0
func (o GetAppSpecDatabaseOutput) DbUser() pulumi.StringPtrOutput
func (GetAppSpecDatabaseOutput) ElementType ¶ added in v2.9.0
func (GetAppSpecDatabaseOutput) ElementType() reflect.Type
func (GetAppSpecDatabaseOutput) Engine ¶ added in v2.9.0
func (o GetAppSpecDatabaseOutput) Engine() pulumi.StringPtrOutput
func (GetAppSpecDatabaseOutput) Name ¶ added in v2.9.0
func (o GetAppSpecDatabaseOutput) Name() pulumi.StringPtrOutput
The name of the component
func (GetAppSpecDatabaseOutput) Production ¶ added in v2.9.0
func (o GetAppSpecDatabaseOutput) Production() pulumi.BoolPtrOutput
func (GetAppSpecDatabaseOutput) ToGetAppSpecDatabaseOutput ¶ added in v2.9.0
func (o GetAppSpecDatabaseOutput) ToGetAppSpecDatabaseOutput() GetAppSpecDatabaseOutput
func (GetAppSpecDatabaseOutput) ToGetAppSpecDatabaseOutputWithContext ¶ added in v2.9.0
func (o GetAppSpecDatabaseOutput) ToGetAppSpecDatabaseOutputWithContext(ctx context.Context) GetAppSpecDatabaseOutput
func (GetAppSpecDatabaseOutput) Version ¶ added in v2.9.0
func (o GetAppSpecDatabaseOutput) Version() pulumi.StringPtrOutput
type GetAppSpecInput ¶ added in v2.9.0
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 GetAppSpecOutput ¶ added in v2.9.0
type GetAppSpecOutput struct{ *pulumi.OutputState }
func (GetAppSpecOutput) Databases ¶ added in v2.9.0
func (o GetAppSpecOutput) Databases() GetAppSpecDatabaseArrayOutput
func (GetAppSpecOutput) Domains ¶ added in v2.9.0
func (o GetAppSpecOutput) Domains() pulumi.StringArrayOutput
func (GetAppSpecOutput) ElementType ¶ added in v2.9.0
func (GetAppSpecOutput) ElementType() reflect.Type
func (GetAppSpecOutput) Name ¶ added in v2.9.0
func (o GetAppSpecOutput) Name() pulumi.StringOutput
The name of the component
func (GetAppSpecOutput) Region ¶ added in v2.9.0
func (o GetAppSpecOutput) Region() pulumi.StringPtrOutput
func (GetAppSpecOutput) Services ¶ added in v2.9.0
func (o GetAppSpecOutput) Services() GetAppSpecServiceArrayOutput
func (GetAppSpecOutput) StaticSites ¶ added in v2.9.0
func (o GetAppSpecOutput) StaticSites() GetAppSpecStaticSiteArrayOutput
func (GetAppSpecOutput) ToGetAppSpecOutput ¶ added in v2.9.0
func (o GetAppSpecOutput) ToGetAppSpecOutput() GetAppSpecOutput
func (GetAppSpecOutput) ToGetAppSpecOutputWithContext ¶ added in v2.9.0
func (o GetAppSpecOutput) ToGetAppSpecOutputWithContext(ctx context.Context) GetAppSpecOutput
func (GetAppSpecOutput) Workers ¶ added in v2.9.0
func (o GetAppSpecOutput) Workers() GetAppSpecWorkerArrayOutput
type GetAppSpecService ¶ added in v2.9.0
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 component's source. Only one of `git` and `github` may be set. Git *GetAppSpecServiceGit `pulumi:"git"` // A GitHub repo to use as component's source. Only one of `git` and `github` may be set. Github *GetAppSpecServiceGithub `pulumi:"github"` // 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"` // 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"` Routes GetAppSpecServiceRoutes `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 ¶ added in v2.9.0
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 component's source. Only one of `git` and `github` may be set. Git GetAppSpecServiceGitPtrInput `pulumi:"git"` // A GitHub repo to use as component's source. Only one of `git` and `github` may be set. Github GetAppSpecServiceGithubPtrInput `pulumi:"github"` // 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"` // 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"` Routes GetAppSpecServiceRoutesInput `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 ¶ added in v2.9.0
func (GetAppSpecServiceArgs) ElementType() reflect.Type
func (GetAppSpecServiceArgs) ToGetAppSpecServiceOutput ¶ added in v2.9.0
func (i GetAppSpecServiceArgs) ToGetAppSpecServiceOutput() GetAppSpecServiceOutput
func (GetAppSpecServiceArgs) ToGetAppSpecServiceOutputWithContext ¶ added in v2.9.0
func (i GetAppSpecServiceArgs) ToGetAppSpecServiceOutputWithContext(ctx context.Context) GetAppSpecServiceOutput
type GetAppSpecServiceArray ¶ added in v2.9.0
type GetAppSpecServiceArray []GetAppSpecServiceInput
func (GetAppSpecServiceArray) ElementType ¶ added in v2.9.0
func (GetAppSpecServiceArray) ElementType() reflect.Type
func (GetAppSpecServiceArray) ToGetAppSpecServiceArrayOutput ¶ added in v2.9.0
func (i GetAppSpecServiceArray) ToGetAppSpecServiceArrayOutput() GetAppSpecServiceArrayOutput
func (GetAppSpecServiceArray) ToGetAppSpecServiceArrayOutputWithContext ¶ added in v2.9.0
func (i GetAppSpecServiceArray) ToGetAppSpecServiceArrayOutputWithContext(ctx context.Context) GetAppSpecServiceArrayOutput
type GetAppSpecServiceArrayInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type GetAppSpecServiceArrayOutput struct{ *pulumi.OutputState }
func (GetAppSpecServiceArrayOutput) ElementType ¶ added in v2.9.0
func (GetAppSpecServiceArrayOutput) ElementType() reflect.Type
func (GetAppSpecServiceArrayOutput) Index ¶ added in v2.9.0
func (o GetAppSpecServiceArrayOutput) Index(i pulumi.IntInput) GetAppSpecServiceOutput
func (GetAppSpecServiceArrayOutput) ToGetAppSpecServiceArrayOutput ¶ added in v2.9.0
func (o GetAppSpecServiceArrayOutput) ToGetAppSpecServiceArrayOutput() GetAppSpecServiceArrayOutput
func (GetAppSpecServiceArrayOutput) ToGetAppSpecServiceArrayOutputWithContext ¶ added in v2.9.0
func (o GetAppSpecServiceArrayOutput) ToGetAppSpecServiceArrayOutputWithContext(ctx context.Context) GetAppSpecServiceArrayOutput
type GetAppSpecServiceEnv ¶ added in v2.9.0
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 ¶ added in v2.9.0
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 ¶ added in v2.9.0
func (GetAppSpecServiceEnvArgs) ElementType() reflect.Type
func (GetAppSpecServiceEnvArgs) ToGetAppSpecServiceEnvOutput ¶ added in v2.9.0
func (i GetAppSpecServiceEnvArgs) ToGetAppSpecServiceEnvOutput() GetAppSpecServiceEnvOutput
func (GetAppSpecServiceEnvArgs) ToGetAppSpecServiceEnvOutputWithContext ¶ added in v2.9.0
func (i GetAppSpecServiceEnvArgs) ToGetAppSpecServiceEnvOutputWithContext(ctx context.Context) GetAppSpecServiceEnvOutput
type GetAppSpecServiceEnvArray ¶ added in v2.9.0
type GetAppSpecServiceEnvArray []GetAppSpecServiceEnvInput
func (GetAppSpecServiceEnvArray) ElementType ¶ added in v2.9.0
func (GetAppSpecServiceEnvArray) ElementType() reflect.Type
func (GetAppSpecServiceEnvArray) ToGetAppSpecServiceEnvArrayOutput ¶ added in v2.9.0
func (i GetAppSpecServiceEnvArray) ToGetAppSpecServiceEnvArrayOutput() GetAppSpecServiceEnvArrayOutput
func (GetAppSpecServiceEnvArray) ToGetAppSpecServiceEnvArrayOutputWithContext ¶ added in v2.9.0
func (i GetAppSpecServiceEnvArray) ToGetAppSpecServiceEnvArrayOutputWithContext(ctx context.Context) GetAppSpecServiceEnvArrayOutput
type GetAppSpecServiceEnvArrayInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type GetAppSpecServiceEnvArrayOutput struct{ *pulumi.OutputState }
func (GetAppSpecServiceEnvArrayOutput) ElementType ¶ added in v2.9.0
func (GetAppSpecServiceEnvArrayOutput) ElementType() reflect.Type
func (GetAppSpecServiceEnvArrayOutput) Index ¶ added in v2.9.0
func (o GetAppSpecServiceEnvArrayOutput) Index(i pulumi.IntInput) GetAppSpecServiceEnvOutput
func (GetAppSpecServiceEnvArrayOutput) ToGetAppSpecServiceEnvArrayOutput ¶ added in v2.9.0
func (o GetAppSpecServiceEnvArrayOutput) ToGetAppSpecServiceEnvArrayOutput() GetAppSpecServiceEnvArrayOutput
func (GetAppSpecServiceEnvArrayOutput) ToGetAppSpecServiceEnvArrayOutputWithContext ¶ added in v2.9.0
func (o GetAppSpecServiceEnvArrayOutput) ToGetAppSpecServiceEnvArrayOutputWithContext(ctx context.Context) GetAppSpecServiceEnvArrayOutput
type GetAppSpecServiceEnvInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type GetAppSpecServiceEnvOutput struct{ *pulumi.OutputState }
func (GetAppSpecServiceEnvOutput) ElementType ¶ added in v2.9.0
func (GetAppSpecServiceEnvOutput) ElementType() reflect.Type
func (GetAppSpecServiceEnvOutput) Key ¶ added in v2.9.0
func (o GetAppSpecServiceEnvOutput) Key() pulumi.StringPtrOutput
The name of the environment variable.
func (GetAppSpecServiceEnvOutput) Scope ¶ added in v2.9.0
func (o GetAppSpecServiceEnvOutput) Scope() pulumi.StringPtrOutput
The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).
func (GetAppSpecServiceEnvOutput) ToGetAppSpecServiceEnvOutput ¶ added in v2.9.0
func (o GetAppSpecServiceEnvOutput) ToGetAppSpecServiceEnvOutput() GetAppSpecServiceEnvOutput
func (GetAppSpecServiceEnvOutput) ToGetAppSpecServiceEnvOutputWithContext ¶ added in v2.9.0
func (o GetAppSpecServiceEnvOutput) ToGetAppSpecServiceEnvOutputWithContext(ctx context.Context) GetAppSpecServiceEnvOutput
func (GetAppSpecServiceEnvOutput) Type ¶ added in v2.9.0
func (o GetAppSpecServiceEnvOutput) Type() pulumi.StringOutput
The type of the environment variable, `GENERAL` or `SECRET`.
func (GetAppSpecServiceEnvOutput) Value ¶ added in v2.9.0
func (o GetAppSpecServiceEnvOutput) Value() pulumi.StringPtrOutput
The value of the environment variable.
type GetAppSpecServiceGit ¶ added in v2.9.0
type GetAppSpecServiceGitArgs ¶ added in v2.9.0
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 ¶ added in v2.9.0
func (GetAppSpecServiceGitArgs) ElementType() reflect.Type
func (GetAppSpecServiceGitArgs) ToGetAppSpecServiceGitOutput ¶ added in v2.9.0
func (i GetAppSpecServiceGitArgs) ToGetAppSpecServiceGitOutput() GetAppSpecServiceGitOutput
func (GetAppSpecServiceGitArgs) ToGetAppSpecServiceGitOutputWithContext ¶ added in v2.9.0
func (i GetAppSpecServiceGitArgs) ToGetAppSpecServiceGitOutputWithContext(ctx context.Context) GetAppSpecServiceGitOutput
func (GetAppSpecServiceGitArgs) ToGetAppSpecServiceGitPtrOutput ¶ added in v2.9.0
func (i GetAppSpecServiceGitArgs) ToGetAppSpecServiceGitPtrOutput() GetAppSpecServiceGitPtrOutput
func (GetAppSpecServiceGitArgs) ToGetAppSpecServiceGitPtrOutputWithContext ¶ added in v2.9.0
func (i GetAppSpecServiceGitArgs) ToGetAppSpecServiceGitPtrOutputWithContext(ctx context.Context) GetAppSpecServiceGitPtrOutput
type GetAppSpecServiceGitInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type GetAppSpecServiceGitOutput struct{ *pulumi.OutputState }
func (GetAppSpecServiceGitOutput) Branch ¶ added in v2.9.0
func (o GetAppSpecServiceGitOutput) Branch() pulumi.StringPtrOutput
The name of the branch to use.
func (GetAppSpecServiceGitOutput) ElementType ¶ added in v2.9.0
func (GetAppSpecServiceGitOutput) ElementType() reflect.Type
func (GetAppSpecServiceGitOutput) RepoCloneUrl ¶ added in v2.9.0
func (o GetAppSpecServiceGitOutput) RepoCloneUrl() pulumi.StringPtrOutput
The clone URL of the repo.
func (GetAppSpecServiceGitOutput) ToGetAppSpecServiceGitOutput ¶ added in v2.9.0
func (o GetAppSpecServiceGitOutput) ToGetAppSpecServiceGitOutput() GetAppSpecServiceGitOutput
func (GetAppSpecServiceGitOutput) ToGetAppSpecServiceGitOutputWithContext ¶ added in v2.9.0
func (o GetAppSpecServiceGitOutput) ToGetAppSpecServiceGitOutputWithContext(ctx context.Context) GetAppSpecServiceGitOutput
func (GetAppSpecServiceGitOutput) ToGetAppSpecServiceGitPtrOutput ¶ added in v2.9.0
func (o GetAppSpecServiceGitOutput) ToGetAppSpecServiceGitPtrOutput() GetAppSpecServiceGitPtrOutput
func (GetAppSpecServiceGitOutput) ToGetAppSpecServiceGitPtrOutputWithContext ¶ added in v2.9.0
func (o GetAppSpecServiceGitOutput) ToGetAppSpecServiceGitPtrOutputWithContext(ctx context.Context) GetAppSpecServiceGitPtrOutput
type GetAppSpecServiceGitPtrInput ¶ added in v2.9.0
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
func GetAppSpecServiceGitPtr ¶ added in v2.9.0
func GetAppSpecServiceGitPtr(v *GetAppSpecServiceGitArgs) GetAppSpecServiceGitPtrInput
type GetAppSpecServiceGitPtrOutput ¶ added in v2.9.0
type GetAppSpecServiceGitPtrOutput struct{ *pulumi.OutputState }
func (GetAppSpecServiceGitPtrOutput) Branch ¶ added in v2.9.0
func (o GetAppSpecServiceGitPtrOutput) Branch() pulumi.StringPtrOutput
The name of the branch to use.
func (GetAppSpecServiceGitPtrOutput) Elem ¶ added in v2.9.0
func (o GetAppSpecServiceGitPtrOutput) Elem() GetAppSpecServiceGitOutput
func (GetAppSpecServiceGitPtrOutput) ElementType ¶ added in v2.9.0
func (GetAppSpecServiceGitPtrOutput) ElementType() reflect.Type
func (GetAppSpecServiceGitPtrOutput) RepoCloneUrl ¶ added in v2.9.0
func (o GetAppSpecServiceGitPtrOutput) RepoCloneUrl() pulumi.StringPtrOutput
The clone URL of the repo.
func (GetAppSpecServiceGitPtrOutput) ToGetAppSpecServiceGitPtrOutput ¶ added in v2.9.0
func (o GetAppSpecServiceGitPtrOutput) ToGetAppSpecServiceGitPtrOutput() GetAppSpecServiceGitPtrOutput
func (GetAppSpecServiceGitPtrOutput) ToGetAppSpecServiceGitPtrOutputWithContext ¶ added in v2.9.0
func (o GetAppSpecServiceGitPtrOutput) ToGetAppSpecServiceGitPtrOutputWithContext(ctx context.Context) GetAppSpecServiceGitPtrOutput
type GetAppSpecServiceGithub ¶ added in v2.9.0
type GetAppSpecServiceGithubArgs ¶ added in v2.9.0
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 ¶ added in v2.9.0
func (GetAppSpecServiceGithubArgs) ElementType() reflect.Type
func (GetAppSpecServiceGithubArgs) ToGetAppSpecServiceGithubOutput ¶ added in v2.9.0
func (i GetAppSpecServiceGithubArgs) ToGetAppSpecServiceGithubOutput() GetAppSpecServiceGithubOutput
func (GetAppSpecServiceGithubArgs) ToGetAppSpecServiceGithubOutputWithContext ¶ added in v2.9.0
func (i GetAppSpecServiceGithubArgs) ToGetAppSpecServiceGithubOutputWithContext(ctx context.Context) GetAppSpecServiceGithubOutput
func (GetAppSpecServiceGithubArgs) ToGetAppSpecServiceGithubPtrOutput ¶ added in v2.9.0
func (i GetAppSpecServiceGithubArgs) ToGetAppSpecServiceGithubPtrOutput() GetAppSpecServiceGithubPtrOutput
func (GetAppSpecServiceGithubArgs) ToGetAppSpecServiceGithubPtrOutputWithContext ¶ added in v2.9.0
func (i GetAppSpecServiceGithubArgs) ToGetAppSpecServiceGithubPtrOutputWithContext(ctx context.Context) GetAppSpecServiceGithubPtrOutput
type GetAppSpecServiceGithubInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type GetAppSpecServiceGithubOutput struct{ *pulumi.OutputState }
func (GetAppSpecServiceGithubOutput) Branch ¶ added in v2.9.0
func (o GetAppSpecServiceGithubOutput) Branch() pulumi.StringPtrOutput
The name of the branch to use.
func (GetAppSpecServiceGithubOutput) DeployOnPush ¶ added in v2.9.0
func (o GetAppSpecServiceGithubOutput) DeployOnPush() pulumi.BoolPtrOutput
Whether to automatically deploy new commits made to the repo.
func (GetAppSpecServiceGithubOutput) ElementType ¶ added in v2.9.0
func (GetAppSpecServiceGithubOutput) ElementType() reflect.Type
func (GetAppSpecServiceGithubOutput) Repo ¶ added in v2.9.0
func (o GetAppSpecServiceGithubOutput) Repo() pulumi.StringPtrOutput
The name of the repo in the format `owner/repo`.
func (GetAppSpecServiceGithubOutput) ToGetAppSpecServiceGithubOutput ¶ added in v2.9.0
func (o GetAppSpecServiceGithubOutput) ToGetAppSpecServiceGithubOutput() GetAppSpecServiceGithubOutput
func (GetAppSpecServiceGithubOutput) ToGetAppSpecServiceGithubOutputWithContext ¶ added in v2.9.0
func (o GetAppSpecServiceGithubOutput) ToGetAppSpecServiceGithubOutputWithContext(ctx context.Context) GetAppSpecServiceGithubOutput
func (GetAppSpecServiceGithubOutput) ToGetAppSpecServiceGithubPtrOutput ¶ added in v2.9.0
func (o GetAppSpecServiceGithubOutput) ToGetAppSpecServiceGithubPtrOutput() GetAppSpecServiceGithubPtrOutput
func (GetAppSpecServiceGithubOutput) ToGetAppSpecServiceGithubPtrOutputWithContext ¶ added in v2.9.0
func (o GetAppSpecServiceGithubOutput) ToGetAppSpecServiceGithubPtrOutputWithContext(ctx context.Context) GetAppSpecServiceGithubPtrOutput
type GetAppSpecServiceGithubPtrInput ¶ added in v2.9.0
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
func GetAppSpecServiceGithubPtr ¶ added in v2.9.0
func GetAppSpecServiceGithubPtr(v *GetAppSpecServiceGithubArgs) GetAppSpecServiceGithubPtrInput
type GetAppSpecServiceGithubPtrOutput ¶ added in v2.9.0
type GetAppSpecServiceGithubPtrOutput struct{ *pulumi.OutputState }
func (GetAppSpecServiceGithubPtrOutput) Branch ¶ added in v2.9.0
func (o GetAppSpecServiceGithubPtrOutput) Branch() pulumi.StringPtrOutput
The name of the branch to use.
func (GetAppSpecServiceGithubPtrOutput) DeployOnPush ¶ added in v2.9.0
func (o GetAppSpecServiceGithubPtrOutput) DeployOnPush() pulumi.BoolPtrOutput
Whether to automatically deploy new commits made to the repo.
func (GetAppSpecServiceGithubPtrOutput) Elem ¶ added in v2.9.0
func (o GetAppSpecServiceGithubPtrOutput) Elem() GetAppSpecServiceGithubOutput
func (GetAppSpecServiceGithubPtrOutput) ElementType ¶ added in v2.9.0
func (GetAppSpecServiceGithubPtrOutput) ElementType() reflect.Type
func (GetAppSpecServiceGithubPtrOutput) Repo ¶ added in v2.9.0
func (o GetAppSpecServiceGithubPtrOutput) Repo() pulumi.StringPtrOutput
The name of the repo in the format `owner/repo`.
func (GetAppSpecServiceGithubPtrOutput) ToGetAppSpecServiceGithubPtrOutput ¶ added in v2.9.0
func (o GetAppSpecServiceGithubPtrOutput) ToGetAppSpecServiceGithubPtrOutput() GetAppSpecServiceGithubPtrOutput
func (GetAppSpecServiceGithubPtrOutput) ToGetAppSpecServiceGithubPtrOutputWithContext ¶ added in v2.9.0
func (o GetAppSpecServiceGithubPtrOutput) ToGetAppSpecServiceGithubPtrOutputWithContext(ctx context.Context) GetAppSpecServiceGithubPtrOutput
type GetAppSpecServiceHealthCheck ¶ added in v2.9.0
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 ¶ added in v2.9.0
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 ¶ added in v2.9.0
func (GetAppSpecServiceHealthCheckArgs) ElementType() reflect.Type
func (GetAppSpecServiceHealthCheckArgs) ToGetAppSpecServiceHealthCheckOutput ¶ added in v2.9.0
func (i GetAppSpecServiceHealthCheckArgs) ToGetAppSpecServiceHealthCheckOutput() GetAppSpecServiceHealthCheckOutput
func (GetAppSpecServiceHealthCheckArgs) ToGetAppSpecServiceHealthCheckOutputWithContext ¶ added in v2.9.0
func (i GetAppSpecServiceHealthCheckArgs) ToGetAppSpecServiceHealthCheckOutputWithContext(ctx context.Context) GetAppSpecServiceHealthCheckOutput
func (GetAppSpecServiceHealthCheckArgs) ToGetAppSpecServiceHealthCheckPtrOutput ¶ added in v2.9.0
func (i GetAppSpecServiceHealthCheckArgs) ToGetAppSpecServiceHealthCheckPtrOutput() GetAppSpecServiceHealthCheckPtrOutput
func (GetAppSpecServiceHealthCheckArgs) ToGetAppSpecServiceHealthCheckPtrOutputWithContext ¶ added in v2.9.0
func (i GetAppSpecServiceHealthCheckArgs) ToGetAppSpecServiceHealthCheckPtrOutputWithContext(ctx context.Context) GetAppSpecServiceHealthCheckPtrOutput
type GetAppSpecServiceHealthCheckInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type GetAppSpecServiceHealthCheckOutput struct{ *pulumi.OutputState }
func (GetAppSpecServiceHealthCheckOutput) ElementType ¶ added in v2.9.0
func (GetAppSpecServiceHealthCheckOutput) ElementType() reflect.Type
func (GetAppSpecServiceHealthCheckOutput) FailureThreshold ¶ added in v2.9.0
func (o GetAppSpecServiceHealthCheckOutput) FailureThreshold() pulumi.IntPtrOutput
The number of failed health checks before considered unhealthy.
func (GetAppSpecServiceHealthCheckOutput) HttpPath ¶ added in v2.9.0
func (o GetAppSpecServiceHealthCheckOutput) HttpPath() pulumi.StringPtrOutput
The route path used for the HTTP health check ping.
func (GetAppSpecServiceHealthCheckOutput) InitialDelaySeconds ¶ added in v2.9.0
func (o GetAppSpecServiceHealthCheckOutput) InitialDelaySeconds() pulumi.IntPtrOutput
The number of seconds to wait before beginning health checks.
func (GetAppSpecServiceHealthCheckOutput) PeriodSeconds ¶ added in v2.9.0
func (o GetAppSpecServiceHealthCheckOutput) PeriodSeconds() pulumi.IntPtrOutput
The number of seconds to wait between health checks.
func (GetAppSpecServiceHealthCheckOutput) SuccessThreshold ¶ added in v2.9.0
func (o GetAppSpecServiceHealthCheckOutput) SuccessThreshold() pulumi.IntPtrOutput
The number of successful health checks before considered healthy.
func (GetAppSpecServiceHealthCheckOutput) TimeoutSeconds ¶ added in v2.9.0
func (o GetAppSpecServiceHealthCheckOutput) TimeoutSeconds() pulumi.IntPtrOutput
The number of seconds after which the check times out.
func (GetAppSpecServiceHealthCheckOutput) ToGetAppSpecServiceHealthCheckOutput ¶ added in v2.9.0
func (o GetAppSpecServiceHealthCheckOutput) ToGetAppSpecServiceHealthCheckOutput() GetAppSpecServiceHealthCheckOutput
func (GetAppSpecServiceHealthCheckOutput) ToGetAppSpecServiceHealthCheckOutputWithContext ¶ added in v2.9.0
func (o GetAppSpecServiceHealthCheckOutput) ToGetAppSpecServiceHealthCheckOutputWithContext(ctx context.Context) GetAppSpecServiceHealthCheckOutput
func (GetAppSpecServiceHealthCheckOutput) ToGetAppSpecServiceHealthCheckPtrOutput ¶ added in v2.9.0
func (o GetAppSpecServiceHealthCheckOutput) ToGetAppSpecServiceHealthCheckPtrOutput() GetAppSpecServiceHealthCheckPtrOutput
func (GetAppSpecServiceHealthCheckOutput) ToGetAppSpecServiceHealthCheckPtrOutputWithContext ¶ added in v2.9.0
func (o GetAppSpecServiceHealthCheckOutput) ToGetAppSpecServiceHealthCheckPtrOutputWithContext(ctx context.Context) GetAppSpecServiceHealthCheckPtrOutput
type GetAppSpecServiceHealthCheckPtrInput ¶ added in v2.9.0
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
func GetAppSpecServiceHealthCheckPtr ¶ added in v2.9.0
func GetAppSpecServiceHealthCheckPtr(v *GetAppSpecServiceHealthCheckArgs) GetAppSpecServiceHealthCheckPtrInput
type GetAppSpecServiceHealthCheckPtrOutput ¶ added in v2.9.0
type GetAppSpecServiceHealthCheckPtrOutput struct{ *pulumi.OutputState }
func (GetAppSpecServiceHealthCheckPtrOutput) ElementType ¶ added in v2.9.0
func (GetAppSpecServiceHealthCheckPtrOutput) ElementType() reflect.Type
func (GetAppSpecServiceHealthCheckPtrOutput) FailureThreshold ¶ added in v2.9.0
func (o GetAppSpecServiceHealthCheckPtrOutput) FailureThreshold() pulumi.IntPtrOutput
The number of failed health checks before considered unhealthy.
func (GetAppSpecServiceHealthCheckPtrOutput) HttpPath ¶ added in v2.9.0
func (o GetAppSpecServiceHealthCheckPtrOutput) HttpPath() pulumi.StringPtrOutput
The route path used for the HTTP health check ping.
func (GetAppSpecServiceHealthCheckPtrOutput) InitialDelaySeconds ¶ added in v2.9.0
func (o GetAppSpecServiceHealthCheckPtrOutput) InitialDelaySeconds() pulumi.IntPtrOutput
The number of seconds to wait before beginning health checks.
func (GetAppSpecServiceHealthCheckPtrOutput) PeriodSeconds ¶ added in v2.9.0
func (o GetAppSpecServiceHealthCheckPtrOutput) PeriodSeconds() pulumi.IntPtrOutput
The number of seconds to wait between health checks.
func (GetAppSpecServiceHealthCheckPtrOutput) SuccessThreshold ¶ added in v2.9.0
func (o GetAppSpecServiceHealthCheckPtrOutput) SuccessThreshold() pulumi.IntPtrOutput
The number of successful health checks before considered healthy.
func (GetAppSpecServiceHealthCheckPtrOutput) TimeoutSeconds ¶ added in v2.9.0
func (o GetAppSpecServiceHealthCheckPtrOutput) TimeoutSeconds() pulumi.IntPtrOutput
The number of seconds after which the check times out.
func (GetAppSpecServiceHealthCheckPtrOutput) ToGetAppSpecServiceHealthCheckPtrOutput ¶ added in v2.9.0
func (o GetAppSpecServiceHealthCheckPtrOutput) ToGetAppSpecServiceHealthCheckPtrOutput() GetAppSpecServiceHealthCheckPtrOutput
func (GetAppSpecServiceHealthCheckPtrOutput) ToGetAppSpecServiceHealthCheckPtrOutputWithContext ¶ added in v2.9.0
func (o GetAppSpecServiceHealthCheckPtrOutput) ToGetAppSpecServiceHealthCheckPtrOutputWithContext(ctx context.Context) GetAppSpecServiceHealthCheckPtrOutput
type GetAppSpecServiceInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type GetAppSpecServiceOutput struct{ *pulumi.OutputState }
func (GetAppSpecServiceOutput) BuildCommand ¶ added in v2.9.0
func (o GetAppSpecServiceOutput) BuildCommand() pulumi.StringPtrOutput
An optional build command to run while building this component from source.
func (GetAppSpecServiceOutput) DockerfilePath ¶ added in v2.9.0
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 ¶ added in v2.9.0
func (GetAppSpecServiceOutput) ElementType() reflect.Type
func (GetAppSpecServiceOutput) EnvironmentSlug ¶ added in v2.9.0
func (o GetAppSpecServiceOutput) EnvironmentSlug() pulumi.StringPtrOutput
An environment slug describing the type of this app.
func (GetAppSpecServiceOutput) Envs ¶ added in v2.9.0
func (o GetAppSpecServiceOutput) Envs() GetAppSpecServiceEnvArrayOutput
Describes an environment variable made available to an app competent.
func (GetAppSpecServiceOutput) Git ¶ added in v2.9.0
func (o GetAppSpecServiceOutput) Git() GetAppSpecServiceGitPtrOutput
A Git repo to use as component's source. Only one of `git` and `github` may be set.
func (GetAppSpecServiceOutput) Github ¶ added in v2.9.0
func (o GetAppSpecServiceOutput) Github() GetAppSpecServiceGithubPtrOutput
A GitHub repo to use as component's source. Only one of `git` and `github` may be set.
func (GetAppSpecServiceOutput) HealthCheck ¶ added in v2.9.0
func (o GetAppSpecServiceOutput) HealthCheck() GetAppSpecServiceHealthCheckPtrOutput
A health check to determine the availability of this component.
func (GetAppSpecServiceOutput) HttpPort ¶ added in v2.9.0
func (o GetAppSpecServiceOutput) HttpPort() pulumi.IntOutput
The internal port on which this service's run command will listen.
func (GetAppSpecServiceOutput) InstanceCount ¶ added in v2.9.0
func (o GetAppSpecServiceOutput) InstanceCount() pulumi.IntPtrOutput
The amount of instances that this component should be scaled to.
func (GetAppSpecServiceOutput) InstanceSizeSlug ¶ added in v2.9.0
func (o GetAppSpecServiceOutput) InstanceSizeSlug() pulumi.StringPtrOutput
The instance size to use for this component.
func (GetAppSpecServiceOutput) Name ¶ added in v2.9.0
func (o GetAppSpecServiceOutput) Name() pulumi.StringOutput
The name of the component
func (GetAppSpecServiceOutput) Routes ¶ added in v2.9.0
func (o GetAppSpecServiceOutput) Routes() GetAppSpecServiceRoutesOutput
func (GetAppSpecServiceOutput) RunCommand ¶ added in v2.9.0
func (o GetAppSpecServiceOutput) RunCommand() pulumi.StringOutput
An optional run command to override the component's default.
func (GetAppSpecServiceOutput) SourceDir ¶ added in v2.9.0
func (o GetAppSpecServiceOutput) SourceDir() pulumi.StringPtrOutput
An optional path to the working directory to use for the build.
func (GetAppSpecServiceOutput) ToGetAppSpecServiceOutput ¶ added in v2.9.0
func (o GetAppSpecServiceOutput) ToGetAppSpecServiceOutput() GetAppSpecServiceOutput
func (GetAppSpecServiceOutput) ToGetAppSpecServiceOutputWithContext ¶ added in v2.9.0
func (o GetAppSpecServiceOutput) ToGetAppSpecServiceOutputWithContext(ctx context.Context) GetAppSpecServiceOutput
type GetAppSpecServiceRoutes ¶ added in v2.9.0
type GetAppSpecServiceRoutes struct { // Paths must start with `/` and must be unique within the app. Path *string `pulumi:"path"` }
type GetAppSpecServiceRoutesArgs ¶ added in v2.9.0
type GetAppSpecServiceRoutesArgs struct { // Paths must start with `/` and must be unique within the app. Path pulumi.StringPtrInput `pulumi:"path"` }
func (GetAppSpecServiceRoutesArgs) ElementType ¶ added in v2.9.0
func (GetAppSpecServiceRoutesArgs) ElementType() reflect.Type
func (GetAppSpecServiceRoutesArgs) ToGetAppSpecServiceRoutesOutput ¶ added in v2.9.0
func (i GetAppSpecServiceRoutesArgs) ToGetAppSpecServiceRoutesOutput() GetAppSpecServiceRoutesOutput
func (GetAppSpecServiceRoutesArgs) ToGetAppSpecServiceRoutesOutputWithContext ¶ added in v2.9.0
func (i GetAppSpecServiceRoutesArgs) ToGetAppSpecServiceRoutesOutputWithContext(ctx context.Context) GetAppSpecServiceRoutesOutput
type GetAppSpecServiceRoutesInput ¶ added in v2.9.0
type GetAppSpecServiceRoutesInput interface { pulumi.Input ToGetAppSpecServiceRoutesOutput() GetAppSpecServiceRoutesOutput ToGetAppSpecServiceRoutesOutputWithContext(context.Context) GetAppSpecServiceRoutesOutput }
GetAppSpecServiceRoutesInput is an input type that accepts GetAppSpecServiceRoutesArgs and GetAppSpecServiceRoutesOutput values. You can construct a concrete instance of `GetAppSpecServiceRoutesInput` via:
GetAppSpecServiceRoutesArgs{...}
type GetAppSpecServiceRoutesOutput ¶ added in v2.9.0
type GetAppSpecServiceRoutesOutput struct{ *pulumi.OutputState }
func (GetAppSpecServiceRoutesOutput) ElementType ¶ added in v2.9.0
func (GetAppSpecServiceRoutesOutput) ElementType() reflect.Type
func (GetAppSpecServiceRoutesOutput) Path ¶ added in v2.9.0
func (o GetAppSpecServiceRoutesOutput) Path() pulumi.StringPtrOutput
Paths must start with `/` and must be unique within the app.
func (GetAppSpecServiceRoutesOutput) ToGetAppSpecServiceRoutesOutput ¶ added in v2.9.0
func (o GetAppSpecServiceRoutesOutput) ToGetAppSpecServiceRoutesOutput() GetAppSpecServiceRoutesOutput
func (GetAppSpecServiceRoutesOutput) ToGetAppSpecServiceRoutesOutputWithContext ¶ added in v2.9.0
func (o GetAppSpecServiceRoutesOutput) ToGetAppSpecServiceRoutesOutputWithContext(ctx context.Context) GetAppSpecServiceRoutesOutput
type GetAppSpecStaticSite ¶ added in v2.9.0
type GetAppSpecStaticSite 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 []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 component's source. Only one of `git` and `github` may be set. Git *GetAppSpecStaticSiteGit `pulumi:"git"` // A GitHub repo to use as component's source. Only one of `git` and `github` may be set. Github *GetAppSpecStaticSiteGithub `pulumi:"github"` // 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 GetAppSpecStaticSiteRoutes `pulumi:"routes"` // An optional path to the working directory to use for the build. SourceDir *string `pulumi:"sourceDir"` }
type GetAppSpecStaticSiteArgs ¶ added in v2.9.0
type GetAppSpecStaticSiteArgs 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 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 component's source. Only one of `git` and `github` may be set. Git GetAppSpecStaticSiteGitPtrInput `pulumi:"git"` // A GitHub repo to use as component's source. Only one of `git` and `github` may be set. Github GetAppSpecStaticSiteGithubPtrInput `pulumi:"github"` // 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 GetAppSpecStaticSiteRoutesInput `pulumi:"routes"` // An optional path to the working directory to use for the build. SourceDir pulumi.StringPtrInput `pulumi:"sourceDir"` }
func (GetAppSpecStaticSiteArgs) ElementType ¶ added in v2.9.0
func (GetAppSpecStaticSiteArgs) ElementType() reflect.Type
func (GetAppSpecStaticSiteArgs) ToGetAppSpecStaticSiteOutput ¶ added in v2.9.0
func (i GetAppSpecStaticSiteArgs) ToGetAppSpecStaticSiteOutput() GetAppSpecStaticSiteOutput
func (GetAppSpecStaticSiteArgs) ToGetAppSpecStaticSiteOutputWithContext ¶ added in v2.9.0
func (i GetAppSpecStaticSiteArgs) ToGetAppSpecStaticSiteOutputWithContext(ctx context.Context) GetAppSpecStaticSiteOutput
type GetAppSpecStaticSiteArray ¶ added in v2.9.0
type GetAppSpecStaticSiteArray []GetAppSpecStaticSiteInput
func (GetAppSpecStaticSiteArray) ElementType ¶ added in v2.9.0
func (GetAppSpecStaticSiteArray) ElementType() reflect.Type
func (GetAppSpecStaticSiteArray) ToGetAppSpecStaticSiteArrayOutput ¶ added in v2.9.0
func (i GetAppSpecStaticSiteArray) ToGetAppSpecStaticSiteArrayOutput() GetAppSpecStaticSiteArrayOutput
func (GetAppSpecStaticSiteArray) ToGetAppSpecStaticSiteArrayOutputWithContext ¶ added in v2.9.0
func (i GetAppSpecStaticSiteArray) ToGetAppSpecStaticSiteArrayOutputWithContext(ctx context.Context) GetAppSpecStaticSiteArrayOutput
type GetAppSpecStaticSiteArrayInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type GetAppSpecStaticSiteArrayOutput struct{ *pulumi.OutputState }
func (GetAppSpecStaticSiteArrayOutput) ElementType ¶ added in v2.9.0
func (GetAppSpecStaticSiteArrayOutput) ElementType() reflect.Type
func (GetAppSpecStaticSiteArrayOutput) Index ¶ added in v2.9.0
func (o GetAppSpecStaticSiteArrayOutput) Index(i pulumi.IntInput) GetAppSpecStaticSiteOutput
func (GetAppSpecStaticSiteArrayOutput) ToGetAppSpecStaticSiteArrayOutput ¶ added in v2.9.0
func (o GetAppSpecStaticSiteArrayOutput) ToGetAppSpecStaticSiteArrayOutput() GetAppSpecStaticSiteArrayOutput
func (GetAppSpecStaticSiteArrayOutput) ToGetAppSpecStaticSiteArrayOutputWithContext ¶ added in v2.9.0
func (o GetAppSpecStaticSiteArrayOutput) ToGetAppSpecStaticSiteArrayOutputWithContext(ctx context.Context) GetAppSpecStaticSiteArrayOutput
type GetAppSpecStaticSiteEnv ¶ added in v2.9.0
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 ¶ added in v2.9.0
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 ¶ added in v2.9.0
func (GetAppSpecStaticSiteEnvArgs) ElementType() reflect.Type
func (GetAppSpecStaticSiteEnvArgs) ToGetAppSpecStaticSiteEnvOutput ¶ added in v2.9.0
func (i GetAppSpecStaticSiteEnvArgs) ToGetAppSpecStaticSiteEnvOutput() GetAppSpecStaticSiteEnvOutput
func (GetAppSpecStaticSiteEnvArgs) ToGetAppSpecStaticSiteEnvOutputWithContext ¶ added in v2.9.0
func (i GetAppSpecStaticSiteEnvArgs) ToGetAppSpecStaticSiteEnvOutputWithContext(ctx context.Context) GetAppSpecStaticSiteEnvOutput
type GetAppSpecStaticSiteEnvArray ¶ added in v2.9.0
type GetAppSpecStaticSiteEnvArray []GetAppSpecStaticSiteEnvInput
func (GetAppSpecStaticSiteEnvArray) ElementType ¶ added in v2.9.0
func (GetAppSpecStaticSiteEnvArray) ElementType() reflect.Type
func (GetAppSpecStaticSiteEnvArray) ToGetAppSpecStaticSiteEnvArrayOutput ¶ added in v2.9.0
func (i GetAppSpecStaticSiteEnvArray) ToGetAppSpecStaticSiteEnvArrayOutput() GetAppSpecStaticSiteEnvArrayOutput
func (GetAppSpecStaticSiteEnvArray) ToGetAppSpecStaticSiteEnvArrayOutputWithContext ¶ added in v2.9.0
func (i GetAppSpecStaticSiteEnvArray) ToGetAppSpecStaticSiteEnvArrayOutputWithContext(ctx context.Context) GetAppSpecStaticSiteEnvArrayOutput
type GetAppSpecStaticSiteEnvArrayInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type GetAppSpecStaticSiteEnvArrayOutput struct{ *pulumi.OutputState }
func (GetAppSpecStaticSiteEnvArrayOutput) ElementType ¶ added in v2.9.0
func (GetAppSpecStaticSiteEnvArrayOutput) ElementType() reflect.Type
func (GetAppSpecStaticSiteEnvArrayOutput) Index ¶ added in v2.9.0
func (o GetAppSpecStaticSiteEnvArrayOutput) Index(i pulumi.IntInput) GetAppSpecStaticSiteEnvOutput
func (GetAppSpecStaticSiteEnvArrayOutput) ToGetAppSpecStaticSiteEnvArrayOutput ¶ added in v2.9.0
func (o GetAppSpecStaticSiteEnvArrayOutput) ToGetAppSpecStaticSiteEnvArrayOutput() GetAppSpecStaticSiteEnvArrayOutput
func (GetAppSpecStaticSiteEnvArrayOutput) ToGetAppSpecStaticSiteEnvArrayOutputWithContext ¶ added in v2.9.0
func (o GetAppSpecStaticSiteEnvArrayOutput) ToGetAppSpecStaticSiteEnvArrayOutputWithContext(ctx context.Context) GetAppSpecStaticSiteEnvArrayOutput
type GetAppSpecStaticSiteEnvInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type GetAppSpecStaticSiteEnvOutput struct{ *pulumi.OutputState }
func (GetAppSpecStaticSiteEnvOutput) ElementType ¶ added in v2.9.0
func (GetAppSpecStaticSiteEnvOutput) ElementType() reflect.Type
func (GetAppSpecStaticSiteEnvOutput) Key ¶ added in v2.9.0
func (o GetAppSpecStaticSiteEnvOutput) Key() pulumi.StringPtrOutput
The name of the environment variable.
func (GetAppSpecStaticSiteEnvOutput) Scope ¶ added in v2.9.0
func (o GetAppSpecStaticSiteEnvOutput) Scope() pulumi.StringPtrOutput
The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).
func (GetAppSpecStaticSiteEnvOutput) ToGetAppSpecStaticSiteEnvOutput ¶ added in v2.9.0
func (o GetAppSpecStaticSiteEnvOutput) ToGetAppSpecStaticSiteEnvOutput() GetAppSpecStaticSiteEnvOutput
func (GetAppSpecStaticSiteEnvOutput) ToGetAppSpecStaticSiteEnvOutputWithContext ¶ added in v2.9.0
func (o GetAppSpecStaticSiteEnvOutput) ToGetAppSpecStaticSiteEnvOutputWithContext(ctx context.Context) GetAppSpecStaticSiteEnvOutput
func (GetAppSpecStaticSiteEnvOutput) Type ¶ added in v2.9.0
func (o GetAppSpecStaticSiteEnvOutput) Type() pulumi.StringOutput
The type of the environment variable, `GENERAL` or `SECRET`.
func (GetAppSpecStaticSiteEnvOutput) Value ¶ added in v2.9.0
func (o GetAppSpecStaticSiteEnvOutput) Value() pulumi.StringPtrOutput
The value of the environment variable.
type GetAppSpecStaticSiteGit ¶ added in v2.9.0
type GetAppSpecStaticSiteGitArgs ¶ added in v2.9.0
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 ¶ added in v2.9.0
func (GetAppSpecStaticSiteGitArgs) ElementType() reflect.Type
func (GetAppSpecStaticSiteGitArgs) ToGetAppSpecStaticSiteGitOutput ¶ added in v2.9.0
func (i GetAppSpecStaticSiteGitArgs) ToGetAppSpecStaticSiteGitOutput() GetAppSpecStaticSiteGitOutput
func (GetAppSpecStaticSiteGitArgs) ToGetAppSpecStaticSiteGitOutputWithContext ¶ added in v2.9.0
func (i GetAppSpecStaticSiteGitArgs) ToGetAppSpecStaticSiteGitOutputWithContext(ctx context.Context) GetAppSpecStaticSiteGitOutput
func (GetAppSpecStaticSiteGitArgs) ToGetAppSpecStaticSiteGitPtrOutput ¶ added in v2.9.0
func (i GetAppSpecStaticSiteGitArgs) ToGetAppSpecStaticSiteGitPtrOutput() GetAppSpecStaticSiteGitPtrOutput
func (GetAppSpecStaticSiteGitArgs) ToGetAppSpecStaticSiteGitPtrOutputWithContext ¶ added in v2.9.0
func (i GetAppSpecStaticSiteGitArgs) ToGetAppSpecStaticSiteGitPtrOutputWithContext(ctx context.Context) GetAppSpecStaticSiteGitPtrOutput
type GetAppSpecStaticSiteGitInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type GetAppSpecStaticSiteGitOutput struct{ *pulumi.OutputState }
func (GetAppSpecStaticSiteGitOutput) Branch ¶ added in v2.9.0
func (o GetAppSpecStaticSiteGitOutput) Branch() pulumi.StringPtrOutput
The name of the branch to use.
func (GetAppSpecStaticSiteGitOutput) ElementType ¶ added in v2.9.0
func (GetAppSpecStaticSiteGitOutput) ElementType() reflect.Type
func (GetAppSpecStaticSiteGitOutput) RepoCloneUrl ¶ added in v2.9.0
func (o GetAppSpecStaticSiteGitOutput) RepoCloneUrl() pulumi.StringPtrOutput
The clone URL of the repo.
func (GetAppSpecStaticSiteGitOutput) ToGetAppSpecStaticSiteGitOutput ¶ added in v2.9.0
func (o GetAppSpecStaticSiteGitOutput) ToGetAppSpecStaticSiteGitOutput() GetAppSpecStaticSiteGitOutput
func (GetAppSpecStaticSiteGitOutput) ToGetAppSpecStaticSiteGitOutputWithContext ¶ added in v2.9.0
func (o GetAppSpecStaticSiteGitOutput) ToGetAppSpecStaticSiteGitOutputWithContext(ctx context.Context) GetAppSpecStaticSiteGitOutput
func (GetAppSpecStaticSiteGitOutput) ToGetAppSpecStaticSiteGitPtrOutput ¶ added in v2.9.0
func (o GetAppSpecStaticSiteGitOutput) ToGetAppSpecStaticSiteGitPtrOutput() GetAppSpecStaticSiteGitPtrOutput
func (GetAppSpecStaticSiteGitOutput) ToGetAppSpecStaticSiteGitPtrOutputWithContext ¶ added in v2.9.0
func (o GetAppSpecStaticSiteGitOutput) ToGetAppSpecStaticSiteGitPtrOutputWithContext(ctx context.Context) GetAppSpecStaticSiteGitPtrOutput
type GetAppSpecStaticSiteGitPtrInput ¶ added in v2.9.0
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
func GetAppSpecStaticSiteGitPtr ¶ added in v2.9.0
func GetAppSpecStaticSiteGitPtr(v *GetAppSpecStaticSiteGitArgs) GetAppSpecStaticSiteGitPtrInput
type GetAppSpecStaticSiteGitPtrOutput ¶ added in v2.9.0
type GetAppSpecStaticSiteGitPtrOutput struct{ *pulumi.OutputState }
func (GetAppSpecStaticSiteGitPtrOutput) Branch ¶ added in v2.9.0
func (o GetAppSpecStaticSiteGitPtrOutput) Branch() pulumi.StringPtrOutput
The name of the branch to use.
func (GetAppSpecStaticSiteGitPtrOutput) Elem ¶ added in v2.9.0
func (o GetAppSpecStaticSiteGitPtrOutput) Elem() GetAppSpecStaticSiteGitOutput
func (GetAppSpecStaticSiteGitPtrOutput) ElementType ¶ added in v2.9.0
func (GetAppSpecStaticSiteGitPtrOutput) ElementType() reflect.Type
func (GetAppSpecStaticSiteGitPtrOutput) RepoCloneUrl ¶ added in v2.9.0
func (o GetAppSpecStaticSiteGitPtrOutput) RepoCloneUrl() pulumi.StringPtrOutput
The clone URL of the repo.
func (GetAppSpecStaticSiteGitPtrOutput) ToGetAppSpecStaticSiteGitPtrOutput ¶ added in v2.9.0
func (o GetAppSpecStaticSiteGitPtrOutput) ToGetAppSpecStaticSiteGitPtrOutput() GetAppSpecStaticSiteGitPtrOutput
func (GetAppSpecStaticSiteGitPtrOutput) ToGetAppSpecStaticSiteGitPtrOutputWithContext ¶ added in v2.9.0
func (o GetAppSpecStaticSiteGitPtrOutput) ToGetAppSpecStaticSiteGitPtrOutputWithContext(ctx context.Context) GetAppSpecStaticSiteGitPtrOutput
type GetAppSpecStaticSiteGithub ¶ added in v2.9.0
type GetAppSpecStaticSiteGithubArgs ¶ added in v2.9.0
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 ¶ added in v2.9.0
func (GetAppSpecStaticSiteGithubArgs) ElementType() reflect.Type
func (GetAppSpecStaticSiteGithubArgs) ToGetAppSpecStaticSiteGithubOutput ¶ added in v2.9.0
func (i GetAppSpecStaticSiteGithubArgs) ToGetAppSpecStaticSiteGithubOutput() GetAppSpecStaticSiteGithubOutput
func (GetAppSpecStaticSiteGithubArgs) ToGetAppSpecStaticSiteGithubOutputWithContext ¶ added in v2.9.0
func (i GetAppSpecStaticSiteGithubArgs) ToGetAppSpecStaticSiteGithubOutputWithContext(ctx context.Context) GetAppSpecStaticSiteGithubOutput
func (GetAppSpecStaticSiteGithubArgs) ToGetAppSpecStaticSiteGithubPtrOutput ¶ added in v2.9.0
func (i GetAppSpecStaticSiteGithubArgs) ToGetAppSpecStaticSiteGithubPtrOutput() GetAppSpecStaticSiteGithubPtrOutput
func (GetAppSpecStaticSiteGithubArgs) ToGetAppSpecStaticSiteGithubPtrOutputWithContext ¶ added in v2.9.0
func (i GetAppSpecStaticSiteGithubArgs) ToGetAppSpecStaticSiteGithubPtrOutputWithContext(ctx context.Context) GetAppSpecStaticSiteGithubPtrOutput
type GetAppSpecStaticSiteGithubInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type GetAppSpecStaticSiteGithubOutput struct{ *pulumi.OutputState }
func (GetAppSpecStaticSiteGithubOutput) Branch ¶ added in v2.9.0
func (o GetAppSpecStaticSiteGithubOutput) Branch() pulumi.StringPtrOutput
The name of the branch to use.
func (GetAppSpecStaticSiteGithubOutput) DeployOnPush ¶ added in v2.9.0
func (o GetAppSpecStaticSiteGithubOutput) DeployOnPush() pulumi.BoolPtrOutput
Whether to automatically deploy new commits made to the repo.
func (GetAppSpecStaticSiteGithubOutput) ElementType ¶ added in v2.9.0
func (GetAppSpecStaticSiteGithubOutput) ElementType() reflect.Type
func (GetAppSpecStaticSiteGithubOutput) Repo ¶ added in v2.9.0
func (o GetAppSpecStaticSiteGithubOutput) Repo() pulumi.StringPtrOutput
The name of the repo in the format `owner/repo`.
func (GetAppSpecStaticSiteGithubOutput) ToGetAppSpecStaticSiteGithubOutput ¶ added in v2.9.0
func (o GetAppSpecStaticSiteGithubOutput) ToGetAppSpecStaticSiteGithubOutput() GetAppSpecStaticSiteGithubOutput
func (GetAppSpecStaticSiteGithubOutput) ToGetAppSpecStaticSiteGithubOutputWithContext ¶ added in v2.9.0
func (o GetAppSpecStaticSiteGithubOutput) ToGetAppSpecStaticSiteGithubOutputWithContext(ctx context.Context) GetAppSpecStaticSiteGithubOutput
func (GetAppSpecStaticSiteGithubOutput) ToGetAppSpecStaticSiteGithubPtrOutput ¶ added in v2.9.0
func (o GetAppSpecStaticSiteGithubOutput) ToGetAppSpecStaticSiteGithubPtrOutput() GetAppSpecStaticSiteGithubPtrOutput
func (GetAppSpecStaticSiteGithubOutput) ToGetAppSpecStaticSiteGithubPtrOutputWithContext ¶ added in v2.9.0
func (o GetAppSpecStaticSiteGithubOutput) ToGetAppSpecStaticSiteGithubPtrOutputWithContext(ctx context.Context) GetAppSpecStaticSiteGithubPtrOutput
type GetAppSpecStaticSiteGithubPtrInput ¶ added in v2.9.0
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
func GetAppSpecStaticSiteGithubPtr ¶ added in v2.9.0
func GetAppSpecStaticSiteGithubPtr(v *GetAppSpecStaticSiteGithubArgs) GetAppSpecStaticSiteGithubPtrInput
type GetAppSpecStaticSiteGithubPtrOutput ¶ added in v2.9.0
type GetAppSpecStaticSiteGithubPtrOutput struct{ *pulumi.OutputState }
func (GetAppSpecStaticSiteGithubPtrOutput) Branch ¶ added in v2.9.0
func (o GetAppSpecStaticSiteGithubPtrOutput) Branch() pulumi.StringPtrOutput
The name of the branch to use.
func (GetAppSpecStaticSiteGithubPtrOutput) DeployOnPush ¶ added in v2.9.0
func (o GetAppSpecStaticSiteGithubPtrOutput) DeployOnPush() pulumi.BoolPtrOutput
Whether to automatically deploy new commits made to the repo.
func (GetAppSpecStaticSiteGithubPtrOutput) Elem ¶ added in v2.9.0
func (o GetAppSpecStaticSiteGithubPtrOutput) Elem() GetAppSpecStaticSiteGithubOutput
func (GetAppSpecStaticSiteGithubPtrOutput) ElementType ¶ added in v2.9.0
func (GetAppSpecStaticSiteGithubPtrOutput) ElementType() reflect.Type
func (GetAppSpecStaticSiteGithubPtrOutput) Repo ¶ added in v2.9.0
func (o GetAppSpecStaticSiteGithubPtrOutput) Repo() pulumi.StringPtrOutput
The name of the repo in the format `owner/repo`.
func (GetAppSpecStaticSiteGithubPtrOutput) ToGetAppSpecStaticSiteGithubPtrOutput ¶ added in v2.9.0
func (o GetAppSpecStaticSiteGithubPtrOutput) ToGetAppSpecStaticSiteGithubPtrOutput() GetAppSpecStaticSiteGithubPtrOutput
func (GetAppSpecStaticSiteGithubPtrOutput) ToGetAppSpecStaticSiteGithubPtrOutputWithContext ¶ added in v2.9.0
func (o GetAppSpecStaticSiteGithubPtrOutput) ToGetAppSpecStaticSiteGithubPtrOutputWithContext(ctx context.Context) GetAppSpecStaticSiteGithubPtrOutput
type GetAppSpecStaticSiteInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type GetAppSpecStaticSiteOutput struct{ *pulumi.OutputState }
func (GetAppSpecStaticSiteOutput) BuildCommand ¶ added in v2.9.0
func (o GetAppSpecStaticSiteOutput) BuildCommand() pulumi.StringPtrOutput
An optional build command to run while building this component from source.
func (GetAppSpecStaticSiteOutput) DockerfilePath ¶ added in v2.9.0
func (o GetAppSpecStaticSiteOutput) DockerfilePath() pulumi.StringPtrOutput
The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
func (GetAppSpecStaticSiteOutput) ElementType ¶ added in v2.9.0
func (GetAppSpecStaticSiteOutput) ElementType() reflect.Type
func (GetAppSpecStaticSiteOutput) EnvironmentSlug ¶ added in v2.9.0
func (o GetAppSpecStaticSiteOutput) EnvironmentSlug() pulumi.StringPtrOutput
An environment slug describing the type of this app.
func (GetAppSpecStaticSiteOutput) Envs ¶ added in v2.9.0
func (o GetAppSpecStaticSiteOutput) Envs() GetAppSpecStaticSiteEnvArrayOutput
Describes an environment variable made available to an app competent.
func (GetAppSpecStaticSiteOutput) ErrorDocument ¶ added in v2.9.0
func (o GetAppSpecStaticSiteOutput) ErrorDocument() pulumi.StringPtrOutput
The name of the error document to use when serving this static site*
func (GetAppSpecStaticSiteOutput) Git ¶ added in v2.9.0
func (o GetAppSpecStaticSiteOutput) Git() GetAppSpecStaticSiteGitPtrOutput
A Git repo to use as component's source. Only one of `git` and `github` may be set.
func (GetAppSpecStaticSiteOutput) Github ¶ added in v2.9.0
func (o GetAppSpecStaticSiteOutput) Github() GetAppSpecStaticSiteGithubPtrOutput
A GitHub repo to use as component's source. Only one of `git` and `github` may be set.
func (GetAppSpecStaticSiteOutput) IndexDocument ¶ added in v2.9.0
func (o GetAppSpecStaticSiteOutput) IndexDocument() pulumi.StringPtrOutput
The name of the index document to use when serving this static site.
func (GetAppSpecStaticSiteOutput) Name ¶ added in v2.9.0
func (o GetAppSpecStaticSiteOutput) Name() pulumi.StringOutput
The name of the component
func (GetAppSpecStaticSiteOutput) OutputDir ¶ added in v2.9.0
func (o GetAppSpecStaticSiteOutput) OutputDir() pulumi.StringPtrOutput
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 ¶ added in v2.9.0
func (o GetAppSpecStaticSiteOutput) Routes() GetAppSpecStaticSiteRoutesOutput
func (GetAppSpecStaticSiteOutput) SourceDir ¶ added in v2.9.0
func (o GetAppSpecStaticSiteOutput) SourceDir() pulumi.StringPtrOutput
An optional path to the working directory to use for the build.
func (GetAppSpecStaticSiteOutput) ToGetAppSpecStaticSiteOutput ¶ added in v2.9.0
func (o GetAppSpecStaticSiteOutput) ToGetAppSpecStaticSiteOutput() GetAppSpecStaticSiteOutput
func (GetAppSpecStaticSiteOutput) ToGetAppSpecStaticSiteOutputWithContext ¶ added in v2.9.0
func (o GetAppSpecStaticSiteOutput) ToGetAppSpecStaticSiteOutputWithContext(ctx context.Context) GetAppSpecStaticSiteOutput
type GetAppSpecStaticSiteRoutes ¶ added in v2.9.0
type GetAppSpecStaticSiteRoutes struct { // Paths must start with `/` and must be unique within the app. Path *string `pulumi:"path"` }
type GetAppSpecStaticSiteRoutesArgs ¶ added in v2.9.0
type GetAppSpecStaticSiteRoutesArgs struct { // Paths must start with `/` and must be unique within the app. Path pulumi.StringPtrInput `pulumi:"path"` }
func (GetAppSpecStaticSiteRoutesArgs) ElementType ¶ added in v2.9.0
func (GetAppSpecStaticSiteRoutesArgs) ElementType() reflect.Type
func (GetAppSpecStaticSiteRoutesArgs) ToGetAppSpecStaticSiteRoutesOutput ¶ added in v2.9.0
func (i GetAppSpecStaticSiteRoutesArgs) ToGetAppSpecStaticSiteRoutesOutput() GetAppSpecStaticSiteRoutesOutput
func (GetAppSpecStaticSiteRoutesArgs) ToGetAppSpecStaticSiteRoutesOutputWithContext ¶ added in v2.9.0
func (i GetAppSpecStaticSiteRoutesArgs) ToGetAppSpecStaticSiteRoutesOutputWithContext(ctx context.Context) GetAppSpecStaticSiteRoutesOutput
type GetAppSpecStaticSiteRoutesInput ¶ added in v2.9.0
type GetAppSpecStaticSiteRoutesInput interface { pulumi.Input ToGetAppSpecStaticSiteRoutesOutput() GetAppSpecStaticSiteRoutesOutput ToGetAppSpecStaticSiteRoutesOutputWithContext(context.Context) GetAppSpecStaticSiteRoutesOutput }
GetAppSpecStaticSiteRoutesInput is an input type that accepts GetAppSpecStaticSiteRoutesArgs and GetAppSpecStaticSiteRoutesOutput values. You can construct a concrete instance of `GetAppSpecStaticSiteRoutesInput` via:
GetAppSpecStaticSiteRoutesArgs{...}
type GetAppSpecStaticSiteRoutesOutput ¶ added in v2.9.0
type GetAppSpecStaticSiteRoutesOutput struct{ *pulumi.OutputState }
func (GetAppSpecStaticSiteRoutesOutput) ElementType ¶ added in v2.9.0
func (GetAppSpecStaticSiteRoutesOutput) ElementType() reflect.Type
func (GetAppSpecStaticSiteRoutesOutput) Path ¶ added in v2.9.0
func (o GetAppSpecStaticSiteRoutesOutput) Path() pulumi.StringPtrOutput
Paths must start with `/` and must be unique within the app.
func (GetAppSpecStaticSiteRoutesOutput) ToGetAppSpecStaticSiteRoutesOutput ¶ added in v2.9.0
func (o GetAppSpecStaticSiteRoutesOutput) ToGetAppSpecStaticSiteRoutesOutput() GetAppSpecStaticSiteRoutesOutput
func (GetAppSpecStaticSiteRoutesOutput) ToGetAppSpecStaticSiteRoutesOutputWithContext ¶ added in v2.9.0
func (o GetAppSpecStaticSiteRoutesOutput) ToGetAppSpecStaticSiteRoutesOutputWithContext(ctx context.Context) GetAppSpecStaticSiteRoutesOutput
type GetAppSpecWorker ¶ added in v2.9.0
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 component's source. Only one of `git` and `github` may be set. Git *GetAppSpecWorkerGit `pulumi:"git"` // A GitHub repo to use as component's source. Only one of `git` and `github` may be set. Github *GetAppSpecWorkerGithub `pulumi:"github"` // 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"` Routes GetAppSpecWorkerRoutes `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 GetAppSpecWorkerArgs ¶ added in v2.9.0
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 component's source. Only one of `git` and `github` may be set. Git GetAppSpecWorkerGitPtrInput `pulumi:"git"` // A GitHub repo to use as component's source. Only one of `git` and `github` may be set. Github GetAppSpecWorkerGithubPtrInput `pulumi:"github"` // 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"` Routes GetAppSpecWorkerRoutesInput `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 (GetAppSpecWorkerArgs) ElementType ¶ added in v2.9.0
func (GetAppSpecWorkerArgs) ElementType() reflect.Type
func (GetAppSpecWorkerArgs) ToGetAppSpecWorkerOutput ¶ added in v2.9.0
func (i GetAppSpecWorkerArgs) ToGetAppSpecWorkerOutput() GetAppSpecWorkerOutput
func (GetAppSpecWorkerArgs) ToGetAppSpecWorkerOutputWithContext ¶ added in v2.9.0
func (i GetAppSpecWorkerArgs) ToGetAppSpecWorkerOutputWithContext(ctx context.Context) GetAppSpecWorkerOutput
type GetAppSpecWorkerArray ¶ added in v2.9.0
type GetAppSpecWorkerArray []GetAppSpecWorkerInput
func (GetAppSpecWorkerArray) ElementType ¶ added in v2.9.0
func (GetAppSpecWorkerArray) ElementType() reflect.Type
func (GetAppSpecWorkerArray) ToGetAppSpecWorkerArrayOutput ¶ added in v2.9.0
func (i GetAppSpecWorkerArray) ToGetAppSpecWorkerArrayOutput() GetAppSpecWorkerArrayOutput
func (GetAppSpecWorkerArray) ToGetAppSpecWorkerArrayOutputWithContext ¶ added in v2.9.0
func (i GetAppSpecWorkerArray) ToGetAppSpecWorkerArrayOutputWithContext(ctx context.Context) GetAppSpecWorkerArrayOutput
type GetAppSpecWorkerArrayInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type GetAppSpecWorkerArrayOutput struct{ *pulumi.OutputState }
func (GetAppSpecWorkerArrayOutput) ElementType ¶ added in v2.9.0
func (GetAppSpecWorkerArrayOutput) ElementType() reflect.Type
func (GetAppSpecWorkerArrayOutput) Index ¶ added in v2.9.0
func (o GetAppSpecWorkerArrayOutput) Index(i pulumi.IntInput) GetAppSpecWorkerOutput
func (GetAppSpecWorkerArrayOutput) ToGetAppSpecWorkerArrayOutput ¶ added in v2.9.0
func (o GetAppSpecWorkerArrayOutput) ToGetAppSpecWorkerArrayOutput() GetAppSpecWorkerArrayOutput
func (GetAppSpecWorkerArrayOutput) ToGetAppSpecWorkerArrayOutputWithContext ¶ added in v2.9.0
func (o GetAppSpecWorkerArrayOutput) ToGetAppSpecWorkerArrayOutputWithContext(ctx context.Context) GetAppSpecWorkerArrayOutput
type GetAppSpecWorkerEnv ¶ added in v2.9.0
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 ¶ added in v2.9.0
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 ¶ added in v2.9.0
func (GetAppSpecWorkerEnvArgs) ElementType() reflect.Type
func (GetAppSpecWorkerEnvArgs) ToGetAppSpecWorkerEnvOutput ¶ added in v2.9.0
func (i GetAppSpecWorkerEnvArgs) ToGetAppSpecWorkerEnvOutput() GetAppSpecWorkerEnvOutput
func (GetAppSpecWorkerEnvArgs) ToGetAppSpecWorkerEnvOutputWithContext ¶ added in v2.9.0
func (i GetAppSpecWorkerEnvArgs) ToGetAppSpecWorkerEnvOutputWithContext(ctx context.Context) GetAppSpecWorkerEnvOutput
type GetAppSpecWorkerEnvArray ¶ added in v2.9.0
type GetAppSpecWorkerEnvArray []GetAppSpecWorkerEnvInput
func (GetAppSpecWorkerEnvArray) ElementType ¶ added in v2.9.0
func (GetAppSpecWorkerEnvArray) ElementType() reflect.Type
func (GetAppSpecWorkerEnvArray) ToGetAppSpecWorkerEnvArrayOutput ¶ added in v2.9.0
func (i GetAppSpecWorkerEnvArray) ToGetAppSpecWorkerEnvArrayOutput() GetAppSpecWorkerEnvArrayOutput
func (GetAppSpecWorkerEnvArray) ToGetAppSpecWorkerEnvArrayOutputWithContext ¶ added in v2.9.0
func (i GetAppSpecWorkerEnvArray) ToGetAppSpecWorkerEnvArrayOutputWithContext(ctx context.Context) GetAppSpecWorkerEnvArrayOutput
type GetAppSpecWorkerEnvArrayInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type GetAppSpecWorkerEnvArrayOutput struct{ *pulumi.OutputState }
func (GetAppSpecWorkerEnvArrayOutput) ElementType ¶ added in v2.9.0
func (GetAppSpecWorkerEnvArrayOutput) ElementType() reflect.Type
func (GetAppSpecWorkerEnvArrayOutput) Index ¶ added in v2.9.0
func (o GetAppSpecWorkerEnvArrayOutput) Index(i pulumi.IntInput) GetAppSpecWorkerEnvOutput
func (GetAppSpecWorkerEnvArrayOutput) ToGetAppSpecWorkerEnvArrayOutput ¶ added in v2.9.0
func (o GetAppSpecWorkerEnvArrayOutput) ToGetAppSpecWorkerEnvArrayOutput() GetAppSpecWorkerEnvArrayOutput
func (GetAppSpecWorkerEnvArrayOutput) ToGetAppSpecWorkerEnvArrayOutputWithContext ¶ added in v2.9.0
func (o GetAppSpecWorkerEnvArrayOutput) ToGetAppSpecWorkerEnvArrayOutputWithContext(ctx context.Context) GetAppSpecWorkerEnvArrayOutput
type GetAppSpecWorkerEnvInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type GetAppSpecWorkerEnvOutput struct{ *pulumi.OutputState }
func (GetAppSpecWorkerEnvOutput) ElementType ¶ added in v2.9.0
func (GetAppSpecWorkerEnvOutput) ElementType() reflect.Type
func (GetAppSpecWorkerEnvOutput) Key ¶ added in v2.9.0
func (o GetAppSpecWorkerEnvOutput) Key() pulumi.StringPtrOutput
The name of the environment variable.
func (GetAppSpecWorkerEnvOutput) Scope ¶ added in v2.9.0
func (o GetAppSpecWorkerEnvOutput) Scope() pulumi.StringPtrOutput
The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).
func (GetAppSpecWorkerEnvOutput) ToGetAppSpecWorkerEnvOutput ¶ added in v2.9.0
func (o GetAppSpecWorkerEnvOutput) ToGetAppSpecWorkerEnvOutput() GetAppSpecWorkerEnvOutput
func (GetAppSpecWorkerEnvOutput) ToGetAppSpecWorkerEnvOutputWithContext ¶ added in v2.9.0
func (o GetAppSpecWorkerEnvOutput) ToGetAppSpecWorkerEnvOutputWithContext(ctx context.Context) GetAppSpecWorkerEnvOutput
func (GetAppSpecWorkerEnvOutput) Type ¶ added in v2.9.0
func (o GetAppSpecWorkerEnvOutput) Type() pulumi.StringOutput
The type of the environment variable, `GENERAL` or `SECRET`.
func (GetAppSpecWorkerEnvOutput) Value ¶ added in v2.9.0
func (o GetAppSpecWorkerEnvOutput) Value() pulumi.StringPtrOutput
The value of the environment variable.
type GetAppSpecWorkerGit ¶ added in v2.9.0
type GetAppSpecWorkerGitArgs ¶ added in v2.9.0
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 ¶ added in v2.9.0
func (GetAppSpecWorkerGitArgs) ElementType() reflect.Type
func (GetAppSpecWorkerGitArgs) ToGetAppSpecWorkerGitOutput ¶ added in v2.9.0
func (i GetAppSpecWorkerGitArgs) ToGetAppSpecWorkerGitOutput() GetAppSpecWorkerGitOutput
func (GetAppSpecWorkerGitArgs) ToGetAppSpecWorkerGitOutputWithContext ¶ added in v2.9.0
func (i GetAppSpecWorkerGitArgs) ToGetAppSpecWorkerGitOutputWithContext(ctx context.Context) GetAppSpecWorkerGitOutput
func (GetAppSpecWorkerGitArgs) ToGetAppSpecWorkerGitPtrOutput ¶ added in v2.9.0
func (i GetAppSpecWorkerGitArgs) ToGetAppSpecWorkerGitPtrOutput() GetAppSpecWorkerGitPtrOutput
func (GetAppSpecWorkerGitArgs) ToGetAppSpecWorkerGitPtrOutputWithContext ¶ added in v2.9.0
func (i GetAppSpecWorkerGitArgs) ToGetAppSpecWorkerGitPtrOutputWithContext(ctx context.Context) GetAppSpecWorkerGitPtrOutput
type GetAppSpecWorkerGitInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type GetAppSpecWorkerGitOutput struct{ *pulumi.OutputState }
func (GetAppSpecWorkerGitOutput) Branch ¶ added in v2.9.0
func (o GetAppSpecWorkerGitOutput) Branch() pulumi.StringPtrOutput
The name of the branch to use.
func (GetAppSpecWorkerGitOutput) ElementType ¶ added in v2.9.0
func (GetAppSpecWorkerGitOutput) ElementType() reflect.Type
func (GetAppSpecWorkerGitOutput) RepoCloneUrl ¶ added in v2.9.0
func (o GetAppSpecWorkerGitOutput) RepoCloneUrl() pulumi.StringPtrOutput
The clone URL of the repo.
func (GetAppSpecWorkerGitOutput) ToGetAppSpecWorkerGitOutput ¶ added in v2.9.0
func (o GetAppSpecWorkerGitOutput) ToGetAppSpecWorkerGitOutput() GetAppSpecWorkerGitOutput
func (GetAppSpecWorkerGitOutput) ToGetAppSpecWorkerGitOutputWithContext ¶ added in v2.9.0
func (o GetAppSpecWorkerGitOutput) ToGetAppSpecWorkerGitOutputWithContext(ctx context.Context) GetAppSpecWorkerGitOutput
func (GetAppSpecWorkerGitOutput) ToGetAppSpecWorkerGitPtrOutput ¶ added in v2.9.0
func (o GetAppSpecWorkerGitOutput) ToGetAppSpecWorkerGitPtrOutput() GetAppSpecWorkerGitPtrOutput
func (GetAppSpecWorkerGitOutput) ToGetAppSpecWorkerGitPtrOutputWithContext ¶ added in v2.9.0
func (o GetAppSpecWorkerGitOutput) ToGetAppSpecWorkerGitPtrOutputWithContext(ctx context.Context) GetAppSpecWorkerGitPtrOutput
type GetAppSpecWorkerGitPtrInput ¶ added in v2.9.0
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
func GetAppSpecWorkerGitPtr ¶ added in v2.9.0
func GetAppSpecWorkerGitPtr(v *GetAppSpecWorkerGitArgs) GetAppSpecWorkerGitPtrInput
type GetAppSpecWorkerGitPtrOutput ¶ added in v2.9.0
type GetAppSpecWorkerGitPtrOutput struct{ *pulumi.OutputState }
func (GetAppSpecWorkerGitPtrOutput) Branch ¶ added in v2.9.0
func (o GetAppSpecWorkerGitPtrOutput) Branch() pulumi.StringPtrOutput
The name of the branch to use.
func (GetAppSpecWorkerGitPtrOutput) Elem ¶ added in v2.9.0
func (o GetAppSpecWorkerGitPtrOutput) Elem() GetAppSpecWorkerGitOutput
func (GetAppSpecWorkerGitPtrOutput) ElementType ¶ added in v2.9.0
func (GetAppSpecWorkerGitPtrOutput) ElementType() reflect.Type
func (GetAppSpecWorkerGitPtrOutput) RepoCloneUrl ¶ added in v2.9.0
func (o GetAppSpecWorkerGitPtrOutput) RepoCloneUrl() pulumi.StringPtrOutput
The clone URL of the repo.
func (GetAppSpecWorkerGitPtrOutput) ToGetAppSpecWorkerGitPtrOutput ¶ added in v2.9.0
func (o GetAppSpecWorkerGitPtrOutput) ToGetAppSpecWorkerGitPtrOutput() GetAppSpecWorkerGitPtrOutput
func (GetAppSpecWorkerGitPtrOutput) ToGetAppSpecWorkerGitPtrOutputWithContext ¶ added in v2.9.0
func (o GetAppSpecWorkerGitPtrOutput) ToGetAppSpecWorkerGitPtrOutputWithContext(ctx context.Context) GetAppSpecWorkerGitPtrOutput
type GetAppSpecWorkerGithub ¶ added in v2.9.0
type GetAppSpecWorkerGithubArgs ¶ added in v2.9.0
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 ¶ added in v2.9.0
func (GetAppSpecWorkerGithubArgs) ElementType() reflect.Type
func (GetAppSpecWorkerGithubArgs) ToGetAppSpecWorkerGithubOutput ¶ added in v2.9.0
func (i GetAppSpecWorkerGithubArgs) ToGetAppSpecWorkerGithubOutput() GetAppSpecWorkerGithubOutput
func (GetAppSpecWorkerGithubArgs) ToGetAppSpecWorkerGithubOutputWithContext ¶ added in v2.9.0
func (i GetAppSpecWorkerGithubArgs) ToGetAppSpecWorkerGithubOutputWithContext(ctx context.Context) GetAppSpecWorkerGithubOutput
func (GetAppSpecWorkerGithubArgs) ToGetAppSpecWorkerGithubPtrOutput ¶ added in v2.9.0
func (i GetAppSpecWorkerGithubArgs) ToGetAppSpecWorkerGithubPtrOutput() GetAppSpecWorkerGithubPtrOutput
func (GetAppSpecWorkerGithubArgs) ToGetAppSpecWorkerGithubPtrOutputWithContext ¶ added in v2.9.0
func (i GetAppSpecWorkerGithubArgs) ToGetAppSpecWorkerGithubPtrOutputWithContext(ctx context.Context) GetAppSpecWorkerGithubPtrOutput
type GetAppSpecWorkerGithubInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type GetAppSpecWorkerGithubOutput struct{ *pulumi.OutputState }
func (GetAppSpecWorkerGithubOutput) Branch ¶ added in v2.9.0
func (o GetAppSpecWorkerGithubOutput) Branch() pulumi.StringPtrOutput
The name of the branch to use.
func (GetAppSpecWorkerGithubOutput) DeployOnPush ¶ added in v2.9.0
func (o GetAppSpecWorkerGithubOutput) DeployOnPush() pulumi.BoolPtrOutput
Whether to automatically deploy new commits made to the repo.
func (GetAppSpecWorkerGithubOutput) ElementType ¶ added in v2.9.0
func (GetAppSpecWorkerGithubOutput) ElementType() reflect.Type
func (GetAppSpecWorkerGithubOutput) Repo ¶ added in v2.9.0
func (o GetAppSpecWorkerGithubOutput) Repo() pulumi.StringPtrOutput
The name of the repo in the format `owner/repo`.
func (GetAppSpecWorkerGithubOutput) ToGetAppSpecWorkerGithubOutput ¶ added in v2.9.0
func (o GetAppSpecWorkerGithubOutput) ToGetAppSpecWorkerGithubOutput() GetAppSpecWorkerGithubOutput
func (GetAppSpecWorkerGithubOutput) ToGetAppSpecWorkerGithubOutputWithContext ¶ added in v2.9.0
func (o GetAppSpecWorkerGithubOutput) ToGetAppSpecWorkerGithubOutputWithContext(ctx context.Context) GetAppSpecWorkerGithubOutput
func (GetAppSpecWorkerGithubOutput) ToGetAppSpecWorkerGithubPtrOutput ¶ added in v2.9.0
func (o GetAppSpecWorkerGithubOutput) ToGetAppSpecWorkerGithubPtrOutput() GetAppSpecWorkerGithubPtrOutput
func (GetAppSpecWorkerGithubOutput) ToGetAppSpecWorkerGithubPtrOutputWithContext ¶ added in v2.9.0
func (o GetAppSpecWorkerGithubOutput) ToGetAppSpecWorkerGithubPtrOutputWithContext(ctx context.Context) GetAppSpecWorkerGithubPtrOutput
type GetAppSpecWorkerGithubPtrInput ¶ added in v2.9.0
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
func GetAppSpecWorkerGithubPtr ¶ added in v2.9.0
func GetAppSpecWorkerGithubPtr(v *GetAppSpecWorkerGithubArgs) GetAppSpecWorkerGithubPtrInput
type GetAppSpecWorkerGithubPtrOutput ¶ added in v2.9.0
type GetAppSpecWorkerGithubPtrOutput struct{ *pulumi.OutputState }
func (GetAppSpecWorkerGithubPtrOutput) Branch ¶ added in v2.9.0
func (o GetAppSpecWorkerGithubPtrOutput) Branch() pulumi.StringPtrOutput
The name of the branch to use.
func (GetAppSpecWorkerGithubPtrOutput) DeployOnPush ¶ added in v2.9.0
func (o GetAppSpecWorkerGithubPtrOutput) DeployOnPush() pulumi.BoolPtrOutput
Whether to automatically deploy new commits made to the repo.
func (GetAppSpecWorkerGithubPtrOutput) Elem ¶ added in v2.9.0
func (o GetAppSpecWorkerGithubPtrOutput) Elem() GetAppSpecWorkerGithubOutput
func (GetAppSpecWorkerGithubPtrOutput) ElementType ¶ added in v2.9.0
func (GetAppSpecWorkerGithubPtrOutput) ElementType() reflect.Type
func (GetAppSpecWorkerGithubPtrOutput) Repo ¶ added in v2.9.0
func (o GetAppSpecWorkerGithubPtrOutput) Repo() pulumi.StringPtrOutput
The name of the repo in the format `owner/repo`.
func (GetAppSpecWorkerGithubPtrOutput) ToGetAppSpecWorkerGithubPtrOutput ¶ added in v2.9.0
func (o GetAppSpecWorkerGithubPtrOutput) ToGetAppSpecWorkerGithubPtrOutput() GetAppSpecWorkerGithubPtrOutput
func (GetAppSpecWorkerGithubPtrOutput) ToGetAppSpecWorkerGithubPtrOutputWithContext ¶ added in v2.9.0
func (o GetAppSpecWorkerGithubPtrOutput) ToGetAppSpecWorkerGithubPtrOutputWithContext(ctx context.Context) GetAppSpecWorkerGithubPtrOutput
type GetAppSpecWorkerInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type GetAppSpecWorkerOutput struct{ *pulumi.OutputState }
func (GetAppSpecWorkerOutput) BuildCommand ¶ added in v2.9.0
func (o GetAppSpecWorkerOutput) BuildCommand() pulumi.StringPtrOutput
An optional build command to run while building this component from source.
func (GetAppSpecWorkerOutput) DockerfilePath ¶ added in v2.9.0
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 ¶ added in v2.9.0
func (GetAppSpecWorkerOutput) ElementType() reflect.Type
func (GetAppSpecWorkerOutput) EnvironmentSlug ¶ added in v2.9.0
func (o GetAppSpecWorkerOutput) EnvironmentSlug() pulumi.StringPtrOutput
An environment slug describing the type of this app.
func (GetAppSpecWorkerOutput) Envs ¶ added in v2.9.0
func (o GetAppSpecWorkerOutput) Envs() GetAppSpecWorkerEnvArrayOutput
Describes an environment variable made available to an app competent.
func (GetAppSpecWorkerOutput) Git ¶ added in v2.9.0
func (o GetAppSpecWorkerOutput) Git() GetAppSpecWorkerGitPtrOutput
A Git repo to use as component's source. Only one of `git` and `github` may be set.
func (GetAppSpecWorkerOutput) Github ¶ added in v2.9.0
func (o GetAppSpecWorkerOutput) Github() GetAppSpecWorkerGithubPtrOutput
A GitHub repo to use as component's source. Only one of `git` and `github` may be set.
func (GetAppSpecWorkerOutput) InstanceCount ¶ added in v2.9.0
func (o GetAppSpecWorkerOutput) InstanceCount() pulumi.IntPtrOutput
The amount of instances that this component should be scaled to.
func (GetAppSpecWorkerOutput) InstanceSizeSlug ¶ added in v2.9.0
func (o GetAppSpecWorkerOutput) InstanceSizeSlug() pulumi.StringPtrOutput
The instance size to use for this component.
func (GetAppSpecWorkerOutput) Name ¶ added in v2.9.0
func (o GetAppSpecWorkerOutput) Name() pulumi.StringOutput
The name of the component
func (GetAppSpecWorkerOutput) Routes ¶ added in v2.9.0
func (o GetAppSpecWorkerOutput) Routes() GetAppSpecWorkerRoutesOutput
func (GetAppSpecWorkerOutput) RunCommand ¶ added in v2.9.0
func (o GetAppSpecWorkerOutput) RunCommand() pulumi.StringPtrOutput
An optional run command to override the component's default.
func (GetAppSpecWorkerOutput) SourceDir ¶ added in v2.9.0
func (o GetAppSpecWorkerOutput) SourceDir() pulumi.StringPtrOutput
An optional path to the working directory to use for the build.
func (GetAppSpecWorkerOutput) ToGetAppSpecWorkerOutput ¶ added in v2.9.0
func (o GetAppSpecWorkerOutput) ToGetAppSpecWorkerOutput() GetAppSpecWorkerOutput
func (GetAppSpecWorkerOutput) ToGetAppSpecWorkerOutputWithContext ¶ added in v2.9.0
func (o GetAppSpecWorkerOutput) ToGetAppSpecWorkerOutputWithContext(ctx context.Context) GetAppSpecWorkerOutput
type GetAppSpecWorkerRoutes ¶ added in v2.9.0
type GetAppSpecWorkerRoutes struct { // Paths must start with `/` and must be unique within the app. Path *string `pulumi:"path"` }
type GetAppSpecWorkerRoutesArgs ¶ added in v2.9.0
type GetAppSpecWorkerRoutesArgs struct { // Paths must start with `/` and must be unique within the app. Path pulumi.StringPtrInput `pulumi:"path"` }
func (GetAppSpecWorkerRoutesArgs) ElementType ¶ added in v2.9.0
func (GetAppSpecWorkerRoutesArgs) ElementType() reflect.Type
func (GetAppSpecWorkerRoutesArgs) ToGetAppSpecWorkerRoutesOutput ¶ added in v2.9.0
func (i GetAppSpecWorkerRoutesArgs) ToGetAppSpecWorkerRoutesOutput() GetAppSpecWorkerRoutesOutput
func (GetAppSpecWorkerRoutesArgs) ToGetAppSpecWorkerRoutesOutputWithContext ¶ added in v2.9.0
func (i GetAppSpecWorkerRoutesArgs) ToGetAppSpecWorkerRoutesOutputWithContext(ctx context.Context) GetAppSpecWorkerRoutesOutput
type GetAppSpecWorkerRoutesInput ¶ added in v2.9.0
type GetAppSpecWorkerRoutesInput interface { pulumi.Input ToGetAppSpecWorkerRoutesOutput() GetAppSpecWorkerRoutesOutput ToGetAppSpecWorkerRoutesOutputWithContext(context.Context) GetAppSpecWorkerRoutesOutput }
GetAppSpecWorkerRoutesInput is an input type that accepts GetAppSpecWorkerRoutesArgs and GetAppSpecWorkerRoutesOutput values. You can construct a concrete instance of `GetAppSpecWorkerRoutesInput` via:
GetAppSpecWorkerRoutesArgs{...}
type GetAppSpecWorkerRoutesOutput ¶ added in v2.9.0
type GetAppSpecWorkerRoutesOutput struct{ *pulumi.OutputState }
func (GetAppSpecWorkerRoutesOutput) ElementType ¶ added in v2.9.0
func (GetAppSpecWorkerRoutesOutput) ElementType() reflect.Type
func (GetAppSpecWorkerRoutesOutput) Path ¶ added in v2.9.0
func (o GetAppSpecWorkerRoutesOutput) Path() pulumi.StringPtrOutput
Paths must start with `/` and must be unique within the app.
func (GetAppSpecWorkerRoutesOutput) ToGetAppSpecWorkerRoutesOutput ¶ added in v2.9.0
func (o GetAppSpecWorkerRoutesOutput) ToGetAppSpecWorkerRoutesOutput() GetAppSpecWorkerRoutesOutput
func (GetAppSpecWorkerRoutesOutput) ToGetAppSpecWorkerRoutesOutputWithContext ¶ added in v2.9.0
func (o GetAppSpecWorkerRoutesOutput) ToGetAppSpecWorkerRoutesOutputWithContext(ctx context.Context) GetAppSpecWorkerRoutesOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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 ¶
func (o GetDatabaseClusterMaintenanceWindowOutput) Day() pulumi.StringOutput
The day of the week on which to apply maintenance updates.
func (GetDatabaseClusterMaintenanceWindowOutput) ElementType ¶
func (GetDatabaseClusterMaintenanceWindowOutput) ElementType() reflect.Type
func (GetDatabaseClusterMaintenanceWindowOutput) Hour ¶
func (o GetDatabaseClusterMaintenanceWindowOutput) Hour() pulumi.StringOutput
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 ¶ added in v2.9.0
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 ¶ added in v2.9.0
type GetDomainsDomainArgs ¶ added in v2.9.0
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 ¶ added in v2.9.0
func (GetDomainsDomainArgs) ElementType() reflect.Type
func (GetDomainsDomainArgs) ToGetDomainsDomainOutput ¶ added in v2.9.0
func (i GetDomainsDomainArgs) ToGetDomainsDomainOutput() GetDomainsDomainOutput
func (GetDomainsDomainArgs) ToGetDomainsDomainOutputWithContext ¶ added in v2.9.0
func (i GetDomainsDomainArgs) ToGetDomainsDomainOutputWithContext(ctx context.Context) GetDomainsDomainOutput
type GetDomainsDomainArray ¶ added in v2.9.0
type GetDomainsDomainArray []GetDomainsDomainInput
func (GetDomainsDomainArray) ElementType ¶ added in v2.9.0
func (GetDomainsDomainArray) ElementType() reflect.Type
func (GetDomainsDomainArray) ToGetDomainsDomainArrayOutput ¶ added in v2.9.0
func (i GetDomainsDomainArray) ToGetDomainsDomainArrayOutput() GetDomainsDomainArrayOutput
func (GetDomainsDomainArray) ToGetDomainsDomainArrayOutputWithContext ¶ added in v2.9.0
func (i GetDomainsDomainArray) ToGetDomainsDomainArrayOutputWithContext(ctx context.Context) GetDomainsDomainArrayOutput
type GetDomainsDomainArrayInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type GetDomainsDomainArrayOutput struct{ *pulumi.OutputState }
func (GetDomainsDomainArrayOutput) ElementType ¶ added in v2.9.0
func (GetDomainsDomainArrayOutput) ElementType() reflect.Type
func (GetDomainsDomainArrayOutput) Index ¶ added in v2.9.0
func (o GetDomainsDomainArrayOutput) Index(i pulumi.IntInput) GetDomainsDomainOutput
func (GetDomainsDomainArrayOutput) ToGetDomainsDomainArrayOutput ¶ added in v2.9.0
func (o GetDomainsDomainArrayOutput) ToGetDomainsDomainArrayOutput() GetDomainsDomainArrayOutput
func (GetDomainsDomainArrayOutput) ToGetDomainsDomainArrayOutputWithContext ¶ added in v2.9.0
func (o GetDomainsDomainArrayOutput) ToGetDomainsDomainArrayOutputWithContext(ctx context.Context) GetDomainsDomainArrayOutput
type GetDomainsDomainInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type GetDomainsDomainOutput struct{ *pulumi.OutputState }
func (GetDomainsDomainOutput) ElementType ¶ added in v2.9.0
func (GetDomainsDomainOutput) ElementType() reflect.Type
func (GetDomainsDomainOutput) Name ¶ added in v2.9.0
func (o GetDomainsDomainOutput) Name() pulumi.StringOutput
(Required) The name of the domain. - `ttl`- The TTL of the domain.
func (GetDomainsDomainOutput) ToGetDomainsDomainOutput ¶ added in v2.9.0
func (o GetDomainsDomainOutput) ToGetDomainsDomainOutput() GetDomainsDomainOutput
func (GetDomainsDomainOutput) ToGetDomainsDomainOutputWithContext ¶ added in v2.9.0
func (o GetDomainsDomainOutput) ToGetDomainsDomainOutputWithContext(ctx context.Context) GetDomainsDomainOutput
func (GetDomainsDomainOutput) Ttl ¶ added in v2.9.0
func (o GetDomainsDomainOutput) Ttl() pulumi.IntOutput
func (GetDomainsDomainOutput) Urn ¶ added in v2.9.0
func (o GetDomainsDomainOutput) Urn() pulumi.StringOutput
The uniform resource name of the domain
type GetDomainsFilter ¶ added in v2.9.0
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 ¶ added in v2.9.0
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 ¶ added in v2.9.0
func (GetDomainsFilterArgs) ElementType() reflect.Type
func (GetDomainsFilterArgs) ToGetDomainsFilterOutput ¶ added in v2.9.0
func (i GetDomainsFilterArgs) ToGetDomainsFilterOutput() GetDomainsFilterOutput
func (GetDomainsFilterArgs) ToGetDomainsFilterOutputWithContext ¶ added in v2.9.0
func (i GetDomainsFilterArgs) ToGetDomainsFilterOutputWithContext(ctx context.Context) GetDomainsFilterOutput
type GetDomainsFilterArray ¶ added in v2.9.0
type GetDomainsFilterArray []GetDomainsFilterInput
func (GetDomainsFilterArray) ElementType ¶ added in v2.9.0
func (GetDomainsFilterArray) ElementType() reflect.Type
func (GetDomainsFilterArray) ToGetDomainsFilterArrayOutput ¶ added in v2.9.0
func (i GetDomainsFilterArray) ToGetDomainsFilterArrayOutput() GetDomainsFilterArrayOutput
func (GetDomainsFilterArray) ToGetDomainsFilterArrayOutputWithContext ¶ added in v2.9.0
func (i GetDomainsFilterArray) ToGetDomainsFilterArrayOutputWithContext(ctx context.Context) GetDomainsFilterArrayOutput
type GetDomainsFilterArrayInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type GetDomainsFilterArrayOutput struct{ *pulumi.OutputState }
func (GetDomainsFilterArrayOutput) ElementType ¶ added in v2.9.0
func (GetDomainsFilterArrayOutput) ElementType() reflect.Type
func (GetDomainsFilterArrayOutput) Index ¶ added in v2.9.0
func (o GetDomainsFilterArrayOutput) Index(i pulumi.IntInput) GetDomainsFilterOutput
func (GetDomainsFilterArrayOutput) ToGetDomainsFilterArrayOutput ¶ added in v2.9.0
func (o GetDomainsFilterArrayOutput) ToGetDomainsFilterArrayOutput() GetDomainsFilterArrayOutput
func (GetDomainsFilterArrayOutput) ToGetDomainsFilterArrayOutputWithContext ¶ added in v2.9.0
func (o GetDomainsFilterArrayOutput) ToGetDomainsFilterArrayOutputWithContext(ctx context.Context) GetDomainsFilterArrayOutput
type GetDomainsFilterInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type GetDomainsFilterOutput struct{ *pulumi.OutputState }
func (GetDomainsFilterOutput) All ¶ added in v2.9.0
func (o GetDomainsFilterOutput) All() pulumi.BoolPtrOutput
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 ¶ added in v2.9.0
func (GetDomainsFilterOutput) ElementType() reflect.Type
func (GetDomainsFilterOutput) Key ¶ added in v2.9.0
func (o GetDomainsFilterOutput) Key() pulumi.StringOutput
Filter the domains by this key. This may be one of `name`, `urn`, and `ttl`.
func (GetDomainsFilterOutput) MatchBy ¶ added in v2.9.0
func (o GetDomainsFilterOutput) MatchBy() pulumi.StringPtrOutput
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 ¶ added in v2.9.0
func (o GetDomainsFilterOutput) ToGetDomainsFilterOutput() GetDomainsFilterOutput
func (GetDomainsFilterOutput) ToGetDomainsFilterOutputWithContext ¶ added in v2.9.0
func (o GetDomainsFilterOutput) ToGetDomainsFilterOutputWithContext(ctx context.Context) GetDomainsFilterOutput
func (GetDomainsFilterOutput) Values ¶ added in v2.9.0
func (o GetDomainsFilterOutput) Values() pulumi.StringArrayOutput
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 ¶ added in v2.9.0
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 ¶ added in v2.9.0
func GetDomains(ctx *pulumi.Context, args *GetDomainsArgs, opts ...pulumi.InvokeOption) (*GetDomainsResult, error)
type GetDomainsSort ¶ added in v2.9.0
type GetDomainsSortArgs ¶ added in v2.9.0
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 ¶ added in v2.9.0
func (GetDomainsSortArgs) ElementType() reflect.Type
func (GetDomainsSortArgs) ToGetDomainsSortOutput ¶ added in v2.9.0
func (i GetDomainsSortArgs) ToGetDomainsSortOutput() GetDomainsSortOutput
func (GetDomainsSortArgs) ToGetDomainsSortOutputWithContext ¶ added in v2.9.0
func (i GetDomainsSortArgs) ToGetDomainsSortOutputWithContext(ctx context.Context) GetDomainsSortOutput
type GetDomainsSortArray ¶ added in v2.9.0
type GetDomainsSortArray []GetDomainsSortInput
func (GetDomainsSortArray) ElementType ¶ added in v2.9.0
func (GetDomainsSortArray) ElementType() reflect.Type
func (GetDomainsSortArray) ToGetDomainsSortArrayOutput ¶ added in v2.9.0
func (i GetDomainsSortArray) ToGetDomainsSortArrayOutput() GetDomainsSortArrayOutput
func (GetDomainsSortArray) ToGetDomainsSortArrayOutputWithContext ¶ added in v2.9.0
func (i GetDomainsSortArray) ToGetDomainsSortArrayOutputWithContext(ctx context.Context) GetDomainsSortArrayOutput
type GetDomainsSortArrayInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type GetDomainsSortArrayOutput struct{ *pulumi.OutputState }
func (GetDomainsSortArrayOutput) ElementType ¶ added in v2.9.0
func (GetDomainsSortArrayOutput) ElementType() reflect.Type
func (GetDomainsSortArrayOutput) Index ¶ added in v2.9.0
func (o GetDomainsSortArrayOutput) Index(i pulumi.IntInput) GetDomainsSortOutput
func (GetDomainsSortArrayOutput) ToGetDomainsSortArrayOutput ¶ added in v2.9.0
func (o GetDomainsSortArrayOutput) ToGetDomainsSortArrayOutput() GetDomainsSortArrayOutput
func (GetDomainsSortArrayOutput) ToGetDomainsSortArrayOutputWithContext ¶ added in v2.9.0
func (o GetDomainsSortArrayOutput) ToGetDomainsSortArrayOutputWithContext(ctx context.Context) GetDomainsSortArrayOutput
type GetDomainsSortInput ¶ added in v2.9.0
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 ¶ added in v2.9.0
type GetDomainsSortOutput struct{ *pulumi.OutputState }
func (GetDomainsSortOutput) Direction ¶ added in v2.9.0
func (o GetDomainsSortOutput) Direction() pulumi.StringPtrOutput
The sort direction. This may be either `asc` or `desc`.
func (GetDomainsSortOutput) ElementType ¶ added in v2.9.0
func (GetDomainsSortOutput) ElementType() reflect.Type
func (GetDomainsSortOutput) Key ¶ added in v2.9.0
func (o GetDomainsSortOutput) Key() pulumi.StringOutput
Sort the domains by this key. This may be one of `name`, `urn`, and `ttl`.
func (GetDomainsSortOutput) ToGetDomainsSortOutput ¶ added in v2.9.0
func (o GetDomainsSortOutput) ToGetDomainsSortOutput() GetDomainsSortOutput
func (GetDomainsSortOutput) ToGetDomainsSortOutputWithContext ¶ added in v2.9.0
func (o GetDomainsSortOutput) ToGetDomainsSortOutputWithContext(ctx context.Context) GetDomainsSortOutput
type GetDropletsArgs ¶ added in v2.3.0
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 ¶ added in v2.3.0
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 ¶ added in v2.3.0
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 ¶ added in v2.3.0
func (GetDropletsDropletArgs) ElementType() reflect.Type
func (GetDropletsDropletArgs) ToGetDropletsDropletOutput ¶ added in v2.3.0
func (i GetDropletsDropletArgs) ToGetDropletsDropletOutput() GetDropletsDropletOutput
func (GetDropletsDropletArgs) ToGetDropletsDropletOutputWithContext ¶ added in v2.3.0
func (i GetDropletsDropletArgs) ToGetDropletsDropletOutputWithContext(ctx context.Context) GetDropletsDropletOutput
type GetDropletsDropletArray ¶ added in v2.3.0
type GetDropletsDropletArray []GetDropletsDropletInput
func (GetDropletsDropletArray) ElementType ¶ added in v2.3.0
func (GetDropletsDropletArray) ElementType() reflect.Type
func (GetDropletsDropletArray) ToGetDropletsDropletArrayOutput ¶ added in v2.3.0
func (i GetDropletsDropletArray) ToGetDropletsDropletArrayOutput() GetDropletsDropletArrayOutput
func (GetDropletsDropletArray) ToGetDropletsDropletArrayOutputWithContext ¶ added in v2.3.0
func (i GetDropletsDropletArray) ToGetDropletsDropletArrayOutputWithContext(ctx context.Context) GetDropletsDropletArrayOutput
type GetDropletsDropletArrayInput ¶ added in v2.3.0
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 ¶ added in v2.3.0
type GetDropletsDropletArrayOutput struct{ *pulumi.OutputState }
func (GetDropletsDropletArrayOutput) ElementType ¶ added in v2.3.0
func (GetDropletsDropletArrayOutput) ElementType() reflect.Type
func (GetDropletsDropletArrayOutput) Index ¶ added in v2.3.0
func (o GetDropletsDropletArrayOutput) Index(i pulumi.IntInput) GetDropletsDropletOutput
func (GetDropletsDropletArrayOutput) ToGetDropletsDropletArrayOutput ¶ added in v2.3.0
func (o GetDropletsDropletArrayOutput) ToGetDropletsDropletArrayOutput() GetDropletsDropletArrayOutput
func (GetDropletsDropletArrayOutput) ToGetDropletsDropletArrayOutputWithContext ¶ added in v2.3.0
func (o GetDropletsDropletArrayOutput) ToGetDropletsDropletArrayOutputWithContext(ctx context.Context) GetDropletsDropletArrayOutput
type GetDropletsDropletInput ¶ added in v2.3.0
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 ¶ added in v2.3.0
type GetDropletsDropletOutput struct{ *pulumi.OutputState }
func (GetDropletsDropletOutput) Backups ¶ added in v2.3.0
func (o GetDropletsDropletOutput) Backups() pulumi.BoolOutput
Whether backups are enabled.
func (GetDropletsDropletOutput) CreatedAt ¶ added in v2.3.0
func (o GetDropletsDropletOutput) CreatedAt() pulumi.StringOutput
func (GetDropletsDropletOutput) Disk ¶ added in v2.3.0
func (o GetDropletsDropletOutput) Disk() pulumi.IntOutput
The size of the Droplet's disk in GB.
func (GetDropletsDropletOutput) ElementType ¶ added in v2.3.0
func (GetDropletsDropletOutput) ElementType() reflect.Type
func (GetDropletsDropletOutput) Id ¶ added in v2.3.0
func (o GetDropletsDropletOutput) Id() pulumi.IntOutput
The ID of the Droplet.
func (GetDropletsDropletOutput) Image ¶ added in v2.3.0
func (o GetDropletsDropletOutput) Image() pulumi.StringOutput
The Droplet image ID or slug.
func (GetDropletsDropletOutput) Ipv4Address ¶ added in v2.3.0
func (o GetDropletsDropletOutput) Ipv4Address() pulumi.StringOutput
The Droplet's public IPv4 address
func (GetDropletsDropletOutput) Ipv4AddressPrivate ¶ added in v2.3.0
func (o GetDropletsDropletOutput) Ipv4AddressPrivate() pulumi.StringOutput
The Droplet's private IPv4 address
func (GetDropletsDropletOutput) Ipv6 ¶ added in v2.3.0
func (o GetDropletsDropletOutput) Ipv6() pulumi.BoolOutput
Whether IPv6 is enabled.
func (GetDropletsDropletOutput) Ipv6Address ¶ added in v2.3.0
func (o GetDropletsDropletOutput) Ipv6Address() pulumi.StringOutput
The Droplet's public IPv6 address
func (GetDropletsDropletOutput) Ipv6AddressPrivate ¶ added in v2.3.0
func (o GetDropletsDropletOutput) Ipv6AddressPrivate() pulumi.StringOutput
The Droplet's private IPv6 address
func (GetDropletsDropletOutput) Locked ¶ added in v2.3.0
func (o GetDropletsDropletOutput) Locked() pulumi.BoolOutput
Whether the Droplet is locked.
func (GetDropletsDropletOutput) Memory ¶ added in v2.3.0
func (o GetDropletsDropletOutput) Memory() pulumi.IntOutput
The amount of the Droplet's memory in MB.
func (GetDropletsDropletOutput) Monitoring ¶ added in v2.3.0
func (o GetDropletsDropletOutput) Monitoring() pulumi.BoolOutput
Whether monitoring agent is installed.
func (GetDropletsDropletOutput) Name ¶ added in v2.3.0
func (o GetDropletsDropletOutput) Name() pulumi.StringOutput
func (GetDropletsDropletOutput) PriceHourly ¶ added in v2.3.0
func (o GetDropletsDropletOutput) PriceHourly() pulumi.Float64Output
Droplet hourly price.
func (GetDropletsDropletOutput) PriceMonthly ¶ added in v2.3.0
func (o GetDropletsDropletOutput) PriceMonthly() pulumi.Float64Output
Droplet monthly price.
func (GetDropletsDropletOutput) PrivateNetworking ¶ added in v2.3.0
func (o GetDropletsDropletOutput) PrivateNetworking() pulumi.BoolOutput
Whether private networks are enabled.
func (GetDropletsDropletOutput) Region ¶ added in v2.3.0
func (o GetDropletsDropletOutput) Region() pulumi.StringOutput
The region the Droplet is running in.
func (GetDropletsDropletOutput) Size ¶ added in v2.3.0
func (o GetDropletsDropletOutput) Size() pulumi.StringOutput
The unique slug that identifies the type of Droplet.
func (GetDropletsDropletOutput) Status ¶ added in v2.3.0
func (o GetDropletsDropletOutput) Status() pulumi.StringOutput
The status of the Droplet.
func (GetDropletsDropletOutput) Tags ¶ added in v2.3.0
func (o GetDropletsDropletOutput) Tags() pulumi.StringArrayOutput
A list of the tags associated to the Droplet.
func (GetDropletsDropletOutput) ToGetDropletsDropletOutput ¶ added in v2.3.0
func (o GetDropletsDropletOutput) ToGetDropletsDropletOutput() GetDropletsDropletOutput
func (GetDropletsDropletOutput) ToGetDropletsDropletOutputWithContext ¶ added in v2.3.0
func (o GetDropletsDropletOutput) ToGetDropletsDropletOutputWithContext(ctx context.Context) GetDropletsDropletOutput
func (GetDropletsDropletOutput) Urn ¶ added in v2.3.0
func (o GetDropletsDropletOutput) Urn() pulumi.StringOutput
The uniform resource name of the Droplet
func (GetDropletsDropletOutput) Vcpus ¶ added in v2.3.0
func (o GetDropletsDropletOutput) Vcpus() pulumi.IntOutput
The number of the Droplet's virtual CPUs.
func (GetDropletsDropletOutput) VolumeIds ¶ added in v2.3.0
func (o GetDropletsDropletOutput) VolumeIds() pulumi.StringArrayOutput
List of the IDs of each volumes attached to the Droplet.
func (GetDropletsDropletOutput) VpcUuid ¶ added in v2.3.0
func (o GetDropletsDropletOutput) VpcUuid() pulumi.StringOutput
The ID of the VPC where the Droplet is located.
type GetDropletsFilter ¶ added in v2.3.0
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 ¶ added in v2.3.0
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 ¶ added in v2.3.0
func (GetDropletsFilterArgs) ElementType() reflect.Type
func (GetDropletsFilterArgs) ToGetDropletsFilterOutput ¶ added in v2.3.0
func (i GetDropletsFilterArgs) ToGetDropletsFilterOutput() GetDropletsFilterOutput
func (GetDropletsFilterArgs) ToGetDropletsFilterOutputWithContext ¶ added in v2.3.0
func (i GetDropletsFilterArgs) ToGetDropletsFilterOutputWithContext(ctx context.Context) GetDropletsFilterOutput
type GetDropletsFilterArray ¶ added in v2.3.0
type GetDropletsFilterArray []GetDropletsFilterInput
func (GetDropletsFilterArray) ElementType ¶ added in v2.3.0
func (GetDropletsFilterArray) ElementType() reflect.Type
func (GetDropletsFilterArray) ToGetDropletsFilterArrayOutput ¶ added in v2.3.0
func (i GetDropletsFilterArray) ToGetDropletsFilterArrayOutput() GetDropletsFilterArrayOutput
func (GetDropletsFilterArray) ToGetDropletsFilterArrayOutputWithContext ¶ added in v2.3.0
func (i GetDropletsFilterArray) ToGetDropletsFilterArrayOutputWithContext(ctx context.Context) GetDropletsFilterArrayOutput
type GetDropletsFilterArrayInput ¶ added in v2.3.0
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 ¶ added in v2.3.0
type GetDropletsFilterArrayOutput struct{ *pulumi.OutputState }
func (GetDropletsFilterArrayOutput) ElementType ¶ added in v2.3.0
func (GetDropletsFilterArrayOutput) ElementType() reflect.Type
func (GetDropletsFilterArrayOutput) Index ¶ added in v2.3.0
func (o GetDropletsFilterArrayOutput) Index(i pulumi.IntInput) GetDropletsFilterOutput
func (GetDropletsFilterArrayOutput) ToGetDropletsFilterArrayOutput ¶ added in v2.3.0
func (o GetDropletsFilterArrayOutput) ToGetDropletsFilterArrayOutput() GetDropletsFilterArrayOutput
func (GetDropletsFilterArrayOutput) ToGetDropletsFilterArrayOutputWithContext ¶ added in v2.3.0
func (o GetDropletsFilterArrayOutput) ToGetDropletsFilterArrayOutputWithContext(ctx context.Context) GetDropletsFilterArrayOutput
type GetDropletsFilterInput ¶ added in v2.3.0
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 ¶ added in v2.3.0
type GetDropletsFilterOutput struct{ *pulumi.OutputState }
func (GetDropletsFilterOutput) All ¶ added in v2.9.0
func (o GetDropletsFilterOutput) All() pulumi.BoolPtrOutput
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 ¶ added in v2.3.0
func (GetDropletsFilterOutput) ElementType() reflect.Type
func (GetDropletsFilterOutput) Key ¶ added in v2.3.0
func (o GetDropletsFilterOutput) Key() pulumi.StringOutput
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 ¶ added in v2.9.0
func (o GetDropletsFilterOutput) MatchBy() pulumi.StringPtrOutput
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 ¶ added in v2.3.0
func (o GetDropletsFilterOutput) ToGetDropletsFilterOutput() GetDropletsFilterOutput
func (GetDropletsFilterOutput) ToGetDropletsFilterOutputWithContext ¶ added in v2.3.0
func (o GetDropletsFilterOutput) ToGetDropletsFilterOutputWithContext(ctx context.Context) GetDropletsFilterOutput
func (GetDropletsFilterOutput) Values ¶ added in v2.3.0
func (o GetDropletsFilterOutput) Values() pulumi.StringArrayOutput
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 ¶ added in v2.3.0
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 ¶ added in v2.3.0
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 this provider or you need to utilize any of the Droplets' data.
Note: You can use the `Droplet` data source to obtain metadata about a single Droplet if you already know the `id`, unique `name`, or unique `tag` to retrieve.
## Example Usage
Use the `filter` block with a `key` string and `values` list to filter images.
For example to find all Droplets with size `s-1vcpu-1gb`:
```go package main
import (
"github.com/pulumi/pulumi-digitalocean/sdk/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := digitalocean.GetDroplets(ctx, &digitalocean.GetDropletsArgs{ Filters: []digitalocean.GetDropletsFilter{ digitalocean.GetDropletsFilter{ Key: "size", Values: []string{ "s-1vcpu-1gb", }, }, }, }, nil) if err != nil { return err } return nil }) }
```
You can filter on multiple fields and sort the results as well:
```go package main
import (
"github.com/pulumi/pulumi-digitalocean/sdk/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := digitalocean.GetDroplets(ctx, &digitalocean.GetDropletsArgs{ Filters: []digitalocean.GetDropletsFilter{ digitalocean.GetDropletsFilter{ Key: "size", Values: []string{ "s-1vcpu-1gb", }, }, digitalocean.GetDropletsFilter{ Key: "backups", Values: []string{ "true", }, }, }, Sorts: []digitalocean.GetDropletsSort{ digitalocean.GetDropletsSort{ Direction: "desc", Key: "created_at", }, }, }, nil) if err != nil { return err } return nil }) }
```
type GetDropletsSort ¶ added in v2.3.0
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 ¶ added in v2.3.0
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 ¶ added in v2.3.0
func (GetDropletsSortArgs) ElementType() reflect.Type
func (GetDropletsSortArgs) ToGetDropletsSortOutput ¶ added in v2.3.0
func (i GetDropletsSortArgs) ToGetDropletsSortOutput() GetDropletsSortOutput
func (GetDropletsSortArgs) ToGetDropletsSortOutputWithContext ¶ added in v2.3.0
func (i GetDropletsSortArgs) ToGetDropletsSortOutputWithContext(ctx context.Context) GetDropletsSortOutput
type GetDropletsSortArray ¶ added in v2.3.0
type GetDropletsSortArray []GetDropletsSortInput
func (GetDropletsSortArray) ElementType ¶ added in v2.3.0
func (GetDropletsSortArray) ElementType() reflect.Type
func (GetDropletsSortArray) ToGetDropletsSortArrayOutput ¶ added in v2.3.0
func (i GetDropletsSortArray) ToGetDropletsSortArrayOutput() GetDropletsSortArrayOutput
func (GetDropletsSortArray) ToGetDropletsSortArrayOutputWithContext ¶ added in v2.3.0
func (i GetDropletsSortArray) ToGetDropletsSortArrayOutputWithContext(ctx context.Context) GetDropletsSortArrayOutput
type GetDropletsSortArrayInput ¶ added in v2.3.0
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 ¶ added in v2.3.0
type GetDropletsSortArrayOutput struct{ *pulumi.OutputState }
func (GetDropletsSortArrayOutput) ElementType ¶ added in v2.3.0
func (GetDropletsSortArrayOutput) ElementType() reflect.Type
func (GetDropletsSortArrayOutput) Index ¶ added in v2.3.0
func (o GetDropletsSortArrayOutput) Index(i pulumi.IntInput) GetDropletsSortOutput
func (GetDropletsSortArrayOutput) ToGetDropletsSortArrayOutput ¶ added in v2.3.0
func (o GetDropletsSortArrayOutput) ToGetDropletsSortArrayOutput() GetDropletsSortArrayOutput
func (GetDropletsSortArrayOutput) ToGetDropletsSortArrayOutputWithContext ¶ added in v2.3.0
func (o GetDropletsSortArrayOutput) ToGetDropletsSortArrayOutputWithContext(ctx context.Context) GetDropletsSortArrayOutput
type GetDropletsSortInput ¶ added in v2.3.0
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 ¶ added in v2.3.0
type GetDropletsSortOutput struct{ *pulumi.OutputState }
func (GetDropletsSortOutput) Direction ¶ added in v2.3.0
func (o GetDropletsSortOutput) Direction() pulumi.StringPtrOutput
The sort direction. This may be either `asc` or `desc`.
func (GetDropletsSortOutput) ElementType ¶ added in v2.3.0
func (GetDropletsSortOutput) ElementType() reflect.Type
func (GetDropletsSortOutput) Key ¶ added in v2.3.0
func (o GetDropletsSortOutput) Key() pulumi.StringOutput
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 ¶ added in v2.3.0
func (o GetDropletsSortOutput) ToGetDropletsSortOutput() GetDropletsSortOutput
func (GetDropletsSortOutput) ToGetDropletsSortOutputWithContext ¶ added in v2.3.0
func (o GetDropletsSortOutput) ToGetDropletsSortOutputWithContext(ctx context.Context) GetDropletsSortOutput
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"` // 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 this 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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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 (o GetImagesFilterArrayOutput) Index(i pulumi.IntInput) GetImagesFilterOutput
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 ¶ added in v2.9.0
func (o GetImagesFilterOutput) All() pulumi.BoolPtrOutput
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 ¶
func (o GetImagesFilterOutput) Key() pulumi.StringOutput
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 ¶ added in v2.9.0
func (o GetImagesFilterOutput) MatchBy() pulumi.StringPtrOutput
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 ¶
func (o GetImagesFilterOutput) Values() pulumi.StringArrayOutput
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"` // 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"` // 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 (o GetImagesImageArrayOutput) Index(i pulumi.IntInput) GetImagesImageOutput
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 (o GetImagesImageOutput) Created() 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 (o GetImagesImageOutput) Id() pulumi.IntOutput
func (GetImagesImageOutput) Image ¶
func (o GetImagesImageOutput) Image() pulumi.StringOutput
The id of the image (legacy parameter).
func (GetImagesImageOutput) MinDiskSize ¶
func (o GetImagesImageOutput) MinDiskSize() pulumi.IntOutput
func (GetImagesImageOutput) Name ¶
func (o GetImagesImageOutput) Name() pulumi.StringOutput
func (GetImagesImageOutput) Private ¶
func (o GetImagesImageOutput) Private() pulumi.BoolOutput
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 (o GetImagesImageOutput) Regions() pulumi.StringArrayOutput
func (GetImagesImageOutput) SizeGigabytes ¶
func (o GetImagesImageOutput) SizeGigabytes() pulumi.Float64Output
func (GetImagesImageOutput) Slug ¶
func (o GetImagesImageOutput) Slug() pulumi.StringOutput
func (GetImagesImageOutput) Status ¶
func (o GetImagesImageOutput) Status() pulumi.StringOutput
func (GetImagesImageOutput) Tags ¶
func (o GetImagesImageOutput) Tags() pulumi.StringArrayOutput
func (GetImagesImageOutput) ToGetImagesImageOutput ¶
func (o GetImagesImageOutput) ToGetImagesImageOutput() GetImagesImageOutput
func (GetImagesImageOutput) ToGetImagesImageOutputWithContext ¶
func (o GetImagesImageOutput) ToGetImagesImageOutputWithContext(ctx context.Context) GetImagesImageOutput
func (GetImagesImageOutput) Type ¶
func (o GetImagesImageOutput) Type() pulumi.StringOutput
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 this provider or you need to utilize any of the image's data.
Note: You can use the `getImage` data source to obtain metadata about a single image if you already know the `slug`, unique `name`, or `id` to retrieve.
## Example Usage
Use the `filter` block with a `key` string and `values` list to filter images.
For example to find all Ubuntu images:
```go package main
import (
"github.com/pulumi/pulumi-digitalocean/sdk/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := digitalocean.GetImages(ctx, &digitalocean.GetImagesArgs{ Filters: []digitalocean.GetImagesFilter{ digitalocean.GetImagesFilter{ Key: "distribution", Values: []string{ "Ubuntu", }, }, }, }, nil) if err != nil { return err } return nil }) }
```
You can filter on multiple fields and sort the results as well:
```go package main
import (
"github.com/pulumi/pulumi-digitalocean/sdk/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := digitalocean.GetImages(ctx, &digitalocean.GetImagesArgs{ Filters: []digitalocean.GetImagesFilter{ digitalocean.GetImagesFilter{ Key: "distribution", Values: []string{ "Ubuntu", }, }, digitalocean.GetImagesFilter{ Key: "regions", Values: []string{ "nyc3", }, }, }, Sorts: []digitalocean.GetImagesSort{ digitalocean.GetImagesSort{ Direction: "desc", Key: "created", }, }, }, nil) if err != nil { return err } return nil }) }
```
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 (o GetImagesSortArrayOutput) Index(i pulumi.IntInput) GetImagesSortOutput
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 ¶
func (o GetImagesSortOutput) Direction() pulumi.StringPtrOutput
The sort direction. This may be either `asc` or `desc`.
func (GetImagesSortOutput) ElementType ¶
func (GetImagesSortOutput) ElementType() reflect.Type
func (GetImagesSortOutput) Key ¶
func (o GetImagesSortOutput) Key() pulumi.StringOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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 ¶
func (o GetKubernetesClusterKubeConfigOutput) ClientCertificate() pulumi.StringOutput
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 ¶
func (o GetKubernetesClusterKubeConfigOutput) ClientKey() pulumi.StringOutput
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) ElementType() reflect.Type
func (GetKubernetesClusterKubeConfigOutput) ExpiresAt ¶
func (o GetKubernetesClusterKubeConfigOutput) ExpiresAt() pulumi.StringOutput
The date and time when the credentials will expire and need to be regenerated.
func (GetKubernetesClusterKubeConfigOutput) Host ¶
func (o GetKubernetesClusterKubeConfigOutput) Host() pulumi.StringOutput
The URL of the API server on the Kubernetes master node.
func (GetKubernetesClusterKubeConfigOutput) RawConfig ¶
func (o GetKubernetesClusterKubeConfigOutput) RawConfig() pulumi.StringOutput
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 ¶
func (o GetKubernetesClusterKubeConfigOutput) Token() pulumi.StringOutput
The DigitalOcean API access token used by clients to access the cluster.
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"` }
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"` }
func (GetKubernetesClusterNodePoolArgs) ElementType ¶
func (GetKubernetesClusterNodePoolArgs) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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 ¶
func (o GetKubernetesClusterNodePoolNodeOutput) CreatedAt() pulumi.StringOutput
The date and time when the node was created.
func (GetKubernetesClusterNodePoolNodeOutput) DropletId ¶
func (o GetKubernetesClusterNodePoolNodeOutput) DropletId() pulumi.StringOutput
func (GetKubernetesClusterNodePoolNodeOutput) ElementType ¶
func (GetKubernetesClusterNodePoolNodeOutput) ElementType() reflect.Type
func (GetKubernetesClusterNodePoolNodeOutput) Id ¶
func (o GetKubernetesClusterNodePoolNodeOutput) Id() pulumi.StringOutput
A unique ID that can be used to identify and reference the node.
func (GetKubernetesClusterNodePoolNodeOutput) Name ¶
func (o GetKubernetesClusterNodePoolNodeOutput) Name() pulumi.StringOutput
The name of Kubernetes cluster.
func (GetKubernetesClusterNodePoolNodeOutput) Status ¶
func (o GetKubernetesClusterNodePoolNodeOutput) Status() pulumi.StringOutput
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 ¶
func (o GetKubernetesClusterNodePoolNodeOutput) UpdatedAt() pulumi.StringOutput
The date and time when the node was last updated.
type GetKubernetesClusterNodePoolOutput ¶
type GetKubernetesClusterNodePoolOutput struct{ *pulumi.OutputState }
func (GetKubernetesClusterNodePoolOutput) ActualNodeCount ¶
func (o GetKubernetesClusterNodePoolOutput) ActualNodeCount() pulumi.IntOutput
The actual number of nodes in the node pool, which is especially useful when auto-scaling is enabled.
func (GetKubernetesClusterNodePoolOutput) AutoScale ¶
func (o GetKubernetesClusterNodePoolOutput) AutoScale() pulumi.BoolOutput
A boolean indicating whether auto-scaling is enabled on the node pool.
func (GetKubernetesClusterNodePoolOutput) ElementType ¶
func (GetKubernetesClusterNodePoolOutput) ElementType() reflect.Type
func (GetKubernetesClusterNodePoolOutput) Id ¶
func (o GetKubernetesClusterNodePoolOutput) Id() pulumi.StringOutput
A unique ID that can be used to identify and reference the node.
func (GetKubernetesClusterNodePoolOutput) Labels ¶
func (o GetKubernetesClusterNodePoolOutput) Labels() pulumi.StringMapOutput
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 ¶
func (o GetKubernetesClusterNodePoolOutput) MaxNodes() pulumi.IntOutput
If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
func (GetKubernetesClusterNodePoolOutput) MinNodes ¶
func (o GetKubernetesClusterNodePoolOutput) MinNodes() pulumi.IntOutput
If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.
func (GetKubernetesClusterNodePoolOutput) Name ¶
func (o GetKubernetesClusterNodePoolOutput) Name() pulumi.StringOutput
The name of Kubernetes cluster.
func (GetKubernetesClusterNodePoolOutput) NodeCount ¶
func (o GetKubernetesClusterNodePoolOutput) NodeCount() pulumi.IntOutput
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 ¶
func (o GetKubernetesClusterNodePoolOutput) Size() pulumi.StringOutput
The slug identifier for the type of Droplet used as workers in the node pool.
func (GetKubernetesClusterNodePoolOutput) Tags ¶
func (o GetKubernetesClusterNodePoolOutput) Tags() pulumi.StringArrayOutput
A list of tag names applied to the node pool.
func (GetKubernetesClusterNodePoolOutput) ToGetKubernetesClusterNodePoolOutput ¶
func (o GetKubernetesClusterNodePoolOutput) ToGetKubernetesClusterNodePoolOutput() GetKubernetesClusterNodePoolOutput
func (GetKubernetesClusterNodePoolOutput) ToGetKubernetesClusterNodePoolOutputWithContext ¶
func (o GetKubernetesClusterNodePoolOutput) ToGetKubernetesClusterNodePoolOutputWithContext(ctx context.Context) GetKubernetesClusterNodePoolOutput
type GetKubernetesVersionsArgs ¶
type GetKubernetesVersionsArgs struct { // If provided, this 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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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"` 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"` 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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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 (o GetLoadBalancerForwardingRuleOutput) CertificateId() pulumi.StringOutput
func (GetLoadBalancerForwardingRuleOutput) ElementType ¶
func (GetLoadBalancerForwardingRuleOutput) ElementType() reflect.Type
func (GetLoadBalancerForwardingRuleOutput) EntryPort ¶
func (o GetLoadBalancerForwardingRuleOutput) EntryPort() pulumi.IntOutput
func (GetLoadBalancerForwardingRuleOutput) EntryProtocol ¶
func (o GetLoadBalancerForwardingRuleOutput) EntryProtocol() pulumi.StringOutput
func (GetLoadBalancerForwardingRuleOutput) TargetPort ¶
func (o GetLoadBalancerForwardingRuleOutput) TargetPort() pulumi.IntOutput
func (GetLoadBalancerForwardingRuleOutput) TargetProtocol ¶
func (o GetLoadBalancerForwardingRuleOutput) TargetProtocol() pulumi.StringOutput
func (GetLoadBalancerForwardingRuleOutput) TlsPassthrough ¶
func (o GetLoadBalancerForwardingRuleOutput) TlsPassthrough() pulumi.BoolOutput
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) ElementType() reflect.Type
func (GetLoadBalancerHealthcheckArgs) ToGetLoadBalancerHealthcheckOutput ¶
func (i GetLoadBalancerHealthcheckArgs) ToGetLoadBalancerHealthcheckOutput() GetLoadBalancerHealthcheckOutput
func (GetLoadBalancerHealthcheckArgs) ToGetLoadBalancerHealthcheckOutputWithContext ¶
func (i GetLoadBalancerHealthcheckArgs) ToGetLoadBalancerHealthcheckOutputWithContext(ctx context.Context) GetLoadBalancerHealthcheckOutput
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) ElementType() reflect.Type
func (GetLoadBalancerHealthcheckOutput) HealthyThreshold ¶
func (o GetLoadBalancerHealthcheckOutput) HealthyThreshold() pulumi.IntOutput
func (GetLoadBalancerHealthcheckOutput) Path ¶
func (o GetLoadBalancerHealthcheckOutput) Path() pulumi.StringOutput
func (GetLoadBalancerHealthcheckOutput) Port ¶
func (o GetLoadBalancerHealthcheckOutput) Port() pulumi.IntOutput
func (GetLoadBalancerHealthcheckOutput) Protocol ¶
func (o GetLoadBalancerHealthcheckOutput) Protocol() pulumi.StringOutput
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 GetLoadBalancerStickySessionsArgs ¶
type GetLoadBalancerStickySessionsArgs struct { CookieName pulumi.StringInput `pulumi:"cookieName"` CookieTtlSeconds pulumi.IntInput `pulumi:"cookieTtlSeconds"` Type pulumi.StringInput `pulumi:"type"` }
func (GetLoadBalancerStickySessionsArgs) ElementType ¶
func (GetLoadBalancerStickySessionsArgs) ElementType() reflect.Type
func (GetLoadBalancerStickySessionsArgs) ToGetLoadBalancerStickySessionsOutput ¶
func (i GetLoadBalancerStickySessionsArgs) ToGetLoadBalancerStickySessionsOutput() GetLoadBalancerStickySessionsOutput
func (GetLoadBalancerStickySessionsArgs) ToGetLoadBalancerStickySessionsOutputWithContext ¶
func (i GetLoadBalancerStickySessionsArgs) ToGetLoadBalancerStickySessionsOutputWithContext(ctx context.Context) GetLoadBalancerStickySessionsOutput
type GetLoadBalancerStickySessionsInput ¶
type GetLoadBalancerStickySessionsInput interface { pulumi.Input ToGetLoadBalancerStickySessionsOutput() GetLoadBalancerStickySessionsOutput ToGetLoadBalancerStickySessionsOutputWithContext(context.Context) GetLoadBalancerStickySessionsOutput }
GetLoadBalancerStickySessionsInput is an input type that accepts GetLoadBalancerStickySessionsArgs and GetLoadBalancerStickySessionsOutput values. You can construct a concrete instance of `GetLoadBalancerStickySessionsInput` via:
GetLoadBalancerStickySessionsArgs{...}
type GetLoadBalancerStickySessionsOutput ¶
type GetLoadBalancerStickySessionsOutput struct{ *pulumi.OutputState }
func (GetLoadBalancerStickySessionsOutput) CookieName ¶
func (o GetLoadBalancerStickySessionsOutput) CookieName() pulumi.StringOutput
func (GetLoadBalancerStickySessionsOutput) CookieTtlSeconds ¶
func (o GetLoadBalancerStickySessionsOutput) CookieTtlSeconds() pulumi.IntOutput
func (GetLoadBalancerStickySessionsOutput) ElementType ¶
func (GetLoadBalancerStickySessionsOutput) ElementType() reflect.Type
func (GetLoadBalancerStickySessionsOutput) ToGetLoadBalancerStickySessionsOutput ¶
func (o GetLoadBalancerStickySessionsOutput) ToGetLoadBalancerStickySessionsOutput() GetLoadBalancerStickySessionsOutput
func (GetLoadBalancerStickySessionsOutput) ToGetLoadBalancerStickySessionsOutputWithContext ¶
func (o GetLoadBalancerStickySessionsOutput) ToGetLoadBalancerStickySessionsOutputWithContext(ctx context.Context) GetLoadBalancerStickySessionsOutput
func (GetLoadBalancerStickySessionsOutput) Type ¶
func (o GetLoadBalancerStickySessionsOutput) Type() pulumi.StringOutput
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) ElementType() reflect.Type
func (GetProjectsFilterArrayOutput) Index ¶
func (o GetProjectsFilterArrayOutput) Index(i pulumi.IntInput) GetProjectsFilterOutput
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 ¶ added in v2.9.0
func (o GetProjectsFilterOutput) All() pulumi.BoolPtrOutput
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 ¶
func (o GetProjectsFilterOutput) Key() pulumi.StringOutput
Filter the projects by this key. This may be one of `name`, `purpose`, `description`, `environment`, or `isDefault`.
func (GetProjectsFilterOutput) MatchBy ¶ added in v2.9.0
func (o GetProjectsFilterOutput) MatchBy() pulumi.StringPtrOutput
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 ¶
func (o GetProjectsFilterOutput) Values() pulumi.StringArrayOutput
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) ElementType() reflect.Type
func (GetProjectsProjectArrayOutput) Index ¶
func (o GetProjectsProjectArrayOutput) Index(i pulumi.IntInput) GetProjectsProjectOutput
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 ¶
func (o GetProjectsProjectOutput) CreatedAt() pulumi.StringOutput
The date and time when the project was created, (ISO8601)
func (GetProjectsProjectOutput) Description ¶
func (o GetProjectsProjectOutput) Description() pulumi.StringOutput
The description of the project
func (GetProjectsProjectOutput) ElementType ¶
func (GetProjectsProjectOutput) ElementType() reflect.Type
func (GetProjectsProjectOutput) Environment ¶
func (o GetProjectsProjectOutput) Environment() pulumi.StringOutput
The environment of the project's resources. The possible values are: `Development`, `Staging`, `Production`.
func (GetProjectsProjectOutput) Id ¶
func (o GetProjectsProjectOutput) Id() pulumi.StringOutput
The ID of the project
func (GetProjectsProjectOutput) IsDefault ¶
func (o GetProjectsProjectOutput) IsDefault() pulumi.BoolOutput
func (GetProjectsProjectOutput) Name ¶
func (o GetProjectsProjectOutput) Name() pulumi.StringOutput
The name of the project
func (GetProjectsProjectOutput) OwnerId ¶
func (o GetProjectsProjectOutput) OwnerId() pulumi.IntOutput
The ID of the project owner
func (GetProjectsProjectOutput) OwnerUuid ¶
func (o GetProjectsProjectOutput) OwnerUuid() pulumi.StringOutput
The unique universal identifier of the project owner
func (GetProjectsProjectOutput) Purpose ¶
func (o GetProjectsProjectOutput) Purpose() pulumi.StringOutput
The purpose of the project (Default: "Web Application")
func (GetProjectsProjectOutput) Resources ¶
func (o GetProjectsProjectOutput) Resources() pulumi.StringArrayOutput
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 ¶
func (o GetProjectsProjectOutput) UpdatedAt() pulumi.StringOutput
The date and time when the project was last updated, (ISO8601)
type GetProjectsResult ¶
type GetProjectsResult struct { Filters []GetProjectsFilter `pulumi:"filters"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A set of projects satisfying any `filter` and `sort` criteria. Each project has // the following attributes: Projects []GetProjectsProject `pulumi:"projects"` Sorts []GetProjectsSort `pulumi:"sorts"` }
A collection of values returned by getProjects.
func GetProjects ¶
func GetProjects(ctx *pulumi.Context, args *GetProjectsArgs, opts ...pulumi.InvokeOption) (*GetProjectsResult, error)
Retrieve information about all DigitalOcean projects associated with an account, with the ability to filter and sort the results. If no filters are specified, all projects will be returned.
Note: You can use the `Project` data source to obtain metadata about a single project if you already know the `id` to retrieve or the unique `name` of the project.
## Example Usage
Use the `filter` block with a `key` string and `values` list to filter projects.
For example to find all staging environment projects:
```go package main
import (
"github.com/pulumi/pulumi-digitalocean/sdk/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := digitalocean.GetProjects(ctx, &digitalocean.GetProjectsArgs{ Filters: []digitalocean.GetProjectsFilter{ digitalocean.GetProjectsFilter{ Key: "environment", Values: []string{ "Staging", }, }, }, }, nil) if err != nil { return err } return nil }) }
```
You can filter on multiple fields and sort the results as well:
```go package main
import (
"github.com/pulumi/pulumi-digitalocean/sdk/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := digitalocean.GetProjects(ctx, &digitalocean.GetProjectsArgs{ Filters: []digitalocean.GetProjectsFilter{ digitalocean.GetProjectsFilter{ Key: "environment", Values: []string{ "Production", }, }, digitalocean.GetProjectsFilter{ Key: "is_default", Values: []string{ "false", }, }, }, Sorts: []digitalocean.GetProjectsSort{ digitalocean.GetProjectsSort{ Direction: "asc", Key: "name", }, }, }, nil) if err != nil { return err } return nil }) }
```
type GetProjectsSort ¶
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 (o GetProjectsSortArrayOutput) Index(i pulumi.IntInput) GetProjectsSortOutput
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 ¶
func (o GetProjectsSortOutput) Direction() pulumi.StringPtrOutput
The sort direction. This may be either `asc` or `desc`.
func (GetProjectsSortOutput) ElementType ¶
func (GetProjectsSortOutput) ElementType() reflect.Type
func (GetProjectsSortOutput) Key ¶
func (o GetProjectsSortOutput) Key() pulumi.StringOutput
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 this provider.
An error is triggered if the provided domain name or record are not managed with your DigitalOcean account.
## Example Usage
Get data from a DNS record:
```go package main
import (
"github.com/pulumi/pulumi-digitalocean/sdk/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := digitalocean.GetRecord(ctx, &digitalocean.GetRecordArgs{ Domain: "example.com", Name: "test", }, nil) if err != nil { return err } ctx.Export("recordType", example.Type) ctx.Export("recordTtl", example.Ttl) return nil }) }
```
type 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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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) ElementType() reflect.Type
func (GetRegionsFilterArrayOutput) Index ¶
func (o GetRegionsFilterArrayOutput) Index(i pulumi.IntInput) GetRegionsFilterOutput
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 ¶ added in v2.9.0
func (o GetRegionsFilterOutput) All() pulumi.BoolPtrOutput
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 ¶
func (o GetRegionsFilterOutput) Key() pulumi.StringOutput
Filter the regions by this key. This may be one of `slug`, `name`, `available`, `features`, or `sizes`.
func (GetRegionsFilterOutput) MatchBy ¶ added in v2.9.0
func (o GetRegionsFilterOutput) MatchBy() pulumi.StringPtrOutput
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 ¶
func (o GetRegionsFilterOutput) Values() pulumi.StringArrayOutput
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) ElementType() reflect.Type
func (GetRegionsRegionArrayOutput) Index ¶
func (o GetRegionsRegionArrayOutput) Index(i pulumi.IntInput) GetRegionsRegionOutput
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 ¶
func (o GetRegionsRegionOutput) Available() pulumi.BoolOutput
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 ¶
func (o GetRegionsRegionOutput) Features() pulumi.StringArrayOutput
A set of features available in this region.
func (GetRegionsRegionOutput) Name ¶
func (o GetRegionsRegionOutput) Name() pulumi.StringOutput
The display name of the region.
func (GetRegionsRegionOutput) Sizes ¶
func (o GetRegionsRegionOutput) Sizes() pulumi.StringArrayOutput
A set of identifying slugs for the Droplet sizes available in this region.
func (GetRegionsRegionOutput) Slug ¶
func (o GetRegionsRegionOutput) Slug() pulumi.StringOutput
A human-readable string that is used as a unique identifier for each region.
func (GetRegionsRegionOutput) ToGetRegionsRegionOutput ¶
func (o GetRegionsRegionOutput) ToGetRegionsRegionOutput() GetRegionsRegionOutput
func (GetRegionsRegionOutput) ToGetRegionsRegionOutputWithContext ¶
func (o GetRegionsRegionOutput) ToGetRegionsRegionOutputWithContext(ctx context.Context) GetRegionsRegionOutput
type GetRegionsResult ¶
type GetRegionsResult struct { Filters []GetRegionsFilter `pulumi:"filters"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A set of regions satisfying any `filter` and `sort` criteria. Each region has the following attributes: Regions []GetRegionsRegion `pulumi:"regions"` Sorts []GetRegionsSort `pulumi:"sorts"` }
A collection of values returned by getRegions.
func GetRegions ¶
func GetRegions(ctx *pulumi.Context, args *GetRegionsArgs, opts ...pulumi.InvokeOption) (*GetRegionsResult, error)
Retrieve information about all supported DigitalOcean regions, with the ability to filter and sort the results. If no filters are specified, all regions will be returned.
Note: You can use the `getRegion` data source to obtain metadata about a single region if you already know the `slug` to retrieve.
## Example Usage
Use the `filter` block with a `key` string and `values` list to filter regions.
For example to find all available regions:
```go package main
import (
"github.com/pulumi/pulumi-digitalocean/sdk/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := digitalocean.GetRegions(ctx, &digitalocean.GetRegionsArgs{ Filters: []digitalocean.GetRegionsFilter{ digitalocean.GetRegionsFilter{ Key: "available", Values: []string{ "true", }, }, }, }, nil) if err != nil { return err } return nil }) }
```
You can filter on multiple fields and sort the results as well:
```go package main
import (
"github.com/pulumi/pulumi-digitalocean/sdk/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := digitalocean.GetRegions(ctx, &digitalocean.GetRegionsArgs{ Filters: []digitalocean.GetRegionsFilter{ digitalocean.GetRegionsFilter{ Key: "available", Values: []string{ "true", }, }, digitalocean.GetRegionsFilter{ Key: "features", Values: []string{ "private_networking", }, }, }, Sorts: []digitalocean.GetRegionsSort{ digitalocean.GetRegionsSort{ Direction: "desc", Key: "name", }, }, }, nil) if err != nil { return err } return nil }) }
```
type GetRegionsSort ¶
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 (o GetRegionsSortArrayOutput) Index(i pulumi.IntInput) GetRegionsSortOutput
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 ¶
func (o GetRegionsSortOutput) Direction() pulumi.StringPtrOutput
The sort direction. This may be either `asc` or `desc`.
func (GetRegionsSortOutput) ElementType ¶
func (GetRegionsSortOutput) ElementType() reflect.Type
func (GetRegionsSortOutput) Key ¶
func (o GetRegionsSortOutput) Key() pulumi.StringOutput
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 (o GetSizesFilterArrayOutput) Index(i pulumi.IntInput) GetSizesFilterOutput
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 ¶ added in v2.9.0
func (o GetSizesFilterOutput) All() pulumi.BoolPtrOutput
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 ¶
func (o GetSizesFilterOutput) Key() pulumi.StringOutput
Filter the sizes by this key. This may be one of `slug`, `regions`, `memory`, `vcpus`, `disk`, `transfer`, `priceMonthly`, `priceHourly`, or `available`.
func (GetSizesFilterOutput) MatchBy ¶ added in v2.9.0
func (o GetSizesFilterOutput) MatchBy() pulumi.StringPtrOutput
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 ¶
func (o GetSizesFilterOutput) Values() pulumi.StringArrayOutput
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 (o GetSizesSizeArrayOutput) Index(i pulumi.IntInput) GetSizesSizeOutput
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 ¶
func (o GetSizesSizeOutput) Disk() pulumi.IntOutput
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 ¶
func (o GetSizesSizeOutput) Regions() pulumi.StringArrayOutput
List of region slugs where Droplets can be created in this size.
func (GetSizesSizeOutput) Slug ¶
func (o GetSizesSizeOutput) Slug() pulumi.StringOutput
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 ¶
func (o GetSizesSizeOutput) Transfer() pulumi.Float64Output
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 ¶
func (o GetSizesSizeOutput) Vcpus() pulumi.IntOutput
The number of CPUs allocated to Droplets of this size.
type GetSizesSort ¶
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 (o GetSizesSortArrayOutput) Index(i pulumi.IntInput) GetSizesSortOutput
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 ¶
func (o GetSizesSortOutput) Direction() pulumi.StringPtrOutput
The sort direction. This may be either `asc` or `desc`.
func (GetSizesSortOutput) ElementType ¶
func (GetSizesSortOutput) ElementType() reflect.Type
func (GetSizesSortOutput) Key ¶
func (o GetSizesSortOutput) Key() pulumi.StringOutput
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 ¶ added in v2.3.0
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 ¶ added in v2.3.0
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 ¶ added in v2.3.0
func GetSpacesBucketObjects(ctx *pulumi.Context, args *GetSpacesBucketObjectsArgs, opts ...pulumi.InvokeOption) (*GetSpacesBucketObjectsResult, error)
> **NOTE on `maxKeys`:** Retrieving very large numbers of keys can adversely affect this 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 ¶ added in v2.3.0
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 ¶ added in v2.3.0
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 ¶ added in v2.3.0
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 ¶ added in v2.3.0
func (GetSpacesBucketsBucketArgs) ElementType() reflect.Type
func (GetSpacesBucketsBucketArgs) ToGetSpacesBucketsBucketOutput ¶ added in v2.3.0
func (i GetSpacesBucketsBucketArgs) ToGetSpacesBucketsBucketOutput() GetSpacesBucketsBucketOutput
func (GetSpacesBucketsBucketArgs) ToGetSpacesBucketsBucketOutputWithContext ¶ added in v2.3.0
func (i GetSpacesBucketsBucketArgs) ToGetSpacesBucketsBucketOutputWithContext(ctx context.Context) GetSpacesBucketsBucketOutput
type GetSpacesBucketsBucketArray ¶ added in v2.3.0
type GetSpacesBucketsBucketArray []GetSpacesBucketsBucketInput
func (GetSpacesBucketsBucketArray) ElementType ¶ added in v2.3.0
func (GetSpacesBucketsBucketArray) ElementType() reflect.Type
func (GetSpacesBucketsBucketArray) ToGetSpacesBucketsBucketArrayOutput ¶ added in v2.3.0
func (i GetSpacesBucketsBucketArray) ToGetSpacesBucketsBucketArrayOutput() GetSpacesBucketsBucketArrayOutput
func (GetSpacesBucketsBucketArray) ToGetSpacesBucketsBucketArrayOutputWithContext ¶ added in v2.3.0
func (i GetSpacesBucketsBucketArray) ToGetSpacesBucketsBucketArrayOutputWithContext(ctx context.Context) GetSpacesBucketsBucketArrayOutput
type GetSpacesBucketsBucketArrayInput ¶ added in v2.3.0
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 ¶ added in v2.3.0
type GetSpacesBucketsBucketArrayOutput struct{ *pulumi.OutputState }
func (GetSpacesBucketsBucketArrayOutput) ElementType ¶ added in v2.3.0
func (GetSpacesBucketsBucketArrayOutput) ElementType() reflect.Type
func (GetSpacesBucketsBucketArrayOutput) Index ¶ added in v2.3.0
func (o GetSpacesBucketsBucketArrayOutput) Index(i pulumi.IntInput) GetSpacesBucketsBucketOutput
func (GetSpacesBucketsBucketArrayOutput) ToGetSpacesBucketsBucketArrayOutput ¶ added in v2.3.0
func (o GetSpacesBucketsBucketArrayOutput) ToGetSpacesBucketsBucketArrayOutput() GetSpacesBucketsBucketArrayOutput
func (GetSpacesBucketsBucketArrayOutput) ToGetSpacesBucketsBucketArrayOutputWithContext ¶ added in v2.3.0
func (o GetSpacesBucketsBucketArrayOutput) ToGetSpacesBucketsBucketArrayOutputWithContext(ctx context.Context) GetSpacesBucketsBucketArrayOutput
type GetSpacesBucketsBucketInput ¶ added in v2.3.0
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 ¶ added in v2.3.0
type GetSpacesBucketsBucketOutput struct{ *pulumi.OutputState }
func (GetSpacesBucketsBucketOutput) BucketDomainName ¶ added in v2.3.0
func (o GetSpacesBucketsBucketOutput) BucketDomainName() pulumi.StringOutput
The FQDN of the bucket (e.g. bucket-name.nyc3.digitaloceanspaces.com)
func (GetSpacesBucketsBucketOutput) ElementType ¶ added in v2.3.0
func (GetSpacesBucketsBucketOutput) ElementType() reflect.Type
func (GetSpacesBucketsBucketOutput) Name ¶ added in v2.3.0
func (o GetSpacesBucketsBucketOutput) Name() pulumi.StringOutput
The name of the Spaces bucket
func (GetSpacesBucketsBucketOutput) Region ¶ added in v2.3.0
func (o GetSpacesBucketsBucketOutput) Region() pulumi.StringOutput
The slug of the region where the bucket is stored.
func (GetSpacesBucketsBucketOutput) ToGetSpacesBucketsBucketOutput ¶ added in v2.3.0
func (o GetSpacesBucketsBucketOutput) ToGetSpacesBucketsBucketOutput() GetSpacesBucketsBucketOutput
func (GetSpacesBucketsBucketOutput) ToGetSpacesBucketsBucketOutputWithContext ¶ added in v2.3.0
func (o GetSpacesBucketsBucketOutput) ToGetSpacesBucketsBucketOutputWithContext(ctx context.Context) GetSpacesBucketsBucketOutput
func (GetSpacesBucketsBucketOutput) Urn ¶ added in v2.3.0
func (o GetSpacesBucketsBucketOutput) Urn() pulumi.StringOutput
The uniform resource name of the bucket
type GetSpacesBucketsFilter ¶ added in v2.3.0
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 ¶ added in v2.3.0
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 ¶ added in v2.3.0
func (GetSpacesBucketsFilterArgs) ElementType() reflect.Type
func (GetSpacesBucketsFilterArgs) ToGetSpacesBucketsFilterOutput ¶ added in v2.3.0
func (i GetSpacesBucketsFilterArgs) ToGetSpacesBucketsFilterOutput() GetSpacesBucketsFilterOutput
func (GetSpacesBucketsFilterArgs) ToGetSpacesBucketsFilterOutputWithContext ¶ added in v2.3.0
func (i GetSpacesBucketsFilterArgs) ToGetSpacesBucketsFilterOutputWithContext(ctx context.Context) GetSpacesBucketsFilterOutput
type GetSpacesBucketsFilterArray ¶ added in v2.3.0
type GetSpacesBucketsFilterArray []GetSpacesBucketsFilterInput
func (GetSpacesBucketsFilterArray) ElementType ¶ added in v2.3.0
func (GetSpacesBucketsFilterArray) ElementType() reflect.Type
func (GetSpacesBucketsFilterArray) ToGetSpacesBucketsFilterArrayOutput ¶ added in v2.3.0
func (i GetSpacesBucketsFilterArray) ToGetSpacesBucketsFilterArrayOutput() GetSpacesBucketsFilterArrayOutput
func (GetSpacesBucketsFilterArray) ToGetSpacesBucketsFilterArrayOutputWithContext ¶ added in v2.3.0
func (i GetSpacesBucketsFilterArray) ToGetSpacesBucketsFilterArrayOutputWithContext(ctx context.Context) GetSpacesBucketsFilterArrayOutput
type GetSpacesBucketsFilterArrayInput ¶ added in v2.3.0
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 ¶ added in v2.3.0
type GetSpacesBucketsFilterArrayOutput struct{ *pulumi.OutputState }
func (GetSpacesBucketsFilterArrayOutput) ElementType ¶ added in v2.3.0
func (GetSpacesBucketsFilterArrayOutput) ElementType() reflect.Type
func (GetSpacesBucketsFilterArrayOutput) Index ¶ added in v2.3.0
func (o GetSpacesBucketsFilterArrayOutput) Index(i pulumi.IntInput) GetSpacesBucketsFilterOutput
func (GetSpacesBucketsFilterArrayOutput) ToGetSpacesBucketsFilterArrayOutput ¶ added in v2.3.0
func (o GetSpacesBucketsFilterArrayOutput) ToGetSpacesBucketsFilterArrayOutput() GetSpacesBucketsFilterArrayOutput
func (GetSpacesBucketsFilterArrayOutput) ToGetSpacesBucketsFilterArrayOutputWithContext ¶ added in v2.3.0
func (o GetSpacesBucketsFilterArrayOutput) ToGetSpacesBucketsFilterArrayOutputWithContext(ctx context.Context) GetSpacesBucketsFilterArrayOutput
type GetSpacesBucketsFilterInput ¶ added in v2.3.0
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 ¶ added in v2.3.0
type GetSpacesBucketsFilterOutput struct{ *pulumi.OutputState }
func (GetSpacesBucketsFilterOutput) All ¶ added in v2.9.0
func (o GetSpacesBucketsFilterOutput) All() pulumi.BoolPtrOutput
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 ¶ added in v2.3.0
func (GetSpacesBucketsFilterOutput) ElementType() reflect.Type
func (GetSpacesBucketsFilterOutput) Key ¶ added in v2.3.0
func (o GetSpacesBucketsFilterOutput) Key() pulumi.StringOutput
Filter the images by this key. This may be one of `bucketDomainName`, `name`, `region`, or `urn`.
func (GetSpacesBucketsFilterOutput) MatchBy ¶ added in v2.9.0
func (o GetSpacesBucketsFilterOutput) MatchBy() pulumi.StringPtrOutput
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 ¶ added in v2.3.0
func (o GetSpacesBucketsFilterOutput) ToGetSpacesBucketsFilterOutput() GetSpacesBucketsFilterOutput
func (GetSpacesBucketsFilterOutput) ToGetSpacesBucketsFilterOutputWithContext ¶ added in v2.3.0
func (o GetSpacesBucketsFilterOutput) ToGetSpacesBucketsFilterOutputWithContext(ctx context.Context) GetSpacesBucketsFilterOutput
func (GetSpacesBucketsFilterOutput) Values ¶ added in v2.3.0
func (o GetSpacesBucketsFilterOutput) Values() pulumi.StringArrayOutput
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 ¶ added in v2.3.0
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 ¶ added in v2.3.0
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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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 ¶ added in v2.3.0
type GetSpacesBucketsSortArgs ¶ added in v2.3.0
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 ¶ added in v2.3.0
func (GetSpacesBucketsSortArgs) ElementType() reflect.Type
func (GetSpacesBucketsSortArgs) ToGetSpacesBucketsSortOutput ¶ added in v2.3.0
func (i GetSpacesBucketsSortArgs) ToGetSpacesBucketsSortOutput() GetSpacesBucketsSortOutput
func (GetSpacesBucketsSortArgs) ToGetSpacesBucketsSortOutputWithContext ¶ added in v2.3.0
func (i GetSpacesBucketsSortArgs) ToGetSpacesBucketsSortOutputWithContext(ctx context.Context) GetSpacesBucketsSortOutput
type GetSpacesBucketsSortArray ¶ added in v2.3.0
type GetSpacesBucketsSortArray []GetSpacesBucketsSortInput
func (GetSpacesBucketsSortArray) ElementType ¶ added in v2.3.0
func (GetSpacesBucketsSortArray) ElementType() reflect.Type
func (GetSpacesBucketsSortArray) ToGetSpacesBucketsSortArrayOutput ¶ added in v2.3.0
func (i GetSpacesBucketsSortArray) ToGetSpacesBucketsSortArrayOutput() GetSpacesBucketsSortArrayOutput
func (GetSpacesBucketsSortArray) ToGetSpacesBucketsSortArrayOutputWithContext ¶ added in v2.3.0
func (i GetSpacesBucketsSortArray) ToGetSpacesBucketsSortArrayOutputWithContext(ctx context.Context) GetSpacesBucketsSortArrayOutput
type GetSpacesBucketsSortArrayInput ¶ added in v2.3.0
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 ¶ added in v2.3.0
type GetSpacesBucketsSortArrayOutput struct{ *pulumi.OutputState }
func (GetSpacesBucketsSortArrayOutput) ElementType ¶ added in v2.3.0
func (GetSpacesBucketsSortArrayOutput) ElementType() reflect.Type
func (GetSpacesBucketsSortArrayOutput) Index ¶ added in v2.3.0
func (o GetSpacesBucketsSortArrayOutput) Index(i pulumi.IntInput) GetSpacesBucketsSortOutput
func (GetSpacesBucketsSortArrayOutput) ToGetSpacesBucketsSortArrayOutput ¶ added in v2.3.0
func (o GetSpacesBucketsSortArrayOutput) ToGetSpacesBucketsSortArrayOutput() GetSpacesBucketsSortArrayOutput
func (GetSpacesBucketsSortArrayOutput) ToGetSpacesBucketsSortArrayOutputWithContext ¶ added in v2.3.0
func (o GetSpacesBucketsSortArrayOutput) ToGetSpacesBucketsSortArrayOutputWithContext(ctx context.Context) GetSpacesBucketsSortArrayOutput
type GetSpacesBucketsSortInput ¶ added in v2.3.0
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 ¶ added in v2.3.0
type GetSpacesBucketsSortOutput struct{ *pulumi.OutputState }
func (GetSpacesBucketsSortOutput) Direction ¶ added in v2.3.0
func (o GetSpacesBucketsSortOutput) Direction() pulumi.StringPtrOutput
The sort direction. This may be either `asc` or `desc`.
func (GetSpacesBucketsSortOutput) ElementType ¶ added in v2.3.0
func (GetSpacesBucketsSortOutput) ElementType() reflect.Type
func (GetSpacesBucketsSortOutput) Key ¶ added in v2.3.0
func (o GetSpacesBucketsSortOutput) Key() pulumi.StringOutput
Sort the images by this key. This may be one of `bucketDomainName`, `name`, `region`, or `urn`.
func (GetSpacesBucketsSortOutput) ToGetSpacesBucketsSortOutput ¶ added in v2.3.0
func (o GetSpacesBucketsSortOutput) ToGetSpacesBucketsSortOutput() GetSpacesBucketsSortOutput
func (GetSpacesBucketsSortOutput) ToGetSpacesBucketsSortOutputWithContext ¶ added in v2.3.0
func (o GetSpacesBucketsSortOutput) ToGetSpacesBucketsSortOutputWithContext(ctx context.Context) GetSpacesBucketsSortOutput
type GetTagsArgs ¶ added in v2.6.0
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 ¶ added in v2.6.0
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 ¶ added in v2.6.0
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 ¶ added in v2.6.0
func (GetTagsFilterArgs) ElementType() reflect.Type
func (GetTagsFilterArgs) ToGetTagsFilterOutput ¶ added in v2.6.0
func (i GetTagsFilterArgs) ToGetTagsFilterOutput() GetTagsFilterOutput
func (GetTagsFilterArgs) ToGetTagsFilterOutputWithContext ¶ added in v2.6.0
func (i GetTagsFilterArgs) ToGetTagsFilterOutputWithContext(ctx context.Context) GetTagsFilterOutput
type GetTagsFilterArray ¶ added in v2.6.0
type GetTagsFilterArray []GetTagsFilterInput
func (GetTagsFilterArray) ElementType ¶ added in v2.6.0
func (GetTagsFilterArray) ElementType() reflect.Type
func (GetTagsFilterArray) ToGetTagsFilterArrayOutput ¶ added in v2.6.0
func (i GetTagsFilterArray) ToGetTagsFilterArrayOutput() GetTagsFilterArrayOutput
func (GetTagsFilterArray) ToGetTagsFilterArrayOutputWithContext ¶ added in v2.6.0
func (i GetTagsFilterArray) ToGetTagsFilterArrayOutputWithContext(ctx context.Context) GetTagsFilterArrayOutput
type GetTagsFilterArrayInput ¶ added in v2.6.0
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 ¶ added in v2.6.0
type GetTagsFilterArrayOutput struct{ *pulumi.OutputState }
func (GetTagsFilterArrayOutput) ElementType ¶ added in v2.6.0
func (GetTagsFilterArrayOutput) ElementType() reflect.Type
func (GetTagsFilterArrayOutput) Index ¶ added in v2.6.0
func (o GetTagsFilterArrayOutput) Index(i pulumi.IntInput) GetTagsFilterOutput
func (GetTagsFilterArrayOutput) ToGetTagsFilterArrayOutput ¶ added in v2.6.0
func (o GetTagsFilterArrayOutput) ToGetTagsFilterArrayOutput() GetTagsFilterArrayOutput
func (GetTagsFilterArrayOutput) ToGetTagsFilterArrayOutputWithContext ¶ added in v2.6.0
func (o GetTagsFilterArrayOutput) ToGetTagsFilterArrayOutputWithContext(ctx context.Context) GetTagsFilterArrayOutput
type GetTagsFilterInput ¶ added in v2.6.0
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 ¶ added in v2.6.0
type GetTagsFilterOutput struct{ *pulumi.OutputState }
func (GetTagsFilterOutput) All ¶ added in v2.9.0
func (o GetTagsFilterOutput) All() pulumi.BoolPtrOutput
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 ¶ added in v2.6.0
func (GetTagsFilterOutput) ElementType() reflect.Type
func (GetTagsFilterOutput) Key ¶ added in v2.6.0
func (o GetTagsFilterOutput) Key() pulumi.StringOutput
Filter the tags by this key. This may be one of `name`, `totalResourceCount`, `dropletsCount`, `imagesCount`, `volumesCount`, `volumeSnapshotsCount`, or `databasesCount`.
func (GetTagsFilterOutput) MatchBy ¶ added in v2.9.0
func (o GetTagsFilterOutput) MatchBy() pulumi.StringPtrOutput
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 ¶ added in v2.6.0
func (o GetTagsFilterOutput) ToGetTagsFilterOutput() GetTagsFilterOutput
func (GetTagsFilterOutput) ToGetTagsFilterOutputWithContext ¶ added in v2.6.0
func (o GetTagsFilterOutput) ToGetTagsFilterOutputWithContext(ctx context.Context) GetTagsFilterOutput
func (GetTagsFilterOutput) Values ¶ added in v2.6.0
func (o GetTagsFilterOutput) Values() pulumi.StringArrayOutput
Only retrieves tags which keys has value that matches one of the values provided here.
type GetTagsResult ¶ added in v2.6.0
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 ¶ added in v2.6.0
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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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 ¶ added in v2.6.0
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 ¶ added in v2.6.0
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 ¶ added in v2.6.0
func (GetTagsSortArgs) ElementType() reflect.Type
func (GetTagsSortArgs) ToGetTagsSortOutput ¶ added in v2.6.0
func (i GetTagsSortArgs) ToGetTagsSortOutput() GetTagsSortOutput
func (GetTagsSortArgs) ToGetTagsSortOutputWithContext ¶ added in v2.6.0
func (i GetTagsSortArgs) ToGetTagsSortOutputWithContext(ctx context.Context) GetTagsSortOutput
type GetTagsSortArray ¶ added in v2.6.0
type GetTagsSortArray []GetTagsSortInput
func (GetTagsSortArray) ElementType ¶ added in v2.6.0
func (GetTagsSortArray) ElementType() reflect.Type
func (GetTagsSortArray) ToGetTagsSortArrayOutput ¶ added in v2.6.0
func (i GetTagsSortArray) ToGetTagsSortArrayOutput() GetTagsSortArrayOutput
func (GetTagsSortArray) ToGetTagsSortArrayOutputWithContext ¶ added in v2.6.0
func (i GetTagsSortArray) ToGetTagsSortArrayOutputWithContext(ctx context.Context) GetTagsSortArrayOutput
type GetTagsSortArrayInput ¶ added in v2.6.0
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 ¶ added in v2.6.0
type GetTagsSortArrayOutput struct{ *pulumi.OutputState }
func (GetTagsSortArrayOutput) ElementType ¶ added in v2.6.0
func (GetTagsSortArrayOutput) ElementType() reflect.Type
func (GetTagsSortArrayOutput) Index ¶ added in v2.6.0
func (o GetTagsSortArrayOutput) Index(i pulumi.IntInput) GetTagsSortOutput
func (GetTagsSortArrayOutput) ToGetTagsSortArrayOutput ¶ added in v2.6.0
func (o GetTagsSortArrayOutput) ToGetTagsSortArrayOutput() GetTagsSortArrayOutput
func (GetTagsSortArrayOutput) ToGetTagsSortArrayOutputWithContext ¶ added in v2.6.0
func (o GetTagsSortArrayOutput) ToGetTagsSortArrayOutputWithContext(ctx context.Context) GetTagsSortArrayOutput
type GetTagsSortInput ¶ added in v2.6.0
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 ¶ added in v2.6.0
type GetTagsSortOutput struct{ *pulumi.OutputState }
func (GetTagsSortOutput) Direction ¶ added in v2.6.0
func (o GetTagsSortOutput) Direction() pulumi.StringPtrOutput
The sort direction. This may be either `asc` or `desc`.
func (GetTagsSortOutput) ElementType ¶ added in v2.6.0
func (GetTagsSortOutput) ElementType() reflect.Type
func (GetTagsSortOutput) Key ¶ added in v2.6.0
func (o GetTagsSortOutput) Key() pulumi.StringOutput
Sort the tags by this key. This may be one of `name`, `totalResourceCount`, `dropletsCount`, `imagesCount`, `volumesCount`, `volumeSnapshotsCount`, or `databasesCount`.
func (GetTagsSortOutput) ToGetTagsSortOutput ¶ added in v2.6.0
func (o GetTagsSortOutput) ToGetTagsSortOutput() GetTagsSortOutput
func (GetTagsSortOutput) ToGetTagsSortOutputWithContext ¶ added in v2.6.0
func (o GetTagsSortOutput) ToGetTagsSortOutputWithContext(ctx context.Context) GetTagsSortOutput
type GetTagsTag ¶ added in v2.6.0
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 ¶ added in v2.6.0
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 ¶ added in v2.6.0
func (GetTagsTagArgs) ElementType() reflect.Type
func (GetTagsTagArgs) ToGetTagsTagOutput ¶ added in v2.6.0
func (i GetTagsTagArgs) ToGetTagsTagOutput() GetTagsTagOutput
func (GetTagsTagArgs) ToGetTagsTagOutputWithContext ¶ added in v2.6.0
func (i GetTagsTagArgs) ToGetTagsTagOutputWithContext(ctx context.Context) GetTagsTagOutput
type GetTagsTagArray ¶ added in v2.6.0
type GetTagsTagArray []GetTagsTagInput
func (GetTagsTagArray) ElementType ¶ added in v2.6.0
func (GetTagsTagArray) ElementType() reflect.Type
func (GetTagsTagArray) ToGetTagsTagArrayOutput ¶ added in v2.6.0
func (i GetTagsTagArray) ToGetTagsTagArrayOutput() GetTagsTagArrayOutput
func (GetTagsTagArray) ToGetTagsTagArrayOutputWithContext ¶ added in v2.6.0
func (i GetTagsTagArray) ToGetTagsTagArrayOutputWithContext(ctx context.Context) GetTagsTagArrayOutput
type GetTagsTagArrayInput ¶ added in v2.6.0
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 ¶ added in v2.6.0
type GetTagsTagArrayOutput struct{ *pulumi.OutputState }
func (GetTagsTagArrayOutput) ElementType ¶ added in v2.6.0
func (GetTagsTagArrayOutput) ElementType() reflect.Type
func (GetTagsTagArrayOutput) Index ¶ added in v2.6.0
func (o GetTagsTagArrayOutput) Index(i pulumi.IntInput) GetTagsTagOutput
func (GetTagsTagArrayOutput) ToGetTagsTagArrayOutput ¶ added in v2.6.0
func (o GetTagsTagArrayOutput) ToGetTagsTagArrayOutput() GetTagsTagArrayOutput
func (GetTagsTagArrayOutput) ToGetTagsTagArrayOutputWithContext ¶ added in v2.6.0
func (o GetTagsTagArrayOutput) ToGetTagsTagArrayOutputWithContext(ctx context.Context) GetTagsTagArrayOutput
type GetTagsTagInput ¶ added in v2.6.0
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 ¶ added in v2.6.0
type GetTagsTagOutput struct{ *pulumi.OutputState }
func (GetTagsTagOutput) DatabasesCount ¶ added in v2.6.0
func (o GetTagsTagOutput) DatabasesCount() pulumi.IntOutput
A count of the database clusters that the tag is applied to.
func (GetTagsTagOutput) DropletsCount ¶ added in v2.6.0
func (o GetTagsTagOutput) DropletsCount() pulumi.IntOutput
A count of the Droplets the tag is applied to.
func (GetTagsTagOutput) ElementType ¶ added in v2.6.0
func (GetTagsTagOutput) ElementType() reflect.Type
func (GetTagsTagOutput) ImagesCount ¶ added in v2.6.0
func (o GetTagsTagOutput) ImagesCount() pulumi.IntOutput
A count of the images that the tag is applied to.
func (GetTagsTagOutput) Name ¶ added in v2.6.0
func (o GetTagsTagOutput) Name() pulumi.StringOutput
The name of the tag.
func (GetTagsTagOutput) ToGetTagsTagOutput ¶ added in v2.6.0
func (o GetTagsTagOutput) ToGetTagsTagOutput() GetTagsTagOutput
func (GetTagsTagOutput) ToGetTagsTagOutputWithContext ¶ added in v2.6.0
func (o GetTagsTagOutput) ToGetTagsTagOutputWithContext(ctx context.Context) GetTagsTagOutput
func (GetTagsTagOutput) TotalResourceCount ¶ added in v2.6.0
func (o GetTagsTagOutput) TotalResourceCount() pulumi.IntOutput
A count of the total number of resources that the tag is applied to.
func (GetTagsTagOutput) VolumeSnapshotsCount ¶ added in v2.6.0
func (o GetTagsTagOutput) VolumeSnapshotsCount() pulumi.IntOutput
A count of the volume snapshots that the tag is applied to.
func (GetTagsTagOutput) VolumesCount ¶ added in v2.6.0
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 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 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"` }
Provides a DigitalOcean Kubernetes cluster resource. This can be used to create, delete, and modify clusters. For more information see the [official documentation](https://www.digitalocean.com/docs/kubernetes/).
## Example Usage ### Basic Example
```go package main
import (
"github.com/pulumi/pulumi-digitalocean/sdk/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := digitalocean.NewKubernetesCluster(ctx, "foo", &digitalocean.KubernetesClusterArgs{ NodePool: &digitalocean.KubernetesClusterNodePoolArgs{ Name: pulumi.String("worker-pool"), NodeCount: pulumi.Int(3), Size: pulumi.String("s-2vcpu-2gb"), }, Region: pulumi.String("nyc1"), Version: pulumi.String("1.15.5-do.1"), }) 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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := digitalocean.NewKubernetesCluster(ctx, "foo", &digitalocean.KubernetesClusterArgs{ NodePool: &digitalocean.KubernetesClusterNodePoolArgs{ AutoScale: pulumi.Bool(true), MaxNodes: pulumi.Int(5), MinNodes: pulumi.Int(1), Name: pulumi.String("autoscale-worker-pool"), Size: pulumi.String("s-2vcpu-2gb"), }, Region: pulumi.String("nyc1"), Version: pulumi.String("1.15.5-do.1"), }) if err != nil { return err } return nil }) }
```
Note that, while individual node pools may scale to 0, a cluster must always include at least one node. ### Auto Upgrade Example
DigitalOcean Kubernetes clusters may also be configured to [auto upgrade](https://www.digitalocean.com/docs/kubernetes/how-to/upgrade-cluster/#automatically) patch versions. For example:
```go package main
import (
"github.com/pulumi/pulumi-digitalocean/sdk/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "1.18." example, err := digitalocean.GetKubernetesVersions(ctx, &digitalocean.GetKubernetesVersionsArgs{ VersionPrefix: &opt0, }, nil) if err != nil { return err } _, err = digitalocean.NewKubernetesCluster(ctx, "foo", &digitalocean.KubernetesClusterArgs{ Region: pulumi.String("nyc1"), AutoUpgrade: pulumi.Bool(true), 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 }) }
```
Note that a data source is used to supply the version. This is needed to prevent configuration diff whenever a cluster is upgraded.
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.
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 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 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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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 ¶
func (o KubernetesClusterKubeConfigOutput) ClientCertificate() pulumi.StringPtrOutput
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 ¶
func (o KubernetesClusterKubeConfigOutput) ClientKey() pulumi.StringPtrOutput
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) ElementType() reflect.Type
func (KubernetesClusterKubeConfigOutput) ExpiresAt ¶
func (o KubernetesClusterKubeConfigOutput) ExpiresAt() pulumi.StringPtrOutput
The date and time when the credentials will expire and need to be regenerated.
func (KubernetesClusterKubeConfigOutput) Host ¶
func (o KubernetesClusterKubeConfigOutput) Host() pulumi.StringPtrOutput
The URL of the API server on the Kubernetes master node.
func (KubernetesClusterKubeConfigOutput) RawConfig ¶
func (o KubernetesClusterKubeConfigOutput) RawConfig() pulumi.StringPtrOutput
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 ¶
func (o KubernetesClusterKubeConfigOutput) Token() pulumi.StringPtrOutput
The DigitalOcean API access token used by clients to access the cluster.
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"` }
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"` }
func (KubernetesClusterNodePoolArgs) ElementType ¶
func (KubernetesClusterNodePoolArgs) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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 ¶
func (o KubernetesClusterNodePoolNodeOutput) CreatedAt() pulumi.StringPtrOutput
The date and time when the node was created.
func (KubernetesClusterNodePoolNodeOutput) DropletId ¶
func (o KubernetesClusterNodePoolNodeOutput) DropletId() pulumi.StringPtrOutput
The id of the node's droplet
func (KubernetesClusterNodePoolNodeOutput) ElementType ¶
func (KubernetesClusterNodePoolNodeOutput) ElementType() reflect.Type
func (KubernetesClusterNodePoolNodeOutput) Id ¶
func (o KubernetesClusterNodePoolNodeOutput) Id() pulumi.StringPtrOutput
A unique ID that can be used to identify and reference the node.
func (KubernetesClusterNodePoolNodeOutput) Name ¶
func (o KubernetesClusterNodePoolNodeOutput) Name() pulumi.StringPtrOutput
A name for the node pool.
func (KubernetesClusterNodePoolNodeOutput) Status ¶
func (o KubernetesClusterNodePoolNodeOutput) Status() pulumi.StringPtrOutput
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 ¶
func (o KubernetesClusterNodePoolNodeOutput) UpdatedAt() pulumi.StringPtrOutput
The date and time when the node was last updated.
type KubernetesClusterNodePoolOutput ¶
type KubernetesClusterNodePoolOutput struct{ *pulumi.OutputState }
func (KubernetesClusterNodePoolOutput) ActualNodeCount ¶
func (o KubernetesClusterNodePoolOutput) ActualNodeCount() pulumi.IntPtrOutput
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 ¶
func (o KubernetesClusterNodePoolOutput) AutoScale() pulumi.BoolPtrOutput
Enable auto-scaling of the number of nodes in the node pool within the given min/max range.
func (KubernetesClusterNodePoolOutput) ElementType ¶
func (KubernetesClusterNodePoolOutput) ElementType() reflect.Type
func (KubernetesClusterNodePoolOutput) Id ¶
func (o KubernetesClusterNodePoolOutput) Id() pulumi.StringPtrOutput
A unique ID that can be used to identify and reference the node.
func (KubernetesClusterNodePoolOutput) Labels ¶
func (o KubernetesClusterNodePoolOutput) Labels() pulumi.StringMapOutput
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 ¶
func (o KubernetesClusterNodePoolOutput) MaxNodes() pulumi.IntPtrOutput
If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
func (KubernetesClusterNodePoolOutput) MinNodes ¶
func (o KubernetesClusterNodePoolOutput) MinNodes() pulumi.IntPtrOutput
If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.
func (KubernetesClusterNodePoolOutput) Name ¶
func (o KubernetesClusterNodePoolOutput) Name() pulumi.StringOutput
A name for the node pool.
func (KubernetesClusterNodePoolOutput) NodeCount ¶
func (o KubernetesClusterNodePoolOutput) NodeCount() pulumi.IntPtrOutput
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 ¶
func (o KubernetesClusterNodePoolOutput) Nodes() KubernetesClusterNodePoolNodeArrayOutput
A list of nodes in the pool. Each node exports the following attributes:
func (KubernetesClusterNodePoolOutput) Size ¶
func (o KubernetesClusterNodePoolOutput) Size() pulumi.StringOutput
The slug identifier for the type of Droplet to be used as workers in the node pool.
func (KubernetesClusterNodePoolOutput) Tags ¶
func (o KubernetesClusterNodePoolOutput) Tags() pulumi.StringArrayOutput
A list of tag names to be applied to the Kubernetes cluster.
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
func KubernetesClusterNodePoolPtr ¶
func KubernetesClusterNodePoolPtr(v *KubernetesClusterNodePoolArgs) KubernetesClusterNodePoolPtrInput
type KubernetesClusterNodePoolPtrOutput ¶
type KubernetesClusterNodePoolPtrOutput struct{ *pulumi.OutputState }
func (KubernetesClusterNodePoolPtrOutput) ActualNodeCount ¶
func (o KubernetesClusterNodePoolPtrOutput) ActualNodeCount() pulumi.IntPtrOutput
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 ¶
func (o KubernetesClusterNodePoolPtrOutput) AutoScale() pulumi.BoolPtrOutput
Enable auto-scaling of the number of nodes in the node pool within the given min/max range.
func (KubernetesClusterNodePoolPtrOutput) Elem ¶
func (o KubernetesClusterNodePoolPtrOutput) Elem() KubernetesClusterNodePoolOutput
func (KubernetesClusterNodePoolPtrOutput) ElementType ¶
func (KubernetesClusterNodePoolPtrOutput) ElementType() reflect.Type
func (KubernetesClusterNodePoolPtrOutput) Id ¶
func (o KubernetesClusterNodePoolPtrOutput) Id() pulumi.StringPtrOutput
A unique ID that can be used to identify and reference the node.
func (KubernetesClusterNodePoolPtrOutput) Labels ¶
func (o KubernetesClusterNodePoolPtrOutput) Labels() pulumi.StringMapOutput
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 ¶
func (o KubernetesClusterNodePoolPtrOutput) MaxNodes() pulumi.IntPtrOutput
If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
func (KubernetesClusterNodePoolPtrOutput) MinNodes ¶
func (o KubernetesClusterNodePoolPtrOutput) MinNodes() pulumi.IntPtrOutput
If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.
func (KubernetesClusterNodePoolPtrOutput) Name ¶
func (o KubernetesClusterNodePoolPtrOutput) Name() pulumi.StringPtrOutput
A name for the node pool.
func (KubernetesClusterNodePoolPtrOutput) NodeCount ¶
func (o KubernetesClusterNodePoolPtrOutput) NodeCount() pulumi.IntPtrOutput
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 ¶
func (o KubernetesClusterNodePoolPtrOutput) Size() pulumi.StringPtrOutput
The slug identifier for the type of Droplet to be used as workers in the node pool.
func (KubernetesClusterNodePoolPtrOutput) Tags ¶
func (o KubernetesClusterNodePoolPtrOutput) Tags() pulumi.StringArrayOutput
A list of tag names to be applied to the Kubernetes cluster.
func (KubernetesClusterNodePoolPtrOutput) ToKubernetesClusterNodePoolPtrOutput ¶
func (o KubernetesClusterNodePoolPtrOutput) ToKubernetesClusterNodePoolPtrOutput() KubernetesClusterNodePoolPtrOutput
func (KubernetesClusterNodePoolPtrOutput) ToKubernetesClusterNodePoolPtrOutputWithContext ¶
func (o KubernetesClusterNodePoolPtrOutput) ToKubernetesClusterNodePoolPtrOutputWithContext(ctx context.Context) KubernetesClusterNodePoolPtrOutput
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 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 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"` }
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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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.15.5-do.1"), NodePool: &digitalocean.KubernetesClusterNodePoolArgs{ Name: pulumi.String("front-end-pool"), Size: pulumi.String("s-2vcpu-2gb"), NodeCount: pulumi.Int(3), }, }) if err != nil { return err } _, err = digitalocean.NewKubernetesNodePool(ctx, "bar", &digitalocean.KubernetesNodePoolArgs{ ClusterId: foo.ID(), Size: pulumi.String("c-2"), NodeCount: pulumi.Int(2), Tags: pulumi.StringArray{ pulumi.String("backend"), }, Labels: pulumi.StringMap{ "service": pulumi.String("backend"), "priority": pulumi.String("high"), }, }) 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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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(0), MaxNodes: pulumi.Int(5), }) if err != nil { return err } return nil }) }
```
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.
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 }
The set of arguments for constructing a KubernetesNodePool resource.
func (KubernetesNodePoolArgs) ElementType ¶
func (KubernetesNodePoolArgs) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (KubernetesNodePoolNodeArrayOutput) Index ¶
func (o KubernetesNodePoolNodeArrayOutput) Index(i pulumi.IntInput) KubernetesNodePoolNodeOutput
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 ¶
func (o KubernetesNodePoolNodeOutput) CreatedAt() pulumi.StringPtrOutput
The date and time when the node was created.
func (KubernetesNodePoolNodeOutput) DropletId ¶
func (o KubernetesNodePoolNodeOutput) DropletId() pulumi.StringPtrOutput
The id of the node's droplet
func (KubernetesNodePoolNodeOutput) ElementType ¶
func (KubernetesNodePoolNodeOutput) ElementType() reflect.Type
func (KubernetesNodePoolNodeOutput) Id ¶
func (o KubernetesNodePoolNodeOutput) Id() pulumi.StringPtrOutput
A unique ID that can be used to identify and reference the node.
func (KubernetesNodePoolNodeOutput) Name ¶
func (o KubernetesNodePoolNodeOutput) Name() pulumi.StringPtrOutput
A name for the node pool.
func (KubernetesNodePoolNodeOutput) Status ¶
func (o KubernetesNodePoolNodeOutput) Status() pulumi.StringPtrOutput
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 ¶
func (o KubernetesNodePoolNodeOutput) UpdatedAt() pulumi.StringPtrOutput
The date and time when the node was last updated.
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 }
func (KubernetesNodePoolState) ElementType ¶
func (KubernetesNodePoolState) ElementType() reflect.Type
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"` 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.
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.
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 // 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 LoadBalancerForwardingRule ¶
type LoadBalancerForwardingRule struct { // The ID of the TLS certificate to be used for SSL termination. CertificateId *string `pulumi:"certificateId"` // 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 { // The ID of the TLS certificate to be used for SSL termination. CertificateId pulumi.StringPtrInput `pulumi:"certificateId"` // 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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (LoadBalancerForwardingRuleArrayOutput) Index ¶
func (o LoadBalancerForwardingRuleArrayOutput) Index(i pulumi.IntInput) LoadBalancerForwardingRuleOutput
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 ¶
func (o LoadBalancerForwardingRuleOutput) CertificateId() pulumi.StringPtrOutput
The ID of the TLS certificate to be used for SSL termination.
func (LoadBalancerForwardingRuleOutput) ElementType ¶
func (LoadBalancerForwardingRuleOutput) ElementType() reflect.Type
func (LoadBalancerForwardingRuleOutput) EntryPort ¶
func (o LoadBalancerForwardingRuleOutput) EntryPort() pulumi.IntOutput
An integer representing the port on which the Load Balancer instance will listen.
func (LoadBalancerForwardingRuleOutput) EntryProtocol ¶
func (o LoadBalancerForwardingRuleOutput) EntryProtocol() pulumi.StringOutput
The protocol used for traffic to the Load Balancer. The possible values are: `http`, `https`, `http2` or `tcp`.
func (LoadBalancerForwardingRuleOutput) TargetPort ¶
func (o LoadBalancerForwardingRuleOutput) TargetPort() pulumi.IntOutput
An integer representing the port on the backend Droplets to which the Load Balancer will send traffic.
func (LoadBalancerForwardingRuleOutput) TargetProtocol ¶
func (o LoadBalancerForwardingRuleOutput) TargetProtocol() pulumi.StringOutput
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 ¶
func (o LoadBalancerForwardingRuleOutput) TlsPassthrough() pulumi.BoolPtrOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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 ¶
func (o LoadBalancerHealthcheckOutput) Path() pulumi.StringPtrOutput
The path on the backend Droplets to which the Load Balancer instance will send a request.
func (LoadBalancerHealthcheckOutput) Port ¶
func (o LoadBalancerHealthcheckOutput) Port() pulumi.IntOutput
An integer representing the port on the backend Droplets on which the health check will attempt a connection.
func (LoadBalancerHealthcheckOutput) Protocol ¶
func (o LoadBalancerHealthcheckOutput) Protocol() pulumi.StringOutput
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
func LoadBalancerHealthcheckPtr ¶
func LoadBalancerHealthcheckPtr(v *LoadBalancerHealthcheckArgs) LoadBalancerHealthcheckPtrInput
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 (o LoadBalancerHealthcheckPtrOutput) Elem() LoadBalancerHealthcheckOutput
func (LoadBalancerHealthcheckPtrOutput) ElementType ¶
func (LoadBalancerHealthcheckPtrOutput) ElementType() reflect.Type
func (LoadBalancerHealthcheckPtrOutput) HealthyThreshold ¶
func (o LoadBalancerHealthcheckPtrOutput) 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 (LoadBalancerHealthcheckPtrOutput) Path ¶
func (o LoadBalancerHealthcheckPtrOutput) Path() pulumi.StringPtrOutput
The path on the backend Droplets to which the Load Balancer instance will send a request.
func (LoadBalancerHealthcheckPtrOutput) Port ¶
func (o LoadBalancerHealthcheckPtrOutput) Port() pulumi.IntPtrOutput
An integer representing the port on the backend Droplets on which the health check will attempt a connection.
func (LoadBalancerHealthcheckPtrOutput) Protocol ¶
func (o LoadBalancerHealthcheckPtrOutput) Protocol() pulumi.StringPtrOutput
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 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 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) ElementType() reflect.Type
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 ¶
func (o LoadBalancerStickySessionsOutput) CookieName() pulumi.StringPtrOutput
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 ¶
func (o LoadBalancerStickySessionsOutput) CookieTtlSeconds() pulumi.IntPtrOutput
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) ElementType() reflect.Type
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 ¶
func (o LoadBalancerStickySessionsOutput) Type() pulumi.StringPtrOutput
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
func LoadBalancerStickySessionsPtr ¶
func LoadBalancerStickySessionsPtr(v *LoadBalancerStickySessionsArgs) LoadBalancerStickySessionsPtrInput
type LoadBalancerStickySessionsPtrOutput ¶
type LoadBalancerStickySessionsPtrOutput struct{ *pulumi.OutputState }
func (LoadBalancerStickySessionsPtrOutput) CookieName ¶
func (o LoadBalancerStickySessionsPtrOutput) CookieName() pulumi.StringPtrOutput
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 ¶
func (o LoadBalancerStickySessionsPtrOutput) CookieTtlSeconds() pulumi.IntPtrOutput
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 (o LoadBalancerStickySessionsPtrOutput) Elem() LoadBalancerStickySessionsOutput
func (LoadBalancerStickySessionsPtrOutput) ElementType ¶
func (LoadBalancerStickySessionsPtrOutput) ElementType() reflect.Type
func (LoadBalancerStickySessionsPtrOutput) ToLoadBalancerStickySessionsPtrOutput ¶
func (o LoadBalancerStickySessionsPtrOutput) ToLoadBalancerStickySessionsPtrOutput() LoadBalancerStickySessionsPtrOutput
func (LoadBalancerStickySessionsPtrOutput) ToLoadBalancerStickySessionsPtrOutputWithContext ¶
func (o LoadBalancerStickySessionsPtrOutput) ToLoadBalancerStickySessionsPtrOutputWithContext(ctx context.Context) LoadBalancerStickySessionsPtrOutput
func (LoadBalancerStickySessionsPtrOutput) Type ¶
func (o LoadBalancerStickySessionsPtrOutput) Type() pulumi.StringPtrOutput
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 ¶ added in v2.9.0
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 ¶ added in v2.9.0
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. Spec GetAppSpec `pulumi:"spec"` // The date and time of when the app was last updated. UpdatedAt string `pulumi:"updatedAt"` }
A collection of values returned by getApp.
func LookupApp ¶ added in v2.9.0
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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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"` }
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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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 ¶ added in v2.5.0
type LookupContainerRegistryArgs struct { // The name of the container registry. Name string `pulumi:"name"` }
A collection of arguments for invoking getContainerRegistry.
type LookupContainerRegistryResult ¶ added in v2.5.0
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 // * `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` Name string `pulumi:"name"` ServerUrl string `pulumi:"serverUrl"` }
A collection of values returned by getContainerRegistry.
func LookupContainerRegistry ¶ added in v2.5.0
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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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 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.
## Example Usage
Get the zone file for a domain:
```go package main
import (
"github.com/pulumi/pulumi-digitalocean/sdk/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := digitalocean.LookupDomain(ctx, &digitalocean.LookupDomainArgs{ Name: "example.com", }, nil) if err != nil { return err } ctx.Export("domainOutput", example.ZoneFile) return nil }) }
```
type 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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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 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 this 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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { 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 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 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 this 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"` Healthcheck GetLoadBalancerHealthcheck `pulumi:"healthcheck"` // 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"` Status string `pulumi:"status"` StickySessions GetLoadBalancerStickySessions `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 this 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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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 ¶ added in v2.3.0
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 ¶ added in v2.3.0
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 ¶ added in v2.3.0
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 ¶ added in v2.3.0
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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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 ¶ added in v2.3.0
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 ¶ added in v2.3.0
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 this 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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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"` // The provider-assigned unique ID for this managed resource. Id string `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 this provider or you need to utilize any of the keys data.
An error is triggered if the provided ssh key name does not exist.
## Example Usage
Get the ssh key:
```go package main
import (
"github.com/pulumi/pulumi-digitalocean/sdk/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleSshKey, err := digitalocean.LookupSshKey(ctx, &digitalocean.LookupSshKeyArgs{ Name: "example", }, nil) if err != nil { return err } _, err = digitalocean.NewDroplet(ctx, "exampleDroplet", &digitalocean.DropletArgs{ Image: pulumi.String("ubuntu-18-04-x64"), Region: pulumi.String("nyc2"), Size: pulumi.String("s-1vcpu-1gb"), SshKeys: pulumi.StringArray{ pulumi.String(exampleSshKey.Id), }, }) if err != nil { return err } return nil }) }
```
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 this 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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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 this 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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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 this 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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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 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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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 }) }
```
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.
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 ProjectResources ¶ added in v2.5.0
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 this provider to a DigitalOcean Project that is unmanaged by 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 this provider:
```go package main
import (
"github.com/pulumi/pulumi-digitalocean/sdk/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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 }) }
```
func GetProjectResources ¶ added in v2.5.0
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 ¶ added in v2.5.0
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.
type ProjectResourcesArgs ¶ added in v2.5.0
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 ¶ added in v2.5.0
func (ProjectResourcesArgs) ElementType() reflect.Type
type ProjectResourcesState ¶ added in v2.5.0
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 ¶ added in v2.5.0
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 Provider ¶
type Provider struct {
pulumi.ProviderResourceState
}
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.
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 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://developers.digitalocean.com/documentation/spaces/) 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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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 }) }
```
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.
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 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) ElementType() reflect.Type
func (SpacesBucketCorsRuleArrayOutput) Index ¶
func (o SpacesBucketCorsRuleArrayOutput) Index(i pulumi.IntInput) SpacesBucketCorsRuleOutput
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 ¶
func (o SpacesBucketCorsRuleOutput) AllowedHeaders() pulumi.StringArrayOutput
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 ¶
func (o SpacesBucketCorsRuleOutput) AllowedMethods() pulumi.StringArrayOutput
A list of HTTP methods (e.g. `GET`) which are allowed from the specified origin.
func (SpacesBucketCorsRuleOutput) AllowedOrigins ¶
func (o SpacesBucketCorsRuleOutput) AllowedOrigins() pulumi.StringArrayOutput
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 ¶
func (o SpacesBucketCorsRuleOutput) MaxAgeSeconds() pulumi.IntPtrOutput
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 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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (SpacesBucketLifecycleRuleArrayOutput) Index ¶
func (o SpacesBucketLifecycleRuleArrayOutput) Index(i pulumi.IntInput) SpacesBucketLifecycleRuleOutput
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) ElementType() reflect.Type
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 ¶
func (o SpacesBucketLifecycleRuleExpirationOutput) Date() pulumi.StringPtrOutput
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 ¶
func (o SpacesBucketLifecycleRuleExpirationOutput) Days() pulumi.IntPtrOutput
Specifies the number of days after object creation when the applicable objects will expire.
func (SpacesBucketLifecycleRuleExpirationOutput) ElementType ¶
func (SpacesBucketLifecycleRuleExpirationOutput) ElementType() reflect.Type
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
func SpacesBucketLifecycleRuleExpirationPtr ¶
func SpacesBucketLifecycleRuleExpirationPtr(v *SpacesBucketLifecycleRuleExpirationArgs) SpacesBucketLifecycleRuleExpirationPtrInput
type SpacesBucketLifecycleRuleExpirationPtrOutput ¶
type SpacesBucketLifecycleRuleExpirationPtrOutput struct{ *pulumi.OutputState }
func (SpacesBucketLifecycleRuleExpirationPtrOutput) Date ¶
func (o SpacesBucketLifecycleRuleExpirationPtrOutput) Date() pulumi.StringPtrOutput
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 ¶
func (o SpacesBucketLifecycleRuleExpirationPtrOutput) Days() pulumi.IntPtrOutput
Specifies the number of days after object creation when the applicable objects will expire.
func (SpacesBucketLifecycleRuleExpirationPtrOutput) ElementType ¶
func (SpacesBucketLifecycleRuleExpirationPtrOutput) ElementType() reflect.Type
func (SpacesBucketLifecycleRuleExpirationPtrOutput) ExpiredObjectDeleteMarker ¶
func (o SpacesBucketLifecycleRuleExpirationPtrOutput) 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 (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) ElementType() reflect.Type
func (SpacesBucketLifecycleRuleNoncurrentVersionExpirationArgs) ToSpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput ¶
func (i SpacesBucketLifecycleRuleNoncurrentVersionExpirationArgs) ToSpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput() SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput
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) ElementType() reflect.Type
func (SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput) ToSpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput ¶
func (o SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput) ToSpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput() SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput
func (SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput) ToSpacesBucketLifecycleRuleNoncurrentVersionExpirationOutputWithContext ¶
func (o SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput) ToSpacesBucketLifecycleRuleNoncurrentVersionExpirationOutputWithContext(ctx context.Context) SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput
func (SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput) ToSpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput ¶
func (o SpacesBucketLifecycleRuleNoncurrentVersionExpirationOutput) ToSpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput() SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput
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
func SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtr ¶
func SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtr(v *SpacesBucketLifecycleRuleNoncurrentVersionExpirationArgs) SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrInput
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) ElementType ¶
func (SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput) ElementType() reflect.Type
func (SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput) ToSpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput ¶
func (o SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput) ToSpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput() SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput
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) ElementType() reflect.Type
func (SpacesBucketLifecycleRuleOutput) Enabled ¶
func (o SpacesBucketLifecycleRuleOutput) Enabled() pulumi.BoolOutput
Specifies lifecycle rule status.
func (SpacesBucketLifecycleRuleOutput) Expiration ¶
func (o SpacesBucketLifecycleRuleOutput) Expiration() SpacesBucketLifecycleRuleExpirationPtrOutput
Specifies a time period after which applicable objects expire (documented below).
func (SpacesBucketLifecycleRuleOutput) Id ¶
func (o SpacesBucketLifecycleRuleOutput) Id() pulumi.StringPtrOutput
Unique identifier for the rule.
func (SpacesBucketLifecycleRuleOutput) NoncurrentVersionExpiration ¶
func (o SpacesBucketLifecycleRuleOutput) NoncurrentVersionExpiration() SpacesBucketLifecycleRuleNoncurrentVersionExpirationPtrOutput
Specifies when non-current object versions expire (documented below).
func (SpacesBucketLifecycleRuleOutput) Prefix ¶
func (o SpacesBucketLifecycleRuleOutput) Prefix() pulumi.StringPtrOutput
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 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. The only meaningful value is `${filemd5("path/to/file")}`. 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 this provider to upload content to Spaces.
The [Spaces API](https://developers.digitalocean.com/documentation/spaces/) 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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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 }) }
```
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.
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. The only meaningful value is `${filemd5("path/to/file")}`. 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 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. The only meaningful value is `${filemd5("path/to/file")}`. 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 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) ElementType() reflect.Type
func (SpacesBucketVersioningOutput) Enabled ¶
func (o SpacesBucketVersioningOutput) Enabled() pulumi.BoolPtrOutput
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
func SpacesBucketVersioningPtr ¶
func SpacesBucketVersioningPtr(v *SpacesBucketVersioningArgs) SpacesBucketVersioningPtrInput
type SpacesBucketVersioningPtrOutput ¶
type SpacesBucketVersioningPtrOutput struct{ *pulumi.OutputState }
func (SpacesBucketVersioningPtrOutput) Elem ¶
func (o SpacesBucketVersioningPtrOutput) Elem() SpacesBucketVersioningOutput
func (SpacesBucketVersioningPtrOutput) ElementType ¶
func (SpacesBucketVersioningPtrOutput) ElementType() reflect.Type
func (SpacesBucketVersioningPtrOutput) Enabled ¶
func (o SpacesBucketVersioningPtrOutput) Enabled() pulumi.BoolPtrOutput
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.
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.
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 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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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 }) }
```
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).
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 ¶
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 ¶
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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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 }) }
```
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.
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 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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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.
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 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 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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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 }) }
```
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.
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 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://developers.digitalocean.com/documentation/v2/#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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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/v2/go/digitalocean" "github.com/pulumi/pulumi/sdk/v2/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 }) }
```
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).
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 ¶
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 ¶
Source Files ¶
- app.go
- cdn.go
- certificate.go
- containerRegistry.go
- containerRegistryDockerCredentials.go
- databaseCluster.go
- databaseConnectionPool.go
- databaseDb.go
- databaseFirewall.go
- databaseReplica.go
- databaseUser.go
- dnsRecord.go
- doc.go
- domain.go
- droplet.go
- dropletSnapshot.go
- firewall.go
- floatingIp.go
- floatingIpAssignment.go
- getAccount.go
- getApp.go
- getCertificate.go
- getContainerRegistry.go
- getDatabaseCluster.go
- getDomain.go
- getDomains.go
- getDroplet.go
- getDropletSnapshot.go
- getDroplets.go
- getFloatingIp.go
- getImage.go
- getImages.go
- getKubernetesCluster.go
- getKubernetesVersions.go
- getLoadBalancer.go
- getProject.go
- getProjects.go
- getRecord.go
- getRegion.go
- getRegions.go
- getSizes.go
- getSpacesBucket.go
- getSpacesBucketObject.go
- getSpacesBucketObjects.go
- getSpacesBuckets.go
- getSshKey.go
- getTag.go
- getTags.go
- getVolume.go
- getVolumeSnapshot.go
- getVpc.go
- kubernetesCluster.go
- kubernetesNodePool.go
- loadBalancer.go
- project.go
- projectResources.go
- provider.go
- pulumiTypes.go
- pulumiUtilities.go
- spacesBucket.go
- spacesBucketObject.go
- sshKey.go
- tag.go
- volume.go
- volumeAttachment.go
- volumeSnapshot.go
- vpc.go