NetworkCIDR*CIDR`json:"networkcidr,omitempty" doc:"the network CIDR of the guest network configured with IP reservation. It is the summation of CIDR and RESERVED_IP_RANGE"`
Relatedstring`json:"related,omitempty" doc:"related to what other network configuration"`
ReservedIPRangestring`json:"reservediprange,omitempty" doc:"the network's IP range not to be used by CloudStack guest VMs and can be used for non CloudStack purposes"`
Service[]Service`json:"service,omitempty" doc:"the list of services"`
SpecifyIPRangesbool`json:"specifyipranges,omitempty" doc:"true if network supports specifying ip ranges, false otherwise"`
Statestring`json:"state,omitempty" doc:"state of the network"`
StrechedL2Subnetbool`json:"strechedl2subnet,omitempty" doc:"true if network can span multiple zones"`
SubdomainAccessbool`json:"subdomainaccess,omitempty" doc:"true if users from subdomains can access the domain level network"`
Tags[]ResourceTag`json:"tags,omitempty" doc:"the list of resource tags associated with network"`
TrafficTypestring`json:"traffictype,omitempty" doc:"the traffic type of the network"`
Typestring`json:"type,omitempty" doc:"the type of the network"`
Vlanstring`json:"vlan,omitemtpy" doc:"The vlan of the network. This parameter is visible to ROOT admins only"`
ZoneID*UUID`json:"zoneid,omitempty" doc:"zone id of the network"`
ZoneNamestring`json:"zonename,omitempty" doc:"the name of the zone the network belongs to"`
ZonesNetworkSpans[]Zone`json:"zonesnetworkspans,omitempty" doc:"If a network is enabled for 'streched l2 subnet' then represents zones on which network currently spans"`
Accountstring`json:"account,omitempty" doc:"account who will own the network"`
DisplayNetwork*bool`json:"displaynetwork,omitempty" doc:"an optional field, whether to the display the network to the end user or not."`
DisplayTextstring`json:"displaytext,omitempty" doc:"the display text of the network"`// This field is required but might be empty
DomainID*UUID`json:"domainid,omitempty" doc:"domain ID of the account owning a network"`
EndIPnet.IP`json:"endip,omitempty" doc:"the ending IP address in the network IP range. If not specified, will be defaulted to startIP"`
EndIpv6net.IP`json:"endipv6,omitempty" doc:"the ending IPv6 address in the IPv6 network range"`
Gatewaynet.IP`json:"gateway,omitempty" doc:"the gateway of the network. Required for Shared networks and Isolated networks when it belongs to VPC"`
IP6CIDR*CIDR`json:"ip6cidr,omitempty" doc:"the CIDR of IPv6 network, must be at least /64"`
IP6Gatewaynet.IP`json:"ip6gateway,omitempty" doc:"the gateway of the IPv6 network. Required for Shared networks and Isolated networks when it belongs to VPC"`
IsolatedPVlanstring`json:"isolatedpvlan,omitempty" doc:"the isolated private vlan for this network"`
Namestring`json:"name,omitempty" doc:"the name of the network"`// This field is required but might be empty
Netmasknet.IP`json:"netmask,omitempty" doc:"the netmask of the network. Required for Shared networks and Isolated networks when it belongs to VPC"`
PhysicalNetworkID*UUID`json:"physicalnetworkid,omitempty" doc:"the Physical Network ID the network belongs to"`
StartIPnet.IP`json:"startip,omitempty" doc:"the beginning IP address in the network IP range"`
StartIpv6net.IP`json:"startipv6,omitempty" doc:"the beginning IPv6 address in the IPv6 network range"`
SubdomainAccess*bool`json:"subdomainaccess,omitempty" doc:"Defines whether to allow subdomains to use networks dedicated to their parent domain(s). Should be used with aclType=Domain, defaulted to allow.subdomain.network.access global config if not specified"`
Vlanstring`json:"vlan,omitempty" doc:"the ID or VID of the network"`
ZoneID*UUID`json:"zoneid" doc:"the Zone ID for the network"`
_bool`name:"createNetwork" description:"Creates a network"`
ID*UUID`json:"id" doc:"The id of the network to restart."`
Cleanup*bool`json:"cleanup,omitempty" doc:"If cleanup old network elements"`
_bool`name:"restartNetwork" description:"Restarts the network; includes 1) restarting network elements - virtual routers, dhcp servers 2) reapplying all public ips 3) reapplying loadBalancing/portForwarding rules"`
Forced*bool`json:"forced,omitempty" doc:"Force delete a network. Network will be marked as 'Destroy' even when commands to shutdown and cleanup to the backend fails."`
_bool`name:"deleteNetwork" description:"Deletes a network"`
Accountstring`json:"account,omitempty" doc:"list resources by account. Must be used with the domainId parameter."`
CanUseForDeploy*bool`json:"canusefordeploy,omitempty" doc:"list networks available for vm deployment"`
DisplayNetwork*bool`json:"displaynetwork,omitempty" doc:"list resources by display flag; only ROOT admin is eligible to pass this parameter"`
DomainID*UUID`json:"domainid,omitempty" doc:"list only resources belonging to the domain specified"`
ID*UUID`json:"id,omitempty" doc:"list networks by id"`
IsRecursive*bool`json:"isrecursive,omitempty" doc:"defaults to false, but if true, lists all resources from the parent specified by the domainId till leaves."`
IsSystem*bool`json:"issystem,omitempty" doc:"true if network is system, false otherwise"`
Keywordstring`json:"keyword,omitempty" doc:"List by keyword"`
ListAll*bool`json:"listall,omitempty" doc:"If set to false, list only resources belonging to the command's caller; if set to true - list resources that the caller is authorized to see. Default value is false"`
Pageint`json:"page,omitempty"`
PageSizeint`json:"pagesize,omitempty"`
PhysicalNetworkID*UUID`json:"physicalnetworkid,omitempty" doc:"list networks by physical network id"`
RestartRequired*bool`json:"restartrequired,omitempty" doc:"list networks by restartRequired"`
SpecifyIPRanges*bool`json:"specifyipranges,omitempty" doc:"true if need to list only networks which support specifying ip ranges"`
SupportedServices[]Service`json:"supportedservices,omitempty" doc:"list networks supporting certain services"`
Tags[]ResourceTag`json:"tags,omitempty" doc:"List resources by tags (key/value pairs)"`
TrafficTypestring`json:"traffictype,omitempty" doc:"type of the traffic"`
Typestring`json:"type,omitempty" doc:"the type of the network. Supported values are: Isolated and Shared"`
ZoneID*UUID`json:"zoneid,omitempty" doc:"the Zone ID of the network"`
_bool`name:"listNetworks" description:"Lists all available networks."`
}
// ListNetworksResponse represents the list of networks