Sha256: eaa8ea938f1b34d98d28c0d68e2764b971338c16370ef47157533730ed770dfa

Contents?: true

Size: 557 Bytes

Versions: 22

Compression:

Stored size: 557 Bytes

Contents

# Update Fastly service returns "OK" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::FastlyIntegrationAPI.new

body = DatadogAPIClient::V2::FastlyServiceRequest.new({
  data: DatadogAPIClient::V2::FastlyServiceData.new({
    attributes: DatadogAPIClient::V2::FastlyServiceAttributes.new({
      tags: [
        "myTag",
        "myTag2:myValue",
      ],
    }),
    id: "abc123",
    type: DatadogAPIClient::V2::FastlyServiceType::FASTLY_SERVICES,
  }),
})
p api_instance.update_fastly_service("account_id", "service_id", body)

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
datadog_api_client-2.28.1 examples/v2/fastly-integration/UpdateFastlyService.rb
datadog_api_client-2.27.1 examples/v2/fastly-integration/UpdateFastlyService.rb
datadog_api_client-2.26.1 examples/v2/fastly-integration/UpdateFastlyService.rb
datadog_api_client-2.26.0 examples/v2/fastly-integration/UpdateFastlyService.rb
datadog_api_client-2.25.0 examples/v2/fastly-integration/UpdateFastlyService.rb
datadog_api_client-2.24.0 examples/v2/fastly-integration/UpdateFastlyService.rb
datadog_api_client-2.22.0 examples/v2/fastly-integration/UpdateFastlyService.rb
datadog_api_client-2.21.0 examples/v2/fastly-integration/UpdateFastlyService.rb
datadog_api_client-2.20.0 examples/v2/fastly-integration/UpdateFastlyService.rb
datadog_api_client-2.19.0 examples/v2/fastly-integration/UpdateFastlyService.rb
datadog_api_client-2.18.0 examples/v2/fastly-integration/UpdateFastlyService.rb
datadog_api_client-2.17.0 examples/v2/fastly-integration/UpdateFastlyService.rb
datadog_api_client-2.16.0 examples/v2/fastly-integration/UpdateFastlyService.rb
datadog_api_client-2.15.0 examples/v2/fastly-integration/UpdateFastlyService.rb
datadog_api_client-2.14.0 examples/v2/fastly-integration/UpdateFastlyService.rb
datadog_api_client-2.13.0 examples/v2/fastly-integration/UpdateFastlyService.rb
datadog_api_client-2.12.0 examples/v2/fastly-integration/UpdateFastlyService.rb
datadog_api_client-2.11.0 examples/v2/fastly-integration/UpdateFastlyService.rb
datadog_api_client-2.10.0 examples/v2/fastly-integration/UpdateFastlyService.rb
datadog_api_client-2.9.0 examples/v2/fastly-integration/UpdateFastlyService.rb