github.com/microsoft/moc@v0.17.1/rpc/cloudagent/cloud/subscription/moc_cloudagent_subscription.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.subscription; 7 8 import "google/protobuf/wrappers.proto"; 9 import "moc_common_common.proto"; 10 11 message SubscriptionRequest { 12 repeated Subscription Subscriptions = 1; 13 Operation OperationType = 2; 14 // SubPostOperation PostOperationType = 3; 15 } 16 17 message SubscriptionResponse { 18 repeated Subscription Subscriptions = 1; 19 google.protobuf.BoolValue Result = 2; 20 string Error = 3; 21 } 22 23 message Subscription { 24 string name = 1; 25 string id = 2; 26 Status status = 3; 27 Tags tags = 4; 28 } 29 30 service SubscriptionAgent { 31 rpc Invoke(SubscriptionRequest) returns (SubscriptionResponse) {} 32 } 33