Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 30 additions & 6 deletions nebius/applications/v1alpha1/k8s_release_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -28,35 +28,59 @@ service K8sReleaseService {
}

message GetK8sReleaseRequest {
string id = 1 [(buf.validate.field).required = true];
string id = 1 [
(buf.validate.field).required = true,
(nid) = {
resource: ["applicationrelease"]
}
];
}

message ListK8sReleasesRequest {
string parent_id = 1 [(buf.validate.field).required = true];
string parent_id = 1 [
(buf.validate.field).required = true,
(nid) = {
resource: ["project"]
}
];

int64 page_size = 2;

string page_token = 3;

string filter = 4;

string cluster_id = 5 [(buf.validate.field).required = true];
string cluster_id = 5 [
(buf.validate.field).required = true,
(nid) = {
resource: ["mk8scluster"]
}
];
}

message CreateK8sReleaseRequest {
common.v1.ResourceMetadata metadata = 1;
common.v1.ResourceMetadata metadata = 1 [(nid) = {
parent_resource: ["project"]
}];

K8sReleaseSpec spec = 2;
}

message UpdateK8sReleaseRequest {
common.v1.ResourceMetadata metadata = 1;
common.v1.ResourceMetadata metadata = 1 [(nid) = {
parent_resource: ["project"]
}];

K8sReleaseSpec spec = 2;
}

message DeleteK8sReleaseRequest {
string id = 1 [(buf.validate.field).required = true];
string id = 1 [
(buf.validate.field).required = true,
(nid) = {
resource: ["applicationrelease"]
}
];
}

message ListK8sReleasesResponse {
Expand Down
12 changes: 7 additions & 5 deletions nebius/dns/v1/zone.proto
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,15 @@ option java_package = "ai.nebius.pub.dns.v1";
// API Resource: *DNS zone*, a container for DNS data
//
// Each DNS zone starts at a particular domain within the hierarchical DNS namespace tree,
// e.g., `example.com.`, and can also include its subdomains,
// e.g., `sales.example.com.` DNS Zones contain *Resource Records* (RRs), which are individual information entries about the domain(s),
// e.g., a domain's IP address
// e.g., `example.com.`, and is also responsible for its subdomains (e.g., `sales.example.com.`)
// unless there are explicit DNS zones defined for them.
//
// DNS zones contain *Resource Records* (RRs), which are individual information entries about the domain(s),
// e.g., a domain's IP address.
// Each Resource Record is represented in this API by the `Record` API Resource which is managed by the `RecordService`.
//
// See the [graphical explanation of DNS zones and Resource Records on
// Wikipedia](https://en.wikipedia.org/wiki/Domain_Name_System#/media/File:Domain_name_space.svg)
//
// A Resource Record is represented in this API by the `Record` API Resource which is managed by the `RecordService`
message Zone {
// DNS zone metadata
// `metadata.parent_id` must be an IAM Container ID
Expand Down