github.com/cloudwan/edgelq-sdk@v1.15.4/limits/proto/v1alpha2/common.proto (about) 1 syntax = "proto3"; 2 3 package ntt.limits.v1alpha2; 4 5 import "edgelq-sdk/meta/proto/v1alpha2/resource.proto"; 6 7 option go_package = "github.com/cloudwan/edgelq-sdk/limits/resources/v1alpha2/common;common"; 8 option java_multiple_files = true; 9 option java_outer_classname = "CommonProto"; 10 option java_package = "com.ntt.limits.pb.v1alpha2"; 11 12 // Allowance informs how many instances of resource for given type are 13 // permitted. 14 message Allowance { 15 // Reference to resource 16 string resource = 1; 17 18 // Limit or extension for given resource. 19 int64 value = 2; 20 } 21 22 // RegionalDistribution shows distribution of certain resource allowances 23 // across regions. 24 message RegionalDistribution { 25 // Reference to resource 26 string resource = 1; 27 28 // Limit per region. 29 map<string, int64> limits_by_region = 2; 30 }