ngrok-api 0.9.0 → 0.12.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/.gitkeep +0 -0
- data/doc/NgrokAPI/Client.html +1499 -125
- data/doc/NgrokAPI/Error.html +1 -1
- data/doc/NgrokAPI/Errors/NotFoundError.html +1 -1
- data/doc/NgrokAPI/Errors.html +1 -1
- data/doc/NgrokAPI/HttpClient.html +1 -1
- data/doc/NgrokAPI/Models/{ApiKey.html → APIKey.html} +108 -177
- data/doc/NgrokAPI/Models/AWSAuth.html +617 -0
- data/doc/NgrokAPI/Models/AWSCredentials.html +617 -0
- data/doc/NgrokAPI/Models/AWSRole.html +543 -0
- data/doc/NgrokAPI/Models/AbuseReport.html +987 -0
- data/doc/NgrokAPI/Models/AbuseReportHostname.html +617 -0
- data/doc/NgrokAPI/Models/CertificateAuthority.html +1439 -0
- data/doc/NgrokAPI/Models/Credential.html +1149 -0
- data/doc/NgrokAPI/Models/EndpointCircuitBreaker.html +913 -0
- data/doc/NgrokAPI/Models/EndpointCompression.html +543 -0
- data/doc/NgrokAPI/Models/EndpointConfiguration.html +1321 -510
- data/doc/NgrokAPI/Models/EndpointIPPolicy.html +617 -0
- data/doc/NgrokAPI/Models/EndpointIPPolicyMutate.html +617 -0
- data/doc/NgrokAPI/Models/EndpointLogging.html +617 -0
- data/doc/NgrokAPI/Models/EndpointLoggingMutate.html +617 -0
- data/doc/NgrokAPI/Models/EndpointMutualTLS.html +617 -0
- data/doc/NgrokAPI/Models/EndpointMutualTLSMutate.html +617 -0
- data/doc/NgrokAPI/Models/EndpointOAuth.html +987 -0
- data/doc/NgrokAPI/Models/EndpointOAuthFacebook.html +839 -0
- data/doc/NgrokAPI/Models/EndpointOAuthGitHub.html +987 -0
- data/doc/NgrokAPI/Models/EndpointOAuthGoogle.html +839 -0
- data/doc/NgrokAPI/Models/EndpointOAuthMicrosoft.html +839 -0
- data/doc/NgrokAPI/Models/EndpointOAuthProvider.html +765 -0
- data/doc/NgrokAPI/Models/EndpointOIDC.html +1135 -0
- data/doc/NgrokAPI/Models/EndpointRequestHeaders.html +691 -0
- data/doc/NgrokAPI/Models/EndpointResponseHeaders.html +691 -0
- data/doc/NgrokAPI/Models/EndpointSAML.html +1653 -0
- data/doc/NgrokAPI/Models/EndpointSAMLMutate.html +1283 -0
- data/doc/NgrokAPI/Models/EndpointTLSTermination.html +691 -0
- data/doc/NgrokAPI/Models/EndpointWebhookValidation.html +691 -0
- data/doc/NgrokAPI/Models/EventDestination.html +1058 -0
- data/doc/NgrokAPI/Models/EventSource.html +765 -0
- data/doc/NgrokAPI/Models/EventSourceReplace.html +691 -0
- data/doc/NgrokAPI/Models/EventStream.html +1309 -0
- data/doc/NgrokAPI/Models/EventSubscription.html +1058 -0
- data/doc/NgrokAPI/Models/EventTarget.html +765 -0
- data/doc/NgrokAPI/Models/EventTargetCloudwatchLogs.html +617 -0
- data/doc/NgrokAPI/Models/EventTargetFirehose.html +617 -0
- data/doc/NgrokAPI/Models/EventTargetKinesis.html +617 -0
- data/doc/NgrokAPI/Models/IPPolicy.html +1069 -0
- data/doc/NgrokAPI/Models/IPPolicyRule.html +1149 -0
- data/doc/NgrokAPI/Models/IPRestriction.html +1132 -0
- data/doc/NgrokAPI/Models/{TlsCertificate.html → IPWhitelistEntry.html} +168 -163
- data/doc/NgrokAPI/Models/Listable.html +1 -1
- data/doc/NgrokAPI/Models/Ref.html +617 -0
- data/doc/NgrokAPI/Models/ReservedAddr.html +1132 -0
- data/doc/NgrokAPI/Models/ReservedDomain.html +111 -1107
- data/doc/NgrokAPI/Models/ReservedDomainCertJob.html +839 -0
- data/doc/NgrokAPI/Models/ReservedDomainCertNSTarget.html +617 -0
- data/doc/NgrokAPI/Models/ReservedDomainCertPolicy.html +617 -0
- data/doc/NgrokAPI/Models/ReservedDomainCertStatus.html +617 -0
- data/doc/NgrokAPI/Models/SSHCertificateAuthority.html +1143 -0
- data/doc/NgrokAPI/Models/SSHCredential.html +1149 -0
- data/doc/NgrokAPI/Models/SSHHostCertificate.html +1513 -0
- data/doc/NgrokAPI/Models/SSHUserCertificate.html +1661 -0
- data/doc/NgrokAPI/Models/TLSCertificate.html +2179 -0
- data/doc/NgrokAPI/Models/TLSCertificateSANs.html +617 -0
- data/doc/NgrokAPI/Models/Tunnel.html +987 -0
- data/doc/NgrokAPI/Models/TunnelSession.html +1209 -0
- data/doc/NgrokAPI/Models.html +4 -4
- data/doc/NgrokAPI/PagedIterator.html +1 -1
- data/{docs/NgrokAPI/Services/ApiKeysClient.html → doc/NgrokAPI/Services/APIKeysClient.html} +287 -151
- data/doc/NgrokAPI/Services/AbuseReportsClient.html +723 -0
- data/doc/NgrokAPI/Services/CertificateAuthoritiesClient.html +1489 -0
- data/doc/NgrokAPI/Services/CredentialsClient.html +1534 -0
- data/doc/NgrokAPI/Services/EndpointCircuitBreakerModuleClient.html +1071 -0
- data/doc/NgrokAPI/Services/EndpointCompressionModuleClient.html +1071 -0
- data/doc/NgrokAPI/Services/EndpointConfigurationsClient.html +473 -371
- data/doc/NgrokAPI/Services/EndpointIPPolicyModuleClient.html +1071 -0
- data/doc/NgrokAPI/Services/EndpointLoggingModuleClient.html +1071 -0
- data/doc/NgrokAPI/Services/EndpointMutualTLSModuleClient.html +1071 -0
- data/doc/NgrokAPI/Services/EndpointOAuthModuleClient.html +1071 -0
- data/doc/NgrokAPI/Services/EndpointOIDCModuleClient.html +1071 -0
- data/doc/NgrokAPI/Services/EndpointRequestHeadersModuleClient.html +1071 -0
- data/doc/NgrokAPI/Services/EndpointResponseHeadersModuleClient.html +1071 -0
- data/doc/NgrokAPI/Services/EndpointSAMLModuleClient.html +1071 -0
- data/doc/NgrokAPI/Services/EndpointTLSTerminationModuleClient.html +1071 -0
- data/doc/NgrokAPI/Services/EndpointWebhookValidationModuleClient.html +1071 -0
- data/doc/NgrokAPI/Services/EventDestinationsClient.html +1609 -0
- data/doc/NgrokAPI/Services/EventSourcesClient.html +1348 -0
- data/doc/NgrokAPI/Services/EventStreamsClient.html +1691 -0
- data/doc/NgrokAPI/Services/EventSubscriptionsClient.html +1603 -0
- data/doc/NgrokAPI/Services/IPPoliciesClient.html +1488 -0
- data/doc/NgrokAPI/Services/IPPolicyRulesClient.html +1550 -0
- data/doc/NgrokAPI/Services/IPRestrictionsClient.html +1620 -0
- data/doc/NgrokAPI/Services/IPWhitelistClient.html +1488 -0
- data/doc/NgrokAPI/Services/ReservedAddrsClient.html +1793 -0
- data/doc/NgrokAPI/Services/ReservedDomainsClient.html +518 -333
- data/doc/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +1532 -0
- data/doc/NgrokAPI/Services/SSHCredentialsClient.html +1552 -0
- data/doc/NgrokAPI/Services/SSHHostCertificatesClient.html +1573 -0
- data/doc/NgrokAPI/Services/SSHUserCertificatesClient.html +1617 -0
- data/{docs/NgrokAPI/Services/TlsCertificatesClient.html → doc/NgrokAPI/Services/TLSCertificatesClient.html} +290 -198
- data/doc/NgrokAPI/Services/TunnelSessionsClient.html +1468 -0
- data/doc/NgrokAPI/Services/TunnelsClient.html +513 -0
- data/doc/NgrokAPI/Services.html +4 -4
- data/doc/NgrokAPI.html +3 -3
- data/doc/_index.html +624 -28
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +1 -1
- data/doc/index.html +1 -1
- data/doc/method_list.html +7318 -286
- data/doc/top-level-namespace.html +1 -1
- data/docs/.gitkeep +0 -0
- data/docs/NgrokAPI/Client.html +1499 -125
- data/docs/NgrokAPI/Error.html +1 -1
- data/docs/NgrokAPI/Errors/NotFoundError.html +1 -1
- data/docs/NgrokAPI/Errors.html +1 -1
- data/docs/NgrokAPI/HttpClient.html +1 -1
- data/docs/NgrokAPI/Models/{ApiKey.html → APIKey.html} +108 -177
- data/docs/NgrokAPI/Models/AWSAuth.html +617 -0
- data/docs/NgrokAPI/Models/AWSCredentials.html +617 -0
- data/docs/NgrokAPI/Models/AWSRole.html +543 -0
- data/docs/NgrokAPI/Models/AbuseReport.html +987 -0
- data/docs/NgrokAPI/Models/AbuseReportHostname.html +617 -0
- data/docs/NgrokAPI/Models/CertificateAuthority.html +1439 -0
- data/docs/NgrokAPI/Models/Credential.html +1149 -0
- data/docs/NgrokAPI/Models/EndpointCircuitBreaker.html +913 -0
- data/docs/NgrokAPI/Models/EndpointCompression.html +543 -0
- data/docs/NgrokAPI/Models/EndpointConfiguration.html +1321 -510
- data/docs/NgrokAPI/Models/EndpointIPPolicy.html +617 -0
- data/docs/NgrokAPI/Models/EndpointIPPolicyMutate.html +617 -0
- data/docs/NgrokAPI/Models/EndpointLogging.html +617 -0
- data/docs/NgrokAPI/Models/EndpointLoggingMutate.html +617 -0
- data/docs/NgrokAPI/Models/EndpointMutualTLS.html +617 -0
- data/docs/NgrokAPI/Models/EndpointMutualTLSMutate.html +617 -0
- data/docs/NgrokAPI/Models/EndpointOAuth.html +987 -0
- data/docs/NgrokAPI/Models/EndpointOAuthFacebook.html +839 -0
- data/docs/NgrokAPI/Models/EndpointOAuthGitHub.html +987 -0
- data/docs/NgrokAPI/Models/EndpointOAuthGoogle.html +839 -0
- data/docs/NgrokAPI/Models/EndpointOAuthMicrosoft.html +839 -0
- data/docs/NgrokAPI/Models/EndpointOAuthProvider.html +765 -0
- data/docs/NgrokAPI/Models/EndpointOIDC.html +1135 -0
- data/docs/NgrokAPI/Models/EndpointRequestHeaders.html +691 -0
- data/docs/NgrokAPI/Models/EndpointResponseHeaders.html +691 -0
- data/docs/NgrokAPI/Models/EndpointSAML.html +1653 -0
- data/docs/NgrokAPI/Models/EndpointSAMLMutate.html +1283 -0
- data/docs/NgrokAPI/Models/EndpointTLSTermination.html +691 -0
- data/docs/NgrokAPI/Models/EndpointWebhookValidation.html +691 -0
- data/docs/NgrokAPI/Models/EventDestination.html +1058 -0
- data/docs/NgrokAPI/Models/EventSource.html +765 -0
- data/docs/NgrokAPI/Models/EventSourceReplace.html +691 -0
- data/docs/NgrokAPI/Models/EventStream.html +1309 -0
- data/docs/NgrokAPI/Models/EventSubscription.html +1058 -0
- data/docs/NgrokAPI/Models/EventTarget.html +765 -0
- data/docs/NgrokAPI/Models/EventTargetCloudwatchLogs.html +617 -0
- data/docs/NgrokAPI/Models/EventTargetFirehose.html +617 -0
- data/docs/NgrokAPI/Models/EventTargetKinesis.html +617 -0
- data/docs/NgrokAPI/Models/IPPolicy.html +1069 -0
- data/docs/NgrokAPI/Models/IPPolicyRule.html +1149 -0
- data/docs/NgrokAPI/Models/IPRestriction.html +1132 -0
- data/docs/NgrokAPI/Models/{TlsCertificate.html → IPWhitelistEntry.html} +168 -163
- data/docs/NgrokAPI/Models/Listable.html +1 -1
- data/docs/NgrokAPI/Models/Ref.html +617 -0
- data/docs/NgrokAPI/Models/ReservedAddr.html +1132 -0
- data/docs/NgrokAPI/Models/ReservedDomain.html +111 -1107
- data/docs/NgrokAPI/Models/ReservedDomainCertJob.html +839 -0
- data/docs/NgrokAPI/Models/ReservedDomainCertNSTarget.html +617 -0
- data/docs/NgrokAPI/Models/ReservedDomainCertPolicy.html +617 -0
- data/docs/NgrokAPI/Models/ReservedDomainCertStatus.html +617 -0
- data/docs/NgrokAPI/Models/SSHCertificateAuthority.html +1143 -0
- data/docs/NgrokAPI/Models/SSHCredential.html +1149 -0
- data/docs/NgrokAPI/Models/SSHHostCertificate.html +1513 -0
- data/docs/NgrokAPI/Models/SSHUserCertificate.html +1661 -0
- data/docs/NgrokAPI/Models/TLSCertificate.html +2179 -0
- data/docs/NgrokAPI/Models/TLSCertificateSANs.html +617 -0
- data/docs/NgrokAPI/Models/Tunnel.html +987 -0
- data/docs/NgrokAPI/Models/TunnelSession.html +1209 -0
- data/docs/NgrokAPI/Models.html +4 -4
- data/docs/NgrokAPI/PagedIterator.html +1 -1
- data/{doc/NgrokAPI/Services/ApiKeysClient.html → docs/NgrokAPI/Services/APIKeysClient.html} +287 -151
- data/docs/NgrokAPI/Services/AbuseReportsClient.html +723 -0
- data/docs/NgrokAPI/Services/CertificateAuthoritiesClient.html +1489 -0
- data/docs/NgrokAPI/Services/CredentialsClient.html +1534 -0
- data/docs/NgrokAPI/Services/EndpointCircuitBreakerModuleClient.html +1071 -0
- data/docs/NgrokAPI/Services/EndpointCompressionModuleClient.html +1071 -0
- data/docs/NgrokAPI/Services/EndpointConfigurationsClient.html +473 -371
- data/docs/NgrokAPI/Services/EndpointIPPolicyModuleClient.html +1071 -0
- data/docs/NgrokAPI/Services/EndpointLoggingModuleClient.html +1071 -0
- data/docs/NgrokAPI/Services/EndpointMutualTLSModuleClient.html +1071 -0
- data/docs/NgrokAPI/Services/EndpointOAuthModuleClient.html +1071 -0
- data/docs/NgrokAPI/Services/EndpointOIDCModuleClient.html +1071 -0
- data/docs/NgrokAPI/Services/EndpointRequestHeadersModuleClient.html +1071 -0
- data/docs/NgrokAPI/Services/EndpointResponseHeadersModuleClient.html +1071 -0
- data/docs/NgrokAPI/Services/EndpointSAMLModuleClient.html +1071 -0
- data/docs/NgrokAPI/Services/EndpointTLSTerminationModuleClient.html +1071 -0
- data/docs/NgrokAPI/Services/EndpointWebhookValidationModuleClient.html +1071 -0
- data/docs/NgrokAPI/Services/EventDestinationsClient.html +1609 -0
- data/docs/NgrokAPI/Services/EventSourcesClient.html +1348 -0
- data/docs/NgrokAPI/Services/EventStreamsClient.html +1691 -0
- data/docs/NgrokAPI/Services/EventSubscriptionsClient.html +1603 -0
- data/docs/NgrokAPI/Services/IPPoliciesClient.html +1488 -0
- data/docs/NgrokAPI/Services/IPPolicyRulesClient.html +1550 -0
- data/docs/NgrokAPI/Services/IPRestrictionsClient.html +1620 -0
- data/docs/NgrokAPI/Services/IPWhitelistClient.html +1488 -0
- data/docs/NgrokAPI/Services/ReservedAddrsClient.html +1793 -0
- data/docs/NgrokAPI/Services/ReservedDomainsClient.html +518 -333
- data/docs/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +1532 -0
- data/docs/NgrokAPI/Services/SSHCredentialsClient.html +1552 -0
- data/docs/NgrokAPI/Services/SSHHostCertificatesClient.html +1573 -0
- data/docs/NgrokAPI/Services/SSHUserCertificatesClient.html +1617 -0
- data/{doc/NgrokAPI/Services/TlsCertificatesClient.html → docs/NgrokAPI/Services/TLSCertificatesClient.html} +290 -198
- data/docs/NgrokAPI/Services/TunnelSessionsClient.html +1468 -0
- data/docs/NgrokAPI/Services/TunnelsClient.html +513 -0
- data/docs/NgrokAPI/Services.html +4 -4
- data/docs/NgrokAPI.html +3 -3
- data/docs/_index.html +624 -28
- data/docs/class_list.html +1 -1
- data/docs/file.README.html +1 -1
- data/docs/index.html +1 -1
- data/docs/method_list.html +7318 -286
- data/docs/top-level-namespace.html +1 -1
- data/lib/ngrokapi/client.rb +218 -49
- data/lib/ngrokapi/models/abuse_report.rb +37 -0
- data/lib/ngrokapi/models/abuse_report_hostname.rb +27 -0
- data/lib/ngrokapi/models/api_key.rb +62 -64
- data/lib/ngrokapi/models/aws_auth.rb +27 -0
- data/lib/ngrokapi/models/aws_credentials.rb +27 -0
- data/lib/ngrokapi/models/aws_role.rb +25 -0
- data/lib/ngrokapi/models/certificate_authority.rb +72 -0
- data/lib/ngrokapi/models/credential.rb +67 -0
- data/lib/ngrokapi/models/endpoint_circuit_breaker.rb +35 -0
- data/lib/ngrokapi/models/endpoint_compression.rb +25 -0
- data/lib/ngrokapi/models/endpoint_configuration.rb +130 -119
- data/lib/ngrokapi/models/endpoint_ip_policy.rb +27 -0
- data/lib/ngrokapi/models/endpoint_ip_policy_mutate.rb +27 -0
- data/lib/ngrokapi/models/endpoint_logging.rb +27 -0
- data/lib/ngrokapi/models/endpoint_logging_mutate.rb +27 -0
- data/lib/ngrokapi/models/endpoint_mutual_tls.rb +27 -0
- data/lib/ngrokapi/models/endpoint_mutual_tls_mutate.rb +27 -0
- data/lib/ngrokapi/models/endpoint_o_auth.rb +37 -0
- data/lib/ngrokapi/models/endpoint_o_auth_facebook.rb +33 -0
- data/lib/ngrokapi/models/endpoint_o_auth_git_hub.rb +37 -0
- data/lib/ngrokapi/models/endpoint_o_auth_google.rb +33 -0
- data/lib/ngrokapi/models/endpoint_o_auth_microsoft.rb +33 -0
- data/lib/ngrokapi/models/endpoint_o_auth_provider.rb +31 -0
- data/lib/ngrokapi/models/endpoint_oidc.rb +41 -0
- data/lib/ngrokapi/models/endpoint_request_headers.rb +29 -0
- data/lib/ngrokapi/models/endpoint_response_headers.rb +29 -0
- data/lib/ngrokapi/models/endpoint_saml.rb +55 -0
- data/lib/ngrokapi/models/endpoint_saml_mutate.rb +45 -0
- data/lib/ngrokapi/models/endpoint_tls_termination.rb +29 -0
- data/lib/ngrokapi/models/endpoint_webhook_validation.rb +29 -0
- data/lib/ngrokapi/models/event_destination.rb +49 -0
- data/lib/ngrokapi/models/event_source.rb +31 -0
- data/lib/ngrokapi/models/event_source_replace.rb +29 -0
- data/lib/ngrokapi/models/event_stream.rb +77 -0
- data/lib/ngrokapi/models/event_subscription.rb +47 -0
- data/lib/ngrokapi/models/event_target.rb +31 -0
- data/lib/ngrokapi/models/event_target_cloudwatch_logs.rb +27 -0
- data/lib/ngrokapi/models/event_target_firehose.rb +27 -0
- data/lib/ngrokapi/models/event_target_kinesis.rb +27 -0
- data/lib/ngrokapi/models/ip_policy.rb +64 -0
- data/lib/ngrokapi/models/ip_policy_rule.rb +67 -0
- data/lib/ngrokapi/models/ip_restriction.rb +49 -0
- data/lib/ngrokapi/models/ip_whitelist_entry.rb +62 -0
- data/lib/ngrokapi/models/ref.rb +27 -0
- data/lib/ngrokapi/models/reserved_addr.rb +49 -0
- data/lib/ngrokapi/models/reserved_domain.rb +59 -211
- data/lib/ngrokapi/models/reserved_domain_cert_job.rb +33 -0
- data/lib/ngrokapi/models/reserved_domain_cert_ns_target.rb +27 -0
- data/lib/ngrokapi/models/reserved_domain_cert_policy.rb +27 -0
- data/lib/ngrokapi/models/reserved_domain_cert_status.rb +27 -0
- data/lib/ngrokapi/models/ssh_certificate_authority.rb +64 -0
- data/lib/ngrokapi/models/ssh_credential.rb +67 -0
- data/lib/ngrokapi/models/ssh_host_certificate.rb +74 -0
- data/lib/ngrokapi/models/ssh_user_certificate.rb +78 -0
- data/lib/ngrokapi/models/tls_certificate.rb +92 -62
- data/lib/ngrokapi/models/tls_certificate_sa_ns.rb +27 -0
- data/lib/ngrokapi/models/tunnel.rb +37 -0
- data/lib/ngrokapi/models/tunnel_session.rb +43 -0
- data/lib/ngrokapi/services/.gitkeep +0 -0
- data/lib/ngrokapi/services/abuse_reports_client.rb +84 -0
- data/lib/ngrokapi/services/api_keys_client.rb +203 -144
- data/lib/ngrokapi/services/certificate_authorities_client.rb +204 -0
- data/lib/ngrokapi/services/credentials_client.rb +212 -0
- data/lib/ngrokapi/services/endpoint_circuit_breaker_module_client.rb +122 -0
- data/lib/ngrokapi/services/endpoint_compression_module_client.rb +122 -0
- data/lib/ngrokapi/services/endpoint_configurations_client.rb +324 -313
- data/lib/ngrokapi/services/endpoint_ip_policy_module_client.rb +122 -0
- data/lib/ngrokapi/services/endpoint_logging_module_client.rb +122 -0
- data/lib/ngrokapi/services/endpoint_mutual_tls_module_client.rb +122 -0
- data/lib/ngrokapi/services/endpoint_o_auth_module_client.rb +122 -0
- data/lib/ngrokapi/services/endpoint_oidc_module_client.rb +122 -0
- data/lib/ngrokapi/services/endpoint_request_headers_module_client.rb +122 -0
- data/lib/ngrokapi/services/endpoint_response_headers_module_client.rb +122 -0
- data/lib/ngrokapi/services/endpoint_saml_module_client.rb +122 -0
- data/lib/ngrokapi/services/endpoint_tls_termination_module_client.rb +122 -0
- data/lib/ngrokapi/services/endpoint_webhook_validation_module_client.rb +122 -0
- data/lib/ngrokapi/services/event_destinations_client.rb +222 -0
- data/lib/ngrokapi/services/event_sources_client.rb +177 -0
- data/lib/ngrokapi/services/event_streams_client.rb +226 -0
- data/lib/ngrokapi/services/event_subscriptions_client.rb +213 -0
- data/lib/ngrokapi/services/ip_policies_client.rb +208 -0
- data/lib/ngrokapi/services/ip_policy_rules_client.rb +210 -0
- data/lib/ngrokapi/services/ip_restrictions_client.rb +223 -0
- data/lib/ngrokapi/services/ip_whitelist_client.rb +202 -0
- data/lib/ngrokapi/services/reserved_addrs_client.rb +246 -0
- data/lib/ngrokapi/services/reserved_domains_client.rb +382 -313
- data/lib/ngrokapi/services/ssh_certificate_authorities_client.rb +207 -0
- data/lib/ngrokapi/services/ssh_credentials_client.rb +211 -0
- data/lib/ngrokapi/services/ssh_host_certificates_client.rb +214 -0
- data/lib/ngrokapi/services/ssh_user_certificates_client.rb +220 -0
- data/lib/ngrokapi/services/tls_certificates_client.rb +207 -161
- data/lib/ngrokapi/services/tunnel_sessions_client.rb +228 -0
- data/lib/ngrokapi/services/tunnels_client.rb +51 -0
- data/lib/ngrokapi/version.rb +1 -1
- data/spec/ngrokapi/client_spec.rb +139 -33
- data/spec/ngrokapi/models/abuse_report_hostname_spec.rb +21 -0
- data/spec/ngrokapi/models/abuse_report_spec.rb +21 -0
- data/spec/ngrokapi/models/api_key_spec.rb +42 -43
- data/spec/ngrokapi/models/aws_auth_spec.rb +21 -0
- data/spec/ngrokapi/models/aws_credentials_spec.rb +21 -0
- data/spec/ngrokapi/models/aws_role_spec.rb +21 -0
- data/spec/ngrokapi/models/certificate_authority_spec.rb +42 -0
- data/spec/ngrokapi/models/credential_spec.rb +45 -0
- data/spec/ngrokapi/models/endpoint_circuit_breaker_spec.rb +21 -0
- data/spec/ngrokapi/models/endpoint_compression_spec.rb +21 -0
- data/spec/ngrokapi/models/endpoint_configuration_spec.rb +78 -0
- data/spec/ngrokapi/models/endpoint_ip_policy_mutate_spec.rb +21 -0
- data/spec/ngrokapi/models/endpoint_ip_policy_spec.rb +21 -0
- data/spec/ngrokapi/models/endpoint_logging_mutate_spec.rb +21 -0
- data/spec/ngrokapi/models/endpoint_logging_spec.rb +21 -0
- data/spec/ngrokapi/models/endpoint_mutual_tls_mutate_spec.rb +21 -0
- data/spec/ngrokapi/models/endpoint_mutual_tls_spec.rb +21 -0
- data/spec/ngrokapi/models/endpoint_o_auth_facebook_spec.rb +21 -0
- data/spec/ngrokapi/models/endpoint_o_auth_git_hub_spec.rb +21 -0
- data/spec/ngrokapi/models/endpoint_o_auth_google_spec.rb +21 -0
- data/spec/ngrokapi/models/endpoint_o_auth_microsoft_spec.rb +21 -0
- data/spec/ngrokapi/models/endpoint_o_auth_provider_spec.rb +21 -0
- data/spec/ngrokapi/models/endpoint_o_auth_spec.rb +21 -0
- data/spec/ngrokapi/models/endpoint_oidc_spec.rb +21 -0
- data/spec/ngrokapi/models/endpoint_request_headers_spec.rb +21 -0
- data/spec/ngrokapi/models/endpoint_response_headers_spec.rb +21 -0
- data/spec/ngrokapi/models/endpoint_saml_mutate_spec.rb +21 -0
- data/spec/ngrokapi/models/endpoint_saml_spec.rb +21 -0
- data/spec/ngrokapi/models/endpoint_tls_termination_spec.rb +21 -0
- data/spec/ngrokapi/models/endpoint_webhook_validation_spec.rb +21 -0
- data/spec/ngrokapi/models/event_destination_spec.rb +28 -0
- data/spec/ngrokapi/models/event_source_replace_spec.rb +21 -0
- data/spec/ngrokapi/models/event_source_spec.rb +21 -0
- data/spec/ngrokapi/models/event_stream_spec.rb +51 -0
- data/spec/ngrokapi/models/event_subscription_spec.rb +28 -0
- data/spec/ngrokapi/models/event_target_cloudwatch_logs_spec.rb +21 -0
- data/spec/ngrokapi/models/event_target_firehose_spec.rb +21 -0
- data/spec/ngrokapi/models/event_target_kinesis_spec.rb +21 -0
- data/spec/ngrokapi/models/event_target_spec.rb +21 -0
- data/spec/ngrokapi/models/ip_policy_rule_spec.rb +45 -0
- data/spec/ngrokapi/models/ip_policy_spec.rb +42 -0
- data/spec/ngrokapi/models/ip_restriction_spec.rb +28 -0
- data/spec/ngrokapi/models/ip_whitelist_entry_spec.rb +42 -0
- data/spec/ngrokapi/models/listable_spec.rb +4 -4
- data/spec/ngrokapi/models/ref_spec.rb +21 -0
- data/spec/ngrokapi/models/reserved_addr_spec.rb +28 -0
- data/spec/ngrokapi/models/reserved_domain_cert_job_spec.rb +21 -0
- data/spec/ngrokapi/models/reserved_domain_cert_ns_target_spec.rb +21 -0
- data/spec/ngrokapi/models/reserved_domain_cert_policy_spec.rb +21 -0
- data/spec/ngrokapi/models/reserved_domain_cert_status_spec.rb +21 -0
- data/spec/ngrokapi/models/reserved_domain_spec.rb +28 -100
- data/spec/ngrokapi/models/ssh_certificate_authority_spec.rb +42 -0
- data/spec/ngrokapi/models/ssh_credential_spec.rb +45 -0
- data/spec/ngrokapi/models/ssh_host_certificate_spec.rb +42 -0
- data/spec/ngrokapi/models/ssh_user_certificate_spec.rb +42 -0
- data/spec/ngrokapi/models/tls_certificate_sa_ns_spec.rb +21 -0
- data/spec/ngrokapi/models/tls_certificate_spec.rb +42 -0
- data/spec/ngrokapi/models/tunnel_session_spec.rb +21 -0
- data/spec/ngrokapi/models/tunnel_spec.rb +21 -0
- data/spec/ngrokapi/paged_iterator_spec.rb +5 -5
- data/spec/ngrokapi/services/.gitkeep +0 -0
- data/spec/ngrokapi/services/abuse_reports_client_spec.rb +67 -0
- data/spec/ngrokapi/services/api_keys_client_spec.rb +160 -127
- data/spec/ngrokapi/services/certificate_authorities_client_spec.rb +162 -0
- data/spec/ngrokapi/services/credentials_client_spec.rb +166 -0
- data/spec/ngrokapi/services/endpoint_circuit_breaker_module_client_spec.rb +127 -0
- data/spec/ngrokapi/services/endpoint_compression_module_client_spec.rb +127 -0
- data/spec/ngrokapi/services/endpoint_configurations_client_spec.rb +240 -0
- data/spec/ngrokapi/services/endpoint_ip_policy_module_client_spec.rb +127 -0
- data/spec/ngrokapi/services/endpoint_logging_module_client_spec.rb +127 -0
- data/spec/ngrokapi/services/endpoint_mutual_tls_module_client_spec.rb +127 -0
- data/spec/ngrokapi/services/endpoint_o_auth_module_client_spec.rb +127 -0
- data/spec/ngrokapi/services/endpoint_oidc_module_client_spec.rb +127 -0
- data/spec/ngrokapi/services/endpoint_request_headers_module_client_spec.rb +127 -0
- data/spec/ngrokapi/services/endpoint_response_headers_module_client_spec.rb +127 -0
- data/spec/ngrokapi/services/endpoint_saml_module_client_spec.rb +127 -0
- data/spec/ngrokapi/services/endpoint_tls_termination_module_client_spec.rb +127 -0
- data/spec/ngrokapi/services/endpoint_webhook_validation_module_client_spec.rb +127 -0
- data/spec/ngrokapi/services/event_destinations_client_spec.rb +175 -0
- data/spec/ngrokapi/services/event_sources_client_spec.rb +162 -0
- data/spec/ngrokapi/services/event_streams_client_spec.rb +180 -0
- data/spec/ngrokapi/services/event_subscriptions_client_spec.rb +172 -0
- data/spec/ngrokapi/services/ip_policies_client_spec.rb +162 -0
- data/spec/ngrokapi/services/ip_policy_rules_client_spec.rb +168 -0
- data/spec/ngrokapi/services/ip_restrictions_client_spec.rb +174 -0
- data/spec/ngrokapi/services/ip_whitelist_client_spec.rb +162 -0
- data/spec/ngrokapi/services/reserved_addrs_client_spec.rb +209 -0
- data/spec/ngrokapi/services/reserved_domains_client_spec.rb +352 -0
- data/spec/ngrokapi/services/ssh_certificate_authorities_client_spec.rb +166 -0
- data/spec/ngrokapi/services/ssh_credentials_client_spec.rb +168 -0
- data/spec/ngrokapi/services/ssh_host_certificates_client_spec.rb +170 -0
- data/spec/ngrokapi/services/ssh_user_certificates_client_spec.rb +174 -0
- data/spec/ngrokapi/services/tls_certificates_client_spec.rb +164 -0
- data/spec/ngrokapi/services/tunnel_sessions_client_spec.rb +184 -0
- data/spec/ngrokapi/services/tunnels_client_spec.rb +21 -0
- data/spec/spec_helper.rb +958 -0
- metadata +355 -10
|
@@ -0,0 +1,1532 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<title>
|
|
7
|
+
Class: NgrokAPI::Services::SSHCertificateAuthoritiesClient
|
|
8
|
+
|
|
9
|
+
— Documentation by YARD 0.9.26
|
|
10
|
+
|
|
11
|
+
</title>
|
|
12
|
+
|
|
13
|
+
<link rel="stylesheet" href="../../css/style.css" type="text/css" />
|
|
14
|
+
|
|
15
|
+
<link rel="stylesheet" href="../../css/common.css" type="text/css" />
|
|
16
|
+
|
|
17
|
+
<script type="text/javascript">
|
|
18
|
+
pathId = "NgrokAPI::Services::SSHCertificateAuthoritiesClient";
|
|
19
|
+
relpath = '../../';
|
|
20
|
+
</script>
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
|
|
24
|
+
|
|
25
|
+
<script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
</head>
|
|
29
|
+
<body>
|
|
30
|
+
<div class="nav_wrap">
|
|
31
|
+
<iframe id="nav" src="../../class_list.html?1"></iframe>
|
|
32
|
+
<div id="resizer"></div>
|
|
33
|
+
</div>
|
|
34
|
+
|
|
35
|
+
<div id="main" tabindex="-1">
|
|
36
|
+
<div id="header">
|
|
37
|
+
<div id="menu">
|
|
38
|
+
|
|
39
|
+
<a href="../../_index.html">Index (S)</a> »
|
|
40
|
+
<span class='title'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span> » <span class='title'><span class='object_link'><a href="../Services.html" title="NgrokAPI::Services (module)">Services</a></span></span>
|
|
41
|
+
»
|
|
42
|
+
<span class="title">SSHCertificateAuthoritiesClient</span>
|
|
43
|
+
|
|
44
|
+
</div>
|
|
45
|
+
|
|
46
|
+
<div id="search">
|
|
47
|
+
|
|
48
|
+
<a class="full_list_link" id="class_list_link"
|
|
49
|
+
href="../../class_list.html">
|
|
50
|
+
|
|
51
|
+
<svg width="24" height="24">
|
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
|
55
|
+
</svg>
|
|
56
|
+
</a>
|
|
57
|
+
|
|
58
|
+
</div>
|
|
59
|
+
<div class="clear"></div>
|
|
60
|
+
</div>
|
|
61
|
+
|
|
62
|
+
<div id="content"><h1>Class: NgrokAPI::Services::SSHCertificateAuthoritiesClient
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
</h1>
|
|
67
|
+
<div class="box_info">
|
|
68
|
+
|
|
69
|
+
<dl>
|
|
70
|
+
<dt>Inherits:</dt>
|
|
71
|
+
<dd>
|
|
72
|
+
<span class="inheritName">Object</span>
|
|
73
|
+
|
|
74
|
+
<ul class="fullTree">
|
|
75
|
+
<li>Object</li>
|
|
76
|
+
|
|
77
|
+
<li class="next">NgrokAPI::Services::SSHCertificateAuthoritiesClient</li>
|
|
78
|
+
|
|
79
|
+
</ul>
|
|
80
|
+
<a href="#" class="inheritanceTree">show all</a>
|
|
81
|
+
|
|
82
|
+
</dd>
|
|
83
|
+
</dl>
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
<dl>
|
|
96
|
+
<dt>Defined in:</dt>
|
|
97
|
+
<dd>lib/ngrokapi/services/ssh_certificate_authorities_client.rb</dd>
|
|
98
|
+
</dl>
|
|
99
|
+
|
|
100
|
+
</div>
|
|
101
|
+
|
|
102
|
+
<h2>Overview</h2><div class="docstring">
|
|
103
|
+
<div class="discussion">
|
|
104
|
+
|
|
105
|
+
<p>An SSH Certificate Authority is a pair of an SSH Certificate and its private</p>
|
|
106
|
+
|
|
107
|
+
<pre class="code ruby"><code class="ruby">key that can be used to sign other SSH host and user certificates.
|
|
108
|
+
</code></pre>
|
|
109
|
+
|
|
110
|
+
<p><a href="https://ngrok.com/docs/api#api-ssh-certificate-authorities">ngrok.com/docs/api#api-ssh-certificate-authorities</a></p>
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
</div>
|
|
114
|
+
</div>
|
|
115
|
+
<div class="tags">
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
</div>
|
|
119
|
+
|
|
120
|
+
<h2>
|
|
121
|
+
Constant Summary
|
|
122
|
+
<small><a href="#" class="constants_summary_toggle">collapse</a></small>
|
|
123
|
+
</h2>
|
|
124
|
+
|
|
125
|
+
<dl class="constants">
|
|
126
|
+
|
|
127
|
+
<dt id="PATH-constant" class="">PATH =
|
|
128
|
+
<div class="docstring">
|
|
129
|
+
<div class="discussion">
|
|
130
|
+
|
|
131
|
+
<p>The API path for the requests</p>
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
</div>
|
|
135
|
+
</div>
|
|
136
|
+
<div class="tags">
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
</div>
|
|
140
|
+
</dt>
|
|
141
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/ssh_certificate_authorities</span><span class='tstring_end'>'</span></span></pre></dd>
|
|
142
|
+
|
|
143
|
+
<dt id="LIST_PROPERTY-constant" class="">LIST_PROPERTY =
|
|
144
|
+
<div class="docstring">
|
|
145
|
+
<div class="discussion">
|
|
146
|
+
|
|
147
|
+
<p>The List Property from the resulting API for list calls</p>
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
</div>
|
|
151
|
+
</div>
|
|
152
|
+
<div class="tags">
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
</div>
|
|
156
|
+
</dt>
|
|
157
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>ssh_certificate_authorities</span><span class='tstring_end'>'</span></span></pre></dd>
|
|
158
|
+
|
|
159
|
+
</dl>
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
|
166
|
+
<ul class="summary">
|
|
167
|
+
|
|
168
|
+
<li class="public ">
|
|
169
|
+
<span class="summary_signature">
|
|
170
|
+
|
|
171
|
+
<a href="#client-instance_method" title="#client (instance method)">#<strong>client</strong> ⇒ Object </a>
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
</span>
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
<span class="note title readonly">readonly</span>
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
<span class="summary_desc"><div class='inline'>
|
|
191
|
+
<p>Returns the value of attribute client.</p>
|
|
192
|
+
</div></span>
|
|
193
|
+
|
|
194
|
+
</li>
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
</ul>
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
<h2>
|
|
204
|
+
Instance Method Summary
|
|
205
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
|
206
|
+
</h2>
|
|
207
|
+
|
|
208
|
+
<ul class="summary">
|
|
209
|
+
|
|
210
|
+
<li class="public ">
|
|
211
|
+
<span class="summary_signature">
|
|
212
|
+
|
|
213
|
+
<a href="#create-instance_method" title="#create (instance method)">#<strong>create</strong>(description: "", metadata: "", private_key_type: "", elliptic_curve: "", key_size: 0) ⇒ NgrokAPI::Models::SSHCertificateAuthority </a>
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
</span>
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
<span class="summary_desc"><div class='inline'>
|
|
228
|
+
<p>Create a new SSH Certificate Authority.</p>
|
|
229
|
+
</div></span>
|
|
230
|
+
|
|
231
|
+
</li>
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
<li class="public ">
|
|
235
|
+
<span class="summary_signature">
|
|
236
|
+
|
|
237
|
+
<a href="#delete-instance_method" title="#delete (instance method)">#<strong>delete</strong>(id: "") ⇒ NgrokAPI::Models::Empty </a>
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
</span>
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
<span class="summary_desc"><div class='inline'>
|
|
252
|
+
<p>Delete an SSH Certificate Authority.</p>
|
|
253
|
+
</div></span>
|
|
254
|
+
|
|
255
|
+
</li>
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
<li class="public ">
|
|
259
|
+
<span class="summary_signature">
|
|
260
|
+
|
|
261
|
+
<a href="#delete!-instance_method" title="#delete! (instance method)">#<strong>delete!</strong>(id: "") ⇒ NgrokAPI::Models::Empty </a>
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
</span>
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
<span class="summary_desc"><div class='inline'>
|
|
276
|
+
<p>Delete an SSH Certificate Authority Throws an exception if API error.</p>
|
|
277
|
+
</div></span>
|
|
278
|
+
|
|
279
|
+
</li>
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
<li class="public ">
|
|
283
|
+
<span class="summary_signature">
|
|
284
|
+
|
|
285
|
+
<a href="#get-instance_method" title="#get (instance method)">#<strong>get</strong>(id: "") ⇒ NgrokAPI::Models::SSHCertificateAuthority </a>
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
</span>
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
<span class="summary_desc"><div class='inline'>
|
|
300
|
+
<p>Get detailed information about an SSH Certficate Authority.</p>
|
|
301
|
+
</div></span>
|
|
302
|
+
|
|
303
|
+
</li>
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
<li class="public ">
|
|
307
|
+
<span class="summary_signature">
|
|
308
|
+
|
|
309
|
+
<a href="#get!-instance_method" title="#get! (instance method)">#<strong>get!</strong>(id: "") ⇒ NgrokAPI::Models::SSHCertificateAuthority </a>
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
</span>
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
<span class="summary_desc"><div class='inline'>
|
|
324
|
+
<p>Get detailed information about an SSH Certficate Authority Throws an exception if API error.</p>
|
|
325
|
+
</div></span>
|
|
326
|
+
|
|
327
|
+
</li>
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
<li class="public ">
|
|
331
|
+
<span class="summary_signature">
|
|
332
|
+
|
|
333
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(client:) ⇒ SSHCertificateAuthoritiesClient </a>
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
</span>
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
<span class="note title constructor">constructor</span>
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
<span class="summary_desc"><div class='inline'>
|
|
350
|
+
<p>A new instance of SSHCertificateAuthoritiesClient.</p>
|
|
351
|
+
</div></span>
|
|
352
|
+
|
|
353
|
+
</li>
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
<li class="public ">
|
|
357
|
+
<span class="summary_signature">
|
|
358
|
+
|
|
359
|
+
<a href="#list-instance_method" title="#list (instance method)">#<strong>list</strong>(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable </a>
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
</span>
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
<span class="summary_desc"><div class='inline'>
|
|
374
|
+
<p>List all SSH Certificate Authorities on this account.</p>
|
|
375
|
+
</div></span>
|
|
376
|
+
|
|
377
|
+
</li>
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
<li class="public ">
|
|
381
|
+
<span class="summary_signature">
|
|
382
|
+
|
|
383
|
+
<a href="#update-instance_method" title="#update (instance method)">#<strong>update</strong>(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::SSHCertificateAuthority </a>
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
</span>
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
<span class="summary_desc"><div class='inline'>
|
|
398
|
+
<p>Update an SSH Certificate Authority.</p>
|
|
399
|
+
</div></span>
|
|
400
|
+
|
|
401
|
+
</li>
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
<li class="public ">
|
|
405
|
+
<span class="summary_signature">
|
|
406
|
+
|
|
407
|
+
<a href="#update!-instance_method" title="#update! (instance method)">#<strong>update!</strong>(id: "", description: nil, metadata: nil) ⇒ NgrokAPI::Models::SSHCertificateAuthority </a>
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
</span>
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
<span class="summary_desc"><div class='inline'>
|
|
422
|
+
<p>Update an SSH Certificate Authority Throws an exception if API error.</p>
|
|
423
|
+
</div></span>
|
|
424
|
+
|
|
425
|
+
</li>
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
</ul>
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
<div id="constructor_details" class="method_details_list">
|
|
432
|
+
<h2>Constructor Details</h2>
|
|
433
|
+
|
|
434
|
+
<div class="method_details first">
|
|
435
|
+
<h3 class="signature first" id="initialize-instance_method">
|
|
436
|
+
|
|
437
|
+
#<strong>initialize</strong>(client:) ⇒ <tt><span class='object_link'><a href="" title="NgrokAPI::Services::SSHCertificateAuthoritiesClient (class)">SSHCertificateAuthoritiesClient</a></span></tt>
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
</h3><div class="docstring">
|
|
444
|
+
<div class="discussion">
|
|
445
|
+
|
|
446
|
+
<p>Returns a new instance of SSHCertificateAuthoritiesClient.</p>
|
|
447
|
+
|
|
448
|
+
|
|
449
|
+
</div>
|
|
450
|
+
</div>
|
|
451
|
+
<div class="tags">
|
|
452
|
+
|
|
453
|
+
|
|
454
|
+
</div><table class="source_code">
|
|
455
|
+
<tr>
|
|
456
|
+
<td>
|
|
457
|
+
<pre class="lines">
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
18
|
|
461
|
+
19
|
|
462
|
+
20</pre>
|
|
463
|
+
</td>
|
|
464
|
+
<td>
|
|
465
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/ssh_certificate_authorities_client.rb', line 18</span>
|
|
466
|
+
|
|
467
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='label'>client:</span><span class='rparen'>)</span>
|
|
468
|
+
<span class='ivar'>@client</span> <span class='op'>=</span> <span class='id identifier rubyid_client'>client</span>
|
|
469
|
+
<span class='kw'>end</span></pre>
|
|
470
|
+
</td>
|
|
471
|
+
</tr>
|
|
472
|
+
</table>
|
|
473
|
+
</div>
|
|
474
|
+
|
|
475
|
+
</div>
|
|
476
|
+
|
|
477
|
+
<div id="instance_attr_details" class="attr_details">
|
|
478
|
+
<h2>Instance Attribute Details</h2>
|
|
479
|
+
|
|
480
|
+
|
|
481
|
+
<span id=""></span>
|
|
482
|
+
<div class="method_details first">
|
|
483
|
+
<h3 class="signature first" id="client-instance_method">
|
|
484
|
+
|
|
485
|
+
#<strong>client</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
</h3><div class="docstring">
|
|
492
|
+
<div class="discussion">
|
|
493
|
+
|
|
494
|
+
<p>Returns the value of attribute client.</p>
|
|
495
|
+
|
|
496
|
+
|
|
497
|
+
</div>
|
|
498
|
+
</div>
|
|
499
|
+
<div class="tags">
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
</div><table class="source_code">
|
|
503
|
+
<tr>
|
|
504
|
+
<td>
|
|
505
|
+
<pre class="lines">
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
16
|
|
509
|
+
17
|
|
510
|
+
18</pre>
|
|
511
|
+
</td>
|
|
512
|
+
<td>
|
|
513
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/ssh_certificate_authorities_client.rb', line 16</span>
|
|
514
|
+
|
|
515
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_client'>client</span>
|
|
516
|
+
<span class='ivar'>@client</span>
|
|
517
|
+
<span class='kw'>end</span></pre>
|
|
518
|
+
</td>
|
|
519
|
+
</tr>
|
|
520
|
+
</table>
|
|
521
|
+
</div>
|
|
522
|
+
|
|
523
|
+
</div>
|
|
524
|
+
|
|
525
|
+
|
|
526
|
+
<div id="instance_method_details" class="method_details_list">
|
|
527
|
+
<h2>Instance Method Details</h2>
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
<div class="method_details first">
|
|
531
|
+
<h3 class="signature first" id="create-instance_method">
|
|
532
|
+
|
|
533
|
+
#<strong>create</strong>(description: "", metadata: "", private_key_type: "", elliptic_curve: "", key_size: 0) ⇒ <tt><span class='object_link'><a href="../Models/SSHCertificateAuthority.html" title="NgrokAPI::Models::SSHCertificateAuthority (class)">NgrokAPI::Models::SSHCertificateAuthority</a></span></tt>
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
|
|
538
|
+
|
|
539
|
+
</h3><div class="docstring">
|
|
540
|
+
<div class="discussion">
|
|
541
|
+
|
|
542
|
+
<p>Create a new SSH Certificate Authority</p>
|
|
543
|
+
|
|
544
|
+
<p><a href="https://ngrok.com/docs/api#api-ssh-certificate-authorities-create">ngrok.com/docs/api#api-ssh-certificate-authorities-create</a></p>
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
</div>
|
|
548
|
+
</div>
|
|
549
|
+
<div class="tags">
|
|
550
|
+
<p class="tag_title">Parameters:</p>
|
|
551
|
+
<ul class="param">
|
|
552
|
+
|
|
553
|
+
<li>
|
|
554
|
+
|
|
555
|
+
<span class='name'>description</span>
|
|
556
|
+
|
|
557
|
+
|
|
558
|
+
<span class='type'>(<tt>string</tt>)</span>
|
|
559
|
+
|
|
560
|
+
|
|
561
|
+
<em class="default">(defaults to: <tt>""</tt>)</em>
|
|
562
|
+
|
|
563
|
+
|
|
564
|
+
—
|
|
565
|
+
<div class='inline'>
|
|
566
|
+
<p>human-readable description of this SSH Certificate Authority. optional, max 255 bytes.</p>
|
|
567
|
+
</div>
|
|
568
|
+
|
|
569
|
+
</li>
|
|
570
|
+
|
|
571
|
+
<li>
|
|
572
|
+
|
|
573
|
+
<span class='name'>metadata</span>
|
|
574
|
+
|
|
575
|
+
|
|
576
|
+
<span class='type'>(<tt>string</tt>)</span>
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
<em class="default">(defaults to: <tt>""</tt>)</em>
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
—
|
|
583
|
+
<div class='inline'>
|
|
584
|
+
<p>arbitrary user-defined machine-readable data of this SSH Certificate Authority. optional, max 4096 bytes.</p>
|
|
585
|
+
</div>
|
|
586
|
+
|
|
587
|
+
</li>
|
|
588
|
+
|
|
589
|
+
<li>
|
|
590
|
+
|
|
591
|
+
<span class='name'>private_key_type</span>
|
|
592
|
+
|
|
593
|
+
|
|
594
|
+
<span class='type'>(<tt>string</tt>)</span>
|
|
595
|
+
|
|
596
|
+
|
|
597
|
+
<em class="default">(defaults to: <tt>""</tt>)</em>
|
|
598
|
+
|
|
599
|
+
|
|
600
|
+
—
|
|
601
|
+
<div class='inline'>
|
|
602
|
+
<p>the type of private key to generate. one of “rsa“, “ecdsa“, “ed25519“</p>
|
|
603
|
+
</div>
|
|
604
|
+
|
|
605
|
+
</li>
|
|
606
|
+
|
|
607
|
+
<li>
|
|
608
|
+
|
|
609
|
+
<span class='name'>elliptic_curve</span>
|
|
610
|
+
|
|
611
|
+
|
|
612
|
+
<span class='type'>(<tt>string</tt>)</span>
|
|
613
|
+
|
|
614
|
+
|
|
615
|
+
<em class="default">(defaults to: <tt>""</tt>)</em>
|
|
616
|
+
|
|
617
|
+
|
|
618
|
+
—
|
|
619
|
+
<div class='inline'>
|
|
620
|
+
<p>the type of elliptic curve to use when creating an ECDSA key</p>
|
|
621
|
+
</div>
|
|
622
|
+
|
|
623
|
+
</li>
|
|
624
|
+
|
|
625
|
+
<li>
|
|
626
|
+
|
|
627
|
+
<span class='name'>key_size</span>
|
|
628
|
+
|
|
629
|
+
|
|
630
|
+
<span class='type'>(<tt>int64</tt>)</span>
|
|
631
|
+
|
|
632
|
+
|
|
633
|
+
<em class="default">(defaults to: <tt>0</tt>)</em>
|
|
634
|
+
|
|
635
|
+
|
|
636
|
+
—
|
|
637
|
+
<div class='inline'>
|
|
638
|
+
<p>the key size to use when creating an RSA key. one of “2048“ or “4096“</p>
|
|
639
|
+
</div>
|
|
640
|
+
|
|
641
|
+
</li>
|
|
642
|
+
|
|
643
|
+
</ul>
|
|
644
|
+
|
|
645
|
+
<p class="tag_title">Returns:</p>
|
|
646
|
+
<ul class="return">
|
|
647
|
+
|
|
648
|
+
<li>
|
|
649
|
+
|
|
650
|
+
|
|
651
|
+
<span class='type'>(<tt><span class='object_link'><a href="../Models/SSHCertificateAuthority.html" title="NgrokAPI::Models::SSHCertificateAuthority (class)">NgrokAPI::Models::SSHCertificateAuthority</a></span></tt>)</span>
|
|
652
|
+
|
|
653
|
+
|
|
654
|
+
|
|
655
|
+
—
|
|
656
|
+
<div class='inline'>
|
|
657
|
+
<p>result from the API request</p>
|
|
658
|
+
</div>
|
|
659
|
+
|
|
660
|
+
</li>
|
|
661
|
+
|
|
662
|
+
</ul>
|
|
663
|
+
|
|
664
|
+
</div><table class="source_code">
|
|
665
|
+
<tr>
|
|
666
|
+
<td>
|
|
667
|
+
<pre class="lines">
|
|
668
|
+
|
|
669
|
+
|
|
670
|
+
33
|
|
671
|
+
34
|
|
672
|
+
35
|
|
673
|
+
36
|
|
674
|
+
37
|
|
675
|
+
38
|
|
676
|
+
39
|
|
677
|
+
40
|
|
678
|
+
41
|
|
679
|
+
42
|
|
680
|
+
43
|
|
681
|
+
44
|
|
682
|
+
45
|
|
683
|
+
46
|
|
684
|
+
47
|
|
685
|
+
48
|
|
686
|
+
49
|
|
687
|
+
50
|
|
688
|
+
51</pre>
|
|
689
|
+
</td>
|
|
690
|
+
<td>
|
|
691
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/ssh_certificate_authorities_client.rb', line 33</span>
|
|
692
|
+
|
|
693
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_create'>create</span><span class='lparen'>(</span>
|
|
694
|
+
<span class='label'>description:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
|
695
|
+
<span class='label'>metadata:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
|
696
|
+
<span class='label'>private_key_type:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
|
697
|
+
<span class='label'>elliptic_curve:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
|
698
|
+
<span class='label'>key_size:</span> <span class='int'>0</span>
|
|
699
|
+
<span class='rparen'>)</span>
|
|
700
|
+
<span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/ssh_certificate_authorities</span><span class='tstring_end'>'</span></span>
|
|
701
|
+
<span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
|
|
702
|
+
<span class='rbrace'>}</span>
|
|
703
|
+
<span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
|
704
|
+
<span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:description</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_description'>description</span> <span class='kw'>if</span> <span class='id identifier rubyid_description'>description</span>
|
|
705
|
+
<span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:metadata</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_metadata'>metadata</span> <span class='kw'>if</span> <span class='id identifier rubyid_metadata'>metadata</span>
|
|
706
|
+
<span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:private_key_type</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_private_key_type'>private_key_type</span> <span class='kw'>if</span> <span class='id identifier rubyid_private_key_type'>private_key_type</span>
|
|
707
|
+
<span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:elliptic_curve</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_elliptic_curve'>elliptic_curve</span> <span class='kw'>if</span> <span class='id identifier rubyid_elliptic_curve'>elliptic_curve</span>
|
|
708
|
+
<span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:key_size</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_key_size'>key_size</span> <span class='kw'>if</span> <span class='id identifier rubyid_key_size'>key_size</span>
|
|
709
|
+
<span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_post'>post</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>%</span> <span class='id identifier rubyid_replacements'>replacements</span><span class='comma'>,</span> <span class='label'>data:</span> <span class='id identifier rubyid_data'>data</span><span class='rparen'>)</span>
|
|
710
|
+
<span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/SSHCertificateAuthority.html" title="NgrokAPI::Models::SSHCertificateAuthority (class)">SSHCertificateAuthority</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/SSHCertificateAuthority.html#initialize-instance_method" title="NgrokAPI::Models::SSHCertificateAuthority#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>result:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
|
|
711
|
+
<span class='kw'>end</span></pre>
|
|
712
|
+
</td>
|
|
713
|
+
</tr>
|
|
714
|
+
</table>
|
|
715
|
+
</div>
|
|
716
|
+
|
|
717
|
+
<div class="method_details ">
|
|
718
|
+
<h3 class="signature " id="delete-instance_method">
|
|
719
|
+
|
|
720
|
+
#<strong>delete</strong>(id: "") ⇒ <tt>NgrokAPI::Models::Empty</tt>
|
|
721
|
+
|
|
722
|
+
|
|
723
|
+
|
|
724
|
+
|
|
725
|
+
|
|
726
|
+
</h3><div class="docstring">
|
|
727
|
+
<div class="discussion">
|
|
728
|
+
|
|
729
|
+
<p>Delete an SSH Certificate Authority</p>
|
|
730
|
+
|
|
731
|
+
<p><a href="https://ngrok.com/docs/api#api-ssh-certificate-authorities-delete">ngrok.com/docs/api#api-ssh-certificate-authorities-delete</a></p>
|
|
732
|
+
|
|
733
|
+
|
|
734
|
+
</div>
|
|
735
|
+
</div>
|
|
736
|
+
<div class="tags">
|
|
737
|
+
<p class="tag_title">Parameters:</p>
|
|
738
|
+
<ul class="param">
|
|
739
|
+
|
|
740
|
+
<li>
|
|
741
|
+
|
|
742
|
+
<span class='name'>id</span>
|
|
743
|
+
|
|
744
|
+
|
|
745
|
+
<span class='type'>(<tt>string</tt>)</span>
|
|
746
|
+
|
|
747
|
+
|
|
748
|
+
<em class="default">(defaults to: <tt>""</tt>)</em>
|
|
749
|
+
|
|
750
|
+
|
|
751
|
+
—
|
|
752
|
+
<div class='inline'>
|
|
753
|
+
<p>a resource identifier</p>
|
|
754
|
+
</div>
|
|
755
|
+
|
|
756
|
+
</li>
|
|
757
|
+
|
|
758
|
+
</ul>
|
|
759
|
+
|
|
760
|
+
<p class="tag_title">Returns:</p>
|
|
761
|
+
<ul class="return">
|
|
762
|
+
|
|
763
|
+
<li>
|
|
764
|
+
|
|
765
|
+
|
|
766
|
+
<span class='type'>(<tt>NgrokAPI::Models::Empty</tt>)</span>
|
|
767
|
+
|
|
768
|
+
|
|
769
|
+
|
|
770
|
+
—
|
|
771
|
+
<div class='inline'>
|
|
772
|
+
<p>result from the API request</p>
|
|
773
|
+
</div>
|
|
774
|
+
|
|
775
|
+
</li>
|
|
776
|
+
|
|
777
|
+
</ul>
|
|
778
|
+
|
|
779
|
+
</div><table class="source_code">
|
|
780
|
+
<tr>
|
|
781
|
+
<td>
|
|
782
|
+
<pre class="lines">
|
|
783
|
+
|
|
784
|
+
|
|
785
|
+
60
|
|
786
|
+
61
|
|
787
|
+
62
|
|
788
|
+
63
|
|
789
|
+
64
|
|
790
|
+
65
|
|
791
|
+
66
|
|
792
|
+
67
|
|
793
|
+
68</pre>
|
|
794
|
+
</td>
|
|
795
|
+
<td>
|
|
796
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/ssh_certificate_authorities_client.rb', line 60</span>
|
|
797
|
+
|
|
798
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span>
|
|
799
|
+
<span class='label'>id:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span>
|
|
800
|
+
<span class='rparen'>)</span>
|
|
801
|
+
<span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/ssh_certificate_authorities/%{id}</span><span class='tstring_end'>'</span></span>
|
|
802
|
+
<span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
|
|
803
|
+
<span class='label'>id:</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span>
|
|
804
|
+
<span class='rbrace'>}</span>
|
|
805
|
+
<span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>%</span> <span class='id identifier rubyid_replacements'>replacements</span><span class='rparen'>)</span>
|
|
806
|
+
<span class='kw'>end</span></pre>
|
|
807
|
+
</td>
|
|
808
|
+
</tr>
|
|
809
|
+
</table>
|
|
810
|
+
</div>
|
|
811
|
+
|
|
812
|
+
<div class="method_details ">
|
|
813
|
+
<h3 class="signature " id="delete!-instance_method">
|
|
814
|
+
|
|
815
|
+
#<strong>delete!</strong>(id: "") ⇒ <tt>NgrokAPI::Models::Empty</tt>
|
|
816
|
+
|
|
817
|
+
|
|
818
|
+
|
|
819
|
+
|
|
820
|
+
|
|
821
|
+
</h3><div class="docstring">
|
|
822
|
+
<div class="discussion">
|
|
823
|
+
|
|
824
|
+
<p>Delete an SSH Certificate Authority Throws an exception if API error.</p>
|
|
825
|
+
|
|
826
|
+
<p><a href="https://ngrok.com/docs/api#api-ssh-certificate-authorities-delete">ngrok.com/docs/api#api-ssh-certificate-authorities-delete</a></p>
|
|
827
|
+
|
|
828
|
+
|
|
829
|
+
</div>
|
|
830
|
+
</div>
|
|
831
|
+
<div class="tags">
|
|
832
|
+
<p class="tag_title">Parameters:</p>
|
|
833
|
+
<ul class="param">
|
|
834
|
+
|
|
835
|
+
<li>
|
|
836
|
+
|
|
837
|
+
<span class='name'>id</span>
|
|
838
|
+
|
|
839
|
+
|
|
840
|
+
<span class='type'>(<tt>string</tt>)</span>
|
|
841
|
+
|
|
842
|
+
|
|
843
|
+
<em class="default">(defaults to: <tt>""</tt>)</em>
|
|
844
|
+
|
|
845
|
+
|
|
846
|
+
—
|
|
847
|
+
<div class='inline'>
|
|
848
|
+
<p>a resource identifier</p>
|
|
849
|
+
</div>
|
|
850
|
+
|
|
851
|
+
</li>
|
|
852
|
+
|
|
853
|
+
</ul>
|
|
854
|
+
|
|
855
|
+
<p class="tag_title">Returns:</p>
|
|
856
|
+
<ul class="return">
|
|
857
|
+
|
|
858
|
+
<li>
|
|
859
|
+
|
|
860
|
+
|
|
861
|
+
<span class='type'>(<tt>NgrokAPI::Models::Empty</tt>)</span>
|
|
862
|
+
|
|
863
|
+
|
|
864
|
+
|
|
865
|
+
—
|
|
866
|
+
<div class='inline'>
|
|
867
|
+
<p>result from the API request</p>
|
|
868
|
+
</div>
|
|
869
|
+
|
|
870
|
+
</li>
|
|
871
|
+
|
|
872
|
+
</ul>
|
|
873
|
+
|
|
874
|
+
</div><table class="source_code">
|
|
875
|
+
<tr>
|
|
876
|
+
<td>
|
|
877
|
+
<pre class="lines">
|
|
878
|
+
|
|
879
|
+
|
|
880
|
+
78
|
|
881
|
+
79
|
|
882
|
+
80
|
|
883
|
+
81
|
|
884
|
+
82
|
|
885
|
+
83
|
|
886
|
+
84
|
|
887
|
+
85
|
|
888
|
+
86</pre>
|
|
889
|
+
</td>
|
|
890
|
+
<td>
|
|
891
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/ssh_certificate_authorities_client.rb', line 78</span>
|
|
892
|
+
|
|
893
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_delete!'>delete!</span><span class='lparen'>(</span>
|
|
894
|
+
<span class='label'>id:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span>
|
|
895
|
+
<span class='rparen'>)</span>
|
|
896
|
+
<span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/ssh_certificate_authorities/%{id}</span><span class='tstring_end'>'</span></span>
|
|
897
|
+
<span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
|
|
898
|
+
<span class='label'>id:</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span>
|
|
899
|
+
<span class='rbrace'>}</span>
|
|
900
|
+
<span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>%</span> <span class='id identifier rubyid_replacements'>replacements</span><span class='comma'>,</span> <span class='label'>danger:</span> <span class='kw'>true</span><span class='rparen'>)</span>
|
|
901
|
+
<span class='kw'>end</span></pre>
|
|
902
|
+
</td>
|
|
903
|
+
</tr>
|
|
904
|
+
</table>
|
|
905
|
+
</div>
|
|
906
|
+
|
|
907
|
+
<div class="method_details ">
|
|
908
|
+
<h3 class="signature " id="get-instance_method">
|
|
909
|
+
|
|
910
|
+
#<strong>get</strong>(id: "") ⇒ <tt><span class='object_link'><a href="../Models/SSHCertificateAuthority.html" title="NgrokAPI::Models::SSHCertificateAuthority (class)">NgrokAPI::Models::SSHCertificateAuthority</a></span></tt>
|
|
911
|
+
|
|
912
|
+
|
|
913
|
+
|
|
914
|
+
|
|
915
|
+
|
|
916
|
+
</h3><div class="docstring">
|
|
917
|
+
<div class="discussion">
|
|
918
|
+
|
|
919
|
+
<p>Get detailed information about an SSH Certficate Authority</p>
|
|
920
|
+
|
|
921
|
+
<p><a href="https://ngrok.com/docs/api#api-ssh-certificate-authorities-get">ngrok.com/docs/api#api-ssh-certificate-authorities-get</a></p>
|
|
922
|
+
|
|
923
|
+
|
|
924
|
+
</div>
|
|
925
|
+
</div>
|
|
926
|
+
<div class="tags">
|
|
927
|
+
<p class="tag_title">Parameters:</p>
|
|
928
|
+
<ul class="param">
|
|
929
|
+
|
|
930
|
+
<li>
|
|
931
|
+
|
|
932
|
+
<span class='name'>id</span>
|
|
933
|
+
|
|
934
|
+
|
|
935
|
+
<span class='type'>(<tt>string</tt>)</span>
|
|
936
|
+
|
|
937
|
+
|
|
938
|
+
<em class="default">(defaults to: <tt>""</tt>)</em>
|
|
939
|
+
|
|
940
|
+
|
|
941
|
+
—
|
|
942
|
+
<div class='inline'>
|
|
943
|
+
<p>a resource identifier</p>
|
|
944
|
+
</div>
|
|
945
|
+
|
|
946
|
+
</li>
|
|
947
|
+
|
|
948
|
+
</ul>
|
|
949
|
+
|
|
950
|
+
<p class="tag_title">Returns:</p>
|
|
951
|
+
<ul class="return">
|
|
952
|
+
|
|
953
|
+
<li>
|
|
954
|
+
|
|
955
|
+
|
|
956
|
+
<span class='type'>(<tt><span class='object_link'><a href="../Models/SSHCertificateAuthority.html" title="NgrokAPI::Models::SSHCertificateAuthority (class)">NgrokAPI::Models::SSHCertificateAuthority</a></span></tt>)</span>
|
|
957
|
+
|
|
958
|
+
|
|
959
|
+
|
|
960
|
+
—
|
|
961
|
+
<div class='inline'>
|
|
962
|
+
<p>result from the API request</p>
|
|
963
|
+
</div>
|
|
964
|
+
|
|
965
|
+
</li>
|
|
966
|
+
|
|
967
|
+
</ul>
|
|
968
|
+
|
|
969
|
+
</div><table class="source_code">
|
|
970
|
+
<tr>
|
|
971
|
+
<td>
|
|
972
|
+
<pre class="lines">
|
|
973
|
+
|
|
974
|
+
|
|
975
|
+
95
|
|
976
|
+
96
|
|
977
|
+
97
|
|
978
|
+
98
|
|
979
|
+
99
|
|
980
|
+
100
|
|
981
|
+
101
|
|
982
|
+
102
|
|
983
|
+
103
|
|
984
|
+
104
|
|
985
|
+
105</pre>
|
|
986
|
+
</td>
|
|
987
|
+
<td>
|
|
988
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/ssh_certificate_authorities_client.rb', line 95</span>
|
|
989
|
+
|
|
990
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span>
|
|
991
|
+
<span class='label'>id:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span>
|
|
992
|
+
<span class='rparen'>)</span>
|
|
993
|
+
<span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/ssh_certificate_authorities/%{id}</span><span class='tstring_end'>'</span></span>
|
|
994
|
+
<span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
|
|
995
|
+
<span class='label'>id:</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span>
|
|
996
|
+
<span class='rbrace'>}</span>
|
|
997
|
+
<span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
|
998
|
+
<span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>%</span> <span class='id identifier rubyid_replacements'>replacements</span><span class='comma'>,</span> <span class='label'>data:</span> <span class='id identifier rubyid_data'>data</span><span class='rparen'>)</span>
|
|
999
|
+
<span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/SSHCertificateAuthority.html" title="NgrokAPI::Models::SSHCertificateAuthority (class)">SSHCertificateAuthority</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/SSHCertificateAuthority.html#initialize-instance_method" title="NgrokAPI::Models::SSHCertificateAuthority#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>result:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
|
|
1000
|
+
<span class='kw'>end</span></pre>
|
|
1001
|
+
</td>
|
|
1002
|
+
</tr>
|
|
1003
|
+
</table>
|
|
1004
|
+
</div>
|
|
1005
|
+
|
|
1006
|
+
<div class="method_details ">
|
|
1007
|
+
<h3 class="signature " id="get!-instance_method">
|
|
1008
|
+
|
|
1009
|
+
#<strong>get!</strong>(id: "") ⇒ <tt><span class='object_link'><a href="../Models/SSHCertificateAuthority.html" title="NgrokAPI::Models::SSHCertificateAuthority (class)">NgrokAPI::Models::SSHCertificateAuthority</a></span></tt>
|
|
1010
|
+
|
|
1011
|
+
|
|
1012
|
+
|
|
1013
|
+
|
|
1014
|
+
|
|
1015
|
+
</h3><div class="docstring">
|
|
1016
|
+
<div class="discussion">
|
|
1017
|
+
|
|
1018
|
+
<p>Get detailed information about an SSH Certficate Authority Throws an exception if API error.</p>
|
|
1019
|
+
|
|
1020
|
+
<p><a href="https://ngrok.com/docs/api#api-ssh-certificate-authorities-get">ngrok.com/docs/api#api-ssh-certificate-authorities-get</a></p>
|
|
1021
|
+
|
|
1022
|
+
|
|
1023
|
+
</div>
|
|
1024
|
+
</div>
|
|
1025
|
+
<div class="tags">
|
|
1026
|
+
<p class="tag_title">Parameters:</p>
|
|
1027
|
+
<ul class="param">
|
|
1028
|
+
|
|
1029
|
+
<li>
|
|
1030
|
+
|
|
1031
|
+
<span class='name'>id</span>
|
|
1032
|
+
|
|
1033
|
+
|
|
1034
|
+
<span class='type'>(<tt>string</tt>)</span>
|
|
1035
|
+
|
|
1036
|
+
|
|
1037
|
+
<em class="default">(defaults to: <tt>""</tt>)</em>
|
|
1038
|
+
|
|
1039
|
+
|
|
1040
|
+
—
|
|
1041
|
+
<div class='inline'>
|
|
1042
|
+
<p>a resource identifier</p>
|
|
1043
|
+
</div>
|
|
1044
|
+
|
|
1045
|
+
</li>
|
|
1046
|
+
|
|
1047
|
+
</ul>
|
|
1048
|
+
|
|
1049
|
+
<p class="tag_title">Returns:</p>
|
|
1050
|
+
<ul class="return">
|
|
1051
|
+
|
|
1052
|
+
<li>
|
|
1053
|
+
|
|
1054
|
+
|
|
1055
|
+
<span class='type'>(<tt><span class='object_link'><a href="../Models/SSHCertificateAuthority.html" title="NgrokAPI::Models::SSHCertificateAuthority (class)">NgrokAPI::Models::SSHCertificateAuthority</a></span></tt>)</span>
|
|
1056
|
+
|
|
1057
|
+
|
|
1058
|
+
|
|
1059
|
+
—
|
|
1060
|
+
<div class='inline'>
|
|
1061
|
+
<p>result from the API request</p>
|
|
1062
|
+
</div>
|
|
1063
|
+
|
|
1064
|
+
</li>
|
|
1065
|
+
|
|
1066
|
+
</ul>
|
|
1067
|
+
|
|
1068
|
+
</div><table class="source_code">
|
|
1069
|
+
<tr>
|
|
1070
|
+
<td>
|
|
1071
|
+
<pre class="lines">
|
|
1072
|
+
|
|
1073
|
+
|
|
1074
|
+
115
|
|
1075
|
+
116
|
|
1076
|
+
117
|
|
1077
|
+
118
|
|
1078
|
+
119
|
|
1079
|
+
120
|
|
1080
|
+
121
|
|
1081
|
+
122
|
|
1082
|
+
123
|
|
1083
|
+
124
|
|
1084
|
+
125</pre>
|
|
1085
|
+
</td>
|
|
1086
|
+
<td>
|
|
1087
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/ssh_certificate_authorities_client.rb', line 115</span>
|
|
1088
|
+
|
|
1089
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_get!'>get!</span><span class='lparen'>(</span>
|
|
1090
|
+
<span class='label'>id:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span>
|
|
1091
|
+
<span class='rparen'>)</span>
|
|
1092
|
+
<span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/ssh_certificate_authorities/%{id}</span><span class='tstring_end'>'</span></span>
|
|
1093
|
+
<span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
|
|
1094
|
+
<span class='label'>id:</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span>
|
|
1095
|
+
<span class='rbrace'>}</span>
|
|
1096
|
+
<span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
|
1097
|
+
<span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>%</span> <span class='id identifier rubyid_replacements'>replacements</span><span class='comma'>,</span> <span class='label'>data:</span> <span class='id identifier rubyid_data'>data</span><span class='comma'>,</span> <span class='label'>danger:</span> <span class='kw'>true</span><span class='rparen'>)</span>
|
|
1098
|
+
<span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/SSHCertificateAuthority.html" title="NgrokAPI::Models::SSHCertificateAuthority (class)">SSHCertificateAuthority</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/SSHCertificateAuthority.html#initialize-instance_method" title="NgrokAPI::Models::SSHCertificateAuthority#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>result:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
|
|
1099
|
+
<span class='kw'>end</span></pre>
|
|
1100
|
+
</td>
|
|
1101
|
+
</tr>
|
|
1102
|
+
</table>
|
|
1103
|
+
</div>
|
|
1104
|
+
|
|
1105
|
+
<div class="method_details ">
|
|
1106
|
+
<h3 class="signature " id="list-instance_method">
|
|
1107
|
+
|
|
1108
|
+
#<strong>list</strong>(before_id: nil, limit: nil, url: nil) ⇒ <tt><span class='object_link'><a href="../Models/Listable.html" title="NgrokAPI::Models::Listable (class)">NgrokAPI::Models::Listable</a></span></tt>
|
|
1109
|
+
|
|
1110
|
+
|
|
1111
|
+
|
|
1112
|
+
|
|
1113
|
+
|
|
1114
|
+
</h3><div class="docstring">
|
|
1115
|
+
<div class="discussion">
|
|
1116
|
+
|
|
1117
|
+
<p>List all SSH Certificate Authorities on this account</p>
|
|
1118
|
+
|
|
1119
|
+
<p><a href="https://ngrok.com/docs/api#api-ssh-certificate-authorities-list">ngrok.com/docs/api#api-ssh-certificate-authorities-list</a></p>
|
|
1120
|
+
|
|
1121
|
+
|
|
1122
|
+
</div>
|
|
1123
|
+
</div>
|
|
1124
|
+
<div class="tags">
|
|
1125
|
+
<p class="tag_title">Parameters:</p>
|
|
1126
|
+
<ul class="param">
|
|
1127
|
+
|
|
1128
|
+
<li>
|
|
1129
|
+
|
|
1130
|
+
<span class='name'>before_id</span>
|
|
1131
|
+
|
|
1132
|
+
|
|
1133
|
+
<span class='type'>(<tt>string</tt>)</span>
|
|
1134
|
+
|
|
1135
|
+
|
|
1136
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
|
1137
|
+
|
|
1138
|
+
|
|
1139
|
+
</li>
|
|
1140
|
+
|
|
1141
|
+
<li>
|
|
1142
|
+
|
|
1143
|
+
<span class='name'>limit</span>
|
|
1144
|
+
|
|
1145
|
+
|
|
1146
|
+
<span class='type'>(<tt>string</tt>)</span>
|
|
1147
|
+
|
|
1148
|
+
|
|
1149
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
|
1150
|
+
|
|
1151
|
+
|
|
1152
|
+
</li>
|
|
1153
|
+
|
|
1154
|
+
<li>
|
|
1155
|
+
|
|
1156
|
+
<span class='name'>url</span>
|
|
1157
|
+
|
|
1158
|
+
|
|
1159
|
+
<span class='type'>(<tt>string</tt>)</span>
|
|
1160
|
+
|
|
1161
|
+
|
|
1162
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
|
1163
|
+
|
|
1164
|
+
|
|
1165
|
+
—
|
|
1166
|
+
<div class='inline'>
|
|
1167
|
+
<p>optional and mutually exclusive from before_id and limit</p>
|
|
1168
|
+
</div>
|
|
1169
|
+
|
|
1170
|
+
</li>
|
|
1171
|
+
|
|
1172
|
+
</ul>
|
|
1173
|
+
|
|
1174
|
+
<p class="tag_title">Returns:</p>
|
|
1175
|
+
<ul class="return">
|
|
1176
|
+
|
|
1177
|
+
<li>
|
|
1178
|
+
|
|
1179
|
+
|
|
1180
|
+
<span class='type'>(<tt><span class='object_link'><a href="../Models/Listable.html" title="NgrokAPI::Models::Listable (class)">NgrokAPI::Models::Listable</a></span></tt>)</span>
|
|
1181
|
+
|
|
1182
|
+
|
|
1183
|
+
|
|
1184
|
+
—
|
|
1185
|
+
<div class='inline'>
|
|
1186
|
+
<p>result from the API request</p>
|
|
1187
|
+
</div>
|
|
1188
|
+
|
|
1189
|
+
</li>
|
|
1190
|
+
|
|
1191
|
+
</ul>
|
|
1192
|
+
|
|
1193
|
+
</div><table class="source_code">
|
|
1194
|
+
<tr>
|
|
1195
|
+
<td>
|
|
1196
|
+
<pre class="lines">
|
|
1197
|
+
|
|
1198
|
+
|
|
1199
|
+
136
|
|
1200
|
+
137
|
|
1201
|
+
138
|
|
1202
|
+
139
|
|
1203
|
+
140
|
|
1204
|
+
141
|
|
1205
|
+
142
|
|
1206
|
+
143
|
|
1207
|
+
144
|
|
1208
|
+
145
|
|
1209
|
+
146
|
|
1210
|
+
147
|
|
1211
|
+
148
|
|
1212
|
+
149
|
|
1213
|
+
150
|
|
1214
|
+
151
|
|
1215
|
+
152
|
|
1216
|
+
153</pre>
|
|
1217
|
+
</td>
|
|
1218
|
+
<td>
|
|
1219
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/ssh_certificate_authorities_client.rb', line 136</span>
|
|
1220
|
+
|
|
1221
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_list'>list</span><span class='lparen'>(</span>
|
|
1222
|
+
<span class='label'>before_id:</span> <span class='kw'>nil</span><span class='comma'>,</span>
|
|
1223
|
+
<span class='label'>limit:</span> <span class='kw'>nil</span><span class='comma'>,</span>
|
|
1224
|
+
<span class='label'>url:</span> <span class='kw'>nil</span>
|
|
1225
|
+
<span class='rparen'>)</span>
|
|
1226
|
+
<span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_list'>list</span><span class='lparen'>(</span>
|
|
1227
|
+
<span class='label'>before_id:</span> <span class='id identifier rubyid_before_id'>before_id</span><span class='comma'>,</span>
|
|
1228
|
+
<span class='label'>limit:</span> <span class='id identifier rubyid_limit'>limit</span><span class='comma'>,</span>
|
|
1229
|
+
<span class='label'>url:</span> <span class='id identifier rubyid_url'>url</span><span class='comma'>,</span>
|
|
1230
|
+
<span class='label'>path:</span> <span class='const'><span class='object_link'><a href="#PATH-constant" title="NgrokAPI::Services::SSHCertificateAuthoritiesClient::PATH (constant)">PATH</a></span></span>
|
|
1231
|
+
<span class='rparen'>)</span>
|
|
1232
|
+
<span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/Listable.html" title="NgrokAPI::Models::Listable (class)">Listable</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/Listable.html#initialize-instance_method" title="NgrokAPI::Models::Listable#initialize (method)">new</a></span></span><span class='lparen'>(</span>
|
|
1233
|
+
<span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span>
|
|
1234
|
+
<span class='label'>result:</span> <span class='id identifier rubyid_result'>result</span><span class='comma'>,</span>
|
|
1235
|
+
<span class='label'>list_property:</span> <span class='const'><span class='object_link'><a href="#LIST_PROPERTY-constant" title="NgrokAPI::Services::SSHCertificateAuthoritiesClient::LIST_PROPERTY (constant)">LIST_PROPERTY</a></span></span><span class='comma'>,</span>
|
|
1236
|
+
<span class='label'>klass:</span> <span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/SSHCertificateAuthority.html" title="NgrokAPI::Models::SSHCertificateAuthority (class)">SSHCertificateAuthority</a></span></span>
|
|
1237
|
+
<span class='rparen'>)</span>
|
|
1238
|
+
<span class='kw'>end</span></pre>
|
|
1239
|
+
</td>
|
|
1240
|
+
</tr>
|
|
1241
|
+
</table>
|
|
1242
|
+
</div>
|
|
1243
|
+
|
|
1244
|
+
<div class="method_details ">
|
|
1245
|
+
<h3 class="signature " id="update-instance_method">
|
|
1246
|
+
|
|
1247
|
+
#<strong>update</strong>(id: "", description: nil, metadata: nil) ⇒ <tt><span class='object_link'><a href="../Models/SSHCertificateAuthority.html" title="NgrokAPI::Models::SSHCertificateAuthority (class)">NgrokAPI::Models::SSHCertificateAuthority</a></span></tt>
|
|
1248
|
+
|
|
1249
|
+
|
|
1250
|
+
|
|
1251
|
+
|
|
1252
|
+
|
|
1253
|
+
</h3><div class="docstring">
|
|
1254
|
+
<div class="discussion">
|
|
1255
|
+
|
|
1256
|
+
<p>Update an SSH Certificate Authority</p>
|
|
1257
|
+
|
|
1258
|
+
<p><a href="https://ngrok.com/docs/api#api-ssh-certificate-authorities-update">ngrok.com/docs/api#api-ssh-certificate-authorities-update</a></p>
|
|
1259
|
+
|
|
1260
|
+
|
|
1261
|
+
</div>
|
|
1262
|
+
</div>
|
|
1263
|
+
<div class="tags">
|
|
1264
|
+
<p class="tag_title">Parameters:</p>
|
|
1265
|
+
<ul class="param">
|
|
1266
|
+
|
|
1267
|
+
<li>
|
|
1268
|
+
|
|
1269
|
+
<span class='name'>id</span>
|
|
1270
|
+
|
|
1271
|
+
|
|
1272
|
+
<span class='type'>(<tt>string</tt>)</span>
|
|
1273
|
+
|
|
1274
|
+
|
|
1275
|
+
<em class="default">(defaults to: <tt>""</tt>)</em>
|
|
1276
|
+
|
|
1277
|
+
|
|
1278
|
+
</li>
|
|
1279
|
+
|
|
1280
|
+
<li>
|
|
1281
|
+
|
|
1282
|
+
<span class='name'>description</span>
|
|
1283
|
+
|
|
1284
|
+
|
|
1285
|
+
<span class='type'>(<tt>string</tt>)</span>
|
|
1286
|
+
|
|
1287
|
+
|
|
1288
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
|
1289
|
+
|
|
1290
|
+
|
|
1291
|
+
—
|
|
1292
|
+
<div class='inline'>
|
|
1293
|
+
<p>human-readable description of this SSH Certificate Authority. optional, max 255 bytes.</p>
|
|
1294
|
+
</div>
|
|
1295
|
+
|
|
1296
|
+
</li>
|
|
1297
|
+
|
|
1298
|
+
<li>
|
|
1299
|
+
|
|
1300
|
+
<span class='name'>metadata</span>
|
|
1301
|
+
|
|
1302
|
+
|
|
1303
|
+
<span class='type'>(<tt>string</tt>)</span>
|
|
1304
|
+
|
|
1305
|
+
|
|
1306
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
|
1307
|
+
|
|
1308
|
+
|
|
1309
|
+
—
|
|
1310
|
+
<div class='inline'>
|
|
1311
|
+
<p>arbitrary user-defined machine-readable data of this SSH Certificate Authority. optional, max 4096 bytes.</p>
|
|
1312
|
+
</div>
|
|
1313
|
+
|
|
1314
|
+
</li>
|
|
1315
|
+
|
|
1316
|
+
</ul>
|
|
1317
|
+
|
|
1318
|
+
<p class="tag_title">Returns:</p>
|
|
1319
|
+
<ul class="return">
|
|
1320
|
+
|
|
1321
|
+
<li>
|
|
1322
|
+
|
|
1323
|
+
|
|
1324
|
+
<span class='type'>(<tt><span class='object_link'><a href="../Models/SSHCertificateAuthority.html" title="NgrokAPI::Models::SSHCertificateAuthority (class)">NgrokAPI::Models::SSHCertificateAuthority</a></span></tt>)</span>
|
|
1325
|
+
|
|
1326
|
+
|
|
1327
|
+
|
|
1328
|
+
—
|
|
1329
|
+
<div class='inline'>
|
|
1330
|
+
<p>result from the API request</p>
|
|
1331
|
+
</div>
|
|
1332
|
+
|
|
1333
|
+
</li>
|
|
1334
|
+
|
|
1335
|
+
</ul>
|
|
1336
|
+
|
|
1337
|
+
</div><table class="source_code">
|
|
1338
|
+
<tr>
|
|
1339
|
+
<td>
|
|
1340
|
+
<pre class="lines">
|
|
1341
|
+
|
|
1342
|
+
|
|
1343
|
+
164
|
|
1344
|
+
165
|
|
1345
|
+
166
|
|
1346
|
+
167
|
|
1347
|
+
168
|
|
1348
|
+
169
|
|
1349
|
+
170
|
|
1350
|
+
171
|
|
1351
|
+
172
|
|
1352
|
+
173
|
|
1353
|
+
174
|
|
1354
|
+
175
|
|
1355
|
+
176
|
|
1356
|
+
177
|
|
1357
|
+
178</pre>
|
|
1358
|
+
</td>
|
|
1359
|
+
<td>
|
|
1360
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/ssh_certificate_authorities_client.rb', line 164</span>
|
|
1361
|
+
|
|
1362
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_update'>update</span><span class='lparen'>(</span>
|
|
1363
|
+
<span class='label'>id:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
|
1364
|
+
<span class='label'>description:</span> <span class='kw'>nil</span><span class='comma'>,</span>
|
|
1365
|
+
<span class='label'>metadata:</span> <span class='kw'>nil</span>
|
|
1366
|
+
<span class='rparen'>)</span>
|
|
1367
|
+
<span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/ssh_certificate_authorities/%{id}</span><span class='tstring_end'>'</span></span>
|
|
1368
|
+
<span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
|
|
1369
|
+
<span class='label'>id:</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span>
|
|
1370
|
+
<span class='rbrace'>}</span>
|
|
1371
|
+
<span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
|
1372
|
+
<span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:description</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_description'>description</span> <span class='kw'>if</span> <span class='id identifier rubyid_description'>description</span>
|
|
1373
|
+
<span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:metadata</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_metadata'>metadata</span> <span class='kw'>if</span> <span class='id identifier rubyid_metadata'>metadata</span>
|
|
1374
|
+
<span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_patch'>patch</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>%</span> <span class='id identifier rubyid_replacements'>replacements</span><span class='comma'>,</span> <span class='label'>data:</span> <span class='id identifier rubyid_data'>data</span><span class='rparen'>)</span>
|
|
1375
|
+
<span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/SSHCertificateAuthority.html" title="NgrokAPI::Models::SSHCertificateAuthority (class)">SSHCertificateAuthority</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/SSHCertificateAuthority.html#initialize-instance_method" title="NgrokAPI::Models::SSHCertificateAuthority#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>result:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
|
|
1376
|
+
<span class='kw'>end</span></pre>
|
|
1377
|
+
</td>
|
|
1378
|
+
</tr>
|
|
1379
|
+
</table>
|
|
1380
|
+
</div>
|
|
1381
|
+
|
|
1382
|
+
<div class="method_details ">
|
|
1383
|
+
<h3 class="signature " id="update!-instance_method">
|
|
1384
|
+
|
|
1385
|
+
#<strong>update!</strong>(id: "", description: nil, metadata: nil) ⇒ <tt><span class='object_link'><a href="../Models/SSHCertificateAuthority.html" title="NgrokAPI::Models::SSHCertificateAuthority (class)">NgrokAPI::Models::SSHCertificateAuthority</a></span></tt>
|
|
1386
|
+
|
|
1387
|
+
|
|
1388
|
+
|
|
1389
|
+
|
|
1390
|
+
|
|
1391
|
+
</h3><div class="docstring">
|
|
1392
|
+
<div class="discussion">
|
|
1393
|
+
|
|
1394
|
+
<p>Update an SSH Certificate Authority Throws an exception if API error.</p>
|
|
1395
|
+
|
|
1396
|
+
<p><a href="https://ngrok.com/docs/api#api-ssh-certificate-authorities-update">ngrok.com/docs/api#api-ssh-certificate-authorities-update</a></p>
|
|
1397
|
+
|
|
1398
|
+
|
|
1399
|
+
</div>
|
|
1400
|
+
</div>
|
|
1401
|
+
<div class="tags">
|
|
1402
|
+
<p class="tag_title">Parameters:</p>
|
|
1403
|
+
<ul class="param">
|
|
1404
|
+
|
|
1405
|
+
<li>
|
|
1406
|
+
|
|
1407
|
+
<span class='name'>id</span>
|
|
1408
|
+
|
|
1409
|
+
|
|
1410
|
+
<span class='type'>(<tt>string</tt>)</span>
|
|
1411
|
+
|
|
1412
|
+
|
|
1413
|
+
<em class="default">(defaults to: <tt>""</tt>)</em>
|
|
1414
|
+
|
|
1415
|
+
|
|
1416
|
+
</li>
|
|
1417
|
+
|
|
1418
|
+
<li>
|
|
1419
|
+
|
|
1420
|
+
<span class='name'>description</span>
|
|
1421
|
+
|
|
1422
|
+
|
|
1423
|
+
<span class='type'>(<tt>string</tt>)</span>
|
|
1424
|
+
|
|
1425
|
+
|
|
1426
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
|
1427
|
+
|
|
1428
|
+
|
|
1429
|
+
—
|
|
1430
|
+
<div class='inline'>
|
|
1431
|
+
<p>human-readable description of this SSH Certificate Authority. optional, max 255 bytes.</p>
|
|
1432
|
+
</div>
|
|
1433
|
+
|
|
1434
|
+
</li>
|
|
1435
|
+
|
|
1436
|
+
<li>
|
|
1437
|
+
|
|
1438
|
+
<span class='name'>metadata</span>
|
|
1439
|
+
|
|
1440
|
+
|
|
1441
|
+
<span class='type'>(<tt>string</tt>)</span>
|
|
1442
|
+
|
|
1443
|
+
|
|
1444
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
|
1445
|
+
|
|
1446
|
+
|
|
1447
|
+
—
|
|
1448
|
+
<div class='inline'>
|
|
1449
|
+
<p>arbitrary user-defined machine-readable data of this SSH Certificate Authority. optional, max 4096 bytes.</p>
|
|
1450
|
+
</div>
|
|
1451
|
+
|
|
1452
|
+
</li>
|
|
1453
|
+
|
|
1454
|
+
</ul>
|
|
1455
|
+
|
|
1456
|
+
<p class="tag_title">Returns:</p>
|
|
1457
|
+
<ul class="return">
|
|
1458
|
+
|
|
1459
|
+
<li>
|
|
1460
|
+
|
|
1461
|
+
|
|
1462
|
+
<span class='type'>(<tt><span class='object_link'><a href="../Models/SSHCertificateAuthority.html" title="NgrokAPI::Models::SSHCertificateAuthority (class)">NgrokAPI::Models::SSHCertificateAuthority</a></span></tt>)</span>
|
|
1463
|
+
|
|
1464
|
+
|
|
1465
|
+
|
|
1466
|
+
—
|
|
1467
|
+
<div class='inline'>
|
|
1468
|
+
<p>result from the API request</p>
|
|
1469
|
+
</div>
|
|
1470
|
+
|
|
1471
|
+
</li>
|
|
1472
|
+
|
|
1473
|
+
</ul>
|
|
1474
|
+
|
|
1475
|
+
</div><table class="source_code">
|
|
1476
|
+
<tr>
|
|
1477
|
+
<td>
|
|
1478
|
+
<pre class="lines">
|
|
1479
|
+
|
|
1480
|
+
|
|
1481
|
+
190
|
|
1482
|
+
191
|
|
1483
|
+
192
|
|
1484
|
+
193
|
|
1485
|
+
194
|
|
1486
|
+
195
|
|
1487
|
+
196
|
|
1488
|
+
197
|
|
1489
|
+
198
|
|
1490
|
+
199
|
|
1491
|
+
200
|
|
1492
|
+
201
|
|
1493
|
+
202
|
|
1494
|
+
203
|
|
1495
|
+
204</pre>
|
|
1496
|
+
</td>
|
|
1497
|
+
<td>
|
|
1498
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/ssh_certificate_authorities_client.rb', line 190</span>
|
|
1499
|
+
|
|
1500
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_update!'>update!</span><span class='lparen'>(</span>
|
|
1501
|
+
<span class='label'>id:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
|
1502
|
+
<span class='label'>description:</span> <span class='kw'>nil</span><span class='comma'>,</span>
|
|
1503
|
+
<span class='label'>metadata:</span> <span class='kw'>nil</span>
|
|
1504
|
+
<span class='rparen'>)</span>
|
|
1505
|
+
<span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/ssh_certificate_authorities/%{id}</span><span class='tstring_end'>'</span></span>
|
|
1506
|
+
<span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
|
|
1507
|
+
<span class='label'>id:</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span>
|
|
1508
|
+
<span class='rbrace'>}</span>
|
|
1509
|
+
<span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
|
1510
|
+
<span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:description</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_description'>description</span> <span class='kw'>if</span> <span class='id identifier rubyid_description'>description</span>
|
|
1511
|
+
<span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:metadata</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_metadata'>metadata</span> <span class='kw'>if</span> <span class='id identifier rubyid_metadata'>metadata</span>
|
|
1512
|
+
<span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_patch'>patch</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>%</span> <span class='id identifier rubyid_replacements'>replacements</span><span class='comma'>,</span> <span class='label'>data:</span> <span class='id identifier rubyid_data'>data</span><span class='comma'>,</span> <span class='label'>danger:</span> <span class='kw'>true</span><span class='rparen'>)</span>
|
|
1513
|
+
<span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/SSHCertificateAuthority.html" title="NgrokAPI::Models::SSHCertificateAuthority (class)">SSHCertificateAuthority</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/SSHCertificateAuthority.html#initialize-instance_method" title="NgrokAPI::Models::SSHCertificateAuthority#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>result:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
|
|
1514
|
+
<span class='kw'>end</span></pre>
|
|
1515
|
+
</td>
|
|
1516
|
+
</tr>
|
|
1517
|
+
</table>
|
|
1518
|
+
</div>
|
|
1519
|
+
|
|
1520
|
+
</div>
|
|
1521
|
+
|
|
1522
|
+
</div>
|
|
1523
|
+
|
|
1524
|
+
<div id="footer">
|
|
1525
|
+
Generated on Mon Oct 4 23:24:18 2021 by
|
|
1526
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1527
|
+
0.9.26 (ruby-3.0.1).
|
|
1528
|
+
</div>
|
|
1529
|
+
|
|
1530
|
+
</div>
|
|
1531
|
+
</body>
|
|
1532
|
+
</html>
|