ngrok-api 0.22.0 → 0.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/doc/NgrokAPI/Client.html +19 -19
- data/doc/NgrokAPI/Error.html +2 -2
- data/doc/NgrokAPI/Errors/NotFoundError.html +2 -2
- data/doc/NgrokAPI/Errors.html +2 -2
- data/doc/NgrokAPI/HttpClient.html +2 -2
- data/doc/NgrokAPI/Models/APIKey.html +2 -2
- data/doc/NgrokAPI/Models/AWSAuth.html +2 -2
- data/doc/NgrokAPI/Models/AWSCredentials.html +2 -2
- data/doc/NgrokAPI/Models/AWSRole.html +2 -2
- data/doc/NgrokAPI/Models/AbuseReport.html +2 -2
- data/doc/NgrokAPI/Models/AbuseReportHostname.html +2 -2
- data/doc/NgrokAPI/Models/AgentIngress.html +2 -2
- data/doc/NgrokAPI/Models/AgentIngressCertJob.html +2 -2
- data/doc/NgrokAPI/Models/AgentIngressCertPolicy.html +2 -2
- data/doc/NgrokAPI/Models/AgentIngressCertStatus.html +2 -2
- data/doc/NgrokAPI/Models/ApplicationSession.html +2 -2
- data/doc/NgrokAPI/Models/ApplicationUser.html +2 -2
- data/doc/NgrokAPI/Models/BotUser.html +2 -2
- data/doc/NgrokAPI/Models/BrowserSession.html +2 -2
- data/doc/NgrokAPI/Models/CertificateAuthority.html +2 -2
- data/doc/NgrokAPI/Models/Credential.html +2 -2
- data/doc/NgrokAPI/Models/Endpoint.html +2 -2
- data/doc/NgrokAPI/Models/EndpointBackend.html +2 -2
- data/doc/NgrokAPI/Models/EndpointBackendMutate.html +2 -2
- data/doc/NgrokAPI/Models/EndpointCircuitBreaker.html +2 -2
- data/doc/NgrokAPI/Models/EndpointCompression.html +2 -2
- data/doc/NgrokAPI/Models/EndpointIPPolicy.html +2 -2
- data/doc/NgrokAPI/Models/EndpointIPPolicyMutate.html +2 -2
- data/doc/NgrokAPI/Models/EndpointMutualTLS.html +2 -2
- data/doc/NgrokAPI/Models/EndpointMutualTLSMutate.html +2 -2
- data/doc/NgrokAPI/Models/EndpointOAuth.html +2 -2
- data/doc/NgrokAPI/Models/EndpointOAuthAmazon.html +2 -2
- data/doc/NgrokAPI/Models/EndpointOAuthFacebook.html +2 -2
- data/doc/NgrokAPI/Models/EndpointOAuthGitHub.html +2 -2
- data/doc/NgrokAPI/Models/EndpointOAuthGitLab.html +2 -2
- data/doc/NgrokAPI/Models/EndpointOAuthGoogle.html +2 -2
- data/doc/NgrokAPI/Models/EndpointOAuthLinkedIn.html +2 -2
- data/doc/NgrokAPI/Models/EndpointOAuthMicrosoft.html +2 -2
- data/doc/NgrokAPI/Models/EndpointOAuthProvider.html +2 -2
- data/doc/NgrokAPI/Models/EndpointOAuthTwitch.html +2 -2
- data/doc/NgrokAPI/Models/EndpointOIDC.html +2 -2
- data/doc/NgrokAPI/Models/EndpointRequestHeaders.html +2 -2
- data/doc/NgrokAPI/Models/EndpointResponseHeaders.html +2 -2
- data/doc/NgrokAPI/Models/EndpointSAML.html +2 -2
- data/doc/NgrokAPI/Models/EndpointSAMLMutate.html +2 -2
- data/doc/NgrokAPI/Models/EndpointTLSTermination.html +2 -2
- data/doc/NgrokAPI/Models/EndpointTLSTerminationAtEdge.html +2 -2
- data/doc/NgrokAPI/Models/EndpointTrafficPolicy.html +669 -0
- data/doc/NgrokAPI/Models/EndpointUserAgentFilter.html +2 -2
- data/doc/NgrokAPI/Models/EndpointWebhookValidation.html +2 -2
- data/doc/NgrokAPI/Models/EndpointWebsocketTCPConverter.html +2 -2
- data/doc/NgrokAPI/Models/EventDestination.html +2 -2
- data/doc/NgrokAPI/Models/EventSource.html +2 -2
- data/doc/NgrokAPI/Models/EventSourceList.html +2 -2
- data/doc/NgrokAPI/Models/EventSourceReplace.html +2 -2
- data/doc/NgrokAPI/Models/EventSubscription.html +2 -2
- data/doc/NgrokAPI/Models/EventTarget.html +91 -17
- data/doc/NgrokAPI/Models/EventTargetAzureLogsIngestion.html +965 -0
- data/doc/NgrokAPI/Models/EventTargetCloudwatchLogs.html +2 -2
- data/doc/NgrokAPI/Models/EventTargetDatadog.html +2 -2
- data/doc/NgrokAPI/Models/EventTargetFirehose.html +2 -2
- data/doc/NgrokAPI/Models/EventTargetKinesis.html +2 -2
- data/doc/NgrokAPI/Models/FailoverBackend.html +2 -2
- data/doc/NgrokAPI/Models/HTTPResponseBackend.html +2 -2
- data/doc/NgrokAPI/Models/HTTPSEdge.html +2 -2
- data/doc/NgrokAPI/Models/HTTPSEdgeRoute.html +36 -36
- data/doc/NgrokAPI/Models/IPPolicy.html +2 -2
- data/doc/NgrokAPI/Models/IPPolicyRule.html +2 -2
- data/doc/NgrokAPI/Models/IPRestriction.html +2 -2
- data/doc/NgrokAPI/Models/IdentityProvider.html +2 -2
- data/doc/NgrokAPI/Models/Listable.html +2 -2
- data/doc/NgrokAPI/Models/Location.html +2 -2
- data/doc/NgrokAPI/Models/Ref.html +2 -2
- data/doc/NgrokAPI/Models/ReservedAddr.html +2 -2
- data/doc/NgrokAPI/Models/ReservedDomain.html +2 -2
- data/doc/NgrokAPI/Models/ReservedDomainCertJob.html +2 -2
- data/doc/NgrokAPI/Models/ReservedDomainCertPolicy.html +2 -2
- data/doc/NgrokAPI/Models/ReservedDomainCertStatus.html +2 -2
- data/doc/NgrokAPI/Models/SSHCertificateAuthority.html +2 -2
- data/doc/NgrokAPI/Models/SSHCredential.html +2 -2
- data/doc/NgrokAPI/Models/SSHHostCertificate.html +2 -2
- data/doc/NgrokAPI/Models/SSHUserCertificate.html +2 -2
- data/doc/NgrokAPI/Models/StaticBackend.html +2 -2
- data/doc/NgrokAPI/Models/StaticBackendTLS.html +2 -2
- data/doc/NgrokAPI/Models/TCPEdge.html +15 -15
- data/doc/NgrokAPI/Models/TLSCertificate.html +2 -2
- data/doc/NgrokAPI/Models/TLSCertificateSANs.html +2 -2
- data/doc/NgrokAPI/Models/TLSEdge.html +22 -22
- data/doc/NgrokAPI/Models/Tunnel.html +2 -2
- data/doc/NgrokAPI/Models/TunnelGroupBackend.html +2 -2
- data/doc/NgrokAPI/Models/TunnelSession.html +2 -2
- data/doc/NgrokAPI/Models/UserAgent.html +2 -2
- data/doc/NgrokAPI/Models/WeightedBackend.html +2 -2
- data/doc/NgrokAPI/Models.html +4 -4
- data/doc/NgrokAPI/PagedIterator.html +2 -2
- data/doc/NgrokAPI/Services/APIKeysClient.html +3 -3
- data/doc/NgrokAPI/Services/AbuseReportsClient.html +3 -3
- data/doc/NgrokAPI/Services/AgentIngressesClient.html +2 -2
- data/doc/NgrokAPI/Services/ApplicationSessionsClient.html +2 -2
- data/doc/NgrokAPI/Services/ApplicationUsersClient.html +2 -2
- data/doc/NgrokAPI/Services/BotUsersClient.html +2 -2
- data/doc/NgrokAPI/Services/CertificateAuthoritiesClient.html +3 -3
- data/doc/NgrokAPI/Services/CredentialsClient.html +3 -3
- data/doc/NgrokAPI/Services/EdgeRouteBackendModuleClient.html +2 -2
- data/doc/NgrokAPI/Services/EdgeRouteCircuitBreakerModuleClient.html +2 -2
- data/doc/NgrokAPI/Services/EdgeRouteCompressionModuleClient.html +2 -2
- data/doc/NgrokAPI/Services/EdgeRouteIPRestrictionModuleClient.html +2 -2
- data/doc/NgrokAPI/Services/EdgeRouteOAuthModuleClient.html +2 -2
- data/doc/NgrokAPI/Services/EdgeRouteOIDCModuleClient.html +2 -2
- data/doc/NgrokAPI/Services/EdgeRouteRequestHeadersModuleClient.html +2 -2
- data/doc/NgrokAPI/Services/EdgeRouteResponseHeadersModuleClient.html +2 -2
- data/doc/NgrokAPI/Services/EdgeRouteSAMLModuleClient.html +2 -2
- data/doc/NgrokAPI/Services/EdgeRouteTrafficPolicyModuleClient.html +1149 -0
- data/doc/NgrokAPI/Services/EdgeRouteUserAgentFilterModuleClient.html +2 -2
- data/doc/NgrokAPI/Services/EdgeRouteWebhookVerificationModuleClient.html +2 -2
- data/doc/NgrokAPI/Services/EdgeRouteWebsocketTCPConverterModuleClient.html +2 -2
- data/doc/NgrokAPI/Services/EdgesHTTPSClient.html +2 -2
- data/doc/NgrokAPI/Services/EdgesHTTPSRoutesClient.html +26 -26
- data/doc/NgrokAPI/Services/EdgesTCPClient.html +26 -26
- data/doc/NgrokAPI/Services/EdgesTLSClient.html +26 -26
- data/doc/NgrokAPI/Services/EndpointsClient.html +3 -3
- data/doc/NgrokAPI/Services/EventDestinationsClient.html +2 -2
- data/doc/NgrokAPI/Services/EventSourcesClient.html +2 -2
- data/doc/NgrokAPI/Services/EventSubscriptionsClient.html +2 -2
- data/doc/NgrokAPI/Services/FailoverBackendsClient.html +3 -3
- data/doc/NgrokAPI/Services/HTTPResponseBackendsClient.html +2 -2
- data/doc/NgrokAPI/Services/HTTPSEdgeMutualTLSModuleClient.html +2 -2
- data/doc/NgrokAPI/Services/HTTPSEdgeTLSTerminationModuleClient.html +2 -2
- data/doc/NgrokAPI/Services/IPPoliciesClient.html +3 -3
- data/doc/NgrokAPI/Services/IPPolicyRulesClient.html +3 -3
- data/doc/NgrokAPI/Services/IPRestrictionsClient.html +3 -3
- data/doc/NgrokAPI/Services/ReservedAddrsClient.html +3 -3
- data/doc/NgrokAPI/Services/ReservedDomainsClient.html +15 -15
- data/doc/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +3 -3
- data/doc/NgrokAPI/Services/SSHCredentialsClient.html +3 -3
- data/doc/NgrokAPI/Services/SSHHostCertificatesClient.html +3 -3
- data/doc/NgrokAPI/Services/SSHUserCertificatesClient.html +3 -3
- data/doc/NgrokAPI/Services/StaticBackendsClient.html +3 -3
- data/doc/NgrokAPI/Services/TCPEdgeBackendModuleClient.html +2 -2
- data/doc/NgrokAPI/Services/TCPEdgeIPRestrictionModuleClient.html +2 -2
- data/doc/NgrokAPI/Services/TCPEdgeTrafficPolicyModuleClient.html +1039 -0
- data/doc/NgrokAPI/Services/TLSCertificatesClient.html +3 -3
- data/doc/NgrokAPI/Services/TLSEdgeBackendModuleClient.html +2 -2
- data/doc/NgrokAPI/Services/TLSEdgeIPRestrictionModuleClient.html +2 -2
- data/doc/NgrokAPI/Services/TLSEdgeMutualTLSModuleClient.html +2 -2
- data/doc/NgrokAPI/Services/TLSEdgeTLSTerminationModuleClient.html +2 -2
- data/doc/NgrokAPI/Services/TLSEdgeTrafficPolicyModuleClient.html +1039 -0
- data/doc/NgrokAPI/Services/TunnelGroupBackendsClient.html +3 -3
- data/doc/NgrokAPI/Services/TunnelSessionsClient.html +3 -3
- data/doc/NgrokAPI/Services/TunnelsClient.html +3 -3
- data/doc/NgrokAPI/Services/WeightedBackendsClient.html +3 -3
- data/doc/NgrokAPI/Services.html +4 -4
- data/doc/NgrokAPI.html +3 -3
- data/doc/_index.html +21 -28
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +2 -2
- data/doc/index.html +2 -2
- data/doc/method_list.html +1089 -1129
- data/doc/top-level-namespace.html +2 -2
- data/docs/NgrokAPI/Client.html +19 -19
- data/docs/NgrokAPI/Error.html +2 -2
- data/docs/NgrokAPI/Errors/NotFoundError.html +2 -2
- data/docs/NgrokAPI/Errors.html +2 -2
- data/docs/NgrokAPI/HttpClient.html +2 -2
- data/docs/NgrokAPI/Models/APIKey.html +2 -2
- data/docs/NgrokAPI/Models/AWSAuth.html +2 -2
- data/docs/NgrokAPI/Models/AWSCredentials.html +2 -2
- data/docs/NgrokAPI/Models/AWSRole.html +2 -2
- data/docs/NgrokAPI/Models/AbuseReport.html +2 -2
- data/docs/NgrokAPI/Models/AbuseReportHostname.html +2 -2
- data/docs/NgrokAPI/Models/AgentIngress.html +2 -2
- data/docs/NgrokAPI/Models/AgentIngressCertJob.html +2 -2
- data/docs/NgrokAPI/Models/AgentIngressCertPolicy.html +2 -2
- data/docs/NgrokAPI/Models/AgentIngressCertStatus.html +2 -2
- data/docs/NgrokAPI/Models/ApplicationSession.html +2 -2
- data/docs/NgrokAPI/Models/ApplicationUser.html +2 -2
- data/docs/NgrokAPI/Models/BotUser.html +2 -2
- data/docs/NgrokAPI/Models/BrowserSession.html +2 -2
- data/docs/NgrokAPI/Models/CertificateAuthority.html +2 -2
- data/docs/NgrokAPI/Models/Credential.html +2 -2
- data/docs/NgrokAPI/Models/Endpoint.html +2 -2
- data/docs/NgrokAPI/Models/EndpointBackend.html +2 -2
- data/docs/NgrokAPI/Models/EndpointBackendMutate.html +2 -2
- data/docs/NgrokAPI/Models/EndpointCircuitBreaker.html +2 -2
- data/docs/NgrokAPI/Models/EndpointCompression.html +2 -2
- data/docs/NgrokAPI/Models/EndpointIPPolicy.html +2 -2
- data/docs/NgrokAPI/Models/EndpointIPPolicyMutate.html +2 -2
- data/docs/NgrokAPI/Models/EndpointMutualTLS.html +2 -2
- data/docs/NgrokAPI/Models/EndpointMutualTLSMutate.html +2 -2
- data/docs/NgrokAPI/Models/EndpointOAuth.html +2 -2
- data/docs/NgrokAPI/Models/EndpointOAuthAmazon.html +2 -2
- data/docs/NgrokAPI/Models/EndpointOAuthFacebook.html +2 -2
- data/docs/NgrokAPI/Models/EndpointOAuthGitHub.html +2 -2
- data/docs/NgrokAPI/Models/EndpointOAuthGitLab.html +2 -2
- data/docs/NgrokAPI/Models/EndpointOAuthGoogle.html +2 -2
- data/docs/NgrokAPI/Models/EndpointOAuthLinkedIn.html +2 -2
- data/docs/NgrokAPI/Models/EndpointOAuthMicrosoft.html +2 -2
- data/docs/NgrokAPI/Models/EndpointOAuthProvider.html +2 -2
- data/docs/NgrokAPI/Models/EndpointOAuthTwitch.html +2 -2
- data/docs/NgrokAPI/Models/EndpointOIDC.html +2 -2
- data/docs/NgrokAPI/Models/EndpointRequestHeaders.html +2 -2
- data/docs/NgrokAPI/Models/EndpointResponseHeaders.html +2 -2
- data/docs/NgrokAPI/Models/EndpointSAML.html +2 -2
- data/docs/NgrokAPI/Models/EndpointSAMLMutate.html +2 -2
- data/docs/NgrokAPI/Models/EndpointTLSTermination.html +2 -2
- data/docs/NgrokAPI/Models/EndpointTLSTerminationAtEdge.html +2 -2
- data/docs/NgrokAPI/Models/EndpointTrafficPolicy.html +669 -0
- data/docs/NgrokAPI/Models/EndpointUserAgentFilter.html +2 -2
- data/docs/NgrokAPI/Models/EndpointWebhookValidation.html +2 -2
- data/docs/NgrokAPI/Models/EndpointWebsocketTCPConverter.html +2 -2
- data/docs/NgrokAPI/Models/EventDestination.html +2 -2
- data/docs/NgrokAPI/Models/EventSource.html +2 -2
- data/docs/NgrokAPI/Models/EventSourceList.html +2 -2
- data/docs/NgrokAPI/Models/EventSourceReplace.html +2 -2
- data/docs/NgrokAPI/Models/EventSubscription.html +2 -2
- data/docs/NgrokAPI/Models/EventTarget.html +91 -17
- data/docs/NgrokAPI/Models/EventTargetAzureLogsIngestion.html +965 -0
- data/docs/NgrokAPI/Models/EventTargetCloudwatchLogs.html +2 -2
- data/docs/NgrokAPI/Models/EventTargetDatadog.html +2 -2
- data/docs/NgrokAPI/Models/EventTargetFirehose.html +2 -2
- data/docs/NgrokAPI/Models/EventTargetKinesis.html +2 -2
- data/docs/NgrokAPI/Models/FailoverBackend.html +2 -2
- data/docs/NgrokAPI/Models/HTTPResponseBackend.html +2 -2
- data/docs/NgrokAPI/Models/HTTPSEdge.html +2 -2
- data/docs/NgrokAPI/Models/HTTPSEdgeRoute.html +36 -36
- data/docs/NgrokAPI/Models/IPPolicy.html +2 -2
- data/docs/NgrokAPI/Models/IPPolicyRule.html +2 -2
- data/docs/NgrokAPI/Models/IPRestriction.html +2 -2
- data/docs/NgrokAPI/Models/IdentityProvider.html +2 -2
- data/docs/NgrokAPI/Models/Listable.html +2 -2
- data/docs/NgrokAPI/Models/Location.html +2 -2
- data/docs/NgrokAPI/Models/Ref.html +2 -2
- data/docs/NgrokAPI/Models/ReservedAddr.html +2 -2
- data/docs/NgrokAPI/Models/ReservedDomain.html +2 -2
- data/docs/NgrokAPI/Models/ReservedDomainCertJob.html +2 -2
- data/docs/NgrokAPI/Models/ReservedDomainCertPolicy.html +2 -2
- data/docs/NgrokAPI/Models/ReservedDomainCertStatus.html +2 -2
- data/docs/NgrokAPI/Models/SSHCertificateAuthority.html +2 -2
- data/docs/NgrokAPI/Models/SSHCredential.html +2 -2
- data/docs/NgrokAPI/Models/SSHHostCertificate.html +2 -2
- data/docs/NgrokAPI/Models/SSHUserCertificate.html +2 -2
- data/docs/NgrokAPI/Models/StaticBackend.html +2 -2
- data/docs/NgrokAPI/Models/StaticBackendTLS.html +2 -2
- data/docs/NgrokAPI/Models/TCPEdge.html +15 -15
- data/docs/NgrokAPI/Models/TLSCertificate.html +2 -2
- data/docs/NgrokAPI/Models/TLSCertificateSANs.html +2 -2
- data/docs/NgrokAPI/Models/TLSEdge.html +22 -22
- data/docs/NgrokAPI/Models/Tunnel.html +2 -2
- data/docs/NgrokAPI/Models/TunnelGroupBackend.html +2 -2
- data/docs/NgrokAPI/Models/TunnelSession.html +2 -2
- data/docs/NgrokAPI/Models/UserAgent.html +2 -2
- data/docs/NgrokAPI/Models/WeightedBackend.html +2 -2
- data/docs/NgrokAPI/Models.html +4 -4
- data/docs/NgrokAPI/PagedIterator.html +2 -2
- data/docs/NgrokAPI/Services/APIKeysClient.html +3 -3
- data/docs/NgrokAPI/Services/AbuseReportsClient.html +3 -3
- data/docs/NgrokAPI/Services/AgentIngressesClient.html +2 -2
- data/docs/NgrokAPI/Services/ApplicationSessionsClient.html +2 -2
- data/docs/NgrokAPI/Services/ApplicationUsersClient.html +2 -2
- data/docs/NgrokAPI/Services/BotUsersClient.html +2 -2
- data/docs/NgrokAPI/Services/CertificateAuthoritiesClient.html +3 -3
- data/docs/NgrokAPI/Services/CredentialsClient.html +3 -3
- data/docs/NgrokAPI/Services/EdgeRouteBackendModuleClient.html +2 -2
- data/docs/NgrokAPI/Services/EdgeRouteCircuitBreakerModuleClient.html +2 -2
- data/docs/NgrokAPI/Services/EdgeRouteCompressionModuleClient.html +2 -2
- data/docs/NgrokAPI/Services/EdgeRouteIPRestrictionModuleClient.html +2 -2
- data/docs/NgrokAPI/Services/EdgeRouteOAuthModuleClient.html +2 -2
- data/docs/NgrokAPI/Services/EdgeRouteOIDCModuleClient.html +2 -2
- data/docs/NgrokAPI/Services/EdgeRouteRequestHeadersModuleClient.html +2 -2
- data/docs/NgrokAPI/Services/EdgeRouteResponseHeadersModuleClient.html +2 -2
- data/docs/NgrokAPI/Services/EdgeRouteSAMLModuleClient.html +2 -2
- data/docs/NgrokAPI/Services/EdgeRouteTrafficPolicyModuleClient.html +1149 -0
- data/docs/NgrokAPI/Services/EdgeRouteUserAgentFilterModuleClient.html +2 -2
- data/docs/NgrokAPI/Services/EdgeRouteWebhookVerificationModuleClient.html +2 -2
- data/docs/NgrokAPI/Services/EdgeRouteWebsocketTCPConverterModuleClient.html +2 -2
- data/docs/NgrokAPI/Services/EdgesHTTPSClient.html +2 -2
- data/docs/NgrokAPI/Services/EdgesHTTPSRoutesClient.html +26 -26
- data/docs/NgrokAPI/Services/EdgesTCPClient.html +26 -26
- data/docs/NgrokAPI/Services/EdgesTLSClient.html +26 -26
- data/docs/NgrokAPI/Services/EndpointsClient.html +3 -3
- data/docs/NgrokAPI/Services/EventDestinationsClient.html +2 -2
- data/docs/NgrokAPI/Services/EventSourcesClient.html +2 -2
- data/docs/NgrokAPI/Services/EventSubscriptionsClient.html +2 -2
- data/docs/NgrokAPI/Services/FailoverBackendsClient.html +3 -3
- data/docs/NgrokAPI/Services/HTTPResponseBackendsClient.html +2 -2
- data/docs/NgrokAPI/Services/HTTPSEdgeMutualTLSModuleClient.html +2 -2
- data/docs/NgrokAPI/Services/HTTPSEdgeTLSTerminationModuleClient.html +2 -2
- data/docs/NgrokAPI/Services/IPPoliciesClient.html +3 -3
- data/docs/NgrokAPI/Services/IPPolicyRulesClient.html +3 -3
- data/docs/NgrokAPI/Services/IPRestrictionsClient.html +3 -3
- data/docs/NgrokAPI/Services/ReservedAddrsClient.html +3 -3
- data/docs/NgrokAPI/Services/ReservedDomainsClient.html +15 -15
- data/docs/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +3 -3
- data/docs/NgrokAPI/Services/SSHCredentialsClient.html +3 -3
- data/docs/NgrokAPI/Services/SSHHostCertificatesClient.html +3 -3
- data/docs/NgrokAPI/Services/SSHUserCertificatesClient.html +3 -3
- data/docs/NgrokAPI/Services/StaticBackendsClient.html +3 -3
- data/docs/NgrokAPI/Services/TCPEdgeBackendModuleClient.html +2 -2
- data/docs/NgrokAPI/Services/TCPEdgeIPRestrictionModuleClient.html +2 -2
- data/docs/NgrokAPI/Services/TCPEdgeTrafficPolicyModuleClient.html +1039 -0
- data/docs/NgrokAPI/Services/TLSCertificatesClient.html +3 -3
- data/docs/NgrokAPI/Services/TLSEdgeBackendModuleClient.html +2 -2
- data/docs/NgrokAPI/Services/TLSEdgeIPRestrictionModuleClient.html +2 -2
- data/docs/NgrokAPI/Services/TLSEdgeMutualTLSModuleClient.html +2 -2
- data/docs/NgrokAPI/Services/TLSEdgeTLSTerminationModuleClient.html +2 -2
- data/docs/NgrokAPI/Services/TLSEdgeTrafficPolicyModuleClient.html +1039 -0
- data/docs/NgrokAPI/Services/TunnelGroupBackendsClient.html +3 -3
- data/docs/NgrokAPI/Services/TunnelSessionsClient.html +3 -3
- data/docs/NgrokAPI/Services/TunnelsClient.html +3 -3
- data/docs/NgrokAPI/Services/WeightedBackendsClient.html +3 -3
- data/docs/NgrokAPI/Services.html +4 -4
- data/docs/NgrokAPI.html +3 -3
- data/docs/_index.html +21 -28
- data/docs/class_list.html +1 -1
- data/docs/file.README.html +2 -2
- data/docs/index.html +2 -2
- data/docs/method_list.html +1089 -1129
- data/docs/top-level-namespace.html +2 -2
- data/lib/ngrokapi/models/{endpoint_policy.rb → endpoint_traffic_policy.rb} +3 -5
- data/lib/ngrokapi/models/event_target.rb +3 -1
- data/lib/ngrokapi/models/event_target_azure_logs_ingestion.rb +41 -0
- data/lib/ngrokapi/models/https_edge_route.rb +5 -5
- data/lib/ngrokapi/models/tcp_edge.rb +5 -5
- data/lib/ngrokapi/models/tls_edge.rb +5 -5
- data/lib/ngrokapi/services/{edge_route_policy_module_client.rb → edge_route_traffic_policy_module_client.rb} +25 -25
- data/lib/ngrokapi/services/edges_https_routes_client.rb +12 -12
- data/lib/ngrokapi/services/edges_tcp_client.rb +12 -12
- data/lib/ngrokapi/services/edges_tls_client.rb +12 -12
- data/lib/ngrokapi/services/reserved_domains_client.rb +4 -4
- data/lib/ngrokapi/services/{tcp_edge_policy_module_client.rb → tcp_edge_traffic_policy_module_client.rb} +25 -25
- data/lib/ngrokapi/services/{tls_edge_policy_module_client.rb → tls_edge_traffic_policy_module_client.rb} +25 -25
- data/lib/ngrokapi/version.rb +1 -1
- data/spec/ngrokapi/models/endpoint_traffic_policy_spec.rb +23 -0
- data/spec/ngrokapi/models/event_target_azure_logs_ingestion_spec.rb +23 -0
- data/spec/ngrokapi/models/https_edge_route_spec.rb +3 -3
- data/spec/ngrokapi/models/tcp_edge_spec.rb +3 -3
- data/spec/ngrokapi/models/tls_edge_spec.rb +3 -3
- data/spec/ngrokapi/services/edge_route_traffic_policy_module_client_spec.rb +139 -0
- data/spec/ngrokapi/services/edges_https_routes_client_spec.rb +12 -8
- data/spec/ngrokapi/services/edges_tcp_client_spec.rb +12 -8
- data/spec/ngrokapi/services/edges_tls_client_spec.rb +12 -8
- data/spec/ngrokapi/services/reserved_domains_client_spec.rb +8 -4
- data/spec/ngrokapi/services/tcp_edge_traffic_policy_module_client_spec.rb +125 -0
- data/spec/ngrokapi/services/tls_edge_traffic_policy_module_client_spec.rb +125 -0
- data/spec/spec_helper.rb +6 -11
- metadata +21 -13
- data/lib/ngrokapi/models/endpoint_action.rb +0 -33
- data/lib/ngrokapi/models/endpoint_rule.rb +0 -35
- data/spec/ngrokapi/models/endpoint_action_spec.rb +0 -23
- data/spec/ngrokapi/models/endpoint_policy_spec.rb +0 -23
- data/spec/ngrokapi/models/endpoint_rule_spec.rb +0 -23
- data/spec/ngrokapi/services/edge_route_policy_module_client_spec.rb +0 -139
- data/spec/ngrokapi/services/tcp_edge_policy_module_client_spec.rb +0 -125
- data/spec/ngrokapi/services/tls_edge_policy_module_client_spec.rb +0 -125
@@ -100,9 +100,9 @@
|
|
100
100
|
</div>
|
101
101
|
|
102
102
|
<div id="footer">
|
103
|
-
Generated on
|
103
|
+
Generated on Thu Jul 25 21:32:04 2024 by
|
104
104
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
105
|
-
0.9.36 (ruby-3.3.
|
105
|
+
0.9.36 (ruby-3.3.1).
|
106
106
|
</div>
|
107
107
|
|
108
108
|
</div>
|
@@ -4,19 +4,17 @@
|
|
4
4
|
|
5
5
|
module NgrokAPI
|
6
6
|
module Models
|
7
|
-
class
|
7
|
+
class EndpointTrafficPolicy
|
8
8
|
attr_reader :client,
|
9
9
|
:attrs,
|
10
10
|
:enabled,
|
11
|
-
:
|
12
|
-
:outbound
|
11
|
+
:value
|
13
12
|
|
14
13
|
def initialize(client: nil, attrs: {})
|
15
14
|
@client = client
|
16
15
|
@attrs = attrs
|
17
16
|
@enabled = @attrs['enabled']
|
18
|
-
@
|
19
|
-
@outbound = @attrs['outbound']
|
17
|
+
@value = @attrs['value']
|
20
18
|
end
|
21
19
|
|
22
20
|
def ==(other)
|
@@ -10,7 +10,8 @@ module NgrokAPI
|
|
10
10
|
:firehose,
|
11
11
|
:kinesis,
|
12
12
|
:cloudwatch_logs,
|
13
|
-
:datadog
|
13
|
+
:datadog,
|
14
|
+
:azure_logs_ingestion
|
14
15
|
|
15
16
|
def initialize(client: nil, attrs: {})
|
16
17
|
@client = client
|
@@ -19,6 +20,7 @@ module NgrokAPI
|
|
19
20
|
@kinesis = @attrs['kinesis']
|
20
21
|
@cloudwatch_logs = @attrs['cloudwatch_logs']
|
21
22
|
@datadog = @attrs['datadog']
|
23
|
+
@azure_logs_ingestion = @attrs['azure_logs_ingestion']
|
22
24
|
end
|
23
25
|
|
24
26
|
def ==(other)
|
@@ -0,0 +1,41 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Code generated for API Clients. DO NOT EDIT.
|
4
|
+
|
5
|
+
module NgrokAPI
|
6
|
+
module Models
|
7
|
+
class EventTargetAzureLogsIngestion
|
8
|
+
attr_reader :client,
|
9
|
+
:attrs,
|
10
|
+
:tenant_id,
|
11
|
+
:client_id,
|
12
|
+
:client_secret,
|
13
|
+
:logs_ingestion_uri,
|
14
|
+
:data_collection_rule_id,
|
15
|
+
:data_collection_stream_name
|
16
|
+
|
17
|
+
def initialize(client: nil, attrs: {})
|
18
|
+
@client = client
|
19
|
+
@attrs = attrs
|
20
|
+
@tenant_id = @attrs['tenant_id']
|
21
|
+
@client_id = @attrs['client_id']
|
22
|
+
@client_secret = @attrs['client_secret']
|
23
|
+
@logs_ingestion_uri = @attrs['logs_ingestion_uri']
|
24
|
+
@data_collection_rule_id = @attrs['data_collection_rule_id']
|
25
|
+
@data_collection_stream_name = @attrs['data_collection_stream_name']
|
26
|
+
end
|
27
|
+
|
28
|
+
def ==(other)
|
29
|
+
@attrs == other.attrs
|
30
|
+
end
|
31
|
+
|
32
|
+
def to_s
|
33
|
+
@attrs.to_s
|
34
|
+
end
|
35
|
+
|
36
|
+
def to_h
|
37
|
+
@attrs.to_h
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
@@ -29,7 +29,7 @@ module NgrokAPI
|
|
29
29
|
:oidc,
|
30
30
|
:websocket_tcp_converter,
|
31
31
|
:user_agent_filter,
|
32
|
-
:
|
32
|
+
:traffic_policy
|
33
33
|
|
34
34
|
def initialize(client: nil, attrs: {})
|
35
35
|
@client = client
|
@@ -56,7 +56,7 @@ module NgrokAPI
|
|
56
56
|
@oidc = @attrs['oidc']
|
57
57
|
@websocket_tcp_converter = @attrs['websocket_tcp_converter']
|
58
58
|
@user_agent_filter = @attrs['user_agent_filter']
|
59
|
-
@
|
59
|
+
@traffic_policy = @attrs['traffic_policy']
|
60
60
|
end
|
61
61
|
|
62
62
|
def ==(other)
|
@@ -95,7 +95,7 @@ module NgrokAPI
|
|
95
95
|
oidc: nil,
|
96
96
|
websocket_tcp_converter: nil,
|
97
97
|
user_agent_filter: nil,
|
98
|
-
|
98
|
+
traffic_policy: nil
|
99
99
|
)
|
100
100
|
@match_type = match_type if match_type
|
101
101
|
@match = match if match
|
@@ -113,7 +113,7 @@ module NgrokAPI
|
|
113
113
|
@oidc = oidc if oidc
|
114
114
|
@websocket_tcp_converter = websocket_tcp_converter if websocket_tcp_converter
|
115
115
|
@user_agent_filter = user_agent_filter if user_agent_filter
|
116
|
-
@
|
116
|
+
@traffic_policy = traffic_policy if traffic_policy
|
117
117
|
@client.update(
|
118
118
|
edge_id: @edge_id,
|
119
119
|
id: @id,
|
@@ -133,7 +133,7 @@ module NgrokAPI
|
|
133
133
|
oidc: oidc,
|
134
134
|
websocket_tcp_converter: websocket_tcp_converter,
|
135
135
|
user_agent_filter: user_agent_filter,
|
136
|
-
|
136
|
+
traffic_policy: traffic_policy
|
137
137
|
)
|
138
138
|
end
|
139
139
|
|
@@ -17,7 +17,7 @@ module NgrokAPI
|
|
17
17
|
:hostports,
|
18
18
|
:backend,
|
19
19
|
:ip_restriction,
|
20
|
-
:
|
20
|
+
:traffic_policy
|
21
21
|
|
22
22
|
def initialize(client: nil, attrs: {})
|
23
23
|
@client = client
|
@@ -32,7 +32,7 @@ module NgrokAPI
|
|
32
32
|
@hostports = @attrs['hostports']
|
33
33
|
@backend = @attrs['backend']
|
34
34
|
@ip_restriction = @attrs['ip_restriction']
|
35
|
-
@
|
35
|
+
@traffic_policy = @attrs['traffic_policy']
|
36
36
|
end
|
37
37
|
|
38
38
|
def ==(other)
|
@@ -60,14 +60,14 @@ module NgrokAPI
|
|
60
60
|
hostports: nil,
|
61
61
|
backend: nil,
|
62
62
|
ip_restriction: nil,
|
63
|
-
|
63
|
+
traffic_policy: nil
|
64
64
|
)
|
65
65
|
@description = description if description
|
66
66
|
@metadata = metadata if metadata
|
67
67
|
@hostports = hostports if hostports
|
68
68
|
@backend = backend if backend
|
69
69
|
@ip_restriction = ip_restriction if ip_restriction
|
70
|
-
@
|
70
|
+
@traffic_policy = traffic_policy if traffic_policy
|
71
71
|
@client.update(
|
72
72
|
id: @id,
|
73
73
|
description: description,
|
@@ -75,7 +75,7 @@ module NgrokAPI
|
|
75
75
|
hostports: hostports,
|
76
76
|
backend: backend,
|
77
77
|
ip_restriction: ip_restriction,
|
78
|
-
|
78
|
+
traffic_policy: traffic_policy
|
79
79
|
)
|
80
80
|
end
|
81
81
|
|
@@ -19,7 +19,7 @@ module NgrokAPI
|
|
19
19
|
:ip_restriction,
|
20
20
|
:mutual_tls,
|
21
21
|
:tls_termination,
|
22
|
-
:
|
22
|
+
:traffic_policy
|
23
23
|
|
24
24
|
def initialize(client: nil, attrs: {})
|
25
25
|
@client = client
|
@@ -36,7 +36,7 @@ module NgrokAPI
|
|
36
36
|
@ip_restriction = @attrs['ip_restriction']
|
37
37
|
@mutual_tls = @attrs['mutual_tls']
|
38
38
|
@tls_termination = @attrs['tls_termination']
|
39
|
-
@
|
39
|
+
@traffic_policy = @attrs['traffic_policy']
|
40
40
|
end
|
41
41
|
|
42
42
|
def ==(other)
|
@@ -66,7 +66,7 @@ module NgrokAPI
|
|
66
66
|
ip_restriction: nil,
|
67
67
|
mutual_tls: nil,
|
68
68
|
tls_termination: nil,
|
69
|
-
|
69
|
+
traffic_policy: nil
|
70
70
|
)
|
71
71
|
@description = description if description
|
72
72
|
@metadata = metadata if metadata
|
@@ -75,7 +75,7 @@ module NgrokAPI
|
|
75
75
|
@ip_restriction = ip_restriction if ip_restriction
|
76
76
|
@mutual_tls = mutual_tls if mutual_tls
|
77
77
|
@tls_termination = tls_termination if tls_termination
|
78
|
-
@
|
78
|
+
@traffic_policy = traffic_policy if traffic_policy
|
79
79
|
@client.update(
|
80
80
|
id: @id,
|
81
81
|
description: description,
|
@@ -85,7 +85,7 @@ module NgrokAPI
|
|
85
85
|
ip_restriction: ip_restriction,
|
86
86
|
mutual_tls: mutual_tls,
|
87
87
|
tls_termination: tls_termination,
|
88
|
-
|
88
|
+
traffic_policy: traffic_policy
|
89
89
|
)
|
90
90
|
end
|
91
91
|
|
@@ -5,10 +5,10 @@
|
|
5
5
|
module NgrokAPI
|
6
6
|
module Services
|
7
7
|
##
|
8
|
-
# https://ngrok.com/docs/api#api-edge-route-policy-module
|
9
|
-
class
|
8
|
+
# https://ngrok.com/docs/api#api-edge-route-traffic-policy-module
|
9
|
+
class EdgeRouteTrafficPolicyModuleClient
|
10
10
|
# The API path for the requests
|
11
|
-
PATH = '/edges/https/%{edge_id}/routes/%{id}/
|
11
|
+
PATH = '/edges/https/%{edge_id}/routes/%{id}/traffic_policy'
|
12
12
|
|
13
13
|
attr_reader :client
|
14
14
|
|
@@ -19,71 +19,71 @@ module NgrokAPI
|
|
19
19
|
##
|
20
20
|
# @param [string] edge_id
|
21
21
|
# @param [string] id
|
22
|
-
# @param [
|
23
|
-
# @return [NgrokAPI::Models::
|
22
|
+
# @param [EndpointTrafficPolicy] a_module
|
23
|
+
# @return [NgrokAPI::Models::EndpointTrafficPolicy] result from the API request
|
24
24
|
#
|
25
|
-
# https://ngrok.com/docs/api#api-edge-route-policy-module-replace
|
25
|
+
# https://ngrok.com/docs/api#api-edge-route-traffic-policy-module-replace
|
26
26
|
def replace(edge_id: "", id: "", a_module: nil)
|
27
|
-
path = '/edges/https/%{edge_id}/routes/%{id}/
|
27
|
+
path = '/edges/https/%{edge_id}/routes/%{id}/traffic_policy'
|
28
28
|
replacements = {
|
29
29
|
edge_id: edge_id,
|
30
30
|
id: id,
|
31
31
|
}
|
32
32
|
data = a_module
|
33
33
|
result = @client.put(path % replacements, data: data)
|
34
|
-
NgrokAPI::Models::
|
34
|
+
NgrokAPI::Models::EndpointTrafficPolicy.new(client: self, attrs: result)
|
35
35
|
end
|
36
36
|
|
37
37
|
##
|
38
38
|
# @param [string] edge_id
|
39
39
|
# @param [string] id
|
40
|
-
# @param [
|
41
|
-
# @return [NgrokAPI::Models::
|
40
|
+
# @param [EndpointTrafficPolicy] a_module
|
41
|
+
# @return [NgrokAPI::Models::EndpointTrafficPolicy] result from the API request
|
42
42
|
#
|
43
|
-
# https://ngrok.com/docs/api#api-edge-route-policy-module-replace
|
43
|
+
# https://ngrok.com/docs/api#api-edge-route-traffic-policy-module-replace
|
44
44
|
def replace!(edge_id: "", id: "", a_module: nil)
|
45
|
-
path = '/edges/https/%{edge_id}/routes/%{id}/
|
45
|
+
path = '/edges/https/%{edge_id}/routes/%{id}/traffic_policy'
|
46
46
|
replacements = {
|
47
47
|
edge_id: edge_id,
|
48
48
|
id: id,
|
49
49
|
}
|
50
50
|
data = a_module
|
51
51
|
result = @client.put(path % replacements, data: data, danger: true)
|
52
|
-
NgrokAPI::Models::
|
52
|
+
NgrokAPI::Models::EndpointTrafficPolicy.new(client: self, attrs: result)
|
53
53
|
end
|
54
54
|
|
55
55
|
##
|
56
56
|
# @param [string] edge_id unique identifier of this edge
|
57
57
|
# @param [string] id unique identifier of this edge route
|
58
|
-
# @return [NgrokAPI::Models::
|
58
|
+
# @return [NgrokAPI::Models::EndpointTrafficPolicy] result from the API request
|
59
59
|
#
|
60
|
-
# https://ngrok.com/docs/api#api-edge-route-policy-module-get
|
60
|
+
# https://ngrok.com/docs/api#api-edge-route-traffic-policy-module-get
|
61
61
|
def get(edge_id: "", id: "")
|
62
|
-
path = '/edges/https/%{edge_id}/routes/%{id}/
|
62
|
+
path = '/edges/https/%{edge_id}/routes/%{id}/traffic_policy'
|
63
63
|
replacements = {
|
64
64
|
edge_id: edge_id,
|
65
65
|
id: id,
|
66
66
|
}
|
67
67
|
data = {}
|
68
68
|
result = @client.get(path % replacements, data: data)
|
69
|
-
NgrokAPI::Models::
|
69
|
+
NgrokAPI::Models::EndpointTrafficPolicy.new(client: self, attrs: result)
|
70
70
|
end
|
71
71
|
|
72
72
|
##
|
73
73
|
# @param [string] edge_id unique identifier of this edge
|
74
74
|
# @param [string] id unique identifier of this edge route
|
75
|
-
# @return [NgrokAPI::Models::
|
75
|
+
# @return [NgrokAPI::Models::EndpointTrafficPolicy] result from the API request
|
76
76
|
#
|
77
|
-
# https://ngrok.com/docs/api#api-edge-route-policy-module-get
|
77
|
+
# https://ngrok.com/docs/api#api-edge-route-traffic-policy-module-get
|
78
78
|
def get!(edge_id: "", id: "")
|
79
|
-
path = '/edges/https/%{edge_id}/routes/%{id}/
|
79
|
+
path = '/edges/https/%{edge_id}/routes/%{id}/traffic_policy'
|
80
80
|
replacements = {
|
81
81
|
edge_id: edge_id,
|
82
82
|
id: id,
|
83
83
|
}
|
84
84
|
data = {}
|
85
85
|
result = @client.get(path % replacements, data: data, danger: true)
|
86
|
-
NgrokAPI::Models::
|
86
|
+
NgrokAPI::Models::EndpointTrafficPolicy.new(client: self, attrs: result)
|
87
87
|
end
|
88
88
|
|
89
89
|
##
|
@@ -91,9 +91,9 @@ module NgrokAPI
|
|
91
91
|
# @param [string] id unique identifier of this edge route
|
92
92
|
# @return [NgrokAPI::Models::Empty] result from the API request
|
93
93
|
#
|
94
|
-
# https://ngrok.com/docs/api#api-edge-route-policy-module-delete
|
94
|
+
# https://ngrok.com/docs/api#api-edge-route-traffic-policy-module-delete
|
95
95
|
def delete(edge_id: "", id: "")
|
96
|
-
path = '/edges/https/%{edge_id}/routes/%{id}/
|
96
|
+
path = '/edges/https/%{edge_id}/routes/%{id}/traffic_policy'
|
97
97
|
replacements = {
|
98
98
|
edge_id: edge_id,
|
99
99
|
id: id,
|
@@ -106,9 +106,9 @@ module NgrokAPI
|
|
106
106
|
# @param [string] id unique identifier of this edge route
|
107
107
|
# @return [NgrokAPI::Models::Empty] result from the API request
|
108
108
|
#
|
109
|
-
# https://ngrok.com/docs/api#api-edge-route-policy-module-delete
|
109
|
+
# https://ngrok.com/docs/api#api-edge-route-traffic-policy-module-delete
|
110
110
|
def delete!(edge_id: "", id: "")
|
111
|
-
path = '/edges/https/%{edge_id}/routes/%{id}/
|
111
|
+
path = '/edges/https/%{edge_id}/routes/%{id}/traffic_policy'
|
112
112
|
replacements = {
|
113
113
|
edge_id: edge_id,
|
114
114
|
id: id,
|
@@ -36,11 +36,11 @@ module NgrokAPI
|
|
36
36
|
# @param [EndpointOIDC] oidc oidc module configuration or ``null``
|
37
37
|
# @param [EndpointWebsocketTCPConverter] websocket_tcp_converter websocket to tcp adapter configuration or ``null``
|
38
38
|
# @param [EndpointUserAgentFilter] user_agent_filter
|
39
|
-
# @param [
|
39
|
+
# @param [EndpointTrafficPolicy] traffic_policy the traffic policy associated with this edge or null
|
40
40
|
# @return [NgrokAPI::Models::HTTPSEdgeRoute] result from the API request
|
41
41
|
#
|
42
42
|
# https://ngrok.com/docs/api#api-edges-https-routes-create
|
43
|
-
def create(edge_id: "", match_type:, match:, description: "", metadata: "", backend: nil, ip_restriction: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, webhook_verification: nil, oauth: nil, saml: nil, oidc: nil, websocket_tcp_converter: nil, user_agent_filter: nil, policy: nil)
|
43
|
+
def create(edge_id: "", match_type:, match:, description: "", metadata: "", backend: nil, ip_restriction: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, webhook_verification: nil, oauth: nil, saml: nil, oidc: nil, websocket_tcp_converter: nil, user_agent_filter: nil, policy: nil, traffic_policy: nil)
|
44
44
|
path = '/edges/https/%{edge_id}/routes'
|
45
45
|
replacements = {
|
46
46
|
edge_id: edge_id,
|
@@ -62,7 +62,7 @@ module NgrokAPI
|
|
62
62
|
data[:oidc] = oidc if oidc
|
63
63
|
data[:websocket_tcp_converter] = websocket_tcp_converter if websocket_tcp_converter
|
64
64
|
data[:user_agent_filter] = user_agent_filter if user_agent_filter
|
65
|
-
data[:
|
65
|
+
data[:traffic_policy] = traffic_policy if traffic_policy
|
66
66
|
result = @client.post(path % replacements, data: data)
|
67
67
|
NgrokAPI::Models::HTTPSEdgeRoute.new(client: self, attrs: result)
|
68
68
|
end
|
@@ -88,11 +88,11 @@ module NgrokAPI
|
|
88
88
|
# @param [EndpointOIDC] oidc oidc module configuration or ``null``
|
89
89
|
# @param [EndpointWebsocketTCPConverter] websocket_tcp_converter websocket to tcp adapter configuration or ``null``
|
90
90
|
# @param [EndpointUserAgentFilter] user_agent_filter
|
91
|
-
# @param [
|
91
|
+
# @param [EndpointTrafficPolicy] traffic_policy the traffic policy associated with this edge or null
|
92
92
|
# @return [NgrokAPI::Models::HTTPSEdgeRoute] result from the API request
|
93
93
|
#
|
94
94
|
# https://ngrok.com/docs/api#api-edges-https-routes-create
|
95
|
-
def create!(edge_id: "", match_type:, match:, description: "", metadata: "", backend: nil, ip_restriction: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, webhook_verification: nil, oauth: nil, saml: nil, oidc: nil, websocket_tcp_converter: nil, user_agent_filter: nil, policy: nil)
|
95
|
+
def create!(edge_id: "", match_type:, match:, description: "", metadata: "", backend: nil, ip_restriction: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, webhook_verification: nil, oauth: nil, saml: nil, oidc: nil, websocket_tcp_converter: nil, user_agent_filter: nil, policy: nil, traffic_policy: nil)
|
96
96
|
path = '/edges/https/%{edge_id}/routes'
|
97
97
|
replacements = {
|
98
98
|
edge_id: edge_id,
|
@@ -114,7 +114,7 @@ module NgrokAPI
|
|
114
114
|
data[:oidc] = oidc if oidc
|
115
115
|
data[:websocket_tcp_converter] = websocket_tcp_converter if websocket_tcp_converter
|
116
116
|
data[:user_agent_filter] = user_agent_filter if user_agent_filter
|
117
|
-
data[:
|
117
|
+
data[:traffic_policy] = traffic_policy if traffic_policy
|
118
118
|
result = @client.post(path % replacements, data: data, danger: true)
|
119
119
|
NgrokAPI::Models::HTTPSEdgeRoute.new(client: self, attrs: result)
|
120
120
|
end
|
@@ -182,11 +182,11 @@ module NgrokAPI
|
|
182
182
|
# @param [EndpointOIDC] oidc oidc module configuration or ``null``
|
183
183
|
# @param [EndpointWebsocketTCPConverter] websocket_tcp_converter websocket to tcp adapter configuration or ``null``
|
184
184
|
# @param [EndpointUserAgentFilter] user_agent_filter
|
185
|
-
# @param [
|
185
|
+
# @param [EndpointTrafficPolicy] traffic_policy the traffic policy associated with this edge or null
|
186
186
|
# @return [NgrokAPI::Models::HTTPSEdgeRoute] result from the API request
|
187
187
|
#
|
188
188
|
# https://ngrok.com/docs/api#api-edges-https-routes-update
|
189
|
-
def update(edge_id: "", id: "", match_type: "", match: "", description: "", metadata: "", backend: nil, ip_restriction: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, webhook_verification: nil, oauth: nil, saml: nil, oidc: nil, websocket_tcp_converter: nil, user_agent_filter: nil, policy: nil)
|
189
|
+
def update(edge_id: "", id: "", match_type: "", match: "", description: "", metadata: "", backend: nil, ip_restriction: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, webhook_verification: nil, oauth: nil, saml: nil, oidc: nil, websocket_tcp_converter: nil, user_agent_filter: nil, policy: nil, traffic_policy: nil)
|
190
190
|
path = '/edges/https/%{edge_id}/routes/%{id}'
|
191
191
|
replacements = {
|
192
192
|
edge_id: edge_id,
|
@@ -209,7 +209,7 @@ module NgrokAPI
|
|
209
209
|
data[:oidc] = oidc if oidc
|
210
210
|
data[:websocket_tcp_converter] = websocket_tcp_converter if websocket_tcp_converter
|
211
211
|
data[:user_agent_filter] = user_agent_filter if user_agent_filter
|
212
|
-
data[:
|
212
|
+
data[:traffic_policy] = traffic_policy if traffic_policy
|
213
213
|
result = @client.patch(path % replacements, data: data)
|
214
214
|
NgrokAPI::Models::HTTPSEdgeRoute.new(client: self, attrs: result)
|
215
215
|
end
|
@@ -239,11 +239,11 @@ module NgrokAPI
|
|
239
239
|
# @param [EndpointOIDC] oidc oidc module configuration or ``null``
|
240
240
|
# @param [EndpointWebsocketTCPConverter] websocket_tcp_converter websocket to tcp adapter configuration or ``null``
|
241
241
|
# @param [EndpointUserAgentFilter] user_agent_filter
|
242
|
-
# @param [
|
242
|
+
# @param [EndpointTrafficPolicy] traffic_policy the traffic policy associated with this edge or null
|
243
243
|
# @return [NgrokAPI::Models::HTTPSEdgeRoute] result from the API request
|
244
244
|
#
|
245
245
|
# https://ngrok.com/docs/api#api-edges-https-routes-update
|
246
|
-
def update!(edge_id: "", id: "", match_type: "", match: "", description: "", metadata: "", backend: nil, ip_restriction: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, webhook_verification: nil, oauth: nil, saml: nil, oidc: nil, websocket_tcp_converter: nil, user_agent_filter: nil, policy: nil)
|
246
|
+
def update!(edge_id: "", id: "", match_type: "", match: "", description: "", metadata: "", backend: nil, ip_restriction: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, webhook_verification: nil, oauth: nil, saml: nil, oidc: nil, websocket_tcp_converter: nil, user_agent_filter: nil, policy: nil, traffic_policy: nil)
|
247
247
|
path = '/edges/https/%{edge_id}/routes/%{id}'
|
248
248
|
replacements = {
|
249
249
|
edge_id: edge_id,
|
@@ -266,7 +266,7 @@ module NgrokAPI
|
|
266
266
|
data[:oidc] = oidc if oidc
|
267
267
|
data[:websocket_tcp_converter] = websocket_tcp_converter if websocket_tcp_converter
|
268
268
|
data[:user_agent_filter] = user_agent_filter if user_agent_filter
|
269
|
-
data[:
|
269
|
+
data[:traffic_policy] = traffic_policy if traffic_policy
|
270
270
|
result = @client.patch(path % replacements, data: data, danger: true)
|
271
271
|
NgrokAPI::Models::HTTPSEdgeRoute.new(client: self, attrs: result)
|
272
272
|
end
|
@@ -26,11 +26,11 @@ module NgrokAPI
|
|
26
26
|
# @param [List<string>] hostports hostports served by this edge
|
27
27
|
# @param [EndpointBackendMutate] backend edge modules
|
28
28
|
# @param [EndpointIPPolicyMutate] ip_restriction
|
29
|
-
# @param [
|
29
|
+
# @param [EndpointTrafficPolicy] traffic_policy the traffic policy associated with this edge or null
|
30
30
|
# @return [NgrokAPI::Models::TCPEdge] result from the API request
|
31
31
|
#
|
32
32
|
# https://ngrok.com/docs/api#api-edges-tcp-create
|
33
|
-
def create(description: "", metadata: "", hostports: nil, backend: nil, ip_restriction: nil, policy: nil)
|
33
|
+
def create(description: "", metadata: "", hostports: nil, backend: nil, ip_restriction: nil, policy: nil, traffic_policy: nil)
|
34
34
|
path = '/edges/tcp'
|
35
35
|
replacements = {
|
36
36
|
}
|
@@ -40,7 +40,7 @@ module NgrokAPI
|
|
40
40
|
data[:hostports] = hostports if hostports
|
41
41
|
data[:backend] = backend if backend
|
42
42
|
data[:ip_restriction] = ip_restriction if ip_restriction
|
43
|
-
data[:
|
43
|
+
data[:traffic_policy] = traffic_policy if traffic_policy
|
44
44
|
result = @client.post(path % replacements, data: data)
|
45
45
|
NgrokAPI::Models::TCPEdge.new(client: self, attrs: result)
|
46
46
|
end
|
@@ -54,11 +54,11 @@ module NgrokAPI
|
|
54
54
|
# @param [List<string>] hostports hostports served by this edge
|
55
55
|
# @param [EndpointBackendMutate] backend edge modules
|
56
56
|
# @param [EndpointIPPolicyMutate] ip_restriction
|
57
|
-
# @param [
|
57
|
+
# @param [EndpointTrafficPolicy] traffic_policy the traffic policy associated with this edge or null
|
58
58
|
# @return [NgrokAPI::Models::TCPEdge] result from the API request
|
59
59
|
#
|
60
60
|
# https://ngrok.com/docs/api#api-edges-tcp-create
|
61
|
-
def create!(description: "", metadata: "", hostports: nil, backend: nil, ip_restriction: nil, policy: nil)
|
61
|
+
def create!(description: "", metadata: "", hostports: nil, backend: nil, ip_restriction: nil, policy: nil, traffic_policy: nil)
|
62
62
|
path = '/edges/tcp'
|
63
63
|
replacements = {
|
64
64
|
}
|
@@ -68,7 +68,7 @@ module NgrokAPI
|
|
68
68
|
data[:hostports] = hostports if hostports
|
69
69
|
data[:backend] = backend if backend
|
70
70
|
data[:ip_restriction] = ip_restriction if ip_restriction
|
71
|
-
data[:
|
71
|
+
data[:traffic_policy] = traffic_policy if traffic_policy
|
72
72
|
result = @client.post(path % replacements, data: data, danger: true)
|
73
73
|
NgrokAPI::Models::TCPEdge.new(client: self, attrs: result)
|
74
74
|
end
|
@@ -173,11 +173,11 @@ module NgrokAPI
|
|
173
173
|
# @param [List<string>] hostports hostports served by this edge
|
174
174
|
# @param [EndpointBackendMutate] backend edge modules
|
175
175
|
# @param [EndpointIPPolicyMutate] ip_restriction
|
176
|
-
# @param [
|
176
|
+
# @param [EndpointTrafficPolicy] traffic_policy the traffic policy associated with this edge or null
|
177
177
|
# @return [NgrokAPI::Models::TCPEdge] result from the API request
|
178
178
|
#
|
179
179
|
# https://ngrok.com/docs/api#api-edges-tcp-update
|
180
|
-
def update(id: "", description: nil, metadata: nil, hostports: nil, backend: nil, ip_restriction: nil, policy: nil)
|
180
|
+
def update(id: "", description: nil, metadata: nil, hostports: nil, backend: nil, ip_restriction: nil, policy: nil, traffic_policy: nil)
|
181
181
|
path = '/edges/tcp/%{id}'
|
182
182
|
replacements = {
|
183
183
|
id: id,
|
@@ -188,7 +188,7 @@ module NgrokAPI
|
|
188
188
|
data[:hostports] = hostports if hostports
|
189
189
|
data[:backend] = backend if backend
|
190
190
|
data[:ip_restriction] = ip_restriction if ip_restriction
|
191
|
-
data[:
|
191
|
+
data[:traffic_policy] = traffic_policy if traffic_policy
|
192
192
|
result = @client.patch(path % replacements, data: data)
|
193
193
|
NgrokAPI::Models::TCPEdge.new(client: self, attrs: result)
|
194
194
|
end
|
@@ -206,11 +206,11 @@ module NgrokAPI
|
|
206
206
|
# @param [List<string>] hostports hostports served by this edge
|
207
207
|
# @param [EndpointBackendMutate] backend edge modules
|
208
208
|
# @param [EndpointIPPolicyMutate] ip_restriction
|
209
|
-
# @param [
|
209
|
+
# @param [EndpointTrafficPolicy] traffic_policy the traffic policy associated with this edge or null
|
210
210
|
# @return [NgrokAPI::Models::TCPEdge] result from the API request
|
211
211
|
#
|
212
212
|
# https://ngrok.com/docs/api#api-edges-tcp-update
|
213
|
-
def update!(id: "", description: nil, metadata: nil, hostports: nil, backend: nil, ip_restriction: nil, policy: nil)
|
213
|
+
def update!(id: "", description: nil, metadata: nil, hostports: nil, backend: nil, ip_restriction: nil, policy: nil, traffic_policy: nil)
|
214
214
|
path = '/edges/tcp/%{id}'
|
215
215
|
replacements = {
|
216
216
|
id: id,
|
@@ -221,7 +221,7 @@ module NgrokAPI
|
|
221
221
|
data[:hostports] = hostports if hostports
|
222
222
|
data[:backend] = backend if backend
|
223
223
|
data[:ip_restriction] = ip_restriction if ip_restriction
|
224
|
-
data[:
|
224
|
+
data[:traffic_policy] = traffic_policy if traffic_policy
|
225
225
|
result = @client.patch(path % replacements, data: data, danger: true)
|
226
226
|
NgrokAPI::Models::TCPEdge.new(client: self, attrs: result)
|
227
227
|
end
|
@@ -28,11 +28,11 @@ module NgrokAPI
|
|
28
28
|
# @param [EndpointIPPolicyMutate] ip_restriction
|
29
29
|
# @param [EndpointMutualTLSMutate] mutual_tls
|
30
30
|
# @param [EndpointTLSTermination] tls_termination
|
31
|
-
# @param [
|
31
|
+
# @param [EndpointTrafficPolicy] traffic_policy the traffic policy associated with this edge or null
|
32
32
|
# @return [NgrokAPI::Models::TLSEdge] result from the API request
|
33
33
|
#
|
34
34
|
# https://ngrok.com/docs/api#api-edges-tls-create
|
35
|
-
def create(description: "", metadata: "", hostports: nil, backend: nil, ip_restriction: nil, mutual_tls: nil, tls_termination: nil, policy: nil)
|
35
|
+
def create(description: "", metadata: "", hostports: nil, backend: nil, ip_restriction: nil, mutual_tls: nil, tls_termination: nil, policy: nil, traffic_policy: nil)
|
36
36
|
path = '/edges/tls'
|
37
37
|
replacements = {
|
38
38
|
}
|
@@ -44,7 +44,7 @@ module NgrokAPI
|
|
44
44
|
data[:ip_restriction] = ip_restriction if ip_restriction
|
45
45
|
data[:mutual_tls] = mutual_tls if mutual_tls
|
46
46
|
data[:tls_termination] = tls_termination if tls_termination
|
47
|
-
data[:
|
47
|
+
data[:traffic_policy] = traffic_policy if traffic_policy
|
48
48
|
result = @client.post(path % replacements, data: data)
|
49
49
|
NgrokAPI::Models::TLSEdge.new(client: self, attrs: result)
|
50
50
|
end
|
@@ -60,11 +60,11 @@ module NgrokAPI
|
|
60
60
|
# @param [EndpointIPPolicyMutate] ip_restriction
|
61
61
|
# @param [EndpointMutualTLSMutate] mutual_tls
|
62
62
|
# @param [EndpointTLSTermination] tls_termination
|
63
|
-
# @param [
|
63
|
+
# @param [EndpointTrafficPolicy] traffic_policy the traffic policy associated with this edge or null
|
64
64
|
# @return [NgrokAPI::Models::TLSEdge] result from the API request
|
65
65
|
#
|
66
66
|
# https://ngrok.com/docs/api#api-edges-tls-create
|
67
|
-
def create!(description: "", metadata: "", hostports: nil, backend: nil, ip_restriction: nil, mutual_tls: nil, tls_termination: nil, policy: nil)
|
67
|
+
def create!(description: "", metadata: "", hostports: nil, backend: nil, ip_restriction: nil, mutual_tls: nil, tls_termination: nil, policy: nil, traffic_policy: nil)
|
68
68
|
path = '/edges/tls'
|
69
69
|
replacements = {
|
70
70
|
}
|
@@ -76,7 +76,7 @@ module NgrokAPI
|
|
76
76
|
data[:ip_restriction] = ip_restriction if ip_restriction
|
77
77
|
data[:mutual_tls] = mutual_tls if mutual_tls
|
78
78
|
data[:tls_termination] = tls_termination if tls_termination
|
79
|
-
data[:
|
79
|
+
data[:traffic_policy] = traffic_policy if traffic_policy
|
80
80
|
result = @client.post(path % replacements, data: data, danger: true)
|
81
81
|
NgrokAPI::Models::TLSEdge.new(client: self, attrs: result)
|
82
82
|
end
|
@@ -183,11 +183,11 @@ module NgrokAPI
|
|
183
183
|
# @param [EndpointIPPolicyMutate] ip_restriction
|
184
184
|
# @param [EndpointMutualTLSMutate] mutual_tls
|
185
185
|
# @param [EndpointTLSTermination] tls_termination
|
186
|
-
# @param [
|
186
|
+
# @param [EndpointTrafficPolicy] traffic_policy the traffic policy associated with this edge or null
|
187
187
|
# @return [NgrokAPI::Models::TLSEdge] result from the API request
|
188
188
|
#
|
189
189
|
# https://ngrok.com/docs/api#api-edges-tls-update
|
190
|
-
def update(id: "", description: nil, metadata: nil, hostports: nil, backend: nil, ip_restriction: nil, mutual_tls: nil, tls_termination: nil, policy: nil)
|
190
|
+
def update(id: "", description: nil, metadata: nil, hostports: nil, backend: nil, ip_restriction: nil, mutual_tls: nil, tls_termination: nil, policy: nil, traffic_policy: nil)
|
191
191
|
path = '/edges/tls/%{id}'
|
192
192
|
replacements = {
|
193
193
|
id: id,
|
@@ -200,7 +200,7 @@ module NgrokAPI
|
|
200
200
|
data[:ip_restriction] = ip_restriction if ip_restriction
|
201
201
|
data[:mutual_tls] = mutual_tls if mutual_tls
|
202
202
|
data[:tls_termination] = tls_termination if tls_termination
|
203
|
-
data[:
|
203
|
+
data[:traffic_policy] = traffic_policy if traffic_policy
|
204
204
|
result = @client.patch(path % replacements, data: data)
|
205
205
|
NgrokAPI::Models::TLSEdge.new(client: self, attrs: result)
|
206
206
|
end
|
@@ -220,11 +220,11 @@ module NgrokAPI
|
|
220
220
|
# @param [EndpointIPPolicyMutate] ip_restriction
|
221
221
|
# @param [EndpointMutualTLSMutate] mutual_tls
|
222
222
|
# @param [EndpointTLSTermination] tls_termination
|
223
|
-
# @param [
|
223
|
+
# @param [EndpointTrafficPolicy] traffic_policy the traffic policy associated with this edge or null
|
224
224
|
# @return [NgrokAPI::Models::TLSEdge] result from the API request
|
225
225
|
#
|
226
226
|
# https://ngrok.com/docs/api#api-edges-tls-update
|
227
|
-
def update!(id: "", description: nil, metadata: nil, hostports: nil, backend: nil, ip_restriction: nil, mutual_tls: nil, tls_termination: nil, policy: nil)
|
227
|
+
def update!(id: "", description: nil, metadata: nil, hostports: nil, backend: nil, ip_restriction: nil, mutual_tls: nil, tls_termination: nil, policy: nil, traffic_policy: nil)
|
228
228
|
path = '/edges/tls/%{id}'
|
229
229
|
replacements = {
|
230
230
|
id: id,
|
@@ -237,7 +237,7 @@ module NgrokAPI
|
|
237
237
|
data[:ip_restriction] = ip_restriction if ip_restriction
|
238
238
|
data[:mutual_tls] = mutual_tls if mutual_tls
|
239
239
|
data[:tls_termination] = tls_termination if tls_termination
|
240
|
-
data[:
|
240
|
+
data[:traffic_policy] = traffic_policy if traffic_policy
|
241
241
|
result = @client.patch(path % replacements, data: data, danger: true)
|
242
242
|
NgrokAPI::Models::TLSEdge.new(client: self, attrs: result)
|
243
243
|
end
|