github.com/microsoft/moc@v0.17.1/rpc/cloudagent/cloud/group/moc_cloudagent_group.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/cloudagent/cloud";
     6  package moc.cloudagent.group;
     7  
     8  import "google/protobuf/wrappers.proto";
     9  import "moc_common_common.proto";
    10  
    11  enum SubPostOperation {
    12  	CREATE = 0;
    13  	UPDATE = 1;
    14  	LOCK = 2;
    15  }
    16  
    17  message GroupRequest {
    18  	repeated Group Groups = 1;
    19  	Operation OperationType = 2;
    20  	SubPostOperation PostOperationType = 3;
    21  }
    22  
    23  message GroupResponse {
    24  	repeated Group Groups = 1;
    25  	google.protobuf.BoolValue Result = 2;
    26  	string  Error = 3;
    27  }
    28  
    29  message Group {
    30  	string name = 1;
    31  	string id = 2;
    32  	Status status = 3;
    33  	string locationName = 4;
    34  	Tags tags = 5;
    35  }
    36  
    37  service GroupAgent {
    38  	rpc Invoke(GroupRequest) returns (GroupResponse) {}
    39  }
    40