Sha256: 62e58ea7b7a583e31159bbc9f08d23f27123a77817f786406e71f2a98fc97c68
Contents?: true
Size: 522 Bytes
Versions: 1
Compression:
Stored size: 522 Bytes
Contents
require "datadog_api_client" api_instance = DatadogAPIClient::V2::AuthNMappingsAPI.new body = DatadogAPIClient::V2::AuthNMappingCreateRequest.new({ data: DatadogAPIClient::V2::AuthNMappingCreateData.new({ type: DatadogAPIClient::V2::AuthNMappingsType::AUTHN_MAPPINGS }) }) # AuthNMappingCreateRequest | begin # Create an AuthN Mapping result = api_instance.create_auth_n_mapping(body) p result rescue DatadogAPIClient::V2::APIError => e puts "Error when calling AuthNMappingsAPI->create_auth_n_mapping: #{e}" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
datadog_api_client-1.7.0 | examples/generated/v2/authn-mappings/CreateAuthNMapping.rb |