-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
83 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
syntax = "proto3"; | ||
|
||
package temporal.api.cloud.account.v1; | ||
|
||
option go_package = "go.temporal.io/api/cloud/account/v1;account"; | ||
|
||
import "temporal/api/cloud/resource/v1/message.proto"; | ||
|
||
message MetricsSpec { | ||
// The ca cert(s) in PEM format that clients connecting to the metrics endpoint can use for authentication. | ||
// This must only be one value, but the CA can have a chain. | ||
bytes accepted_client_ca = 2; | ||
} | ||
|
||
message AccountSpec { | ||
// The metrics specification for this account. | ||
// If not specified, metrics will not be enabled. | ||
MetricsSpec metrics = 1; | ||
} | ||
|
||
message Metrics { | ||
// The prometheus metrics endpoint uri. | ||
// This is only populated when the metrics is enabled in the metrics specification. | ||
string uri = 1; | ||
} | ||
|
||
message Account { | ||
// The id of the account. | ||
string id = 1; | ||
// The account specification. | ||
AccountSpec spec = 2; | ||
// The current version of the account specification. | ||
// The next update operation will have to include this version. | ||
string resource_version = 3; | ||
// The current state of the account. | ||
temporal.api.cloud.resource.v1.ResourceState state = 4; | ||
// The id of the async operation that is updating the account, if any. | ||
string async_operation_id = 5; | ||
// Information related to metrics. | ||
Metrics metrics = 6; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters