github.com/microsoft/moc@v0.17.1/rpc/nodeagent/network/loadbalancer/moc_nodeagent_loadbalancer.proto (about)

     1  // Copyright (c) Microsoft Corporation.
     2  // Licensed under the Apache v2.0 license.
     3  
     4  syntax = "proto3";
     5  option go_package = "github.com/microsoft/moc/rpc/nodeagent/network";
     6  package moc.nodeagent.network;
     7  
     8  import "google/protobuf/wrappers.proto";
     9  import "moc_common_common.proto";
    10  
    11  
    12  message LoadBalancerRequest {
    13  	repeated LoadBalancer LoadBalancers = 1;
    14  	Operation OperationType = 2;
    15  }
    16  
    17  message LoadBalancerResponse {
    18  	repeated LoadBalancer LoadBalancers = 1;
    19  	google.protobuf.BoolValue Result = 2;
    20  	string  Error = 3;
    21  }
    22  
    23  message LoadBalancer {
    24  	string name = 1;
    25  	string id = 2;
    26  	string frontendip = 4;
    27  	string backendpoolname = 5;
    28  	string networkid = 6;
    29  	Status status = 8;
    30  	Entity entity = 9;
    31  	Tags tags = 10;
    32  }
    33  
    34  service LoadBalancerAgent {
    35  	rpc Invoke(LoadBalancerRequest) returns (LoadBalancerResponse) {}
    36  }
    37