Uses of Class
com.ngrok.definitions.Ref
-
Uses of Ref in com.ngrok.definitions
Modifier and TypeMethodDescriptionEndpointBackend.getBackend()
backend to be used to back this endpointTunnelSession.getCredential()
reference to the tunnel credential or ssh credential used by the ngrok agent to start this tunnel sessionIpPolicyRule.getIpPolicy()
object describing the IP policy this IP Policy Rule belongs toTunnel.getTunnelSession()
reference object pointing to the tunnel session on which this tunnel was startedModifier and TypeMethodDescriptionTunnel.getBackends()
tunnel group backends served by this backend tunnelReservedDomain.getCertificate()
object referencing the TLS certificate used for connections to this domain.EndpointMutualTls.getCertificateAuthorities()
PEM-encoded CA certificates that will be used to validate.EventSubscription.getDestinations()
Destinations to which these events will be sentEndpoint.getDomain()
the domain reserved for this endpointEndpoint.getEdge()
the edge serving requests to this endpoint, if this is an edge endpointTunnel.getEndpoint()
the ephemeral endpoint this tunnel is associated with, if this is an agent-initiated tunnelEndpointIpPolicy.getIpPolicies()
Fetches the value of theipPolicies
property.IpRestriction.getIpPolicies()
the set of IP policies that are used to enforce the restrictionEndpoint.getTcpAddr()
the address reserved for this endpointEndpoint.getTunnel()
the tunnel serving requests to this endpoint, if this is an ephemeral endpointTunnelGroupBackend.getTunnels()
tunnels matching this backendModifierConstructorDescriptionEndpointBackend
(Optional<Boolean> enabled, Ref backend) Creates a new instance ofEndpointBackend
.IpPolicyRule
(String id, URI uri, OffsetDateTime createdAt, String description, String metadata, String cidr, Ref ipPolicy, String action) Creates a new instance ofIpPolicyRule
.Tunnel
(String id, URI publicUrl, OffsetDateTime startedAt, String metadata, String proto, String region, Ref tunnelSession, Optional<Ref> endpoint, Map<String, String> labels, Optional<List<Ref>> backends, String forwardsTo) Creates a new instance ofTunnel
.TunnelSession
(String agentVersion, Ref credential, String id, String ip, String metadata, String os, String region, OffsetDateTime startedAt, String transport, URI uri) Creates a new instance ofTunnelSession
.ModifierConstructorDescriptionEndpoint
(String id, String region, OffsetDateTime createdAt, OffsetDateTime updatedAt, URI publicUrl, String proto, String hostport, String type, String metadata, Optional<Ref> domain, Optional<Ref> tcpAddr, Optional<Ref> tunnel, Optional<Ref> edge) Creates a new instance ofEndpoint
.EndpointIpPolicy
(Optional<Boolean> enabled, List<Ref> ipPolicies) Creates a new instance ofEndpointIpPolicy
.EndpointMutualTls
(Optional<Boolean> enabled, List<Ref> certificateAuthorities) Creates a new instance ofEndpointMutualTls
.IpRestriction
(String id, URI uri, OffsetDateTime createdAt, String description, String metadata, Boolean enforced, String type, List<Ref> ipPolicies) Creates a new instance ofIpRestriction
.Tunnel
(String id, URI publicUrl, OffsetDateTime startedAt, String metadata, String proto, String region, Ref tunnelSession, Optional<Ref> endpoint, Map<String, String> labels, Optional<List<Ref>> backends, String forwardsTo) Creates a new instance ofTunnel
.TunnelGroupBackend
(String id, URI uri, OffsetDateTime createdAt, String description, String metadata, Map<String, String> labels, List<Ref> tunnels) Creates a new instance ofTunnelGroupBackend
.