ngrok.AgentIngress
Explore with Pulumi AI
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
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AgentIngress(name: string, args: AgentIngressArgs, opts?: CustomResourceOptions);
@overload
def AgentIngress(resource_name: str,
args: AgentIngressArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AgentIngress(resource_name: str,
opts: Optional[ResourceOptions] = None,
domain: Optional[str] = None,
description: Optional[str] = None,
metadata: Optional[str] = None,
uri: Optional[str] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var agentIngressResource = new Ngrok.AgentIngress("agentIngressResource", new()
{
Domain = "string",
Description = "string",
Metadata = "string",
Uri = "string",
});
example, err := ngrok.NewAgentIngress(ctx, "agentIngressResource", &ngrok.AgentIngressArgs{
Domain: pulumi.String("string"),
Description: pulumi.String("string"),
Metadata: pulumi.String("string"),
Uri: pulumi.String("string"),
})
var agentIngressResource = new AgentIngress("agentIngressResource", AgentIngressArgs.builder()
.domain("string")
.description("string")
.metadata("string")
.uri("string")
.build());
agent_ingress_resource = ngrok.AgentIngress("agentIngressResource",
domain="string",
description="string",
metadata="string",
uri="string")
const agentIngressResource = new ngrok.AgentIngress("agentIngressResource", {
domain: "string",
description: "string",
metadata: "string",
uri: "string",
});
type: ngrok:AgentIngress
properties:
description: string
domain: string
metadata: string
uri: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
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:
- Created
At string - timestamp when the Agent Ingress was created, RFC 3339 format
- Id string
- The provider-assigned unique ID for this managed resource.
- Ns
Targets 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
- Region
Domains 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
- Created
At string - timestamp when the Agent Ingress was created, RFC 3339 format
- Id string
- The provider-assigned unique ID for this managed resource.
- Ns
Targets []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
- Region
Domains []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 String - timestamp when the Agent Ingress was created, RFC 3339 format
- id String
- The provider-assigned unique ID for this managed resource.
- ns
Targets 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
- region
Domains 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
- created
At string - timestamp when the Agent Ingress was created, RFC 3339 format
- id string
- The provider-assigned unique ID for this managed resource.
- ns
Targets 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
- region
Domains 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
- created
At String - timestamp when the Agent Ingress was created, RFC 3339 format
- id String
- The provider-assigned unique ID for this managed resource.
- ns
Targets 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
- region
Domains 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.
- Created
At 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
- Ns
Targets 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
- Region
Domains 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
- Created
At 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
- Ns
Targets []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
- Region
Domains []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 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
- ns
Targets 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
- region
Domains 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
- created
At 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
- ns
Targets 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
- region
Domains 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
- created
At 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
- ns
Targets 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
- region
Domains 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.