1. Packages
  2. Koyeb
  3. API Docs
  4. KoyebDomain
koyeb v0.1.7 published on Wednesday, Nov 30, 2022 by Koyeb

koyeb.KoyebDomain

Explore with Pulumi AI

koyeb logo
koyeb v0.1.7 published on Wednesday, Nov 30, 2022 by Koyeb

    Example Usage

    using System.Collections.Generic;
    using Pulumi;
    using Koyeb = Pulumi.Koyeb;
    
    return await Deployment.RunAsync(() => 
    {
        var my_domain = new Koyeb.KoyebDomain("my-domain");
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-koyeb/sdk/go/koyeb"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := koyeb.NewKoyebDomain(ctx, "my-domain", nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.koyeb.KoyebDomain;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var my_domain = new KoyebDomain("my-domain");
    
        }
    }
    
    import pulumi
    import pulumi_koyeb as koyeb
    
    my_domain = koyeb.KoyebDomain("my-domain")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as koyeb from "@pulumi/koyeb";
    
    const my_domain = new koyeb.KoyebDomain("my-domain", {});
    
    resources:
      my-domain:
        type: koyeb:KoyebDomain
    

    Create KoyebDomain Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new KoyebDomain(name: string, args?: KoyebDomainArgs, opts?: CustomResourceOptions);
    @overload
    def KoyebDomain(resource_name: str,
                    args: Optional[KoyebDomainArgs] = None,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def KoyebDomain(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    app_name: Optional[str] = None,
                    deployment_group: Optional[str] = None,
                    intended_cname: Optional[str] = None,
                    messages: Optional[str] = None,
                    name: Optional[str] = None,
                    verified_at: Optional[str] = None)
    func NewKoyebDomain(ctx *Context, name string, args *KoyebDomainArgs, opts ...ResourceOption) (*KoyebDomain, error)
    public KoyebDomain(string name, KoyebDomainArgs? args = null, CustomResourceOptions? opts = null)
    public KoyebDomain(String name, KoyebDomainArgs args)
    public KoyebDomain(String name, KoyebDomainArgs args, CustomResourceOptions options)
    
    type: koyeb:KoyebDomain
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args KoyebDomainArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args KoyebDomainArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args KoyebDomainArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args KoyebDomainArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args KoyebDomainArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var koyebDomainResource = new Koyeb.KoyebDomain("koyebDomainResource", new()
    {
        AppName = "string",
        DeploymentGroup = "string",
        IntendedCname = "string",
        Messages = "string",
        Name = "string",
        VerifiedAt = "string",
    });
    
    example, err := koyeb.NewKoyebDomain(ctx, "koyebDomainResource", &koyeb.KoyebDomainArgs{
    	AppName:         pulumi.String("string"),
    	DeploymentGroup: pulumi.String("string"),
    	IntendedCname:   pulumi.String("string"),
    	Messages:        pulumi.String("string"),
    	Name:            pulumi.String("string"),
    	VerifiedAt:      pulumi.String("string"),
    })
    
    var koyebDomainResource = new KoyebDomain("koyebDomainResource", KoyebDomainArgs.builder()        
        .appName("string")
        .deploymentGroup("string")
        .intendedCname("string")
        .messages("string")
        .name("string")
        .verifiedAt("string")
        .build());
    
    koyeb_domain_resource = koyeb.KoyebDomain("koyebDomainResource",
        app_name="string",
        deployment_group="string",
        intended_cname="string",
        messages="string",
        name="string",
        verified_at="string")
    
    const koyebDomainResource = new koyeb.KoyebDomain("koyebDomainResource", {
        appName: "string",
        deploymentGroup: "string",
        intendedCname: "string",
        messages: "string",
        name: "string",
        verifiedAt: "string",
    });
    
    type: koyeb:KoyebDomain
    properties:
        appName: string
        deploymentGroup: string
        intendedCname: string
        messages: string
        name: string
        verifiedAt: string
    

    KoyebDomain Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The KoyebDomain resource accepts the following input properties:

    AppName string
    The app name the domain is assigned to
    DeploymentGroup string
    The deployment group assigned to the domain
    IntendedCname string
    The CNAME record to point the domain to
    Messages string
    The status messages of the domain
    Name string
    The domain name
    VerifiedAt string
    The date and time of when the domain was last verified
    AppName string
    The app name the domain is assigned to
    DeploymentGroup string
    The deployment group assigned to the domain
    IntendedCname string
    The CNAME record to point the domain to
    Messages string
    The status messages of the domain
    Name string
    The domain name
    VerifiedAt string
    The date and time of when the domain was last verified
    appName String
    The app name the domain is assigned to
    deploymentGroup String
    The deployment group assigned to the domain
    intendedCname String
    The CNAME record to point the domain to
    messages String
    The status messages of the domain
    name String
    The domain name
    verifiedAt String
    The date and time of when the domain was last verified
    appName string
    The app name the domain is assigned to
    deploymentGroup string
    The deployment group assigned to the domain
    intendedCname string
    The CNAME record to point the domain to
    messages string
    The status messages of the domain
    name string
    The domain name
    verifiedAt string
    The date and time of when the domain was last verified
    app_name str
    The app name the domain is assigned to
    deployment_group str
    The deployment group assigned to the domain
    intended_cname str
    The CNAME record to point the domain to
    messages str
    The status messages of the domain
    name str
    The domain name
    verified_at str
    The date and time of when the domain was last verified
    appName String
    The app name the domain is assigned to
    deploymentGroup String
    The deployment group assigned to the domain
    intendedCname String
    The CNAME record to point the domain to
    messages String
    The status messages of the domain
    name String
    The domain name
    verifiedAt String
    The date and time of when the domain was last verified

    Outputs

    All input properties are implicitly available as output properties. Additionally, the KoyebDomain resource produces the following output properties:

    CreatedAt string
    The date and time of when the domain was created
    Id string
    The provider-assigned unique ID for this managed resource.
    OrganizationId string
    The organization ID owning the domain
    Status string
    The status of the domain
    Type string
    The domain type
    UpdatedAt string
    The date and time of when the domain was last updated
    Version string
    The version of the domain
    CreatedAt string
    The date and time of when the domain was created
    Id string
    The provider-assigned unique ID for this managed resource.
    OrganizationId string
    The organization ID owning the domain
    Status string
    The status of the domain
    Type string
    The domain type
    UpdatedAt string
    The date and time of when the domain was last updated
    Version string
    The version of the domain
    createdAt String
    The date and time of when the domain was created
    id String
    The provider-assigned unique ID for this managed resource.
    organizationId String
    The organization ID owning the domain
    status String
    The status of the domain
    type String
    The domain type
    updatedAt String
    The date and time of when the domain was last updated
    version String
    The version of the domain
    createdAt string
    The date and time of when the domain was created
    id string
    The provider-assigned unique ID for this managed resource.
    organizationId string
    The organization ID owning the domain
    status string
    The status of the domain
    type string
    The domain type
    updatedAt string
    The date and time of when the domain was last updated
    version string
    The version of the domain
    created_at str
    The date and time of when the domain was created
    id str
    The provider-assigned unique ID for this managed resource.
    organization_id str
    The organization ID owning the domain
    status str
    The status of the domain
    type str
    The domain type
    updated_at str
    The date and time of when the domain was last updated
    version str
    The version of the domain
    createdAt String
    The date and time of when the domain was created
    id String
    The provider-assigned unique ID for this managed resource.
    organizationId String
    The organization ID owning the domain
    status String
    The status of the domain
    type String
    The domain type
    updatedAt String
    The date and time of when the domain was last updated
    version String
    The version of the domain

    Look up Existing KoyebDomain Resource

    Get an existing KoyebDomain resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: KoyebDomainState, opts?: CustomResourceOptions): KoyebDomain
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            app_name: Optional[str] = None,
            created_at: Optional[str] = None,
            deployment_group: Optional[str] = None,
            intended_cname: Optional[str] = None,
            messages: Optional[str] = None,
            name: Optional[str] = None,
            organization_id: Optional[str] = None,
            status: Optional[str] = None,
            type: Optional[str] = None,
            updated_at: Optional[str] = None,
            verified_at: Optional[str] = None,
            version: Optional[str] = None) -> KoyebDomain
    func GetKoyebDomain(ctx *Context, name string, id IDInput, state *KoyebDomainState, opts ...ResourceOption) (*KoyebDomain, error)
    public static KoyebDomain Get(string name, Input<string> id, KoyebDomainState? state, CustomResourceOptions? opts = null)
    public static KoyebDomain get(String name, Output<String> id, KoyebDomainState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AppName string
    The app name the domain is assigned to
    CreatedAt string
    The date and time of when the domain was created
    DeploymentGroup string
    The deployment group assigned to the domain
    IntendedCname string
    The CNAME record to point the domain to
    Messages string
    The status messages of the domain
    Name string
    The domain name
    OrganizationId string
    The organization ID owning the domain
    Status string
    The status of the domain
    Type string
    The domain type
    UpdatedAt string
    The date and time of when the domain was last updated
    VerifiedAt string
    The date and time of when the domain was last verified
    Version string
    The version of the domain
    AppName string
    The app name the domain is assigned to
    CreatedAt string
    The date and time of when the domain was created
    DeploymentGroup string
    The deployment group assigned to the domain
    IntendedCname string
    The CNAME record to point the domain to
    Messages string
    The status messages of the domain
    Name string
    The domain name
    OrganizationId string
    The organization ID owning the domain
    Status string
    The status of the domain
    Type string
    The domain type
    UpdatedAt string
    The date and time of when the domain was last updated
    VerifiedAt string
    The date and time of when the domain was last verified
    Version string
    The version of the domain
    appName String
    The app name the domain is assigned to
    createdAt String
    The date and time of when the domain was created
    deploymentGroup String
    The deployment group assigned to the domain
    intendedCname String
    The CNAME record to point the domain to
    messages String
    The status messages of the domain
    name String
    The domain name
    organizationId String
    The organization ID owning the domain
    status String
    The status of the domain
    type String
    The domain type
    updatedAt String
    The date and time of when the domain was last updated
    verifiedAt String
    The date and time of when the domain was last verified
    version String
    The version of the domain
    appName string
    The app name the domain is assigned to
    createdAt string
    The date and time of when the domain was created
    deploymentGroup string
    The deployment group assigned to the domain
    intendedCname string
    The CNAME record to point the domain to
    messages string
    The status messages of the domain
    name string
    The domain name
    organizationId string
    The organization ID owning the domain
    status string
    The status of the domain
    type string
    The domain type
    updatedAt string
    The date and time of when the domain was last updated
    verifiedAt string
    The date and time of when the domain was last verified
    version string
    The version of the domain
    app_name str
    The app name the domain is assigned to
    created_at str
    The date and time of when the domain was created
    deployment_group str
    The deployment group assigned to the domain
    intended_cname str
    The CNAME record to point the domain to
    messages str
    The status messages of the domain
    name str
    The domain name
    organization_id str
    The organization ID owning the domain
    status str
    The status of the domain
    type str
    The domain type
    updated_at str
    The date and time of when the domain was last updated
    verified_at str
    The date and time of when the domain was last verified
    version str
    The version of the domain
    appName String
    The app name the domain is assigned to
    createdAt String
    The date and time of when the domain was created
    deploymentGroup String
    The deployment group assigned to the domain
    intendedCname String
    The CNAME record to point the domain to
    messages String
    The status messages of the domain
    name String
    The domain name
    organizationId String
    The organization ID owning the domain
    status String
    The status of the domain
    type String
    The domain type
    updatedAt String
    The date and time of when the domain was last updated
    verifiedAt String
    The date and time of when the domain was last verified
    version String
    The version of the domain

    Package Details

    Repository
    koyeb koyeb/pulumi-koyeb
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the koyeb Terraform Provider.
    koyeb logo
    koyeb v0.1.7 published on Wednesday, Nov 30, 2022 by Koyeb