remove plural options in nsg rule

This commit is contained in:
vlappenbusch 2024-02-15 21:10:43 -08:00
Родитель e3894eeb24
Коммит 4e84f07143
4 изменённых файлов: 67 добавлений и 106 удалений

2
go.mod
Просмотреть файл

@ -15,7 +15,7 @@ require (
)
require (
golang.org/x/net v0.20.0 // indirect
golang.org/x/net v0.21.0 // indirect
google.golang.org/protobuf v1.32.0 // indirect
)

6
go.sum
Просмотреть файл

@ -1112,8 +1112,8 @@ golang.org/x/net v0.9.0/go.mod h1:d48xBJpPfHeWQsugry2m+kC02ZBRGRgulfHnEXEuWns=
golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg=
golang.org/x/net v0.11.0/go.mod h1:2L/ixqYpgIVXmeoSA/4Lu7BzTG4KIyPIryS4IsOd1oQ=
golang.org/x/net v0.14.0/go.mod h1:PpSgVXXLK0OxS0F31C1/tv6XNguvCrnXIDrFMspZIUI=
golang.org/x/net v0.20.0 h1:aCL9BSgETF1k+blQaYUBx9hJ9LOGP3gAVemcZlf1Kpo=
golang.org/x/net v0.20.0/go.mod h1:z8BVo6PvndSri0LbOE3hAn0apkU+1YvI6E70E9jsnvY=
golang.org/x/net v0.21.0 h1:AQyQV4dYCvJ7vGmJyKki9+PBdyvhkSd8EIx/qb0AYv4=
golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44=
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
@ -1173,7 +1173,7 @@ golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo=
golang.org/x/term v0.9.0/go.mod h1:M6DEAAIenWoTxdKrOltXcmDY3rSplQUkrvaDU5FcQyo=
golang.org/x/term v0.11.0/go.mod h1:zC9APTIj3jG3FdV/Ons+XE1riIZXG4aZ4GTHiPZJPIU=
golang.org/x/term v0.15.0/go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0=
golang.org/x/term v0.16.0/go.mod h1:yn7UURbUtPyrVJPGPq404EukNFxcm/foM+bV/bfcDsY=
golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=

Просмотреть файл

