Documentation ¶
Index ¶
- Constants
- func CustomizeDiff() []schema.CustomizeDiffFunc
- func GetNetworkDeviceObjects(d *schema.ResourceData) (vms.CustomNetworkDevices, error)
- func ReadNetworkDeviceObjects(d *schema.ResourceData, vmConfig *vms.GetResponseData) diag.Diagnostics
- func ReadNetworkValues(ctx context.Context, d *schema.ResourceData, vmAPI *vms.Client, started bool, ...) diag.Diagnostics
- func Schema() map[string]*schema.Schema
Constants ¶
View Source
const ( // MaxNetworkDevices is the maximum number of network devices supported by the resource. MaxNetworkDevices = 32 // MkNetworkDevice is the name of the network device. MkNetworkDevice = "network_device" )
Variables ¶
This section is empty.
Functions ¶
func CustomizeDiff ¶
func CustomizeDiff() []schema.CustomizeDiffFunc
CustomizeDiff returns the custom diff functions for the network resource.
func GetNetworkDeviceObjects ¶
func GetNetworkDeviceObjects(d *schema.ResourceData) (vms.CustomNetworkDevices, error)
GetNetworkDeviceObjects returns a list of network devices from the resource data.
func ReadNetworkDeviceObjects ¶
func ReadNetworkDeviceObjects(d *schema.ResourceData, vmConfig *vms.GetResponseData) diag.Diagnostics
ReadNetworkDeviceObjects reads the network device objects from the resource data.
func ReadNetworkValues ¶
func ReadNetworkValues( ctx context.Context, d *schema.ResourceData, vmAPI *vms.Client, started bool, vmConfig *vms.GetResponseData, agentTimeout time.Duration, ) diag.Diagnostics
ReadNetworkValues reads the network values from the resource data.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.