use of com.netflix.spinnaker.halyard.config.model.v1.canary.datadog.DatadogCanaryAccount in project halyard by spinnaker.
the class DatadogAddCanaryAccountCommand method buildAccount.
@Override
protected AbstractCanaryAccount buildAccount(Canary canary, String accountName) {
DatadogCanaryAccount account = (DatadogCanaryAccount) new DatadogCanaryAccount().setName(accountName);
account.setEndpoint(new DatadogCanaryAccount.Endpoint().setBaseUrl(baseUrl)).setApiKey(apiKey).setApplicationKey(applicationKey);
return account;
}
Aggregations