@ -179,24 +179,20 @@ func (m *NetworkSecurityGroupResponse) GetError() string {
}
type NetworkSecurityGroupRule struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
Action Action `protobuf:"varint,3,opt,name=action,proto3,enum=moc.cloudagent.network.Action" json:"action,omitempty"`
Direction Direction `protobuf:"varint,4,opt,name=direction,proto3,enum=moc.cloudagent.network.Direction" json:"direction,omitempty"`
SourceAddressPrefix string `protobuf:"bytes,5,opt,name=sourceAddressPrefix,proto3" json:"sourceAddressPrefix,omitempty"`
DestinationAddressPrefix string `protobuf:"bytes,6,opt,name=destinationAddressPrefix,proto3" json:"destinationAddressPrefix,omitempty"`
SourceAddressPrefixes []string `protobuf:"bytes,7,rep,name=sourceAddressPrefixes,proto3" json:"sourceAddressPrefixes,omitempty"`
DestinationAddressPrefixes []string `protobuf:"bytes,8,rep,name=destinationAddressPrefixes,proto3" json:"destinationAddressPrefixes,omitempty"`
SourcePortRange string `protobuf:"bytes,9,opt,name=sourcePortRange,proto3" json:"sourcePortRange,omitempty"`
DestinationPortRange string `protobuf:"bytes,10,opt,name=destinationPortRange,proto3" json:"destinationPortRange,omitempty"`
SourcePortRanges []string `protobuf:"bytes,11,rep,name=sourcePortRanges,proto3" json:"sourcePortRanges,omitempty"`
DestinationPortRanges []string `protobuf:"bytes,12,rep,name=destinationPortRanges,proto3" json:"destinationPortRanges,omitempty"`
Protocol common.Protocol `protobuf:"varint,13,opt,name=protocol,proto3,enum=moc.Protocol" json:"protocol,omitempty"`
Priority uint32 `protobuf:"varint,14,opt,name=priority,proto3" json:"priority,omitempty"`
Logging bool `protobuf:"varint,15,opt,name=logging,proto3" json:"logging,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
Action Action `protobuf:"varint,3,opt,name=action,proto3,enum=moc.cloudagent.network.Action" json:"action,omitempty"`
Direction Direction `protobuf:"varint,4,opt,name=direction,proto3,enum=moc.cloudagent.network.Direction" json:"direction,omitempty"`
SourceAddressPrefix string `protobuf:"bytes,5,opt,name=sourceAddressPrefix,proto3" json:"sourceAddressPrefix,omitempty"`
DestinationAddressPrefix string `protobuf:"bytes,6,opt,name=destinationAddressPrefix,proto3" json:"destinationAddressPrefix,omitempty"`
SourcePortRange string `protobuf:"bytes,7,opt,name=sourcePortRange,proto3" json:"sourcePortRange,omitempty"`
DestinationPortRange string `protobuf:"bytes,8,opt,name=destinationPortRange,proto3" json:"destinationPortRange,omitempty"`
Protocol common.Protocol `protobuf:"varint,9,opt,name=protocol,proto3,enum=moc.Protocol" json:"protocol,omitempty"`
Priority uint32 `protobuf:"varint,10,opt,name=priority,proto3" json:"priority,omitempty"`
Logging bool `protobuf:"varint,11,opt,name=logging,proto3" json:"logging,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *NetworkSecurityGroupRule) Reset() { *m = NetworkSecurityGroupRule{} }
@ -266,20 +262,6 @@ func (m *NetworkSecurityGroupRule) GetDestinationAddressPrefix() string {
return ""
}
func (m *NetworkSecurityGroupRule) GetSourceAddressPrefixes() []string {
if m != nil {
return m.SourceAddressPrefixes
}
return nil
}
func (m *NetworkSecurityGroupRule) GetDestinationAddressPrefixes() []string {
if m != nil {
return m.DestinationAddressPrefixes
}
return nil
}
func (m *NetworkSecurityGroupRule) GetSourcePortRange() string {
if m != nil {
return m.SourcePortRange
@ -294,20 +276,6 @@ func (m *NetworkSecurityGroupRule) GetDestinationPortRange() string {
return ""
}
func (m *NetworkSecurityGroupRule) GetSourcePortRanges() []string {
if m != nil {
return m.SourcePortRanges
}
return nil
}
func (m *NetworkSecurityGroupRule) GetDestinationPortRanges() []string {
if m != nil {
return m.DestinationPortRanges
}
return nil
}
func (m *NetworkSecurityGroupRule) GetProtocol() common.Protocol {
if m != nil {
return m.Protocol
@ -430,53 +398,50 @@ func init() {
}
var fileDescriptor_f7a6eb5efc25ffee = []byte{
// 731 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x55, 0x4f, 0x4f, 0xe3, 0x46,
0x14, 0xc7, 0xf9, 0x47, 0xfc, 0x42, 0x42, 0x34, 0x85, 0x76, 0x48, 0x01, 0xa5, 0xa9, 0x54, 0x05,
0x54, 0xd9, 0x34, 0xa0, 0x1e, 0x7a, 0x68, 0x15, 0x44, 0x55, 0x71, 0x01, 0x34, 0xa0, 0x1e, 0x7a,
0x41,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1e, 0xb4, 0xca, 0xa7,
0x48, 0x6c, 0x68, 0x4e, 0xe3, 0x58, 0x3c, 0xf4, 0xd7, 0x48, 0x1b, 0x1a, 0x67, 0x3c, 0x7d, 0xec,
0x5b, 0x87, 0x3f, 0x81, 0x3d, 0x7f, 0x6e, 0xa4, 0x03, 0xeb, 0xe7, 0xe9, 0x4c, 0xe8, 0x34, 0xe8,
0xaf, 0x91, 0x0d, 0x68, 0x5f, 0xea, 0xbc, 0x5c, 0x59, 0x93, 0xb7, 0x16, 0xec, 0x98, 0x9a, 0x30,
0x2d, 0xda, 0x44, 0x34, 0xb4, 0xce, 0xd3, 0xff, 0xc5, 0x3d, 0x27, 0xc7, 0xaf, 0xea, 0x60, 0xf9,
0x83, 0x30, 0x38, 0x79, 0x9d, 0xa8, 0xfc, 0x16, 0x8f, 0xd6, 0x4e, 0x7f, 0xf9, 0xc7, 0x0d, 0xa3,
0xfc, 0x5f, 0x3d, 0x73, 0x7c, 0x91, 0xb8, 0x49, 0xe4, 0x4b, 0xa1, 0xc4, 0x5d, 0xee, 0x26, 0xc2,
0x77, 0x65, 0xe6, 0xbb, 0x0b, 0x47, 0xb7, 0x72, 0x9c, 0xb5, 0x70, 0x02, 0x8f, 0x3f, 0x05, 0x00,
0x00, 0xff, 0xff, 0x49, 0xc6, 0x11, 0xf6, 0x40, 0x07, 0x00, 0x00,
// 677 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x54, 0x4d, 0x4f, 0xdb, 0x40,
0x10, 0xc5, 0x49, 0x08, 0xf1, 0x18, 0x28, 0xda, 0xd2, 0xd6, 0xa4, 0x80, 0xd2, 0x54, 0xaa, 0x02,
0xaa, 0x6c, 0x6a, 0x50, 0x0f, 0xbd, 0x54, 0x41, 0x54, 0x15, 0x17, 0x40, 0x06, 0xf5, 0xd0, 0x0b,
0x72, 0xec, 0xc5, 0xb5, 0xb0, 0x3d, 0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ed, 0xe3, 0xfc, 0x1b, 0x5e, 0x73, 0xb6, 0xff, 0xa0, 0x09, 0x96, 0x0f, 0x67, 0xf7, 0xe0, 0x61,
0xa2, 0xf2, 0xcd, 0xea, 0x2f, 0x1c, 0xbe, 0xf9, 0xec, 0xc6, 0x89, 0xfa, 0xa2, 0x47, 0x4e, 0x88,
0x99, 0x9b, 0x25, 0xa1, 0x40, 0x89, 0x57, 0xca, 0xcd, 0x30, 0x74, 0x45, 0x11, 0xba, 0xd3, 0x8e,
0x6e, 0xd5, 0x71, 0xd4, 0xa6, 0x0d, 0xdc, 0xff, 0x1b, 0x00, 0x00, 0xff, 0xff, 0xd0, 0x1e, 0xd4,
0xf1, 0x68, 0x06, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.

Просмотреть файл

@ -37,15 +37,11 @@ message NetworkSecurityGroupRule {
Direction direction = 4;
string sourceAddressPrefix = 5;
string destinationAddressPrefix = 6;
repeated string sourceAddressPrefixes = 7;
repeated string destinationAddressPrefixes = 8;
string sourcePortRange = 9;
string destinationPortRange = 10;
repeated string sourcePortRanges = 11;
repeated string destinationPortRanges = 12;
Protocol protocol = 13;
uint32 priority = 14;
bool logging = 15;
string sourcePortRange = 7;
string destinationPortRange = 8;
Protocol protocol = 9;
uint32 priority = 10;
bool logging = 11;
}
message NetworkSecurityGroup {