github.com/microsoft/moc@v0.17.1/rpc/cloudagent/storage/container/moc_cloudagent_container.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/storage"; 6 package moc.cloudagent.storage; 7 8 import "google/protobuf/wrappers.proto"; 9 import "moc_common_common.proto"; 10 import "moc_common_storageinfo.proto"; 11 12 enum ContainerType { 13 UNKNOWN = 0; 14 SAN = 1; 15 CSV = 2; 16 SMB = 3; 17 DAS = 4; 18 } 19 20 message ContainerRequest { 21 repeated Container Containers = 1; 22 Operation OperationType = 2; 23 } 24 25 message ContainerResponse { 26 repeated Container Containers = 1; 27 google.protobuf.BoolValue Result = 2; 28 string Error = 3; 29 } 30 31 message Container { 32 string name = 1; 33 string id = 2; 34 string path = 4 [(sensitive) = true]; 35 Status status = 5; 36 string locationName = 6; 37 StorageContainerInfo info = 7; 38 Tags tags = 8; 39 bool isolated = 9; 40 } 41 42 service ContainerAgent { 43 rpc Invoke(ContainerRequest) returns (ContainerResponse) {} 44 } 45 46