fastly 4.0.0.alpha4 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +100 -21
- data/docs/AclEntry.md +1 -1
- data/docs/AclEntryApi.md +0 -176
- data/docs/AclEntryResponse.md +1 -1
- data/docs/ApexRedirectApi.md +4 -4
- data/docs/AutomationToken.md +14 -0
- data/docs/AutomationTokenCreateRequest.md +10 -0
- data/docs/AutomationTokenCreateRequestAttributes.md +15 -0
- data/docs/AutomationTokenCreateResponse.md +24 -0
- data/docs/AutomationTokenCreateResponseAllOf.md +17 -0
- data/docs/AutomationTokenResponse.md +23 -0
- data/docs/AutomationTokenResponseAllOf.md +18 -0
- data/docs/AutomationTokensApi.md +209 -0
- data/docs/AwsRegion.md +9 -0
- data/docs/Backend.md +1 -0
- data/docs/BackendApi.md +4 -0
- data/docs/BackendResponse.md +1 -0
- data/docs/Billing.md +2 -1
- data/docs/BillingAddressRequest.md +1 -0
- data/docs/BillingAddressVerificationErrorResponse.md +10 -0
- data/docs/BillingAddressVerificationErrorResponseErrors.md +14 -0
- data/docs/BillingEstimateResponse.md +2 -1
- data/docs/BillingResponse.md +2 -1
- data/docs/BulkUpdateAclEntry.md +1 -1
- data/docs/ConditionApi.md +4 -4
- data/docs/EnabledProduct.md +12 -0
- data/docs/EnabledProductLinks.md +11 -0
- data/docs/EnabledProductProduct.md +11 -0
- data/docs/EnabledProductsApi.md +133 -0
- data/docs/ErrorResponse.md +10 -0
- data/docs/ErrorResponseData.md +11 -0
- data/docs/EventAttributes.md +1 -0
- data/docs/EventsApi.md +4 -2
- data/docs/HeaderApi.md +4 -4
- data/docs/Healthcheck.md +5 -4
- data/docs/HealthcheckApi.md +46 -42
- data/docs/HealthcheckResponse.md +5 -4
- data/docs/Http3Api.md +4 -4
- data/docs/HttpResponseFormat.md +14 -0
- data/docs/HttpStreamFormat.md +11 -0
- data/docs/InlineObject.md +10 -0
- data/docs/InlineObject1.md +10 -0
- data/docs/InlineResponse2001.md +1 -1
- data/docs/LoggingAzureblob.md +3 -3
- data/docs/LoggingAzureblobApi.md +12 -12
- data/docs/LoggingAzureblobResponse.md +3 -3
- data/docs/LoggingBigquery.md +4 -3
- data/docs/LoggingBigqueryApi.md +16 -12
- data/docs/LoggingBigqueryResponse.md +4 -3
- data/docs/LoggingCloudfiles.md +3 -3
- data/docs/LoggingCloudfilesApi.md +12 -12
- data/docs/LoggingCloudfilesResponse.md +3 -3
- data/docs/LoggingCommon.md +1 -1
- data/docs/LoggingDatadog.md +1 -1
- data/docs/LoggingDatadogApi.md +4 -4
- data/docs/LoggingDatadogResponse.md +1 -1
- data/docs/LoggingDigitalocean.md +3 -3
- data/docs/LoggingDigitaloceanApi.md +12 -12
- data/docs/LoggingDigitaloceanResponse.md +3 -3
- data/docs/LoggingElasticsearch.md +1 -1
- data/docs/LoggingElasticsearchApi.md +4 -4
- data/docs/LoggingElasticsearchResponse.md +1 -1
- data/docs/LoggingFtp.md +3 -3
- data/docs/LoggingFtpApi.md +12 -12
- data/docs/LoggingFtpResponse.md +3 -3
- data/docs/LoggingGcs.md +7 -5
- data/docs/LoggingGcsAllOf.md +1 -0
- data/docs/LoggingGcsApi.md +32 -24
- data/docs/LoggingGcsCommon.md +3 -2
- data/docs/LoggingGcsResponse.md +7 -5
- data/docs/LoggingGenericCommon.md +2 -2
- data/docs/LoggingGooglePubsub.md +4 -3
- data/docs/LoggingGooglePubsubResponse.md +4 -3
- data/docs/LoggingHeroku.md +1 -1
- data/docs/LoggingHerokuApi.md +4 -4
- data/docs/LoggingHerokuResponse.md +1 -1
- data/docs/LoggingHoneycomb.md +1 -1
- data/docs/LoggingHoneycombApi.md +4 -4
- data/docs/LoggingHoneycombResponse.md +1 -1
- data/docs/LoggingHttps.md +1 -1
- data/docs/LoggingHttpsApi.md +4 -4
- data/docs/LoggingHttpsResponse.md +1 -1
- data/docs/LoggingKafka.md +1 -1
- data/docs/LoggingKafkaApi.md +2 -2
- data/docs/LoggingKafkaResponse.md +1 -1
- data/docs/LoggingKinesis.md +1 -1
- data/docs/LoggingKinesisApi.md +2 -2
- data/docs/LoggingKinesisResponse.md +1 -1
- data/docs/LoggingLogentries.md +1 -1
- data/docs/LoggingLogentriesApi.md +4 -4
- data/docs/LoggingLogentriesResponse.md +1 -1
- data/docs/LoggingLoggly.md +1 -1
- data/docs/LoggingLogglyApi.md +4 -4
- data/docs/LoggingLogglyResponse.md +1 -1
- data/docs/LoggingLogshuttle.md +1 -1
- data/docs/LoggingLogshuttleApi.md +4 -4
- data/docs/LoggingLogshuttleResponse.md +1 -1
- data/docs/LoggingNewrelic.md +2 -2
- data/docs/LoggingNewrelicAllOf.md +1 -1
- data/docs/LoggingNewrelicApi.md +8 -8
- data/docs/LoggingNewrelicResponse.md +2 -2
- data/docs/LoggingOpenstack.md +3 -3
- data/docs/LoggingOpenstackApi.md +12 -12
- data/docs/LoggingOpenstackResponse.md +3 -3
- data/docs/LoggingPapertrail.md +1 -1
- data/docs/LoggingPapertrailApi.md +4 -4
- data/docs/LoggingPapertrailResponse.md +1 -1
- data/docs/LoggingPubsubApi.md +16 -12
- data/docs/LoggingS3.md +3 -3
- data/docs/LoggingS3Api.md +12 -12
- data/docs/LoggingS3Response.md +3 -3
- data/docs/LoggingScalyr.md +1 -1
- data/docs/LoggingScalyrApi.md +4 -4
- data/docs/LoggingScalyrResponse.md +1 -1
- data/docs/LoggingSftp.md +4 -4
- data/docs/LoggingSftpAllOf.md +1 -1
- data/docs/LoggingSftpApi.md +16 -16
- data/docs/LoggingSftpResponse.md +4 -4
- data/docs/LoggingSplunk.md +1 -1
- data/docs/LoggingSplunkApi.md +4 -4
- data/docs/LoggingSplunkResponse.md +1 -1
- data/docs/LoggingSumologic.md +1 -1
- data/docs/LoggingSumologicApi.md +4 -4
- data/docs/LoggingSumologicResponse.md +1 -1
- data/docs/LoggingSyslog.md +1 -1
- data/docs/LoggingSyslogApi.md +4 -4
- data/docs/LoggingSyslogResponse.md +1 -1
- data/docs/MutualAuthentication.md +10 -0
- data/docs/MutualAuthenticationApi.md +207 -0
- data/docs/MutualAuthenticationData.md +12 -0
- data/docs/MutualAuthenticationDataAttributes.md +12 -0
- data/docs/MutualAuthenticationResponse.md +10 -0
- data/docs/MutualAuthenticationResponseAttributes.md +13 -0
- data/docs/MutualAuthenticationResponseAttributesAllOf.md +10 -0
- data/docs/MutualAuthenticationResponseData.md +13 -0
- data/docs/MutualAuthenticationResponseDataAllOf.md +11 -0
- data/docs/MutualAuthenticationsResponse.md +12 -0
- data/docs/MutualAuthenticationsResponseAllOf.md +10 -0
- data/docs/PublishApi.md +54 -0
- data/docs/PublishItem.md +13 -0
- data/docs/PublishItemFormats.md +12 -0
- data/docs/PublishRequest.md +10 -0
- data/docs/PurgeApi.md +9 -9
- data/docs/RealtimeMeasurements.md +23 -0
- data/docs/RelationshipCommonName.md +1 -1
- data/docs/RelationshipMemberMutualAuthentication.md +11 -0
- data/docs/RelationshipMutualAuthentication.md +10 -0
- data/docs/RelationshipMutualAuthenticationMutualAuthentication.md +10 -0
- data/docs/RelationshipMutualAuthentications.md +10 -0
- data/docs/RelationshipMutualAuthenticationsMutualAuthentications.md +10 -0
- data/docs/RelationshipService.md +1 -1
- data/docs/RelationshipServices.md +1 -1
- data/docs/{RelationshipServiceService.md → RelationshipServicesServices.md} +1 -1
- data/docs/RelationshipTlsCertificateTlsCertificate.md +1 -1
- data/docs/RelationshipTlsCertificates.md +1 -1
- data/docs/RelationshipTlsCertificatesTlsCertificates.md +10 -0
- data/docs/RelationshipTlsConfigurationTlsConfiguration.md +1 -1
- data/docs/RelationshipTlsConfigurations.md +1 -1
- data/docs/RelationshipTlsConfigurationsTlsConfigurations.md +10 -0
- data/docs/RelationshipTlsDomainTlsDomain.md +1 -1
- data/docs/RelationshipTlsDomains.md +1 -1
- data/docs/RelationshipTlsDomainsTlsDomains.md +10 -0
- data/docs/RelationshipTlsPrivateKeyTlsPrivateKey.md +1 -1
- data/docs/RelationshipTlsPrivateKeys.md +1 -1
- data/docs/RelationshipTlsPrivateKeysTlsPrivateKeys.md +10 -0
- data/docs/RelationshipUserUser.md +1 -1
- data/docs/RelationshipsForMutualAuthentication.md +10 -0
- data/docs/RelationshipsForStar.md +1 -1
- data/docs/RelationshipsForTlsBulkCertificate.md +2 -2
- data/docs/RelationshipsForTlsConfiguration.md +1 -1
- data/docs/RelationshipsForTlsCsr.md +10 -0
- data/docs/RelationshipsForTlsPrivateKey.md +1 -1
- data/docs/RelationshipsForTlsSubscription.md +2 -2
- data/docs/Results.md +24 -1
- data/docs/SchemasUserResponse.md +2 -2
- data/docs/Service.md +1 -1
- data/docs/ServiceApi.md +4 -4
- data/docs/ServiceAuthorizationData.md +1 -1
- data/docs/ServiceAuthorizationDataRelationships.md +11 -0
- data/docs/ServiceAuthorizationDataRelationshipsUser.md +10 -0
- data/docs/{RelationshipUserUserData.md → ServiceAuthorizationDataRelationshipsUserData.md} +1 -1
- data/docs/ServiceAuthorizationResponseData.md +1 -1
- data/docs/ServiceCreate.md +1 -1
- data/docs/ServiceDetail.md +1 -1
- data/docs/ServiceInvitationData.md +1 -1
- data/docs/ServiceInvitationDataRelationships.md +10 -0
- data/docs/ServiceListResponse.md +1 -1
- data/docs/ServiceResponse.md +1 -1
- data/docs/ServiceVersionDetail.md +1 -1
- data/docs/ServiceVersionDetailOrNull.md +1 -1
- data/docs/TlsCsr.md +10 -0
- data/docs/TlsCsrData.md +12 -0
- data/docs/TlsCsrDataAttributes.md +19 -0
- data/docs/TlsCsrResponse.md +10 -0
- data/docs/TlsCsrResponseAttributes.md +10 -0
- data/docs/TlsCsrResponseData.md +13 -0
- data/docs/TlsCsrsApi.md +52 -0
- data/docs/TypeMutualAuthentication.md +9 -0
- data/docs/TypeTlsCsr.md +9 -0
- data/docs/UpdateBillingAddressRequest.md +1 -0
- data/docs/User.md +1 -1
- data/docs/UserApi.md +4 -4
- data/docs/UserResponse.md +2 -2
- data/docs/UserResponseAllOf.md +1 -1
- data/docs/ValidatorResult.md +14 -0
- data/docs/ValidatorResultMessages.md +13 -0
- data/docs/VclApi.md +78 -0
- data/docs/VersionDetail.md +1 -1
- data/docs/VersionDetailSettings.md +13 -0
- data/docs/WafFirewallVersionDataAttributes.md +1 -1
- data/docs/WsMessageFormat.md +11 -0
- data/lib/fastly/api/acl_entry_api.rb +0 -332
- data/lib/fastly/api/automation_tokens_api.rb +340 -0
- data/lib/fastly/api/backend_api.rb +6 -0
- data/lib/fastly/api/cache_settings_api.rb +2 -2
- data/lib/fastly/api/enabled_products_api.rb +228 -0
- data/lib/fastly/api/events_api.rb +6 -3
- data/lib/fastly/api/healthcheck_api.rb +48 -42
- data/lib/fastly/api/logging_azureblob_api.rb +12 -12
- data/lib/fastly/api/logging_bigquery_api.rb +18 -12
- data/lib/fastly/api/logging_cloudfiles_api.rb +12 -12
- data/lib/fastly/api/logging_datadog_api.rb +4 -4
- data/lib/fastly/api/logging_digitalocean_api.rb +12 -12
- data/lib/fastly/api/logging_elasticsearch_api.rb +4 -4
- data/lib/fastly/api/logging_ftp_api.rb +12 -12
- data/lib/fastly/api/logging_gcs_api.rb +32 -20
- data/lib/fastly/api/logging_heroku_api.rb +4 -4
- data/lib/fastly/api/logging_honeycomb_api.rb +4 -4
- data/lib/fastly/api/logging_https_api.rb +4 -4
- data/lib/fastly/api/logging_kafka_api.rb +2 -2
- data/lib/fastly/api/logging_kinesis_api.rb +2 -6
- data/lib/fastly/api/logging_logentries_api.rb +4 -4
- data/lib/fastly/api/logging_loggly_api.rb +4 -4
- data/lib/fastly/api/logging_logshuttle_api.rb +4 -4
- data/lib/fastly/api/logging_newrelic_api.rb +8 -8
- data/lib/fastly/api/logging_openstack_api.rb +12 -12
- data/lib/fastly/api/logging_papertrail_api.rb +4 -4
- data/lib/fastly/api/logging_pubsub_api.rb +18 -12
- data/lib/fastly/api/logging_s3_api.rb +12 -12
- data/lib/fastly/api/logging_scalyr_api.rb +4 -4
- data/lib/fastly/api/logging_sftp_api.rb +16 -16
- data/lib/fastly/api/logging_splunk_api.rb +4 -4
- data/lib/fastly/api/logging_sumologic_api.rb +4 -4
- data/lib/fastly/api/logging_syslog_api.rb +4 -4
- data/lib/fastly/api/mutual_authentication_api.rb +347 -0
- data/lib/fastly/api/publish_api.rb +90 -0
- data/lib/fastly/api/purge_api.rb +14 -15
- data/lib/fastly/api/service_api.rb +4 -4
- data/lib/fastly/api/{domain_ownerships_api.rb → tls_csrs_api.rb} +24 -17
- data/lib/fastly/api/user_api.rb +4 -4
- data/lib/fastly/api/vcl_api.rb +143 -0
- data/lib/fastly/api_client.rb +16 -0
- data/lib/fastly/models/acl_entry.rb +1 -1
- data/lib/fastly/models/acl_entry_response.rb +1 -4
- data/lib/fastly/models/acl_entry_response_all_of.rb +0 -3
- data/lib/fastly/models/acl_response.rb +0 -3
- data/lib/fastly/models/acl_response_all_of.rb +0 -1
- data/lib/fastly/models/apex_redirect.rb +0 -2
- data/lib/fastly/models/automation_token.rb +307 -0
- data/lib/fastly/models/automation_token_create_request.rb +216 -0
- data/lib/fastly/models/automation_token_create_request_attributes.rb +317 -0
- data/lib/fastly/models/automation_token_create_response.rb +416 -0
- data/lib/fastly/models/automation_token_create_response_all_of.rb +285 -0
- data/lib/fastly/models/automation_token_response.rb +394 -0
- data/lib/fastly/models/automation_token_response_all_of.rb +295 -0
- data/lib/fastly/models/aws_region.rb +56 -0
- data/lib/fastly/models/backend.rb +12 -1
- data/lib/fastly/models/backend_response.rb +12 -3
- data/lib/fastly/models/billing.rb +12 -3
- data/lib/fastly/models/billing_address_attributes.rb +4 -1
- data/lib/fastly/models/billing_address_request.rb +11 -1
- data/lib/fastly/models/billing_address_verification_error_response.rb +218 -0
- data/lib/fastly/models/billing_address_verification_error_response_errors.rb +275 -0
- data/lib/fastly/models/billing_estimate_response.rb +12 -3
- data/lib/fastly/models/billing_response.rb +12 -3
- data/lib/fastly/models/billing_response_line_item.rb +0 -1
- data/lib/fastly/models/billing_response_line_item_all_of.rb +0 -1
- data/lib/fastly/models/billing_status.rb +0 -1
- data/lib/fastly/models/billing_total.rb +1 -0
- data/lib/fastly/models/bulk_update_acl_entry.rb +1 -2
- data/lib/fastly/models/bulk_update_acl_entry_all_of.rb +0 -1
- data/lib/fastly/models/cache_setting.rb +2 -2
- data/lib/fastly/models/cache_setting_response.rb +2 -4
- data/lib/fastly/models/condition.rb +0 -1
- data/lib/fastly/models/condition_response.rb +0 -1
- data/lib/fastly/models/contact_response.rb +0 -1
- data/lib/fastly/models/contact_response_all_of.rb +0 -1
- data/lib/fastly/models/customer_response.rb +0 -1
- data/lib/fastly/models/customer_response_all_of.rb +0 -1
- data/lib/fastly/models/dictionary_item_response.rb +0 -2
- data/lib/fastly/models/dictionary_item_response_all_of.rb +0 -2
- data/lib/fastly/models/dictionary_response.rb +0 -3
- data/lib/fastly/models/dictionary_response_all_of.rb +0 -1
- data/lib/fastly/models/director_backend.rb +0 -2
- data/lib/fastly/models/director_response.rb +0 -2
- data/lib/fastly/models/domain_response.rb +0 -2
- data/lib/fastly/models/enabled_product.rb +234 -0
- data/lib/fastly/models/enabled_product_links.rb +225 -0
- data/lib/fastly/models/enabled_product_product.rb +225 -0
- data/lib/fastly/models/error_response.rb +218 -0
- data/lib/fastly/models/error_response_data.rb +225 -0
- data/lib/fastly/models/event.rb +0 -1
- data/lib/fastly/models/event_attributes.rb +13 -7
- data/lib/fastly/models/gzip_response.rb +0 -2
- data/lib/fastly/models/header_response.rb +0 -2
- data/lib/fastly/models/healthcheck.rb +17 -5
- data/lib/fastly/models/healthcheck_response.rb +17 -7
- data/lib/fastly/models/historical_usage_month_response_all_of_data.rb +0 -1
- data/lib/fastly/models/http3.rb +0 -2
- data/lib/fastly/models/http_response_format.rb +262 -0
- data/lib/fastly/models/http_stream_format.rb +228 -0
- data/lib/fastly/models/inline_object.rb +221 -0
- data/lib/fastly/models/inline_object1.rb +221 -0
- data/lib/fastly/models/inline_response2001.rb +10 -8
- data/lib/fastly/models/invitation_response_data.rb +0 -1
- data/lib/fastly/models/invitation_response_data_all_of.rb +0 -1
- data/lib/fastly/models/logging_azureblob.rb +3 -3
- data/lib/fastly/models/logging_azureblob_response.rb +3 -5
- data/lib/fastly/models/logging_bigquery.rb +14 -4
- data/lib/fastly/models/logging_bigquery_response.rb +14 -6
- data/lib/fastly/models/logging_cloudfiles.rb +3 -3
- data/lib/fastly/models/logging_cloudfiles_response.rb +3 -5
- data/lib/fastly/models/logging_common.rb +1 -1
- data/lib/fastly/models/logging_datadog.rb +1 -1
- data/lib/fastly/models/logging_datadog_response.rb +1 -3
- data/lib/fastly/models/logging_digitalocean.rb +3 -3
- data/lib/fastly/models/logging_digitalocean_response.rb +3 -5
- data/lib/fastly/models/logging_elasticsearch.rb +1 -1
- data/lib/fastly/models/logging_elasticsearch_response.rb +1 -3
- data/lib/fastly/models/logging_ftp.rb +3 -3
- data/lib/fastly/models/logging_ftp_response.rb +3 -5
- data/lib/fastly/models/logging_gcs.rb +30 -11
- data/lib/fastly/models/logging_gcs_all_of.rb +15 -6
- data/lib/fastly/models/logging_gcs_common.rb +16 -6
- data/lib/fastly/models/logging_gcs_response.rb +26 -9
- data/lib/fastly/models/logging_generic_common.rb +2 -2
- data/lib/fastly/models/logging_google_pubsub.rb +14 -4
- data/lib/fastly/models/logging_google_pubsub_response.rb +14 -6
- data/lib/fastly/models/logging_heroku.rb +1 -1
- data/lib/fastly/models/logging_heroku_response.rb +1 -3
- data/lib/fastly/models/logging_honeycomb.rb +1 -1
- data/lib/fastly/models/logging_honeycomb_response.rb +1 -3
- data/lib/fastly/models/logging_https.rb +1 -1
- data/lib/fastly/models/logging_https_response.rb +1 -3
- data/lib/fastly/models/logging_kafka.rb +1 -1
- data/lib/fastly/models/logging_kafka_response.rb +1 -3
- data/lib/fastly/models/logging_kinesis.rb +1 -36
- data/lib/fastly/models/logging_kinesis_response.rb +1 -38
- data/lib/fastly/models/logging_logentries.rb +1 -1
- data/lib/fastly/models/logging_logentries_response.rb +1 -3
- data/lib/fastly/models/logging_loggly.rb +1 -1
- data/lib/fastly/models/logging_loggly_response.rb +1 -3
- data/lib/fastly/models/logging_logshuttle.rb +1 -1
- data/lib/fastly/models/logging_logshuttle_response.rb +1 -3
- data/lib/fastly/models/logging_newrelic.rb +4 -3
- data/lib/fastly/models/logging_newrelic_all_of.rb +3 -2
- data/lib/fastly/models/logging_newrelic_response.rb +4 -5
- data/lib/fastly/models/logging_openstack.rb +3 -3
- data/lib/fastly/models/logging_openstack_response.rb +3 -5
- data/lib/fastly/models/logging_papertrail.rb +1 -1
- data/lib/fastly/models/logging_papertrail_response.rb +1 -3
- data/lib/fastly/models/logging_s3.rb +3 -3
- data/lib/fastly/models/logging_s3_response.rb +3 -5
- data/lib/fastly/models/logging_scalyr.rb +1 -1
- data/lib/fastly/models/logging_scalyr_response.rb +1 -3
- data/lib/fastly/models/logging_sftp.rb +6 -5
- data/lib/fastly/models/logging_sftp_all_of.rb +3 -2
- data/lib/fastly/models/logging_sftp_response.rb +6 -7
- data/lib/fastly/models/logging_splunk.rb +1 -1
- data/lib/fastly/models/logging_splunk_response.rb +1 -3
- data/lib/fastly/models/logging_sumologic.rb +1 -1
- data/lib/fastly/models/logging_sumologic_response.rb +1 -3
- data/lib/fastly/models/logging_syslog.rb +1 -1
- data/lib/fastly/models/logging_syslog_response.rb +1 -3
- data/lib/fastly/models/mutual_authentication.rb +216 -0
- data/lib/fastly/models/mutual_authentication_data.rb +236 -0
- data/lib/fastly/models/mutual_authentication_data_attributes.rb +237 -0
- data/lib/fastly/models/mutual_authentication_response.rb +216 -0
- data/lib/fastly/models/mutual_authentication_response_attributes.rb +258 -0
- data/lib/fastly/models/mutual_authentication_response_attributes_all_of.rb +217 -0
- data/lib/fastly/models/mutual_authentication_response_data.rb +253 -0
- data/lib/fastly/models/mutual_authentication_response_data_all_of.rb +225 -0
- data/lib/fastly/models/mutual_authentications_response.rb +244 -0
- data/lib/fastly/models/mutual_authentications_response_all_of.rb +218 -0
- data/lib/fastly/models/package_response.rb +0 -2
- data/lib/fastly/models/pool_response.rb +0 -3
- data/lib/fastly/models/pool_response_all_of.rb +0 -1
- data/lib/fastly/models/publish_item.rb +257 -0
- data/lib/fastly/models/publish_item_formats.rb +235 -0
- data/lib/fastly/models/publish_request.rb +225 -0
- data/lib/fastly/models/purge_response.rb +0 -1
- data/lib/fastly/models/rate_limiter_response.rb +0 -2
- data/lib/fastly/models/realtime.rb +0 -1
- data/lib/fastly/models/realtime_entry.rb +3 -2
- data/lib/fastly/models/realtime_measurements.rb +234 -4
- data/lib/fastly/models/relationship_common_name.rb +1 -1
- data/lib/fastly/models/relationship_member_customer.rb +0 -1
- data/lib/fastly/models/relationship_member_mutual_authentication.rb +227 -0
- data/lib/fastly/models/relationship_member_service.rb +0 -1
- data/lib/fastly/models/relationship_member_tls_activation.rb +0 -1
- data/lib/fastly/models/relationship_member_tls_bulk_certificate.rb +0 -1
- data/lib/fastly/models/relationship_member_tls_certificate.rb +0 -1
- data/lib/fastly/models/relationship_member_tls_configuration.rb +0 -1
- data/lib/fastly/models/relationship_member_tls_dns_record.rb +0 -1
- data/lib/fastly/models/relationship_member_tls_private_key.rb +0 -1
- data/lib/fastly/models/relationship_member_tls_subscription.rb +0 -1
- data/lib/fastly/models/relationship_member_waf_active_rule.rb +0 -1
- data/lib/fastly/models/relationship_member_waf_firewall.rb +0 -1
- data/lib/fastly/models/relationship_member_waf_rule.rb +0 -1
- data/lib/fastly/models/relationship_mutual_authentication.rb +216 -0
- data/lib/fastly/models/relationship_mutual_authentication_mutual_authentication.rb +216 -0
- data/lib/fastly/models/relationship_mutual_authentications.rb +216 -0
- data/lib/fastly/models/relationship_mutual_authentications_mutual_authentications.rb +218 -0
- data/lib/fastly/models/relationship_service.rb +1 -1
- data/lib/fastly/models/relationship_services.rb +1 -1
- data/lib/fastly/models/{relationship_service_service.rb → relationship_services_services.rb} +3 -3
- data/lib/fastly/models/relationship_tls_certificate_tls_certificate.rb +2 -4
- data/lib/fastly/models/relationship_tls_certificates.rb +1 -1
- data/lib/fastly/models/relationship_tls_certificates_tls_certificates.rb +218 -0
- data/lib/fastly/models/relationship_tls_configuration_tls_configuration.rb +2 -4
- data/lib/fastly/models/relationship_tls_configurations.rb +1 -1
- data/lib/fastly/models/relationship_tls_configurations_tls_configurations.rb +218 -0
- data/lib/fastly/models/relationship_tls_domain_tls_domain.rb +2 -4
- data/lib/fastly/models/relationship_tls_domains.rb +1 -1
- data/lib/fastly/models/relationship_tls_domains_tls_domains.rb +218 -0
- data/lib/fastly/models/relationship_tls_private_key_tls_private_key.rb +2 -4
- data/lib/fastly/models/relationship_tls_private_keys.rb +1 -1
- data/lib/fastly/models/relationship_tls_private_keys_tls_private_keys.rb +218 -0
- data/lib/fastly/models/relationship_user_user.rb +1 -1
- data/lib/fastly/models/relationships_for_mutual_authentication.rb +235 -0
- data/lib/fastly/models/relationships_for_star.rb +1 -1
- data/lib/fastly/models/relationships_for_tls_bulk_certificate.rb +2 -2
- data/lib/fastly/models/relationships_for_tls_configuration.rb +1 -1
- data/lib/fastly/models/relationships_for_tls_csr.rb +235 -0
- data/lib/fastly/models/relationships_for_tls_private_key.rb +1 -1
- data/lib/fastly/models/relationships_for_tls_subscription.rb +2 -2
- data/lib/fastly/models/request_settings_response.rb +0 -2
- data/lib/fastly/models/response_object_response.rb +0 -2
- data/lib/fastly/models/results.rb +235 -5
- data/lib/fastly/models/schemas_contact_response.rb +0 -1
- data/lib/fastly/models/schemas_snippet_response.rb +0 -3
- data/lib/fastly/models/schemas_user_response.rb +0 -3
- data/lib/fastly/models/schemas_vcl_response.rb +0 -2
- data/lib/fastly/models/schemas_version_response.rb +0 -1
- data/lib/fastly/models/server_response.rb +0 -3
- data/lib/fastly/models/server_response_all_of.rb +0 -3
- data/lib/fastly/models/service.rb +1 -1
- data/lib/fastly/models/service_authorization_data.rb +1 -2
- data/lib/fastly/models/service_authorization_data_relationships.rb +225 -0
- data/lib/fastly/models/service_authorization_data_relationships_user.rb +217 -0
- data/lib/fastly/models/{relationship_user_user_data.rb → service_authorization_data_relationships_user_data.rb} +3 -4
- data/lib/fastly/models/service_authorization_response_data.rb +1 -3
- data/lib/fastly/models/service_authorization_response_data_all_of.rb +0 -1
- data/lib/fastly/models/service_create.rb +1 -1
- data/lib/fastly/models/service_detail.rb +2 -2
- data/lib/fastly/models/service_detail_all_of.rb +1 -0
- data/lib/fastly/models/service_id_and_version.rb +0 -2
- data/lib/fastly/models/service_invitation_data.rb +1 -3
- data/lib/fastly/models/service_invitation_data_relationships.rb +217 -0
- data/lib/fastly/models/service_invitation_response_all_of_data.rb +0 -1
- data/lib/fastly/models/service_list_response.rb +1 -2
- data/lib/fastly/models/service_list_response_all_of.rb +0 -1
- data/lib/fastly/models/service_response.rb +1 -2
- data/lib/fastly/models/service_response_all_of.rb +0 -1
- data/lib/fastly/models/service_version_detail.rb +1 -4
- data/lib/fastly/models/service_version_detail_or_null.rb +5 -20
- data/lib/fastly/models/settings_response.rb +0 -2
- data/lib/fastly/models/snippet_response.rb +0 -3
- data/lib/fastly/models/snippet_response_all_of.rb +0 -1
- data/lib/fastly/models/tls_activation_response_data.rb +0 -1
- data/lib/fastly/models/tls_activation_response_data_all_of.rb +0 -1
- data/lib/fastly/models/tls_bulk_certificate_response_data.rb +0 -1
- data/lib/fastly/models/tls_bulk_certificate_response_data_all_of.rb +0 -1
- data/lib/fastly/models/tls_certificate_response_data.rb +0 -1
- data/lib/fastly/models/tls_certificate_response_data_all_of.rb +0 -1
- data/lib/fastly/models/tls_configuration_response_data.rb +0 -1
- data/lib/fastly/models/tls_configuration_response_data_all_of.rb +0 -1
- data/lib/fastly/models/tls_csr.rb +216 -0
- data/lib/fastly/models/tls_csr_data.rb +236 -0
- data/lib/fastly/models/tls_csr_data_attributes.rb +314 -0
- data/lib/fastly/models/tls_csr_response.rb +216 -0
- data/lib/fastly/models/tls_csr_response_attributes.rb +217 -0
- data/lib/fastly/models/tls_csr_response_data.rb +245 -0
- data/lib/fastly/models/tls_private_key_response_data.rb +0 -1
- data/lib/fastly/models/tls_subscription_response_data.rb +0 -1
- data/lib/fastly/models/tls_subscription_response_data_all_of.rb +0 -1
- data/lib/fastly/models/token_created_response.rb +0 -2
- data/lib/fastly/models/token_response.rb +0 -2
- data/lib/fastly/models/token_response_all_of.rb +0 -2
- data/lib/fastly/models/type_mutual_authentication.rb +34 -0
- data/lib/fastly/models/type_tls_csr.rb +34 -0
- data/lib/fastly/models/update_billing_address_request.rb +11 -1
- data/lib/fastly/models/user.rb +0 -1
- data/lib/fastly/models/user_response.rb +0 -3
- data/lib/fastly/models/user_response_all_of.rb +0 -2
- data/lib/fastly/models/validator_result.rb +294 -0
- data/lib/fastly/models/validator_result_messages.rb +265 -0
- data/lib/fastly/models/vcl_response.rb +0 -2
- data/lib/fastly/models/version_create_response.rb +0 -2
- data/lib/fastly/models/version_detail.rb +1 -3
- data/lib/fastly/models/version_detail_settings.rb +252 -0
- data/lib/fastly/models/version_response.rb +0 -1
- data/lib/fastly/models/version_response_all_of.rb +0 -1
- data/lib/fastly/models/waf_active_rule_response_data.rb +0 -1
- data/lib/fastly/models/waf_active_rule_response_data_all_of.rb +0 -1
- data/lib/fastly/models/waf_firewall_data_attributes.rb +0 -1
- data/lib/fastly/models/waf_firewall_response_data.rb +0 -1
- data/lib/fastly/models/waf_firewall_response_data_all_of.rb +0 -1
- data/lib/fastly/models/waf_firewall_response_data_attributes.rb +0 -1
- data/lib/fastly/models/waf_firewall_response_data_attributes_all_of.rb +0 -1
- data/lib/fastly/models/waf_firewall_version_data_attributes.rb +1 -2
- data/lib/fastly/models/waf_rule.rb +0 -1
- data/lib/fastly/models/waf_rule_response_data.rb +0 -1
- data/lib/fastly/models/waf_tag_attributes.rb +0 -1
- data/lib/fastly/models/ws_message_format.rb +228 -0
- data/lib/fastly/version.rb +1 -1
- data/lib/fastly.rb +65 -5
- data/pkg/fastly-4.0.0.gem +0 -0
- data/sig.json +1 -0
- metadata +137 -15
- data/docs/ContentApi.md +0 -52
- data/docs/DocsApi.md +0 -123
- data/docs/DomainOwnershipsApi.md +0 -47
- data/lib/fastly/api/content_api.rb +0 -79
- data/lib/fastly/api/docs_api.rb +0 -210
data/docs/HeaderApi.md
CHANGED
@@ -40,7 +40,7 @@ opts = {
|
|
40
40
|
priority: 56, # Integer | Priority determines execution order. Lower numbers execute first.
|
41
41
|
regex: 'regex_example', # String | Regular expression to use. Only applies to `regex` and `regex_repeat` actions.
|
42
42
|
request_condition: 'request_condition_example', # String | Condition which, if met, will select this configuration during a request. Optional.
|
43
|
-
response_condition:
|
43
|
+
response_condition: 'response_condition_example', # String | Optional name of a response condition to apply.
|
44
44
|
src: 'src_example', # String | Variable to be used as a source for the header content. Does not apply to `delete` action.
|
45
45
|
substitution: 'substitution_example', # String | Value to substitute in place of regular expression. Only applies to `regex` and `regex_repeat` actions.
|
46
46
|
type: 'request', # String | Accepts a string value.
|
@@ -69,7 +69,7 @@ end
|
|
69
69
|
| **priority** | **Integer** | Priority determines execution order. Lower numbers execute first. | [optional][default to 100] |
|
70
70
|
| **regex** | **String** | Regular expression to use. Only applies to `regex` and `regex_repeat` actions. | [optional] |
|
71
71
|
| **request_condition** | **String** | Condition which, if met, will select this configuration during a request. Optional. | [optional] |
|
72
|
-
| **response_condition** |
|
72
|
+
| **response_condition** | **String** | Optional name of a response condition to apply. | [optional] |
|
73
73
|
| **src** | **String** | Variable to be used as a source for the header content. Does not apply to `delete` action. | [optional] |
|
74
74
|
| **substitution** | **String** | Value to substitute in place of regular expression. Only applies to `regex` and `regex_repeat` actions. | [optional] |
|
75
75
|
| **type** | **String** | Accepts a string value. | [optional] |
|
@@ -225,7 +225,7 @@ opts = {
|
|
225
225
|
priority: 56, # Integer | Priority determines execution order. Lower numbers execute first.
|
226
226
|
regex: 'regex_example', # String | Regular expression to use. Only applies to `regex` and `regex_repeat` actions.
|
227
227
|
request_condition: 'request_condition_example', # String | Condition which, if met, will select this configuration during a request. Optional.
|
228
|
-
response_condition:
|
228
|
+
response_condition: 'response_condition_example', # String | Optional name of a response condition to apply.
|
229
229
|
src: 'src_example', # String | Variable to be used as a source for the header content. Does not apply to `delete` action.
|
230
230
|
substitution: 'substitution_example', # String | Value to substitute in place of regular expression. Only applies to `regex` and `regex_repeat` actions.
|
231
231
|
type: 'request', # String | Accepts a string value.
|
@@ -255,7 +255,7 @@ end
|
|
255
255
|
| **priority** | **Integer** | Priority determines execution order. Lower numbers execute first. | [optional][default to 100] |
|
256
256
|
| **regex** | **String** | Regular expression to use. Only applies to `regex` and `regex_repeat` actions. | [optional] |
|
257
257
|
| **request_condition** | **String** | Condition which, if met, will select this configuration during a request. Optional. | [optional] |
|
258
|
-
| **response_condition** |
|
258
|
+
| **response_condition** | **String** | Optional name of a response condition to apply. | [optional] |
|
259
259
|
| **src** | **String** | Variable to be used as a source for the header content. Does not apply to `delete` action. | [optional] |
|
260
260
|
| **substitution** | **String** | Value to substitute in place of regular expression. Only applies to `regex` and `regex_repeat` actions. | [optional] |
|
261
261
|
| **type** | **String** | Accepts a string value. | [optional] |
|
data/docs/Healthcheck.md
CHANGED
@@ -4,18 +4,19 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **check_interval** | **Integer** | How often to run the
|
7
|
+
| **check_interval** | **Integer** | How often to run the health check in milliseconds. | [optional] |
|
8
8
|
| **comment** | **String** | A freeform descriptive note. | [optional] |
|
9
9
|
| **expected_response** | **Integer** | The status code expected from the host. | [optional] |
|
10
|
+
| **headers** | **Array<String>** | Array of custom headers that will be added to the health check probes. | [optional] |
|
10
11
|
| **host** | **String** | Which host to check. | [optional] |
|
11
12
|
| **http_version** | **String** | Whether to use version 1.0 or 1.1 HTTP. | [optional] |
|
12
13
|
| **initial** | **Integer** | When loading a config, the initial number of probes to be seen as OK. | [optional] |
|
13
14
|
| **method** | **String** | Which HTTP method to use. | [optional] |
|
14
|
-
| **name** | **String** | The name of the
|
15
|
+
| **name** | **String** | The name of the health check. | [optional] |
|
15
16
|
| **path** | **String** | The path to check. | [optional] |
|
16
|
-
| **threshold** | **Integer** | How many
|
17
|
+
| **threshold** | **Integer** | How many health checks must succeed to be considered healthy. | [optional] |
|
17
18
|
| **timeout** | **Integer** | Timeout in milliseconds. | [optional] |
|
18
|
-
| **window** | **Integer** | The number of most recent
|
19
|
+
| **window** | **Integer** | The number of most recent health check queries to keep for this health check. | [optional] |
|
19
20
|
|
20
21
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
21
22
|
|
data/docs/HealthcheckApi.md
CHANGED
@@ -10,20 +10,20 @@ api_instance = Fastly::HealthcheckApi.new
|
|
10
10
|
|
11
11
|
| Method | HTTP request | Description |
|
12
12
|
| ------ | ------------ | ----------- |
|
13
|
-
| [**create_healthcheck**](HealthcheckApi.md#create_healthcheck) | **POST** /service/{service_id}/version/{version_id}/healthcheck | Create a
|
14
|
-
| [**delete_healthcheck**](HealthcheckApi.md#delete_healthcheck) | **DELETE** /service/{service_id}/version/{version_id}/healthcheck/{healthcheck_name} | Delete a
|
15
|
-
| [**get_healthcheck**](HealthcheckApi.md#get_healthcheck) | **GET** /service/{service_id}/version/{version_id}/healthcheck/{healthcheck_name} | Get a
|
16
|
-
| [**list_healthchecks**](HealthcheckApi.md#list_healthchecks) | **GET** /service/{service_id}/version/{version_id}/healthcheck | List
|
17
|
-
| [**update_healthcheck**](HealthcheckApi.md#update_healthcheck) | **PUT** /service/{service_id}/version/{version_id}/healthcheck/{healthcheck_name} | Update a
|
13
|
+
| [**create_healthcheck**](HealthcheckApi.md#create_healthcheck) | **POST** /service/{service_id}/version/{version_id}/healthcheck | Create a health check |
|
14
|
+
| [**delete_healthcheck**](HealthcheckApi.md#delete_healthcheck) | **DELETE** /service/{service_id}/version/{version_id}/healthcheck/{healthcheck_name} | Delete a health check |
|
15
|
+
| [**get_healthcheck**](HealthcheckApi.md#get_healthcheck) | **GET** /service/{service_id}/version/{version_id}/healthcheck/{healthcheck_name} | Get a health check |
|
16
|
+
| [**list_healthchecks**](HealthcheckApi.md#list_healthchecks) | **GET** /service/{service_id}/version/{version_id}/healthcheck | List health checks |
|
17
|
+
| [**update_healthcheck**](HealthcheckApi.md#update_healthcheck) | **PUT** /service/{service_id}/version/{version_id}/healthcheck/{healthcheck_name} | Update a health check |
|
18
18
|
|
19
19
|
|
20
20
|
## `create_healthcheck()`
|
21
21
|
|
22
22
|
```ruby
|
23
|
-
create_healthcheck(opts): <HealthcheckResponse> # Create a
|
23
|
+
create_healthcheck(opts): <HealthcheckResponse> # Create a health check
|
24
24
|
```
|
25
25
|
|
26
|
-
Create a
|
26
|
+
Create a health check for a particular service and version.
|
27
27
|
|
28
28
|
### Examples
|
29
29
|
|
@@ -32,22 +32,23 @@ api_instance = Fastly::HealthcheckApi.new
|
|
32
32
|
opts = {
|
33
33
|
service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
|
34
34
|
version_id: 56, # Integer | Integer identifying a service version.
|
35
|
-
check_interval: 56, # Integer | How often to run the
|
35
|
+
check_interval: 56, # Integer | How often to run the health check in milliseconds.
|
36
36
|
comment: 'comment_example', # String | A freeform descriptive note.
|
37
37
|
expected_response: 56, # Integer | The status code expected from the host.
|
38
|
+
headers: ['inner_example'], # Array<String> | Array of custom headers that will be added to the health check probes.
|
38
39
|
host: 'host_example', # String | Which host to check.
|
39
40
|
http_version: 'http_version_example', # String | Whether to use version 1.0 or 1.1 HTTP.
|
40
41
|
initial: 56, # Integer | When loading a config, the initial number of probes to be seen as OK.
|
41
42
|
method: 'method_example', # String | Which HTTP method to use.
|
42
|
-
name: 'name_example', # String | The name of the
|
43
|
+
name: 'name_example', # String | The name of the health check.
|
43
44
|
path: 'path_example', # String | The path to check.
|
44
|
-
threshold: 56, # Integer | How many
|
45
|
+
threshold: 56, # Integer | How many health checks must succeed to be considered healthy.
|
45
46
|
timeout: 56, # Integer | Timeout in milliseconds.
|
46
|
-
window: 56, # Integer | The number of most recent
|
47
|
+
window: 56, # Integer | The number of most recent health check queries to keep for this health check.
|
47
48
|
}
|
48
49
|
|
49
50
|
begin
|
50
|
-
# Create a
|
51
|
+
# Create a health check
|
51
52
|
result = api_instance.create_healthcheck(opts)
|
52
53
|
p result
|
53
54
|
rescue Fastly::ApiError => e
|
@@ -61,18 +62,19 @@ end
|
|
61
62
|
| ---- | ---- | ----------- | ----- |
|
62
63
|
| **service_id** | **String** | Alphanumeric string identifying the service. | |
|
63
64
|
| **version_id** | **Integer** | Integer identifying a service version. | |
|
64
|
-
| **check_interval** | **Integer** | How often to run the
|
65
|
+
| **check_interval** | **Integer** | How often to run the health check in milliseconds. | [optional] |
|
65
66
|
| **comment** | **String** | A freeform descriptive note. | [optional] |
|
66
67
|
| **expected_response** | **Integer** | The status code expected from the host. | [optional] |
|
68
|
+
| **headers** | [**Array<String>**](String.md) | Array of custom headers that will be added to the health check probes. | [optional] |
|
67
69
|
| **host** | **String** | Which host to check. | [optional] |
|
68
70
|
| **http_version** | **String** | Whether to use version 1.0 or 1.1 HTTP. | [optional] |
|
69
71
|
| **initial** | **Integer** | When loading a config, the initial number of probes to be seen as OK. | [optional] |
|
70
72
|
| **method** | **String** | Which HTTP method to use. | [optional] |
|
71
|
-
| **name** | **String** | The name of the
|
73
|
+
| **name** | **String** | The name of the health check. | [optional] |
|
72
74
|
| **path** | **String** | The path to check. | [optional] |
|
73
|
-
| **threshold** | **Integer** | How many
|
75
|
+
| **threshold** | **Integer** | How many health checks must succeed to be considered healthy. | [optional] |
|
74
76
|
| **timeout** | **Integer** | Timeout in milliseconds. | [optional] |
|
75
|
-
| **window** | **Integer** | The number of most recent
|
77
|
+
| **window** | **Integer** | The number of most recent health check queries to keep for this health check. | [optional] |
|
76
78
|
|
77
79
|
### Return type
|
78
80
|
|
@@ -83,10 +85,10 @@ end
|
|
83
85
|
## `delete_healthcheck()`
|
84
86
|
|
85
87
|
```ruby
|
86
|
-
delete_healthcheck(opts): <InlineResponse200> # Delete a
|
88
|
+
delete_healthcheck(opts): <InlineResponse200> # Delete a health check
|
87
89
|
```
|
88
90
|
|
89
|
-
Delete the
|
91
|
+
Delete the health check for a particular service and version.
|
90
92
|
|
91
93
|
### Examples
|
92
94
|
|
@@ -95,11 +97,11 @@ api_instance = Fastly::HealthcheckApi.new
|
|
95
97
|
opts = {
|
96
98
|
service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
|
97
99
|
version_id: 56, # Integer | Integer identifying a service version.
|
98
|
-
healthcheck_name: 'healthcheck_name_example', # String | The name of the
|
100
|
+
healthcheck_name: 'healthcheck_name_example', # String | The name of the health check.
|
99
101
|
}
|
100
102
|
|
101
103
|
begin
|
102
|
-
# Delete a
|
104
|
+
# Delete a health check
|
103
105
|
result = api_instance.delete_healthcheck(opts)
|
104
106
|
p result
|
105
107
|
rescue Fastly::ApiError => e
|
@@ -113,7 +115,7 @@ end
|
|
113
115
|
| ---- | ---- | ----------- | ----- |
|
114
116
|
| **service_id** | **String** | Alphanumeric string identifying the service. | |
|
115
117
|
| **version_id** | **Integer** | Integer identifying a service version. | |
|
116
|
-
| **healthcheck_name** | **String** | The name of the
|
118
|
+
| **healthcheck_name** | **String** | The name of the health check. | |
|
117
119
|
|
118
120
|
### Return type
|
119
121
|
|
@@ -124,10 +126,10 @@ end
|
|
124
126
|
## `get_healthcheck()`
|
125
127
|
|
126
128
|
```ruby
|
127
|
-
get_healthcheck(opts): <HealthcheckResponse> # Get a
|
129
|
+
get_healthcheck(opts): <HealthcheckResponse> # Get a health check
|
128
130
|
```
|
129
131
|
|
130
|
-
Get the
|
132
|
+
Get the health check for a particular service and version.
|
131
133
|
|
132
134
|
### Examples
|
133
135
|
|
@@ -136,11 +138,11 @@ api_instance = Fastly::HealthcheckApi.new
|
|
136
138
|
opts = {
|
137
139
|
service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
|
138
140
|
version_id: 56, # Integer | Integer identifying a service version.
|
139
|
-
healthcheck_name: 'healthcheck_name_example', # String | The name of the
|
141
|
+
healthcheck_name: 'healthcheck_name_example', # String | The name of the health check.
|
140
142
|
}
|
141
143
|
|
142
144
|
begin
|
143
|
-
# Get a
|
145
|
+
# Get a health check
|
144
146
|
result = api_instance.get_healthcheck(opts)
|
145
147
|
p result
|
146
148
|
rescue Fastly::ApiError => e
|
@@ -154,7 +156,7 @@ end
|
|
154
156
|
| ---- | ---- | ----------- | ----- |
|
155
157
|
| **service_id** | **String** | Alphanumeric string identifying the service. | |
|
156
158
|
| **version_id** | **Integer** | Integer identifying a service version. | |
|
157
|
-
| **healthcheck_name** | **String** | The name of the
|
159
|
+
| **healthcheck_name** | **String** | The name of the health check. | |
|
158
160
|
|
159
161
|
### Return type
|
160
162
|
|
@@ -165,10 +167,10 @@ end
|
|
165
167
|
## `list_healthchecks()`
|
166
168
|
|
167
169
|
```ruby
|
168
|
-
list_healthchecks(opts): <Array<HealthcheckResponse>> # List
|
170
|
+
list_healthchecks(opts): <Array<HealthcheckResponse>> # List health checks
|
169
171
|
```
|
170
172
|
|
171
|
-
List all of the
|
173
|
+
List all of the health checks for a particular service and version.
|
172
174
|
|
173
175
|
### Examples
|
174
176
|
|
@@ -180,7 +182,7 @@ opts = {
|
|
180
182
|
}
|
181
183
|
|
182
184
|
begin
|
183
|
-
# List
|
185
|
+
# List health checks
|
184
186
|
result = api_instance.list_healthchecks(opts)
|
185
187
|
p result
|
186
188
|
rescue Fastly::ApiError => e
|
@@ -204,10 +206,10 @@ end
|
|
204
206
|
## `update_healthcheck()`
|
205
207
|
|
206
208
|
```ruby
|
207
|
-
update_healthcheck(opts): <HealthcheckResponse> # Update a
|
209
|
+
update_healthcheck(opts): <HealthcheckResponse> # Update a health check
|
208
210
|
```
|
209
211
|
|
210
|
-
Update the
|
212
|
+
Update the health check for a particular service and version.
|
211
213
|
|
212
214
|
### Examples
|
213
215
|
|
@@ -216,23 +218,24 @@ api_instance = Fastly::HealthcheckApi.new
|
|
216
218
|
opts = {
|
217
219
|
service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
|
218
220
|
version_id: 56, # Integer | Integer identifying a service version.
|
219
|
-
healthcheck_name: 'healthcheck_name_example', # String | The name of the
|
220
|
-
check_interval: 56, # Integer | How often to run the
|
221
|
+
healthcheck_name: 'healthcheck_name_example', # String | The name of the health check.
|
222
|
+
check_interval: 56, # Integer | How often to run the health check in milliseconds.
|
221
223
|
comment: 'comment_example', # String | A freeform descriptive note.
|
222
224
|
expected_response: 56, # Integer | The status code expected from the host.
|
225
|
+
headers: ['inner_example'], # Array<String> | Array of custom headers that will be added to the health check probes.
|
223
226
|
host: 'host_example', # String | Which host to check.
|
224
227
|
http_version: 'http_version_example', # String | Whether to use version 1.0 or 1.1 HTTP.
|
225
228
|
initial: 56, # Integer | When loading a config, the initial number of probes to be seen as OK.
|
226
229
|
method: 'method_example', # String | Which HTTP method to use.
|
227
|
-
name: 'name_example', # String | The name of the
|
230
|
+
name: 'name_example', # String | The name of the health check.
|
228
231
|
path: 'path_example', # String | The path to check.
|
229
|
-
threshold: 56, # Integer | How many
|
232
|
+
threshold: 56, # Integer | How many health checks must succeed to be considered healthy.
|
230
233
|
timeout: 56, # Integer | Timeout in milliseconds.
|
231
|
-
window: 56, # Integer | The number of most recent
|
234
|
+
window: 56, # Integer | The number of most recent health check queries to keep for this health check.
|
232
235
|
}
|
233
236
|
|
234
237
|
begin
|
235
|
-
# Update a
|
238
|
+
# Update a health check
|
236
239
|
result = api_instance.update_healthcheck(opts)
|
237
240
|
p result
|
238
241
|
rescue Fastly::ApiError => e
|
@@ -246,19 +249,20 @@ end
|
|
246
249
|
| ---- | ---- | ----------- | ----- |
|
247
250
|
| **service_id** | **String** | Alphanumeric string identifying the service. | |
|
248
251
|
| **version_id** | **Integer** | Integer identifying a service version. | |
|
249
|
-
| **healthcheck_name** | **String** | The name of the
|
250
|
-
| **check_interval** | **Integer** | How often to run the
|
252
|
+
| **healthcheck_name** | **String** | The name of the health check. | |
|
253
|
+
| **check_interval** | **Integer** | How often to run the health check in milliseconds. | [optional] |
|
251
254
|
| **comment** | **String** | A freeform descriptive note. | [optional] |
|
252
255
|
| **expected_response** | **Integer** | The status code expected from the host. | [optional] |
|
256
|
+
| **headers** | [**Array<String>**](String.md) | Array of custom headers that will be added to the health check probes. | [optional] |
|
253
257
|
| **host** | **String** | Which host to check. | [optional] |
|
254
258
|
| **http_version** | **String** | Whether to use version 1.0 or 1.1 HTTP. | [optional] |
|
255
259
|
| **initial** | **Integer** | When loading a config, the initial number of probes to be seen as OK. | [optional] |
|
256
260
|
| **method** | **String** | Which HTTP method to use. | [optional] |
|
257
|
-
| **name** | **String** | The name of the
|
261
|
+
| **name** | **String** | The name of the health check. | [optional] |
|
258
262
|
| **path** | **String** | The path to check. | [optional] |
|
259
|
-
| **threshold** | **Integer** | How many
|
263
|
+
| **threshold** | **Integer** | How many health checks must succeed to be considered healthy. | [optional] |
|
260
264
|
| **timeout** | **Integer** | Timeout in milliseconds. | [optional] |
|
261
|
-
| **window** | **Integer** | The number of most recent
|
265
|
+
| **window** | **Integer** | The number of most recent health check queries to keep for this health check. | [optional] |
|
262
266
|
|
263
267
|
### Return type
|
264
268
|
|
data/docs/HealthcheckResponse.md
CHANGED
@@ -4,18 +4,19 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **check_interval** | **Integer** | How often to run the
|
7
|
+
| **check_interval** | **Integer** | How often to run the health check in milliseconds. | [optional] |
|
8
8
|
| **comment** | **String** | A freeform descriptive note. | [optional] |
|
9
9
|
| **expected_response** | **Integer** | The status code expected from the host. | [optional] |
|
10
|
+
| **headers** | **Array<String>** | Array of custom headers that will be added to the health check probes. | [optional] |
|
10
11
|
| **host** | **String** | Which host to check. | [optional] |
|
11
12
|
| **http_version** | **String** | Whether to use version 1.0 or 1.1 HTTP. | [optional] |
|
12
13
|
| **initial** | **Integer** | When loading a config, the initial number of probes to be seen as OK. | [optional] |
|
13
14
|
| **method** | **String** | Which HTTP method to use. | [optional] |
|
14
|
-
| **name** | **String** | The name of the
|
15
|
+
| **name** | **String** | The name of the health check. | [optional] |
|
15
16
|
| **path** | **String** | The path to check. | [optional] |
|
16
|
-
| **threshold** | **Integer** | How many
|
17
|
+
| **threshold** | **Integer** | How many health checks must succeed to be considered healthy. | [optional] |
|
17
18
|
| **timeout** | **Integer** | Timeout in milliseconds. | [optional] |
|
18
|
-
| **window** | **Integer** | The number of most recent
|
19
|
+
| **window** | **Integer** | The number of most recent health check queries to keep for this health check. | [optional] |
|
19
20
|
| **service_id** | **String** | | [optional][readonly] |
|
20
21
|
| **version** | **Integer** | | [optional][readonly] |
|
21
22
|
| **created_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
|
data/docs/Http3Api.md
CHANGED
@@ -30,8 +30,8 @@ api_instance = Fastly::Http3Api.new
|
|
30
30
|
opts = {
|
31
31
|
service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
|
32
32
|
version_id: 56, # Integer | Integer identifying a service version.
|
33
|
-
service_id:
|
34
|
-
version:
|
33
|
+
service_id: 'service_id_example', # String |
|
34
|
+
version: 56, # Integer |
|
35
35
|
created_at: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Date and time in ISO 8601 format.
|
36
36
|
deleted_at: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Date and time in ISO 8601 format.
|
37
37
|
updated_at: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Date and time in ISO 8601 format.
|
@@ -53,8 +53,8 @@ end
|
|
53
53
|
| ---- | ---- | ----------- | ----- |
|
54
54
|
| **service_id** | **String** | Alphanumeric string identifying the service. | |
|
55
55
|
| **version_id** | **Integer** | Integer identifying a service version. | |
|
56
|
-
| **service_id** |
|
57
|
-
| **version** |
|
56
|
+
| **service_id** | **String** | | [optional] |
|
57
|
+
| **version** | **Integer** | | [optional] |
|
58
58
|
| **created_at** | **Time** | Date and time in ISO 8601 format. | [optional] |
|
59
59
|
| **deleted_at** | **Time** | Date and time in ISO 8601 format. | [optional] |
|
60
60
|
| **updated_at** | **Time** | Date and time in ISO 8601 format. | [optional] |
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# Fastly::HttpResponseFormat
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **code** | **Integer** | The HTTP status code. | [optional][default to 200] |
|
8
|
+
| **reason** | **String** | The HTTP status string. Defaults to a string appropriate for `code`. | [optional] |
|
9
|
+
| **headers** | **Hash<String, String>** | A map of arbitrary HTTP response headers to include in the response. | [optional] |
|
10
|
+
| **body** | **String** | The response body as a string. | [optional] |
|
11
|
+
| **body_bin** | **String** | The response body as a base64-encoded binary blob. | [optional] |
|
12
|
+
|
13
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
14
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Fastly::HttpStreamFormat
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **content** | **String** | A fragment of body data as a string. | [optional] |
|
8
|
+
| **content_bin** | **String** | A fragment of body data as a base64-encoded binary blob. | [optional] |
|
9
|
+
|
10
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
11
|
+
|
data/docs/InlineResponse2001.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **
|
7
|
+
| **data** | **Array<String>** | The service IDs of the services the token will have access to. Separate service IDs with a space. | [optional] |
|
8
8
|
|
9
9
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
10
10
|
|
data/docs/LoggingAzureblob.md
CHANGED
@@ -6,14 +6,14 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **name** | **String** | The name for the real-time logging configuration. | [optional] |
|
8
8
|
| **placement** | **String** | Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`. | [optional] |
|
9
|
-
| **format_version** | **Integer** | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
|
9
|
+
| **format_version** | **Integer** | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. | [optional][default to FORMAT_VERSION::v2] |
|
10
10
|
| **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] |
|
11
11
|
| **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional][default to '%h %l %u %t \"%r\" %&gt;s %b'] |
|
12
12
|
| **message_type** | **String** | How the message should be formatted. | [optional][default to 'classic'] |
|
13
13
|
| **timestamp_format** | **String** | A timestamp format | [optional][readonly] |
|
14
14
|
| **period** | **Integer** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional][default to 3600] |
|
15
|
-
| **gzip_level** | **Integer** |
|
16
|
-
| **compression_codec** | **String** | The codec used for
|
15
|
+
| **gzip_level** | **Integer** | The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error. | [optional][default to 0] |
|
16
|
+
| **compression_codec** | **String** | The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error. | [optional] |
|
17
17
|
| **path** | **String** | The path to upload logs to. | [optional][default to 'null'] |
|
18
18
|
| **account_name** | **String** | The unique Azure Blob Storage namespace in which your data objects are stored. Required. | [optional] |
|
19
19
|
| **container** | **String** | The name of the Azure Blob Storage container in which to store logs. Required. | [optional] |
|
data/docs/LoggingAzureblobApi.md
CHANGED
@@ -34,14 +34,14 @@ opts = {
|
|
34
34
|
version_id: 56, # Integer | Integer identifying a service version.
|
35
35
|
name: 'name_example', # String | The name for the real-time logging configuration.
|
36
36
|
placement: 'none', # String | Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
|
37
|
-
format_version: 1, # Integer | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
|
37
|
+
format_version: 1, # Integer | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
|
38
38
|
response_condition: 'response_condition_example', # String | The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
39
39
|
format: 'format_example', # String | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
|
40
40
|
message_type: 'classic', # String | How the message should be formatted.
|
41
41
|
timestamp_format: 'timestamp_format_example', # String | A timestamp format
|
42
42
|
period: 56, # Integer | How frequently log files are finalized so they can be available for reading (in seconds).
|
43
|
-
gzip_level: 56, # Integer |
|
44
|
-
compression_codec: 'zstd', # String | The codec used for
|
43
|
+
gzip_level: 56, # Integer | The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
|
44
|
+
compression_codec: 'zstd', # String | The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
|
45
45
|
path: 'path_example', # String | The path to upload logs to.
|
46
46
|
account_name: 'account_name_example', # String | The unique Azure Blob Storage namespace in which your data objects are stored. Required.
|
47
47
|
container: 'container_example', # String | The name of the Azure Blob Storage container in which to store logs. Required.
|
@@ -67,14 +67,14 @@ end
|
|
67
67
|
| **version_id** | **Integer** | Integer identifying a service version. | |
|
68
68
|
| **name** | **String** | The name for the real-time logging configuration. | [optional] |
|
69
69
|
| **placement** | **String** | Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`. | [optional] |
|
70
|
-
| **format_version** | **Integer** | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
|
70
|
+
| **format_version** | **Integer** | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. | [optional][default to 2] |
|
71
71
|
| **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] |
|
72
72
|
| **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional][default to '%h %l %u %t \"%r\" %&gt;s %b'] |
|
73
73
|
| **message_type** | **String** | How the message should be formatted. | [optional][default to 'classic'] |
|
74
74
|
| **timestamp_format** | **String** | A timestamp format | [optional] |
|
75
75
|
| **period** | **Integer** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional][default to 3600] |
|
76
|
-
| **gzip_level** | **Integer** |
|
77
|
-
| **compression_codec** | **String** | The codec used for
|
76
|
+
| **gzip_level** | **Integer** | The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error. | [optional][default to 0] |
|
77
|
+
| **compression_codec** | **String** | The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error. | [optional] |
|
78
78
|
| **path** | **String** | The path to upload logs to. | [optional][default to 'null'] |
|
79
79
|
| **account_name** | **String** | The unique Azure Blob Storage namespace in which your data objects are stored. Required. | [optional] |
|
80
80
|
| **container** | **String** | The name of the Azure Blob Storage container in which to store logs. Required. | [optional] |
|
@@ -227,14 +227,14 @@ opts = {
|
|
227
227
|
logging_azureblob_name: 'logging_azureblob_name_example', # String | The name for the real-time logging configuration.
|
228
228
|
name: 'name_example', # String | The name for the real-time logging configuration.
|
229
229
|
placement: 'none', # String | Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
|
230
|
-
format_version: 1, # Integer | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
|
230
|
+
format_version: 1, # Integer | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
|
231
231
|
response_condition: 'response_condition_example', # String | The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
232
232
|
format: 'format_example', # String | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
|
233
233
|
message_type: 'classic', # String | How the message should be formatted.
|
234
234
|
timestamp_format: 'timestamp_format_example', # String | A timestamp format
|
235
235
|
period: 56, # Integer | How frequently log files are finalized so they can be available for reading (in seconds).
|
236
|
-
gzip_level: 56, # Integer |
|
237
|
-
compression_codec: 'zstd', # String | The codec used for
|
236
|
+
gzip_level: 56, # Integer | The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
|
237
|
+
compression_codec: 'zstd', # String | The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
|
238
238
|
path: 'path_example', # String | The path to upload logs to.
|
239
239
|
account_name: 'account_name_example', # String | The unique Azure Blob Storage namespace in which your data objects are stored. Required.
|
240
240
|
container: 'container_example', # String | The name of the Azure Blob Storage container in which to store logs. Required.
|
@@ -261,14 +261,14 @@ end
|
|
261
261
|
| **logging_azureblob_name** | **String** | The name for the real-time logging configuration. | |
|
262
262
|
| **name** | **String** | The name for the real-time logging configuration. | [optional] |
|
263
263
|
| **placement** | **String** | Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`. | [optional] |
|
264
|
-
| **format_version** | **Integer** | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
|
264
|
+
| **format_version** | **Integer** | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. | [optional][default to FORMAT_VERSION::v2] |
|
265
265
|
| **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] |
|
266
266
|
| **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional][default to '%h %l %u %t \"%r\" %&gt;s %b'] |
|
267
267
|
| **message_type** | **String** | How the message should be formatted. | [optional][default to 'classic'] |
|
268
268
|
| **timestamp_format** | **String** | A timestamp format | [optional] |
|
269
269
|
| **period** | **Integer** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional][default to 3600] |
|
270
|
-
| **gzip_level** | **Integer** |
|
271
|
-
| **compression_codec** | **String** | The codec used for
|
270
|
+
| **gzip_level** | **Integer** | The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error. | [optional][default to 0] |
|
271
|
+
| **compression_codec** | **String** | The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error. | [optional] |
|
272
272
|
| **path** | **String** | The path to upload logs to. | [optional][default to 'null'] |
|
273
273
|
| **account_name** | **String** | The unique Azure Blob Storage namespace in which your data objects are stored. Required. | [optional] |
|
274
274
|
| **container** | **String** | The name of the Azure Blob Storage container in which to store logs. Required. | [optional] |
|
@@ -6,14 +6,14 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **name** | **String** | The name for the real-time logging configuration. | [optional] |
|
8
8
|
| **placement** | **String** | Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`. | [optional] |
|
9
|
-
| **format_version** | **Integer** | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
|
9
|
+
| **format_version** | **Integer** | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. | [optional][default to FORMAT_VERSION::v2] |
|
10
10
|
| **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] |
|
11
11
|
| **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). | [optional][default to '%h %l %u %t \"%r\" %&gt;s %b'] |
|
12
12
|
| **message_type** | **String** | How the message should be formatted. | [optional][default to 'classic'] |
|
13
13
|
| **timestamp_format** | **String** | A timestamp format | [optional][readonly] |
|
14
14
|
| **period** | **Integer** | How frequently log files are finalized so they can be available for reading (in seconds). | [optional][default to 3600] |
|
15
|
-
| **gzip_level** | **Integer** |
|
16
|
-
| **compression_codec** | **String** | The codec used for
|
15
|
+
| **gzip_level** | **Integer** | The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error. | [optional][default to 0] |
|
16
|
+
| **compression_codec** | **String** | The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error. | [optional] |
|
17
17
|
| **path** | **String** | The path to upload logs to. | [optional][default to 'null'] |
|
18
18
|
| **account_name** | **String** | The unique Azure Blob Storage namespace in which your data objects are stored. Required. | [optional] |
|
19
19
|
| **container** | **String** | The name of the Azure Blob Storage container in which to store logs. Required. | [optional] |
|
data/docs/LoggingBigquery.md
CHANGED
@@ -6,11 +6,12 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **name** | **String** | The name of the BigQuery logging object. Used as a primary key for API access. | [optional] |
|
8
8
|
| **placement** | **String** | Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`. | [optional] |
|
9
|
-
| **format_version** | **Integer** | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
|
9
|
+
| **format_version** | **Integer** | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`. | [optional][default to FORMAT_VERSION::v2] |
|
10
10
|
| **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] |
|
11
11
|
| **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce JSON that matches the schema of your BigQuery table. | [optional] |
|
12
|
-
| **user** | **String** | Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON.
|
13
|
-
| **secret_key** | **String** | Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON.
|
12
|
+
| **user** | **String** | Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Not required if `account_name` is specified. | [optional] |
|
13
|
+
| **secret_key** | **String** | Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. | [optional] |
|
14
|
+
| **account_name** | **String** | The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided. | [optional] |
|
14
15
|
| **dataset** | **String** | Your BigQuery dataset. | [optional] |
|
15
16
|
| **table** | **String** | Your BigQuery table. | [optional] |
|
16
17
|
| **template_suffix** | **String** | BigQuery table name suffix template. Optional. | [optional] |
|