Subnet
class Subnet extends OperatorResource implements Listable, Retrievable, Creatable, Deletable, Updateable
Represents a Networking v2 Network.
Traits
Properties
| $id | string | |
| $name | string | |
| $enableDhcp | bool | |
| $networkId | string | |
| $dnsNameservers | array | |
| $allocationPools | array | |
| $hostRoutes | array | |
| $ipVersion | int | |
| $gatewayIp | string | |
| $cidr | string | |
| $tenantId | string | |
| $links | array |
Methods
retrieve
()
: void
Retrieve details of the current resource from the remote API.
bulkCreate
(array $data)
: Subnet[]
Creates multiple subnets in a single request.
update
()
: void
Update the current resource with the configuration set out in the user options.
delete
()
: void
Permanently delete this resource.
