package
Version:
v1.1.0
Opens a new window with list of versions in this module.
Published: Nov 22, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
type CreateReq struct {
DataCenter string `json:"-" valid:"required" URIParam:"yes"`
DestinationAccountId string `valid:"required"`
DestinationLocationId string `valid:"required"`
DestinationCidr string `valid:"required"`
Enabled string `oneOf:"true,false"`
SourceCidr string `valid:"required"`
}
type DeleteReq struct {
DataCenter string `valid:"required" URIParam:"yes"`
FirewallPolicy string `valid:"required" URIParam:"yes"`
}
type GetReq struct {
DataCenter string `valid:"required" URIParam:"yes"`
FirewallPolicy string `valid:"required" URIParam:"yes"`
}
type ListReq struct {
DataCenter string `valid:"required" URIParam:"yes"`
DestinationAccountAlias string `URIParam:"yes"`
}
type UpdateReq struct {
DataCenter string `json:"-" valid:"required" URIParam:"yes"`
FirewallPolicy string `json:"-" valid:"required" URIParam:"yes"`
Enabled string `json:"-" valid:"required" URIParam:"yes" oneOf:"true,false"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.