github.com/microsoft/moc@v0.17.1/rpc/common/moc_common_networkcommon.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/common"; 6 package moc; 7 8 import "moc_common_common.proto"; 9 10 message Dns { 11 repeated string servers = 1; 12 string domain = 2; 13 repeated string search = 3; 14 repeated string options = 4; 15 } 16 17 enum Protocol { 18 All = 0; 19 Tcp = 1; 20 Udp = 2; 21 Icmpv4 = 3; 22 Icmpv6 = 4; 23 } 24 25 enum IPAllocationMethod { 26 Invalid = 0; 27 Dynamic = 1; 28 Static = 2; 29 } 30 31 enum IPPoolType { 32 VM = 0; 33 VIPPool = 1; 34 } 35 36 message IPPoolInfo { 37 string used = 1; 38 string available = 2; 39 } 40 41 message IPPool { 42 string name = 1; 43 IPPoolType type = 2; 44 string start = 3; 45 string end = 4; 46 IPPoolInfo info = 5; 47 Tags tags = 6; 48 } 49 50 message Route { 51 string nextHop = 1; 52 string destinationPrefix = 2; 53 uint32 metric = 3; 54 } 55 56 // Resource reference is intended to be used as a general component of specific, named resource references 57 message ResourceReference { 58 string name = 1; 59 } 60 61 message NetworkSecurityGroupReference { 62 ResourceReference resourceRef = 1; 63 }