Sha256: b044289c4e7af81bae606aa8dde246207ee191bba69003695491ba86f37eaa88
Contents?: true
Size: 680 Bytes
Versions: 15
Compression:
Stored size: 680 Bytes
Contents
# Create a private location returns "OK" response require "datadog_api_client" api_instance = DatadogAPIClient::V1::SyntheticsAPI.new # there is a valid "role" in the system ROLE_DATA_ID = ENV["ROLE_DATA_ID"] body = DatadogAPIClient::V1::SyntheticsPrivateLocation.new({ description: "Test Example-Create_a_private_location_returns_OK_response description", metadata: DatadogAPIClient::V1::SyntheticsPrivateLocationMetadata.new({ restricted_roles: [ ROLE_DATA_ID, ], }), name: "Example-Create_a_private_location_returns_OK_response", tags: [ "test:examplecreateaprivatelocationreturnsokresponse", ], }) p api_instance.create_private_location(body)
Version data entries
15 entries across 15 versions & 1 rubygems