ngrok-api 0.15.0 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/doc/NgrokAPI/Client.html +140 -172
- data/doc/NgrokAPI/Error.html +3 -3
- data/doc/NgrokAPI/Errors/NotFoundError.html +3 -3
- data/doc/NgrokAPI/Errors.html +3 -3
- data/doc/NgrokAPI/HttpClient.html +30 -36
- data/doc/NgrokAPI/Models/APIKey.html +3 -3
- data/doc/NgrokAPI/Models/AWSAuth.html +3 -3
- data/doc/NgrokAPI/Models/AWSCredentials.html +3 -3
- data/doc/NgrokAPI/Models/AWSRole.html +3 -3
- data/doc/NgrokAPI/Models/AbuseReport.html +3 -3
- data/doc/NgrokAPI/Models/AbuseReportHostname.html +3 -3
- data/doc/NgrokAPI/Models/{IPWhitelistEntry.html → AgentIngress.html} +216 -68
- data/doc/NgrokAPI/Models/CertificateAuthority.html +3 -3
- data/doc/NgrokAPI/Models/Credential.html +3 -3
- data/doc/NgrokAPI/Models/EndpointCircuitBreaker.html +3 -3
- data/doc/NgrokAPI/Models/EndpointCompression.html +3 -3
- data/doc/NgrokAPI/Models/EndpointConfiguration.html +3 -3
- data/doc/NgrokAPI/Models/EndpointIPPolicy.html +3 -3
- data/doc/NgrokAPI/Models/EndpointIPPolicyMutate.html +3 -3
- data/doc/NgrokAPI/Models/EndpointLogging.html +3 -3
- data/doc/NgrokAPI/Models/EndpointLoggingMutate.html +3 -3
- data/doc/NgrokAPI/Models/EndpointMutualTLS.html +3 -3
- data/doc/NgrokAPI/Models/EndpointMutualTLSMutate.html +3 -3
- data/doc/NgrokAPI/Models/EndpointOAuth.html +3 -3
- data/doc/NgrokAPI/Models/EndpointOAuthFacebook.html +3 -3
- data/doc/NgrokAPI/Models/EndpointOAuthGitHub.html +3 -3
- data/doc/NgrokAPI/Models/EndpointOAuthGoogle.html +3 -3
- data/doc/NgrokAPI/Models/EndpointOAuthMicrosoft.html +3 -3
- data/doc/NgrokAPI/Models/EndpointOAuthProvider.html +3 -3
- data/doc/NgrokAPI/Models/EndpointOIDC.html +3 -3
- data/doc/NgrokAPI/Models/EndpointRequestHeaders.html +3 -3
- data/doc/NgrokAPI/Models/EndpointResponseHeaders.html +3 -3
- data/doc/NgrokAPI/Models/EndpointSAML.html +3 -3
- data/doc/NgrokAPI/Models/EndpointSAMLMutate.html +3 -3
- data/doc/NgrokAPI/Models/EndpointTLSTermination.html +3 -3
- data/doc/NgrokAPI/Models/EndpointWebhookValidation.html +3 -3
- data/doc/NgrokAPI/Models/EventDestination.html +3 -3
- data/doc/NgrokAPI/Models/EventSource.html +3 -3
- data/doc/NgrokAPI/Models/EventSourceList.html +3 -3
- data/doc/NgrokAPI/Models/EventSourceReplace.html +3 -3
- data/doc/NgrokAPI/Models/EventStream.html +3 -3
- data/doc/NgrokAPI/Models/EventSubscription.html +3 -3
- data/doc/NgrokAPI/Models/EventTarget.html +3 -3
- data/doc/NgrokAPI/Models/EventTargetCloudwatchLogs.html +3 -3
- data/doc/NgrokAPI/Models/EventTargetFirehose.html +3 -3
- data/doc/NgrokAPI/Models/EventTargetKinesis.html +3 -3
- data/doc/NgrokAPI/Models/IPPolicy.html +3 -3
- data/doc/NgrokAPI/Models/IPPolicyRule.html +3 -3
- data/doc/NgrokAPI/Models/IPRestriction.html +3 -3
- data/doc/NgrokAPI/Models/Listable.html +3 -3
- data/doc/NgrokAPI/Models/Ref.html +3 -3
- data/doc/NgrokAPI/Models/ReservedAddr.html +3 -3
- data/doc/NgrokAPI/Models/ReservedDomain.html +3 -3
- data/doc/NgrokAPI/Models/ReservedDomainCertJob.html +3 -3
- data/doc/NgrokAPI/Models/ReservedDomainCertPolicy.html +3 -3
- data/doc/NgrokAPI/Models/ReservedDomainCertStatus.html +3 -3
- data/doc/NgrokAPI/Models/SSHCertificateAuthority.html +3 -3
- data/doc/NgrokAPI/Models/SSHCredential.html +3 -3
- data/doc/NgrokAPI/Models/SSHHostCertificate.html +3 -3
- data/doc/NgrokAPI/Models/SSHUserCertificate.html +3 -3
- data/doc/NgrokAPI/Models/TLSCertificate.html +3 -3
- data/doc/NgrokAPI/Models/TLSCertificateSANs.html +3 -3
- data/doc/NgrokAPI/Models/Tunnel.html +3 -3
- data/doc/NgrokAPI/Models/TunnelSession.html +3 -3
- data/doc/NgrokAPI/Models.html +5 -5
- data/doc/NgrokAPI/PagedIterator.html +3 -3
- data/doc/NgrokAPI/Services/APIKeysClient.html +99 -149
- data/doc/NgrokAPI/Services/AbuseReportsClient.html +19 -33
- data/doc/NgrokAPI/Services/{IPWhitelistClient.html → AgentIngressesClient.html} +209 -265
- data/doc/NgrokAPI/Services/CertificateAuthoritiesClient.html +104 -156
- data/doc/NgrokAPI/Services/CredentialsClient.html +108 -164
- data/doc/NgrokAPI/Services/EndpointCircuitBreakerModuleClient.html +49 -77
- data/doc/NgrokAPI/Services/EndpointCompressionModuleClient.html +49 -77
- data/doc/NgrokAPI/Services/EndpointConfigurationsClient.html +137 -273
- data/doc/NgrokAPI/Services/EndpointIPPolicyModuleClient.html +49 -77
- data/doc/NgrokAPI/Services/EndpointLoggingModuleClient.html +49 -77
- data/doc/NgrokAPI/Services/EndpointMutualTLSModuleClient.html +49 -77
- data/doc/NgrokAPI/Services/EndpointOAuthModuleClient.html +49 -77
- data/doc/NgrokAPI/Services/EndpointOIDCModuleClient.html +49 -77
- data/doc/NgrokAPI/Services/EndpointRequestHeadersModuleClient.html +49 -77
- data/doc/NgrokAPI/Services/EndpointResponseHeadersModuleClient.html +49 -77
- data/doc/NgrokAPI/Services/EndpointSAMLModuleClient.html +49 -77
- data/doc/NgrokAPI/Services/EndpointTLSTerminationModuleClient.html +49 -77
- data/doc/NgrokAPI/Services/EndpointWebhookValidationModuleClient.html +49 -77
- data/doc/NgrokAPI/Services/EventDestinationsClient.html +116 -184
- data/doc/NgrokAPI/Services/EventSourcesClient.html +95 -157
- data/doc/NgrokAPI/Services/EventStreamsClient.html +119 -189
- data/doc/NgrokAPI/Services/EventSubscriptionsClient.html +113 -175
- data/doc/NgrokAPI/Services/IPPoliciesClient.html +104 -156
- data/doc/NgrokAPI/Services/IPPolicyRulesClient.html +111 -169
- data/doc/NgrokAPI/Services/IPRestrictionsClient.html +116 -180
- data/doc/NgrokAPI/Services/ReservedAddrsClient.html +132 -198
- data/doc/NgrokAPI/Services/ReservedDomainsClient.html +193 -303
- data/doc/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +110 -166
- data/doc/NgrokAPI/Services/SSHCredentialsClient.html +111 -169
- data/doc/NgrokAPI/Services/SSHHostCertificatesClient.html +111 -171
- data/doc/NgrokAPI/Services/SSHUserCertificatesClient.html +111 -175
- data/doc/NgrokAPI/Services/TLSCertificatesClient.html +107 -161
- data/doc/NgrokAPI/Services/TunnelSessionsClient.html +87 -135
- data/doc/NgrokAPI/Services/TunnelsClient.html +13 -25
- data/doc/NgrokAPI/Services.html +5 -5
- data/doc/NgrokAPI.html +4 -4
- data/doc/_index.html +18 -18
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +3 -3
- data/doc/frames.html +1 -1
- data/doc/index.html +3 -3
- data/doc/method_list.html +574 -558
- data/doc/top-level-namespace.html +3 -3
- data/docs/NgrokAPI/Client.html +140 -172
- data/docs/NgrokAPI/Error.html +3 -3
- data/docs/NgrokAPI/Errors/NotFoundError.html +3 -3
- data/docs/NgrokAPI/Errors.html +3 -3
- data/docs/NgrokAPI/HttpClient.html +30 -36
- data/docs/NgrokAPI/Models/APIKey.html +3 -3
- data/docs/NgrokAPI/Models/AWSAuth.html +3 -3
- data/docs/NgrokAPI/Models/AWSCredentials.html +3 -3
- data/docs/NgrokAPI/Models/AWSRole.html +3 -3
- data/docs/NgrokAPI/Models/AbuseReport.html +3 -3
- data/docs/NgrokAPI/Models/AbuseReportHostname.html +3 -3
- data/docs/NgrokAPI/Models/{IPWhitelistEntry.html → AgentIngress.html} +216 -68
- data/docs/NgrokAPI/Models/CertificateAuthority.html +3 -3
- data/docs/NgrokAPI/Models/Credential.html +3 -3
- data/docs/NgrokAPI/Models/EndpointCircuitBreaker.html +3 -3
- data/docs/NgrokAPI/Models/EndpointCompression.html +3 -3
- data/docs/NgrokAPI/Models/EndpointConfiguration.html +3 -3
- data/docs/NgrokAPI/Models/EndpointIPPolicy.html +3 -3
- data/docs/NgrokAPI/Models/EndpointIPPolicyMutate.html +3 -3
- data/docs/NgrokAPI/Models/EndpointLogging.html +3 -3
- data/docs/NgrokAPI/Models/EndpointLoggingMutate.html +3 -3
- data/docs/NgrokAPI/Models/EndpointMutualTLS.html +3 -3
- data/docs/NgrokAPI/Models/EndpointMutualTLSMutate.html +3 -3
- data/docs/NgrokAPI/Models/EndpointOAuth.html +3 -3
- data/docs/NgrokAPI/Models/EndpointOAuthFacebook.html +3 -3
- data/docs/NgrokAPI/Models/EndpointOAuthGitHub.html +3 -3
- data/docs/NgrokAPI/Models/EndpointOAuthGoogle.html +3 -3
- data/docs/NgrokAPI/Models/EndpointOAuthMicrosoft.html +3 -3
- data/docs/NgrokAPI/Models/EndpointOAuthProvider.html +3 -3
- data/docs/NgrokAPI/Models/EndpointOIDC.html +3 -3
- data/docs/NgrokAPI/Models/EndpointRequestHeaders.html +3 -3
- data/docs/NgrokAPI/Models/EndpointResponseHeaders.html +3 -3
- data/docs/NgrokAPI/Models/EndpointSAML.html +3 -3
- data/docs/NgrokAPI/Models/EndpointSAMLMutate.html +3 -3
- data/docs/NgrokAPI/Models/EndpointTLSTermination.html +3 -3
- data/docs/NgrokAPI/Models/EndpointWebhookValidation.html +3 -3
- data/docs/NgrokAPI/Models/EventDestination.html +3 -3
- data/docs/NgrokAPI/Models/EventSource.html +3 -3
- data/docs/NgrokAPI/Models/EventSourceList.html +3 -3
- data/docs/NgrokAPI/Models/EventSourceReplace.html +3 -3
- data/docs/NgrokAPI/Models/EventStream.html +3 -3
- data/docs/NgrokAPI/Models/EventSubscription.html +3 -3
- data/docs/NgrokAPI/Models/EventTarget.html +3 -3
- data/docs/NgrokAPI/Models/EventTargetCloudwatchLogs.html +3 -3
- data/docs/NgrokAPI/Models/EventTargetFirehose.html +3 -3
- data/docs/NgrokAPI/Models/EventTargetKinesis.html +3 -3
- data/docs/NgrokAPI/Models/IPPolicy.html +3 -3
- data/docs/NgrokAPI/Models/IPPolicyRule.html +3 -3
- data/docs/NgrokAPI/Models/IPRestriction.html +3 -3
- data/docs/NgrokAPI/Models/Listable.html +3 -3
- data/docs/NgrokAPI/Models/Ref.html +3 -3
- data/docs/NgrokAPI/Models/ReservedAddr.html +3 -3
- data/docs/NgrokAPI/Models/ReservedDomain.html +3 -3
- data/docs/NgrokAPI/Models/ReservedDomainCertJob.html +3 -3
- data/docs/NgrokAPI/Models/ReservedDomainCertPolicy.html +3 -3
- data/docs/NgrokAPI/Models/ReservedDomainCertStatus.html +3 -3
- data/docs/NgrokAPI/Models/SSHCertificateAuthority.html +3 -3
- data/docs/NgrokAPI/Models/SSHCredential.html +3 -3
- data/docs/NgrokAPI/Models/SSHHostCertificate.html +3 -3
- data/docs/NgrokAPI/Models/SSHUserCertificate.html +3 -3
- data/docs/NgrokAPI/Models/TLSCertificate.html +3 -3
- data/docs/NgrokAPI/Models/TLSCertificateSANs.html +3 -3
- data/docs/NgrokAPI/Models/Tunnel.html +3 -3
- data/docs/NgrokAPI/Models/TunnelSession.html +3 -3
- data/docs/NgrokAPI/Models.html +5 -5
- data/docs/NgrokAPI/PagedIterator.html +3 -3
- data/docs/NgrokAPI/Services/APIKeysClient.html +99 -149
- data/docs/NgrokAPI/Services/AbuseReportsClient.html +19 -33
- data/docs/NgrokAPI/Services/{IPWhitelistClient.html → AgentIngressesClient.html} +209 -265
- data/docs/NgrokAPI/Services/CertificateAuthoritiesClient.html +104 -156
- data/docs/NgrokAPI/Services/CredentialsClient.html +108 -164
- data/docs/NgrokAPI/Services/EndpointCircuitBreakerModuleClient.html +49 -77
- data/docs/NgrokAPI/Services/EndpointCompressionModuleClient.html +49 -77
- data/docs/NgrokAPI/Services/EndpointConfigurationsClient.html +137 -273
- data/docs/NgrokAPI/Services/EndpointIPPolicyModuleClient.html +49 -77
- data/docs/NgrokAPI/Services/EndpointLoggingModuleClient.html +49 -77
- data/docs/NgrokAPI/Services/EndpointMutualTLSModuleClient.html +49 -77
- data/docs/NgrokAPI/Services/EndpointOAuthModuleClient.html +49 -77
- data/docs/NgrokAPI/Services/EndpointOIDCModuleClient.html +49 -77
- data/docs/NgrokAPI/Services/EndpointRequestHeadersModuleClient.html +49 -77
- data/docs/NgrokAPI/Services/EndpointResponseHeadersModuleClient.html +49 -77
- data/docs/NgrokAPI/Services/EndpointSAMLModuleClient.html +49 -77
- data/docs/NgrokAPI/Services/EndpointTLSTerminationModuleClient.html +49 -77
- data/docs/NgrokAPI/Services/EndpointWebhookValidationModuleClient.html +49 -77
- data/docs/NgrokAPI/Services/EventDestinationsClient.html +116 -184
- data/docs/NgrokAPI/Services/EventSourcesClient.html +95 -157
- data/docs/NgrokAPI/Services/EventStreamsClient.html +119 -189
- data/docs/NgrokAPI/Services/EventSubscriptionsClient.html +113 -175
- data/docs/NgrokAPI/Services/IPPoliciesClient.html +104 -156
- data/docs/NgrokAPI/Services/IPPolicyRulesClient.html +111 -169
- data/docs/NgrokAPI/Services/IPRestrictionsClient.html +116 -180
- data/docs/NgrokAPI/Services/ReservedAddrsClient.html +132 -198
- data/docs/NgrokAPI/Services/ReservedDomainsClient.html +193 -303
- data/docs/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +110 -166
- data/docs/NgrokAPI/Services/SSHCredentialsClient.html +111 -169
- data/docs/NgrokAPI/Services/SSHHostCertificatesClient.html +111 -171
- data/docs/NgrokAPI/Services/SSHUserCertificatesClient.html +111 -175
- data/docs/NgrokAPI/Services/TLSCertificatesClient.html +107 -161
- data/docs/NgrokAPI/Services/TunnelSessionsClient.html +87 -135
- data/docs/NgrokAPI/Services/TunnelsClient.html +13 -25
- data/docs/NgrokAPI/Services.html +5 -5
- data/docs/NgrokAPI.html +4 -4
- data/docs/_index.html +18 -18
- data/docs/class_list.html +1 -1
- data/docs/file.README.html +3 -3
- data/docs/frames.html +1 -1
- data/docs/index.html +3 -3
- data/docs/method_list.html +574 -558
- data/docs/top-level-namespace.html +3 -3
- data/lib/ngrokapi/client.rb +5 -13
- data/lib/ngrokapi/http_client.rb +1 -4
- data/lib/ngrokapi/models/{ip_whitelist_entry.rb → agent_ingress.rb} +13 -9
- data/lib/ngrokapi/services/abuse_reports_client.rb +3 -10
- data/lib/ngrokapi/services/{ip_whitelist_client.rb → agent_ingresses_client.rb} +65 -94
- data/lib/ngrokapi/services/api_keys_client.rb +11 -36
- data/lib/ngrokapi/services/certificate_authorities_client.rb +11 -37
- data/lib/ngrokapi/services/credentials_client.rb +11 -39
- data/lib/ngrokapi/services/endpoint_circuit_breaker_module_client.rb +6 -20
- data/lib/ngrokapi/services/endpoint_compression_module_client.rb +6 -20
- data/lib/ngrokapi/services/endpoint_configurations_client.rb +11 -79
- data/lib/ngrokapi/services/endpoint_ip_policy_module_client.rb +6 -20
- data/lib/ngrokapi/services/endpoint_logging_module_client.rb +6 -20
- data/lib/ngrokapi/services/endpoint_mutual_tls_module_client.rb +6 -20
- data/lib/ngrokapi/services/endpoint_o_auth_module_client.rb +6 -20
- data/lib/ngrokapi/services/endpoint_oidc_module_client.rb +6 -20
- data/lib/ngrokapi/services/endpoint_request_headers_module_client.rb +6 -20
- data/lib/ngrokapi/services/endpoint_response_headers_module_client.rb +6 -20
- data/lib/ngrokapi/services/endpoint_saml_module_client.rb +6 -20
- data/lib/ngrokapi/services/endpoint_tls_termination_module_client.rb +6 -20
- data/lib/ngrokapi/services/endpoint_webhook_validation_module_client.rb +6 -20
- data/lib/ngrokapi/services/event_destinations_client.rb +11 -45
- data/lib/ngrokapi/services/event_sources_client.rb +9 -40
- data/lib/ngrokapi/services/event_streams_client.rb +11 -46
- data/lib/ngrokapi/services/event_subscriptions_client.rb +11 -42
- data/lib/ngrokapi/services/ip_policies_client.rb +11 -37
- data/lib/ngrokapi/services/ip_policy_rules_client.rb +11 -40
- data/lib/ngrokapi/services/ip_restrictions_client.rb +11 -43
- data/lib/ngrokapi/services/reserved_addrs_client.rb +13 -46
- data/lib/ngrokapi/services/reserved_domains_client.rb +19 -74
- data/lib/ngrokapi/services/ssh_certificate_authorities_client.rb +11 -39
- data/lib/ngrokapi/services/ssh_credentials_client.rb +11 -40
- data/lib/ngrokapi/services/ssh_host_certificates_client.rb +11 -41
- data/lib/ngrokapi/services/ssh_user_certificates_client.rb +11 -43
- data/lib/ngrokapi/services/tls_certificates_client.rb +11 -38
- data/lib/ngrokapi/services/tunnel_sessions_client.rb +12 -36
- data/lib/ngrokapi/services/tunnels_client.rb +4 -10
- data/lib/ngrokapi/version.rb +1 -1
- data/lib/ngrokapi.rb +1 -1
- data/ngrok-api.gemspec +1 -1
- data/spec/ngrokapi/client_spec.rb +6 -6
- data/spec/ngrokapi/models/agent_ingress_spec.rb +42 -0
- data/spec/ngrokapi/services/{ip_whitelist_client_spec.rb → agent_ingresses_client_spec.rb} +49 -49
- data/spec/spec_helper.rb +1096 -1045
- metadata +10 -10
- data/spec/ngrokapi/models/ip_whitelist_entry_spec.rb +0 -42
|
@@ -35,16 +35,7 @@ module NgrokAPI
|
|
|
35
35
|
# @return [NgrokAPI::Models::ReservedDomain] result from the API request
|
|
36
36
|
#
|
|
37
37
|
# https://ngrok.com/docs/api#api-reserved-domains-create
|
|
38
|
-
def create(
|
|
39
|
-
name:,
|
|
40
|
-
region: "",
|
|
41
|
-
description: "",
|
|
42
|
-
metadata: "",
|
|
43
|
-
http_endpoint_configuration_id: nil,
|
|
44
|
-
https_endpoint_configuration_id: nil,
|
|
45
|
-
certificate_id: nil,
|
|
46
|
-
certificate_management_policy: nil
|
|
47
|
-
)
|
|
38
|
+
def create(name:, region: "", description: "", metadata: "", http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, certificate_id: nil, certificate_management_policy: nil)
|
|
48
39
|
path = '/reserved_domains'
|
|
49
40
|
replacements = {
|
|
50
41
|
}
|
|
@@ -68,9 +59,7 @@ module NgrokAPI
|
|
|
68
59
|
# @return [NgrokAPI::Models::Empty] result from the API request
|
|
69
60
|
#
|
|
70
61
|
# https://ngrok.com/docs/api#api-reserved-domains-delete
|
|
71
|
-
def delete(
|
|
72
|
-
id: ""
|
|
73
|
-
)
|
|
62
|
+
def delete(id: "")
|
|
74
63
|
path = '/reserved_domains/%{id}'
|
|
75
64
|
replacements = {
|
|
76
65
|
id: id,
|
|
@@ -86,9 +75,7 @@ module NgrokAPI
|
|
|
86
75
|
# @return [NgrokAPI::Models::Empty] result from the API request
|
|
87
76
|
#
|
|
88
77
|
# https://ngrok.com/docs/api#api-reserved-domains-delete
|
|
89
|
-
def delete!(
|
|
90
|
-
id: ""
|
|
91
|
-
)
|
|
78
|
+
def delete!(id: "")
|
|
92
79
|
path = '/reserved_domains/%{id}'
|
|
93
80
|
replacements = {
|
|
94
81
|
id: id,
|
|
@@ -103,9 +90,7 @@ module NgrokAPI
|
|
|
103
90
|
# @return [NgrokAPI::Models::ReservedDomain] result from the API request
|
|
104
91
|
#
|
|
105
92
|
# https://ngrok.com/docs/api#api-reserved-domains-get
|
|
106
|
-
def get(
|
|
107
|
-
id: ""
|
|
108
|
-
)
|
|
93
|
+
def get(id: "")
|
|
109
94
|
path = '/reserved_domains/%{id}'
|
|
110
95
|
replacements = {
|
|
111
96
|
id: id,
|
|
@@ -123,9 +108,7 @@ module NgrokAPI
|
|
|
123
108
|
# @return [NgrokAPI::Models::ReservedDomain] result from the API request
|
|
124
109
|
#
|
|
125
110
|
# https://ngrok.com/docs/api#api-reserved-domains-get
|
|
126
|
-
def get!(
|
|
127
|
-
id: ""
|
|
128
|
-
)
|
|
111
|
+
def get!(id: "")
|
|
129
112
|
path = '/reserved_domains/%{id}'
|
|
130
113
|
replacements = {
|
|
131
114
|
id: id,
|
|
@@ -144,11 +127,8 @@ module NgrokAPI
|
|
|
144
127
|
# @return [NgrokAPI::Models::Listable] result from the API request
|
|
145
128
|
#
|
|
146
129
|
# https://ngrok.com/docs/api#api-reserved-domains-list
|
|
147
|
-
def list(
|
|
148
|
-
|
|
149
|
-
limit: nil,
|
|
150
|
-
url: nil
|
|
151
|
-
)
|
|
130
|
+
def list(before_id: nil, limit: nil,
|
|
131
|
+
url: nil)
|
|
152
132
|
result = @client.list(
|
|
153
133
|
before_id: before_id,
|
|
154
134
|
limit: limit,
|
|
@@ -174,11 +154,8 @@ module NgrokAPI
|
|
|
174
154
|
# @return [NgrokAPI::Models::Listable] result from the API request
|
|
175
155
|
#
|
|
176
156
|
# https://ngrok.com/docs/api#api-reserved-domains-list
|
|
177
|
-
def list!(
|
|
178
|
-
|
|
179
|
-
limit: nil,
|
|
180
|
-
url: nil
|
|
181
|
-
)
|
|
157
|
+
def list!(before_id: nil, limit: nil,
|
|
158
|
+
url: nil)
|
|
182
159
|
result = @client.list(
|
|
183
160
|
before_id: before_id,
|
|
184
161
|
limit: limit,
|
|
@@ -209,15 +186,7 @@ module NgrokAPI
|
|
|
209
186
|
# @return [NgrokAPI::Models::ReservedDomain] result from the API request
|
|
210
187
|
#
|
|
211
188
|
# https://ngrok.com/docs/api#api-reserved-domains-update
|
|
212
|
-
def update(
|
|
213
|
-
id: "",
|
|
214
|
-
description: nil,
|
|
215
|
-
metadata: nil,
|
|
216
|
-
http_endpoint_configuration_id: nil,
|
|
217
|
-
https_endpoint_configuration_id: nil,
|
|
218
|
-
certificate_id: nil,
|
|
219
|
-
certificate_management_policy: nil
|
|
220
|
-
)
|
|
189
|
+
def update(id: "", description: nil, metadata: nil, http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, certificate_id: nil, certificate_management_policy: nil)
|
|
221
190
|
path = '/reserved_domains/%{id}'
|
|
222
191
|
replacements = {
|
|
223
192
|
id: id,
|
|
@@ -247,15 +216,7 @@ module NgrokAPI
|
|
|
247
216
|
# @return [NgrokAPI::Models::ReservedDomain] result from the API request
|
|
248
217
|
#
|
|
249
218
|
# https://ngrok.com/docs/api#api-reserved-domains-update
|
|
250
|
-
def update!(
|
|
251
|
-
id: "",
|
|
252
|
-
description: nil,
|
|
253
|
-
metadata: nil,
|
|
254
|
-
http_endpoint_configuration_id: nil,
|
|
255
|
-
https_endpoint_configuration_id: nil,
|
|
256
|
-
certificate_id: nil,
|
|
257
|
-
certificate_management_policy: nil
|
|
258
|
-
)
|
|
219
|
+
def update!(id: "", description: nil, metadata: nil, http_endpoint_configuration_id: nil, https_endpoint_configuration_id: nil, certificate_id: nil, certificate_management_policy: nil)
|
|
259
220
|
path = '/reserved_domains/%{id}'
|
|
260
221
|
replacements = {
|
|
261
222
|
id: id,
|
|
@@ -278,9 +239,7 @@ module NgrokAPI
|
|
|
278
239
|
# @return [NgrokAPI::Models::Empty] result from the API request
|
|
279
240
|
#
|
|
280
241
|
# https://ngrok.com/docs/api#api-reserved-domains-delete-certificate-management-policy
|
|
281
|
-
def delete_certificate_management_policy(
|
|
282
|
-
id: ""
|
|
283
|
-
)
|
|
242
|
+
def delete_certificate_management_policy(id: "")
|
|
284
243
|
path = '/reserved_domains/%{id}/certificate_management_policy'
|
|
285
244
|
replacements = {
|
|
286
245
|
id: id,
|
|
@@ -296,9 +255,7 @@ module NgrokAPI
|
|
|
296
255
|
# @return [NgrokAPI::Models::Empty] result from the API request
|
|
297
256
|
#
|
|
298
257
|
# https://ngrok.com/docs/api#api-reserved-domains-delete-certificate-management-policy
|
|
299
|
-
def delete_certificate_management_policy!(
|
|
300
|
-
id: ""
|
|
301
|
-
)
|
|
258
|
+
def delete_certificate_management_policy!(id: "")
|
|
302
259
|
path = '/reserved_domains/%{id}/certificate_management_policy'
|
|
303
260
|
replacements = {
|
|
304
261
|
id: id,
|
|
@@ -313,9 +270,7 @@ module NgrokAPI
|
|
|
313
270
|
# @return [NgrokAPI::Models::Empty] result from the API request
|
|
314
271
|
#
|
|
315
272
|
# https://ngrok.com/docs/api#api-reserved-domains-delete-certificate
|
|
316
|
-
def delete_certificate(
|
|
317
|
-
id: ""
|
|
318
|
-
)
|
|
273
|
+
def delete_certificate(id: "")
|
|
319
274
|
path = '/reserved_domains/%{id}/certificate'
|
|
320
275
|
replacements = {
|
|
321
276
|
id: id,
|
|
@@ -331,9 +286,7 @@ module NgrokAPI
|
|
|
331
286
|
# @return [NgrokAPI::Models::Empty] result from the API request
|
|
332
287
|
#
|
|
333
288
|
# https://ngrok.com/docs/api#api-reserved-domains-delete-certificate
|
|
334
|
-
def delete_certificate!(
|
|
335
|
-
id: ""
|
|
336
|
-
)
|
|
289
|
+
def delete_certificate!(id: "")
|
|
337
290
|
path = '/reserved_domains/%{id}/certificate'
|
|
338
291
|
replacements = {
|
|
339
292
|
id: id,
|
|
@@ -348,9 +301,7 @@ module NgrokAPI
|
|
|
348
301
|
# @return [NgrokAPI::Models::Empty] result from the API request
|
|
349
302
|
#
|
|
350
303
|
# https://ngrok.com/docs/api#api-reserved-domains-delete-http-endpoint-config
|
|
351
|
-
def delete_http_endpoint_config(
|
|
352
|
-
id: ""
|
|
353
|
-
)
|
|
304
|
+
def delete_http_endpoint_config(id: "")
|
|
354
305
|
path = '/reserved_domains/%{id}/http_endpoint_configuration'
|
|
355
306
|
replacements = {
|
|
356
307
|
id: id,
|
|
@@ -366,9 +317,7 @@ module NgrokAPI
|
|
|
366
317
|
# @return [NgrokAPI::Models::Empty] result from the API request
|
|
367
318
|
#
|
|
368
319
|
# https://ngrok.com/docs/api#api-reserved-domains-delete-http-endpoint-config
|
|
369
|
-
def delete_http_endpoint_config!(
|
|
370
|
-
id: ""
|
|
371
|
-
)
|
|
320
|
+
def delete_http_endpoint_config!(id: "")
|
|
372
321
|
path = '/reserved_domains/%{id}/http_endpoint_configuration'
|
|
373
322
|
replacements = {
|
|
374
323
|
id: id,
|
|
@@ -383,9 +332,7 @@ module NgrokAPI
|
|
|
383
332
|
# @return [NgrokAPI::Models::Empty] result from the API request
|
|
384
333
|
#
|
|
385
334
|
# https://ngrok.com/docs/api#api-reserved-domains-delete-https-endpoint-config
|
|
386
|
-
def delete_https_endpoint_config(
|
|
387
|
-
id: ""
|
|
388
|
-
)
|
|
335
|
+
def delete_https_endpoint_config(id: "")
|
|
389
336
|
path = '/reserved_domains/%{id}/https_endpoint_configuration'
|
|
390
337
|
replacements = {
|
|
391
338
|
id: id,
|
|
@@ -401,9 +348,7 @@ module NgrokAPI
|
|
|
401
348
|
# @return [NgrokAPI::Models::Empty] result from the API request
|
|
402
349
|
#
|
|
403
350
|
# https://ngrok.com/docs/api#api-reserved-domains-delete-https-endpoint-config
|
|
404
|
-
def delete_https_endpoint_config!(
|
|
405
|
-
id: ""
|
|
406
|
-
)
|
|
351
|
+
def delete_https_endpoint_config!(id: "")
|
|
407
352
|
path = '/reserved_domains/%{id}/https_endpoint_configuration'
|
|
408
353
|
replacements = {
|
|
409
354
|
id: id,
|
|
@@ -30,13 +30,7 @@ module NgrokAPI
|
|
|
30
30
|
# @return [NgrokAPI::Models::SSHCertificateAuthority] result from the API request
|
|
31
31
|
#
|
|
32
32
|
# https://ngrok.com/docs/api#api-ssh-certificate-authorities-create
|
|
33
|
-
def create(
|
|
34
|
-
description: "",
|
|
35
|
-
metadata: "",
|
|
36
|
-
private_key_type: "",
|
|
37
|
-
elliptic_curve: "",
|
|
38
|
-
key_size: 0
|
|
39
|
-
)
|
|
33
|
+
def create(description: "", metadata: "", private_key_type: "", elliptic_curve: "", key_size: 0)
|
|
40
34
|
path = '/ssh_certificate_authorities'
|
|
41
35
|
replacements = {
|
|
42
36
|
}
|
|
@@ -57,9 +51,7 @@ module NgrokAPI
|
|
|
57
51
|
# @return [NgrokAPI::Models::Empty] result from the API request
|
|
58
52
|
#
|
|
59
53
|
# https://ngrok.com/docs/api#api-ssh-certificate-authorities-delete
|
|
60
|
-
def delete(
|
|
61
|
-
id: ""
|
|
62
|
-
)
|
|
54
|
+
def delete(id: "")
|
|
63
55
|
path = '/ssh_certificate_authorities/%{id}'
|
|
64
56
|
replacements = {
|
|
65
57
|
id: id,
|
|
@@ -75,9 +67,7 @@ module NgrokAPI
|
|
|
75
67
|
# @return [NgrokAPI::Models::Empty] result from the API request
|
|
76
68
|
#
|
|
77
69
|
# https://ngrok.com/docs/api#api-ssh-certificate-authorities-delete
|
|
78
|
-
def delete!(
|
|
79
|
-
id: ""
|
|
80
|
-
)
|
|
70
|
+
def delete!(id: "")
|
|
81
71
|
path = '/ssh_certificate_authorities/%{id}'
|
|
82
72
|
replacements = {
|
|
83
73
|
id: id,
|
|
@@ -92,9 +82,7 @@ module NgrokAPI
|
|
|
92
82
|
# @return [NgrokAPI::Models::SSHCertificateAuthority] result from the API request
|
|
93
83
|
#
|
|
94
84
|
# https://ngrok.com/docs/api#api-ssh-certificate-authorities-get
|
|
95
|
-
def get(
|
|
96
|
-
id: ""
|
|
97
|
-
)
|
|
85
|
+
def get(id: "")
|
|
98
86
|
path = '/ssh_certificate_authorities/%{id}'
|
|
99
87
|
replacements = {
|
|
100
88
|
id: id,
|
|
@@ -112,9 +100,7 @@ module NgrokAPI
|
|
|
112
100
|
# @return [NgrokAPI::Models::SSHCertificateAuthority] result from the API request
|
|
113
101
|
#
|
|
114
102
|
# https://ngrok.com/docs/api#api-ssh-certificate-authorities-get
|
|
115
|
-
def get!(
|
|
116
|
-
id: ""
|
|
117
|
-
)
|
|
103
|
+
def get!(id: "")
|
|
118
104
|
path = '/ssh_certificate_authorities/%{id}'
|
|
119
105
|
replacements = {
|
|
120
106
|
id: id,
|
|
@@ -133,11 +119,8 @@ module NgrokAPI
|
|
|
133
119
|
# @return [NgrokAPI::Models::Listable] result from the API request
|
|
134
120
|
#
|
|
135
121
|
# https://ngrok.com/docs/api#api-ssh-certificate-authorities-list
|
|
136
|
-
def list(
|
|
137
|
-
|
|
138
|
-
limit: nil,
|
|
139
|
-
url: nil
|
|
140
|
-
)
|
|
122
|
+
def list(before_id: nil, limit: nil,
|
|
123
|
+
url: nil)
|
|
141
124
|
result = @client.list(
|
|
142
125
|
before_id: before_id,
|
|
143
126
|
limit: limit,
|
|
@@ -163,11 +146,8 @@ module NgrokAPI
|
|
|
163
146
|
# @return [NgrokAPI::Models::Listable] result from the API request
|
|
164
147
|
#
|
|
165
148
|
# https://ngrok.com/docs/api#api-ssh-certificate-authorities-list
|
|
166
|
-
def list!(
|
|
167
|
-
|
|
168
|
-
limit: nil,
|
|
169
|
-
url: nil
|
|
170
|
-
)
|
|
149
|
+
def list!(before_id: nil, limit: nil,
|
|
150
|
+
url: nil)
|
|
171
151
|
result = @client.list(
|
|
172
152
|
before_id: before_id,
|
|
173
153
|
limit: limit,
|
|
@@ -194,11 +174,7 @@ module NgrokAPI
|
|
|
194
174
|
# @return [NgrokAPI::Models::SSHCertificateAuthority] result from the API request
|
|
195
175
|
#
|
|
196
176
|
# https://ngrok.com/docs/api#api-ssh-certificate-authorities-update
|
|
197
|
-
def update(
|
|
198
|
-
id: "",
|
|
199
|
-
description: nil,
|
|
200
|
-
metadata: nil
|
|
201
|
-
)
|
|
177
|
+
def update(id: "", description: nil, metadata: nil)
|
|
202
178
|
path = '/ssh_certificate_authorities/%{id}'
|
|
203
179
|
replacements = {
|
|
204
180
|
id: id,
|
|
@@ -220,11 +196,7 @@ module NgrokAPI
|
|
|
220
196
|
# @return [NgrokAPI::Models::SSHCertificateAuthority] result from the API request
|
|
221
197
|
#
|
|
222
198
|
# https://ngrok.com/docs/api#api-ssh-certificate-authorities-update
|
|
223
|
-
def update!(
|
|
224
|
-
id: "",
|
|
225
|
-
description: nil,
|
|
226
|
-
metadata: nil
|
|
227
|
-
)
|
|
199
|
+
def update!(id: "", description: nil, metadata: nil)
|
|
228
200
|
path = '/ssh_certificate_authorities/%{id}'
|
|
229
201
|
replacements = {
|
|
230
202
|
id: id,
|
|
@@ -30,12 +30,7 @@ module NgrokAPI
|
|
|
30
30
|
# @return [NgrokAPI::Models::SSHCredential] result from the API request
|
|
31
31
|
#
|
|
32
32
|
# https://ngrok.com/docs/api#api-ssh-credentials-create
|
|
33
|
-
def create(
|
|
34
|
-
description: "",
|
|
35
|
-
metadata: "",
|
|
36
|
-
acl: [],
|
|
37
|
-
public_key:
|
|
38
|
-
)
|
|
33
|
+
def create(description: "", metadata: "", acl: [], public_key:)
|
|
39
34
|
path = '/ssh_credentials'
|
|
40
35
|
replacements = {
|
|
41
36
|
}
|
|
@@ -55,9 +50,7 @@ module NgrokAPI
|
|
|
55
50
|
# @return [NgrokAPI::Models::Empty] result from the API request
|
|
56
51
|
#
|
|
57
52
|
# https://ngrok.com/docs/api#api-ssh-credentials-delete
|
|
58
|
-
def delete(
|
|
59
|
-
id: ""
|
|
60
|
-
)
|
|
53
|
+
def delete(id: "")
|
|
61
54
|
path = '/ssh_credentials/%{id}'
|
|
62
55
|
replacements = {
|
|
63
56
|
id: id,
|
|
@@ -73,9 +66,7 @@ module NgrokAPI
|
|
|
73
66
|
# @return [NgrokAPI::Models::Empty] result from the API request
|
|
74
67
|
#
|
|
75
68
|
# https://ngrok.com/docs/api#api-ssh-credentials-delete
|
|
76
|
-
def delete!(
|
|
77
|
-
id: ""
|
|
78
|
-
)
|
|
69
|
+
def delete!(id: "")
|
|
79
70
|
path = '/ssh_credentials/%{id}'
|
|
80
71
|
replacements = {
|
|
81
72
|
id: id,
|
|
@@ -90,9 +81,7 @@ module NgrokAPI
|
|
|
90
81
|
# @return [NgrokAPI::Models::SSHCredential] result from the API request
|
|
91
82
|
#
|
|
92
83
|
# https://ngrok.com/docs/api#api-ssh-credentials-get
|
|
93
|
-
def get(
|
|
94
|
-
id: ""
|
|
95
|
-
)
|
|
84
|
+
def get(id: "")
|
|
96
85
|
path = '/ssh_credentials/%{id}'
|
|
97
86
|
replacements = {
|
|
98
87
|
id: id,
|
|
@@ -110,9 +99,7 @@ module NgrokAPI
|
|
|
110
99
|
# @return [NgrokAPI::Models::SSHCredential] result from the API request
|
|
111
100
|
#
|
|
112
101
|
# https://ngrok.com/docs/api#api-ssh-credentials-get
|
|
113
|
-
def get!(
|
|
114
|
-
id: ""
|
|
115
|
-
)
|
|
102
|
+
def get!(id: "")
|
|
116
103
|
path = '/ssh_credentials/%{id}'
|
|
117
104
|
replacements = {
|
|
118
105
|
id: id,
|
|
@@ -131,11 +118,8 @@ module NgrokAPI
|
|
|
131
118
|
# @return [NgrokAPI::Models::Listable] result from the API request
|
|
132
119
|
#
|
|
133
120
|
# https://ngrok.com/docs/api#api-ssh-credentials-list
|
|
134
|
-
def list(
|
|
135
|
-
|
|
136
|
-
limit: nil,
|
|
137
|
-
url: nil
|
|
138
|
-
)
|
|
121
|
+
def list(before_id: nil, limit: nil,
|
|
122
|
+
url: nil)
|
|
139
123
|
result = @client.list(
|
|
140
124
|
before_id: before_id,
|
|
141
125
|
limit: limit,
|
|
@@ -161,11 +145,8 @@ module NgrokAPI
|
|
|
161
145
|
# @return [NgrokAPI::Models::Listable] result from the API request
|
|
162
146
|
#
|
|
163
147
|
# https://ngrok.com/docs/api#api-ssh-credentials-list
|
|
164
|
-
def list!(
|
|
165
|
-
|
|
166
|
-
limit: nil,
|
|
167
|
-
url: nil
|
|
168
|
-
)
|
|
148
|
+
def list!(before_id: nil, limit: nil,
|
|
149
|
+
url: nil)
|
|
169
150
|
result = @client.list(
|
|
170
151
|
before_id: before_id,
|
|
171
152
|
limit: limit,
|
|
@@ -193,12 +174,7 @@ module NgrokAPI
|
|
|
193
174
|
# @return [NgrokAPI::Models::SSHCredential] result from the API request
|
|
194
175
|
#
|
|
195
176
|
# https://ngrok.com/docs/api#api-ssh-credentials-update
|
|
196
|
-
def update(
|
|
197
|
-
id: "",
|
|
198
|
-
description: nil,
|
|
199
|
-
metadata: nil,
|
|
200
|
-
acl: nil
|
|
201
|
-
)
|
|
177
|
+
def update(id: "", description: nil, metadata: nil, acl: nil)
|
|
202
178
|
path = '/ssh_credentials/%{id}'
|
|
203
179
|
replacements = {
|
|
204
180
|
id: id,
|
|
@@ -222,12 +198,7 @@ module NgrokAPI
|
|
|
222
198
|
# @return [NgrokAPI::Models::SSHCredential] result from the API request
|
|
223
199
|
#
|
|
224
200
|
# https://ngrok.com/docs/api#api-ssh-credentials-update
|
|
225
|
-
def update!(
|
|
226
|
-
id: "",
|
|
227
|
-
description: nil,
|
|
228
|
-
metadata: nil,
|
|
229
|
-
acl: nil
|
|
230
|
-
)
|
|
201
|
+
def update!(id: "", description: nil, metadata: nil, acl: nil)
|
|
231
202
|
path = '/ssh_credentials/%{id}'
|
|
232
203
|
replacements = {
|
|
233
204
|
id: id,
|
|
@@ -33,15 +33,7 @@ module NgrokAPI
|
|
|
33
33
|
# @return [NgrokAPI::Models::SSHHostCertificate] result from the API request
|
|
34
34
|
#
|
|
35
35
|
# https://ngrok.com/docs/api#api-ssh-host-certificates-create
|
|
36
|
-
def create(
|
|
37
|
-
ssh_certificate_authority_id:,
|
|
38
|
-
public_key:,
|
|
39
|
-
principals: [],
|
|
40
|
-
valid_after: "",
|
|
41
|
-
valid_until: "",
|
|
42
|
-
description: "",
|
|
43
|
-
metadata: ""
|
|
44
|
-
)
|
|
36
|
+
def create(ssh_certificate_authority_id:, public_key:, principals: [], valid_after: "", valid_until: "", description: "", metadata: "")
|
|
45
37
|
path = '/ssh_host_certificates'
|
|
46
38
|
replacements = {
|
|
47
39
|
}
|
|
@@ -64,9 +56,7 @@ module NgrokAPI
|
|
|
64
56
|
# @return [NgrokAPI::Models::Empty] result from the API request
|
|
65
57
|
#
|
|
66
58
|
# https://ngrok.com/docs/api#api-ssh-host-certificates-delete
|
|
67
|
-
def delete(
|
|
68
|
-
id: ""
|
|
69
|
-
)
|
|
59
|
+
def delete(id: "")
|
|
70
60
|
path = '/ssh_host_certificates/%{id}'
|
|
71
61
|
replacements = {
|
|
72
62
|
id: id,
|
|
@@ -82,9 +72,7 @@ module NgrokAPI
|
|
|
82
72
|
# @return [NgrokAPI::Models::Empty] result from the API request
|
|
83
73
|
#
|
|
84
74
|
# https://ngrok.com/docs/api#api-ssh-host-certificates-delete
|
|
85
|
-
def delete!(
|
|
86
|
-
id: ""
|
|
87
|
-
)
|
|
75
|
+
def delete!(id: "")
|
|
88
76
|
path = '/ssh_host_certificates/%{id}'
|
|
89
77
|
replacements = {
|
|
90
78
|
id: id,
|
|
@@ -99,9 +87,7 @@ module NgrokAPI
|
|
|
99
87
|
# @return [NgrokAPI::Models::SSHHostCertificate] result from the API request
|
|
100
88
|
#
|
|
101
89
|
# https://ngrok.com/docs/api#api-ssh-host-certificates-get
|
|
102
|
-
def get(
|
|
103
|
-
id: ""
|
|
104
|
-
)
|
|
90
|
+
def get(id: "")
|
|
105
91
|
path = '/ssh_host_certificates/%{id}'
|
|
106
92
|
replacements = {
|
|
107
93
|
id: id,
|
|
@@ -119,9 +105,7 @@ module NgrokAPI
|
|
|
119
105
|
# @return [NgrokAPI::Models::SSHHostCertificate] result from the API request
|
|
120
106
|
#
|
|
121
107
|
# https://ngrok.com/docs/api#api-ssh-host-certificates-get
|
|
122
|
-
def get!(
|
|
123
|
-
id: ""
|
|
124
|
-
)
|
|
108
|
+
def get!(id: "")
|
|
125
109
|
path = '/ssh_host_certificates/%{id}'
|
|
126
110
|
replacements = {
|
|
127
111
|
id: id,
|
|
@@ -140,11 +124,8 @@ module NgrokAPI
|
|
|
140
124
|
# @return [NgrokAPI::Models::Listable] result from the API request
|
|
141
125
|
#
|
|
142
126
|
# https://ngrok.com/docs/api#api-ssh-host-certificates-list
|
|
143
|
-
def list(
|
|
144
|
-
|
|
145
|
-
limit: nil,
|
|
146
|
-
url: nil
|
|
147
|
-
)
|
|
127
|
+
def list(before_id: nil, limit: nil,
|
|
128
|
+
url: nil)
|
|
148
129
|
result = @client.list(
|
|
149
130
|
before_id: before_id,
|
|
150
131
|
limit: limit,
|
|
@@ -170,11 +151,8 @@ module NgrokAPI
|
|
|
170
151
|
# @return [NgrokAPI::Models::Listable] result from the API request
|
|
171
152
|
#
|
|
172
153
|
# https://ngrok.com/docs/api#api-ssh-host-certificates-list
|
|
173
|
-
def list!(
|
|
174
|
-
|
|
175
|
-
limit: nil,
|
|
176
|
-
url: nil
|
|
177
|
-
)
|
|
154
|
+
def list!(before_id: nil, limit: nil,
|
|
155
|
+
url: nil)
|
|
178
156
|
result = @client.list(
|
|
179
157
|
before_id: before_id,
|
|
180
158
|
limit: limit,
|
|
@@ -201,11 +179,7 @@ module NgrokAPI
|
|
|
201
179
|
# @return [NgrokAPI::Models::SSHHostCertificate] result from the API request
|
|
202
180
|
#
|
|
203
181
|
# https://ngrok.com/docs/api#api-ssh-host-certificates-update
|
|
204
|
-
def update(
|
|
205
|
-
id: "",
|
|
206
|
-
description: nil,
|
|
207
|
-
metadata: nil
|
|
208
|
-
)
|
|
182
|
+
def update(id: "", description: nil, metadata: nil)
|
|
209
183
|
path = '/ssh_host_certificates/%{id}'
|
|
210
184
|
replacements = {
|
|
211
185
|
id: id,
|
|
@@ -227,11 +201,7 @@ module NgrokAPI
|
|
|
227
201
|
# @return [NgrokAPI::Models::SSHHostCertificate] result from the API request
|
|
228
202
|
#
|
|
229
203
|
# https://ngrok.com/docs/api#api-ssh-host-certificates-update
|
|
230
|
-
def update!(
|
|
231
|
-
id: "",
|
|
232
|
-
description: nil,
|
|
233
|
-
metadata: nil
|
|
234
|
-
)
|
|
204
|
+
def update!(id: "", description: nil, metadata: nil)
|
|
235
205
|
path = '/ssh_host_certificates/%{id}'
|
|
236
206
|
replacements = {
|
|
237
207
|
id: id,
|
|
@@ -35,17 +35,7 @@ module NgrokAPI
|
|
|
35
35
|
# @return [NgrokAPI::Models::SSHUserCertificate] result from the API request
|
|
36
36
|
#
|
|
37
37
|
# https://ngrok.com/docs/api#api-ssh-user-certificates-create
|
|
38
|
-
def create(
|
|
39
|
-
ssh_certificate_authority_id:,
|
|
40
|
-
public_key:,
|
|
41
|
-
principals: [],
|
|
42
|
-
critical_options: {},
|
|
43
|
-
extensions: {},
|
|
44
|
-
valid_after: "",
|
|
45
|
-
valid_until: "",
|
|
46
|
-
description: "",
|
|
47
|
-
metadata: ""
|
|
48
|
-
)
|
|
38
|
+
def create(ssh_certificate_authority_id:, public_key:, principals: [], critical_options: {}, extensions: {}, valid_after: "", valid_until: "", description: "", metadata: "")
|
|
49
39
|
path = '/ssh_user_certificates'
|
|
50
40
|
replacements = {
|
|
51
41
|
}
|
|
@@ -70,9 +60,7 @@ module NgrokAPI
|
|
|
70
60
|
# @return [NgrokAPI::Models::Empty] result from the API request
|
|
71
61
|
#
|
|
72
62
|
# https://ngrok.com/docs/api#api-ssh-user-certificates-delete
|
|
73
|
-
def delete(
|
|
74
|
-
id: ""
|
|
75
|
-
)
|
|
63
|
+
def delete(id: "")
|
|
76
64
|
path = '/ssh_user_certificates/%{id}'
|
|
77
65
|
replacements = {
|
|
78
66
|
id: id,
|
|
@@ -88,9 +76,7 @@ module NgrokAPI
|
|
|
88
76
|
# @return [NgrokAPI::Models::Empty] result from the API request
|
|
89
77
|
#
|
|
90
78
|
# https://ngrok.com/docs/api#api-ssh-user-certificates-delete
|
|
91
|
-
def delete!(
|
|
92
|
-
id: ""
|
|
93
|
-
)
|
|
79
|
+
def delete!(id: "")
|
|
94
80
|
path = '/ssh_user_certificates/%{id}'
|
|
95
81
|
replacements = {
|
|
96
82
|
id: id,
|
|
@@ -105,9 +91,7 @@ module NgrokAPI
|
|
|
105
91
|
# @return [NgrokAPI::Models::SSHUserCertificate] result from the API request
|
|
106
92
|
#
|
|
107
93
|
# https://ngrok.com/docs/api#api-ssh-user-certificates-get
|
|
108
|
-
def get(
|
|
109
|
-
id: ""
|
|
110
|
-
)
|
|
94
|
+
def get(id: "")
|
|
111
95
|
path = '/ssh_user_certificates/%{id}'
|
|
112
96
|
replacements = {
|
|
113
97
|
id: id,
|
|
@@ -125,9 +109,7 @@ module NgrokAPI
|
|
|
125
109
|
# @return [NgrokAPI::Models::SSHUserCertificate] result from the API request
|
|
126
110
|
#
|
|
127
111
|
# https://ngrok.com/docs/api#api-ssh-user-certificates-get
|
|
128
|
-
def get!(
|
|
129
|
-
id: ""
|
|
130
|
-
)
|
|
112
|
+
def get!(id: "")
|
|
131
113
|
path = '/ssh_user_certificates/%{id}'
|
|
132
114
|
replacements = {
|
|
133
115
|
id: id,
|
|
@@ -146,11 +128,8 @@ module NgrokAPI
|
|
|
146
128
|
# @return [NgrokAPI::Models::Listable] result from the API request
|
|
147
129
|
#
|
|
148
130
|
# https://ngrok.com/docs/api#api-ssh-user-certificates-list
|
|
149
|
-
def list(
|
|
150
|
-
|
|
151
|
-
limit: nil,
|
|
152
|
-
url: nil
|
|
153
|
-
)
|
|
131
|
+
def list(before_id: nil, limit: nil,
|
|
132
|
+
url: nil)
|
|
154
133
|
result = @client.list(
|
|
155
134
|
before_id: before_id,
|
|
156
135
|
limit: limit,
|
|
@@ -176,11 +155,8 @@ module NgrokAPI
|
|
|
176
155
|
# @return [NgrokAPI::Models::Listable] result from the API request
|
|
177
156
|
#
|
|
178
157
|
# https://ngrok.com/docs/api#api-ssh-user-certificates-list
|
|
179
|
-
def list!(
|
|
180
|
-
|
|
181
|
-
limit: nil,
|
|
182
|
-
url: nil
|
|
183
|
-
)
|
|
158
|
+
def list!(before_id: nil, limit: nil,
|
|
159
|
+
url: nil)
|
|
184
160
|
result = @client.list(
|
|
185
161
|
before_id: before_id,
|
|
186
162
|
limit: limit,
|
|
@@ -207,11 +183,7 @@ module NgrokAPI
|
|
|
207
183
|
# @return [NgrokAPI::Models::SSHUserCertificate] result from the API request
|
|
208
184
|
#
|
|
209
185
|
# https://ngrok.com/docs/api#api-ssh-user-certificates-update
|
|
210
|
-
def update(
|
|
211
|
-
id: "",
|
|
212
|
-
description: nil,
|
|
213
|
-
metadata: nil
|
|
214
|
-
)
|
|
186
|
+
def update(id: "", description: nil, metadata: nil)
|
|
215
187
|
path = '/ssh_user_certificates/%{id}'
|
|
216
188
|
replacements = {
|
|
217
189
|
id: id,
|
|
@@ -233,11 +205,7 @@ module NgrokAPI
|
|
|
233
205
|
# @return [NgrokAPI::Models::SSHUserCertificate] result from the API request
|
|
234
206
|
#
|
|
235
207
|
# https://ngrok.com/docs/api#api-ssh-user-certificates-update
|
|
236
|
-
def update!(
|
|
237
|
-
id: "",
|
|
238
|
-
description: nil,
|
|
239
|
-
metadata: nil
|
|
240
|
-
)
|
|
208
|
+
def update!(id: "", description: nil, metadata: nil)
|
|
241
209
|
path = '/ssh_user_certificates/%{id}'
|
|
242
210
|
replacements = {
|
|
243
211
|
id: id,
|