1. Packages
  2. ngrok
  3. API Docs
  4. AgentIngress
ngrok v0.0.24 published on Friday, Sep 29, 2023 by Piers Karsenbarg

ngrok.AgentIngress

Explore with Pulumi AI

ngrok logo
ngrok v0.0.24 published on Friday, Sep 29, 2023 by Piers Karsenbarg

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ngrok = PiersKarsenbarg.Ngrok;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Ngrok.AgentIngress("example", new()
        {
            Description = "acme devices",
            Domain = "connect.acme.com",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-ngrok/sdk/go/ngrok"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ngrok.NewAgentIngress(ctx, "example", &ngrok.AgentIngressArgs{
    			Description: pulumi.String("acme devices"),
    			Domain:      pulumi.String("connect.acme.com"),
    		})
    		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.ngrok.AgentIngress;
    import com.pulumi.ngrok.AgentIngressArgs;
    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 example = new AgentIngress("example", AgentIngressArgs.builder()        
                .description("acme devices")
                .domain("connect.acme.com")
                .build());
    
        }
    }
    
    import pulumi
    import pierskarsenbarg_pulumi_ngrok as ngrok
    
    example = ngrok.AgentIngress("example",
        description="acme devices",
        domain="connect.acme.com")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as ngrok from "@pierskarsenbarg/ngrok";
    
    const example = new ngrok.AgentIngress("example", {
        description: "acme devices",
        domain: "connect.acme.com",
    });
    
    resources:
      example:
        type: ngrok:AgentIngress
        properties:
          description: acme devices
          domain: connect.acme.com
    

    Create AgentIngress Resource

    new AgentIngress(name: string, args: AgentIngressArgs, opts?: CustomResourceOptions);
    @overload
    def AgentIngress(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     description: Optional[str] = None,
                     domain: Optional[str] = None,
                     metadata: Optional[str] = None,
                     uri: Optional[str] = None)
    @overload
    def AgentIngress(resource_name: str,
                     args: AgentIngressArgs,
                     opts: Optional[ResourceOptions] = None)
    func NewAgentIngress(ctx *Context, name string, args AgentIngressArgs, opts ...ResourceOption) (*AgentIngress, error)
    public AgentIngress(string name, AgentIngressArgs args, CustomResourceOptions? opts = null)
    public AgentIngress(String name, AgentIngressArgs args)
    public AgentIngress(String name, AgentIngressArgs args, CustomResourceOptions options)
    
    type: ngrok:AgentIngress
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args AgentIngressArgs
    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 AgentIngressArgs
    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 AgentIngressArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AgentIngressArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AgentIngressArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    AgentIngress 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 AgentIngress resource accepts the following input properties:

    Domain string

    the domain that you own to be used as the base domain name to generate regional agent ingress domains.

    Description string

    human-readable description of the use of this Agent Ingress. optional, max 255 bytes.

    Metadata string

    arbitrary user-defined machine-readable data of this Agent Ingress. optional, max 4096 bytes

    Uri string

    URI to the API resource of this Agent ingress

    Domain string

    the domain that you own to be used as the base domain name to generate regional agent ingress domains.

    Description string

    human-readable description of the use of this Agent Ingress. optional, max 255 bytes.

    Metadata string

    arbitrary user-defined machine-readable data of this Agent Ingress. optional, max 4096 bytes

    Uri string

    URI to the API resource of this Agent ingress

    domain String

    the domain that you own to be used as the base domain name to generate regional agent ingress domains.

    description String

    human-readable description of the use of this Agent Ingress. optional, max 255 bytes.

    metadata String

    arbitrary user-defined machine-readable data of this Agent Ingress. optional, max 4096 bytes

    uri String

    URI to the API resource of this Agent ingress

    domain string

    the domain that you own to be used as the base domain name to generate regional agent ingress domains.

    description string

    human-readable description of the use of this Agent Ingress. optional, max 255 bytes.

    metadata string

    arbitrary user-defined machine-readable data of this Agent Ingress. optional, max 4096 bytes

    uri string

    URI to the API resource of this Agent ingress

    domain str

    the domain that you own to be used as the base domain name to generate regional agent ingress domains.

    description str

    human-readable description of the use of this Agent Ingress. optional, max 255 bytes.

    metadata str

    arbitrary user-defined machine-readable data of this Agent Ingress. optional, max 4096 bytes

    uri str

    URI to the API resource of this Agent ingress

    domain String

    the domain that you own to be used as the base domain name to generate regional agent ingress domains.

    description String

    human-readable description of the use of this Agent Ingress. optional, max 255 bytes.

    metadata String

    arbitrary user-defined machine-readable data of this Agent Ingress. optional, max 4096 bytes

    uri String

    URI to the API resource of this Agent ingress

    Outputs

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

    CreatedAt string

    timestamp when the Agent Ingress was created, RFC 3339 format

    Id string

    The provider-assigned unique ID for this managed resource.

    NsTargets List<string>

    a list of target values to use as the values of NS records for the domain property these values will delegate control over the domain to ngrok

    RegionDomains List<string>

    a list of regional agent ingress domains that are subdomains of the value of domain this value may increase over time as ngrok adds more regions

    CreatedAt string

    timestamp when the Agent Ingress was created, RFC 3339 format

    Id string

    The provider-assigned unique ID for this managed resource.

    NsTargets []string

    a list of target values to use as the values of NS records for the domain property these values will delegate control over the domain to ngrok

    RegionDomains []string

    a list of regional agent ingress domains that are subdomains of the value of domain this value may increase over time as ngrok adds more regions

    createdAt String

    timestamp when the Agent Ingress was created, RFC 3339 format

    id String

    The provider-assigned unique ID for this managed resource.

    nsTargets List<String>

    a list of target values to use as the values of NS records for the domain property these values will delegate control over the domain to ngrok

    regionDomains List<String>

    a list of regional agent ingress domains that are subdomains of the value of domain this value may increase over time as ngrok adds more regions

    createdAt string

    timestamp when the Agent Ingress was created, RFC 3339 format

    id string

    The provider-assigned unique ID for this managed resource.

    nsTargets string[]

    a list of target values to use as the values of NS records for the domain property these values will delegate control over the domain to ngrok

    regionDomains string[]

    a list of regional agent ingress domains that are subdomains of the value of domain this value may increase over time as ngrok adds more regions

    created_at str

    timestamp when the Agent Ingress was created, RFC 3339 format

    id str

    The provider-assigned unique ID for this managed resource.

    ns_targets Sequence[str]

    a list of target values to use as the values of NS records for the domain property these values will delegate control over the domain to ngrok

    region_domains Sequence[str]

    a list of regional agent ingress domains that are subdomains of the value of domain this value may increase over time as ngrok adds more regions

    createdAt String

    timestamp when the Agent Ingress was created, RFC 3339 format

    id String

    The provider-assigned unique ID for this managed resource.

    nsTargets List<String>

    a list of target values to use as the values of NS records for the domain property these values will delegate control over the domain to ngrok

    regionDomains List<String>

    a list of regional agent ingress domains that are subdomains of the value of domain this value may increase over time as ngrok adds more regions

    Look up Existing AgentIngress Resource

    Get an existing AgentIngress 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?: AgentIngressState, opts?: CustomResourceOptions): AgentIngress
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            created_at: Optional[str] = None,
            description: Optional[str] = None,
            domain: Optional[str] = None,
            metadata: Optional[str] = None,
            ns_targets: Optional[Sequence[str]] = None,
            region_domains: Optional[Sequence[str]] = None,
            uri: Optional[str] = None) -> AgentIngress
    func GetAgentIngress(ctx *Context, name string, id IDInput, state *AgentIngressState, opts ...ResourceOption) (*AgentIngress, error)
    public static AgentIngress Get(string name, Input<string> id, AgentIngressState? state, CustomResourceOptions? opts = null)
    public static AgentIngress get(String name, Output<String> id, AgentIngressState 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:
    CreatedAt string

    timestamp when the Agent Ingress was created, RFC 3339 format

    Description string

    human-readable description of the use of this Agent Ingress. optional, max 255 bytes.

    Domain string

    the domain that you own to be used as the base domain name to generate regional agent ingress domains.

    Metadata string

    arbitrary user-defined machine-readable data of this Agent Ingress. optional, max 4096 bytes

    NsTargets List<string>

    a list of target values to use as the values of NS records for the domain property these values will delegate control over the domain to ngrok

    RegionDomains List<string>

    a list of regional agent ingress domains that are subdomains of the value of domain this value may increase over time as ngrok adds more regions

    Uri string

    URI to the API resource of this Agent ingress

    CreatedAt string

    timestamp when the Agent Ingress was created, RFC 3339 format

    Description string

    human-readable description of the use of this Agent Ingress. optional, max 255 bytes.

    Domain string

    the domain that you own to be used as the base domain name to generate regional agent ingress domains.

    Metadata string

    arbitrary user-defined machine-readable data of this Agent Ingress. optional, max 4096 bytes

    NsTargets []string

    a list of target values to use as the values of NS records for the domain property these values will delegate control over the domain to ngrok

    RegionDomains []string

    a list of regional agent ingress domains that are subdomains of the value of domain this value may increase over time as ngrok adds more regions

    Uri string

    URI to the API resource of this Agent ingress

    createdAt String

    timestamp when the Agent Ingress was created, RFC 3339 format

    description String

    human-readable description of the use of this Agent Ingress. optional, max 255 bytes.

    domain String

    the domain that you own to be used as the base domain name to generate regional agent ingress domains.

    metadata String

    arbitrary user-defined machine-readable data of this Agent Ingress. optional, max 4096 bytes

    nsTargets List<String>

    a list of target values to use as the values of NS records for the domain property these values will delegate control over the domain to ngrok

    regionDomains List<String>

    a list of regional agent ingress domains that are subdomains of the value of domain this value may increase over time as ngrok adds more regions

    uri String

    URI to the API resource of this Agent ingress

    createdAt string

    timestamp when the Agent Ingress was created, RFC 3339 format

    description string

    human-readable description of the use of this Agent Ingress. optional, max 255 bytes.

    domain string

    the domain that you own to be used as the base domain name to generate regional agent ingress domains.

    metadata string

    arbitrary user-defined machine-readable data of this Agent Ingress. optional, max 4096 bytes

    nsTargets string[]

    a list of target values to use as the values of NS records for the domain property these values will delegate control over the domain to ngrok

    regionDomains string[]

    a list of regional agent ingress domains that are subdomains of the value of domain this value may increase over time as ngrok adds more regions

    uri string

    URI to the API resource of this Agent ingress

    created_at str

    timestamp when the Agent Ingress was created, RFC 3339 format

    description str

    human-readable description of the use of this Agent Ingress. optional, max 255 bytes.

    domain str

    the domain that you own to be used as the base domain name to generate regional agent ingress domains.

    metadata str

    arbitrary user-defined machine-readable data of this Agent Ingress. optional, max 4096 bytes

    ns_targets Sequence[str]

    a list of target values to use as the values of NS records for the domain property these values will delegate control over the domain to ngrok

    region_domains Sequence[str]

    a list of regional agent ingress domains that are subdomains of the value of domain this value may increase over time as ngrok adds more regions

    uri str

    URI to the API resource of this Agent ingress

    createdAt String

    timestamp when the Agent Ingress was created, RFC 3339 format

    description String

    human-readable description of the use of this Agent Ingress. optional, max 255 bytes.

    domain String

    the domain that you own to be used as the base domain name to generate regional agent ingress domains.

    metadata String

    arbitrary user-defined machine-readable data of this Agent Ingress. optional, max 4096 bytes

    nsTargets List<String>

    a list of target values to use as the values of NS records for the domain property these values will delegate control over the domain to ngrok

    regionDomains List<String>

    a list of regional agent ingress domains that are subdomains of the value of domain this value may increase over time as ngrok adds more regions

    uri String

    URI to the API resource of this Agent ingress

    Package Details

    Repository
    ngrok pierskarsenbarg/pulumi-ngrok
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the ngrok Terraform Provider.

    ngrok logo
    ngrok v0.0.24 published on Friday, Sep 29, 2023 by Piers Karsenbarg