-
Notifications
You must be signed in to change notification settings - Fork 0
/
power_ops_config.yaml
26 lines (24 loc) · 1.27 KB
/
power_ops_config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# `client`` is a required section, and it contains the configuration for the Cognite SDK client.
# for more information on what should be included in the client section, see the Cognite SDK documentation.
# https://cognite-sdk-python.readthedocs-hosted.com/en/latest/cognite_client.html#cognite.client.CogniteClient.load
client:
project: "${PROJECT}"
client_name: "power-ops-sdk"
base_url: "https://${CLUSTER}.cognitedata.com"
credentials:
client_credentials:
token_url: "https://login.microsoftonline.com/${TENANT_ID}/oauth2/v2.0/token"
client_id: "${CLIENT_ID}"
client_secret: "${CLIENT_SECRET}"
scopes: ["https://${CLUSTER}.cognitedata.com/.default"]
# `global` is an optional section, and it contains the global configuration for the Cognite SDK client.
# for more information on what should be included in the global section, see the Cognite SDK documentation.
# https://cognite-sdk-python.readthedocs-hosted.com/en/latest/cognite_client.html#cognite.client.config.GlobalConfig.apply_settings
global:
max_retries: 10
max_retry_backoff: 10
# `power_ops` is a required section, and it contains the configuration for the PowerOps SDK.
power_ops:
read_dataset: "uc:000:powerops"
write_dataset: "uc:000:powerops"
monitor_dataset: "uc:po:monitoring"