Skip to content

Commit

Permalink
Dedicated resources changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianOmac committed Oct 8, 2024
1 parent a131db2 commit 4c7dd65
Show file tree
Hide file tree
Showing 2 changed files with 1,517 additions and 1,756 deletions.
21 changes: 17 additions & 4 deletions api/cover/unitcost.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ syntax = "proto3";

package blueapi.api.cover;

import "api/cover/costgroup.proto";

option go_package = "github.com/alphauslabs/blue-sdk-go/api/cover";
option java_package = "cloud.alphaus.blueapi.api.cover";
option java_outer_classname = "ApiUnitCostProto";
Expand All @@ -19,9 +21,20 @@ message UnitCostData{
message UnitItem{
string itemName = 1;
double distribution = 2;
repeated ResourcesFilter dedicatedResourcesCombination = 3;
ResourcesCombinations dedicatedResourcesCombination = 3;
}

message ResourcesFilter{
map<string, string> andFilters = 1;
}
message ResourcesCombinations {
// Optional. Valid only for the `aws` vendor. AWS-specific options.
api.cover.CostGroupAwsOptions awsOptions = 1;

// Optional. Valid only for the `azure` vendor. Azure-specific options.
api.cover.CostGroupAzureOptions azureOptions = 2;

// Optional. Valid only for the `gcp` vendor. GCP-specific options.
api.cover.CostGroupGcpOptions gcpOptions = 3;

// Optional. Valid only for the `azurecsp` vendor. AzureCSP-specific options.
api.cover.CostGroupAzureCspOptions azurecspOptions = 4;

}
Loading

0 comments on commit 4c7dd65

Please sign in to comment.