v1

package
v0.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPPoolApplyConfiguration

type IPPoolApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *IPPoolSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *IPPoolStatusApplyConfiguration `json:"status,omitempty"`
}

IPPoolApplyConfiguration represents an declarative configuration of the IPPool type for use with apply.

func IPPool

func IPPool(name string) *IPPoolApplyConfiguration

IPPool constructs an declarative configuration of the IPPool type for use with apply.

func (*IPPoolApplyConfiguration) WithAPIVersion

func (b *IPPoolApplyConfiguration) WithAPIVersion(value string) *IPPoolApplyConfiguration

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*IPPoolApplyConfiguration) WithAnnotations

func (b *IPPoolApplyConfiguration) WithAnnotations(entries map[string]string) *IPPoolApplyConfiguration

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*IPPoolApplyConfiguration) WithCreationTimestamp

func (b *IPPoolApplyConfiguration) WithCreationTimestamp(value metav1.Time) *IPPoolApplyConfiguration

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*IPPoolApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *IPPoolApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *IPPoolApplyConfiguration

WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.

func (*IPPoolApplyConfiguration) WithDeletionTimestamp

func (b *IPPoolApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *IPPoolApplyConfiguration

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*IPPoolApplyConfiguration) WithFinalizers

func (b *IPPoolApplyConfiguration) WithFinalizers(values ...string) *IPPoolApplyConfiguration

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*IPPoolApplyConfiguration) WithGenerateName

func (b *IPPoolApplyConfiguration) WithGenerateName(value string) *IPPoolApplyConfiguration

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*IPPoolApplyConfiguration) WithGeneration

func (b *IPPoolApplyConfiguration) WithGeneration(value int64) *IPPoolApplyConfiguration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*IPPoolApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*IPPoolApplyConfiguration) WithLabels

func (b *IPPoolApplyConfiguration) WithLabels(entries map[string]string) *IPPoolApplyConfiguration

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*IPPoolApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*IPPoolApplyConfiguration) WithNamespace

func (b *IPPoolApplyConfiguration) WithNamespace(value string) *IPPoolApplyConfiguration

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*IPPoolApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*IPPoolApplyConfiguration) WithResourceVersion

func (b *IPPoolApplyConfiguration) WithResourceVersion(value string) *IPPoolApplyConfiguration

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*IPPoolApplyConfiguration) WithSpec

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*IPPoolApplyConfiguration) WithStatus

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*IPPoolApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type IPPoolSpecApplyConfiguration

type IPPoolSpecApplyConfiguration struct {
	IPv4Config    *IPv4ConfigApplyConfiguration `json:"ipv4config,omitempty"`
	NetworkName   *string                       `json:"networkname,omitempty"`
	BindInterface *string                       `json:"bindinterface,omitempty"`
}

IPPoolSpecApplyConfiguration represents an declarative configuration of the IPPoolSpec type for use with apply.

func IPPoolSpec

func IPPoolSpec() *IPPoolSpecApplyConfiguration

IPPoolSpecApplyConfiguration constructs an declarative configuration of the IPPoolSpec type for use with apply.

func (*IPPoolSpecApplyConfiguration) WithBindInterface added in v0.5.0

WithBindInterface sets the BindInterface field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BindInterface field is set to the value of the last call.

func (*IPPoolSpecApplyConfiguration) WithIPv4Config

WithIPv4Config sets the IPv4Config field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IPv4Config field is set to the value of the last call.

func (*IPPoolSpecApplyConfiguration) WithNetworkName

WithNetworkName sets the NetworkName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NetworkName field is set to the value of the last call.

type IPPoolStatusApplyConfiguration

type IPPoolStatusApplyConfiguration struct {
	LastUpdate            *v1.Time                      `json:"lastupdate,omitempty"`
	LastUpdateBeforeStart *v1.Time                      `json:"lastupdatebeforestart,omitempty"`
	IPv4                  *IPv4StatusApplyConfiguration `json:"ipv4,omitempty"`
}

IPPoolStatusApplyConfiguration represents an declarative configuration of the IPPoolStatus type for use with apply.

func IPPoolStatus

func IPPoolStatus() *IPPoolStatusApplyConfiguration

IPPoolStatusApplyConfiguration constructs an declarative configuration of the IPPoolStatus type for use with apply.

func (*IPPoolStatusApplyConfiguration) WithIPv4

WithIPv4 sets the IPv4 field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IPv4 field is set to the value of the last call.

func (*IPPoolStatusApplyConfiguration) WithLastUpdate

WithLastUpdate sets the LastUpdate field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastUpdate field is set to the value of the last call.

func (*IPPoolStatusApplyConfiguration) WithLastUpdateBeforeStart

func (b *IPPoolStatusApplyConfiguration) WithLastUpdateBeforeStart(value v1.Time) *IPPoolStatusApplyConfiguration

WithLastUpdateBeforeStart sets the LastUpdateBeforeStart field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastUpdateBeforeStart field is set to the value of the last call.

type IPv4ConfigApplyConfiguration

type IPv4ConfigApplyConfiguration struct {
	ServerIP     *string                 `json:"serverip,omitempty"`
	Subnet       *string                 `json:"subnet,omitempty"`
	Pool         *PoolApplyConfiguration `json:"pool,omitempty"`
	Router       *string                 `json:"router,omitempty"`
	DNS          []string                `json:"dns,omitempty"`
	DomainName   *string                 `json:"domainname,omitempty"`
	DomainSearch []string                `json:"domainsearch,omitempty"`
	NTP          []string                `json:"ntp,omitempty"`
	LeaseTime    *int                    `json:"leasetime,omitempty"`
}

IPv4ConfigApplyConfiguration represents an declarative configuration of the IPv4Config type for use with apply.

func IPv4Config

func IPv4Config() *IPv4ConfigApplyConfiguration

IPv4ConfigApplyConfiguration constructs an declarative configuration of the IPv4Config type for use with apply.

func (*IPv4ConfigApplyConfiguration) WithDNS

WithDNS adds the given value to the DNS field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the DNS field.

func (*IPv4ConfigApplyConfiguration) WithDomainName added in v0.2.0

WithDomainName sets the DomainName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DomainName field is set to the value of the last call.

func (*IPv4ConfigApplyConfiguration) WithDomainSearch added in v0.2.0

func (b *IPv4ConfigApplyConfiguration) WithDomainSearch(values ...string) *IPv4ConfigApplyConfiguration

WithDomainSearch adds the given value to the DomainSearch field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the DomainSearch field.

func (*IPv4ConfigApplyConfiguration) WithLeaseTime added in v0.2.0

WithLeaseTime sets the LeaseTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LeaseTime field is set to the value of the last call.

func (*IPv4ConfigApplyConfiguration) WithNTP added in v0.2.0

WithNTP adds the given value to the NTP field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the NTP field.

func (*IPv4ConfigApplyConfiguration) WithPool

WithPool sets the Pool field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Pool field is set to the value of the last call.

func (*IPv4ConfigApplyConfiguration) WithRouter

WithRouter sets the Router field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Router field is set to the value of the last call.

func (*IPv4ConfigApplyConfiguration) WithServerIP

WithServerIP sets the ServerIP field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServerIP field is set to the value of the last call.

func (*IPv4ConfigApplyConfiguration) WithSubnet

WithSubnet sets the Subnet field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Subnet field is set to the value of the last call.

type IPv4StatusApplyConfiguration

type IPv4StatusApplyConfiguration struct {
	Allocated map[string]string `json:"allocated,omitempty"`
	Used      *int              `json:"used,omitempty"`
	Available *int              `json:"available,omitempty"`
}

IPv4StatusApplyConfiguration represents an declarative configuration of the IPv4Status type for use with apply.

func IPv4Status

func IPv4Status() *IPv4StatusApplyConfiguration

IPv4StatusApplyConfiguration constructs an declarative configuration of the IPv4Status type for use with apply.

func (*IPv4StatusApplyConfiguration) WithAllocated

WithAllocated puts the entries into the Allocated field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Allocated field, overwriting an existing map entries in Allocated field with the same key.

func (*IPv4StatusApplyConfiguration) WithAvailable

WithAvailable sets the Available field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Available field is set to the value of the last call.

func (*IPv4StatusApplyConfiguration) WithUsed

WithUsed sets the Used field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Used field is set to the value of the last call.

type NetworkConfigApplyConfiguration

type NetworkConfigApplyConfiguration struct {
	IPAddress   *string `json:"ipaddress,omitempty"`
	MACAddress  *string `json:"macaddress,omitempty"`
	NetworkName *string `json:"networkname,omitempty"`
}

NetworkConfigApplyConfiguration represents an declarative configuration of the NetworkConfig type for use with apply.

func NetworkConfig

func NetworkConfig() *NetworkConfigApplyConfiguration

NetworkConfigApplyConfiguration constructs an declarative configuration of the NetworkConfig type for use with apply.

func (*NetworkConfigApplyConfiguration) WithIPAddress

WithIPAddress sets the IPAddress field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IPAddress field is set to the value of the last call.

func (*NetworkConfigApplyConfiguration) WithMACAddress

WithMACAddress sets the MACAddress field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MACAddress field is set to the value of the last call.

func (*NetworkConfigApplyConfiguration) WithNetworkName

WithNetworkName sets the NetworkName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NetworkName field is set to the value of the last call.

type NetworkConfigStatusApplyConfiguration

type NetworkConfigStatusApplyConfiguration struct {
	MACAddress  *string `json:"macaddress,omitempty"`
	NetworkName *string `json:"networkname,omitempty"`
	Status      *string `json:"status,omitempty"`
	Message     *string `json:"message,omitempty"`
}

NetworkConfigStatusApplyConfiguration represents an declarative configuration of the NetworkConfigStatus type for use with apply.

func NetworkConfigStatus

func NetworkConfigStatus() *NetworkConfigStatusApplyConfiguration

NetworkConfigStatusApplyConfiguration constructs an declarative configuration of the NetworkConfigStatus type for use with apply.

func (*NetworkConfigStatusApplyConfiguration) WithMACAddress

WithMACAddress sets the MACAddress field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MACAddress field is set to the value of the last call.

func (*NetworkConfigStatusApplyConfiguration) WithMessage

WithMessage sets the Message field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Message field is set to the value of the last call.

func (*NetworkConfigStatusApplyConfiguration) WithNetworkName

WithNetworkName sets the NetworkName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NetworkName field is set to the value of the last call.

func (*NetworkConfigStatusApplyConfiguration) WithStatus

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

type PoolApplyConfiguration

type PoolApplyConfiguration struct {
	Start   *string  `json:"start,omitempty"`
	End     *string  `json:"end,omitempty"`
	Exclude []string `json:"exclude,omitempty"`
}

PoolApplyConfiguration represents an declarative configuration of the Pool type for use with apply.

func Pool

func Pool() *PoolApplyConfiguration

PoolApplyConfiguration constructs an declarative configuration of the Pool type for use with apply.

func (*PoolApplyConfiguration) WithEnd

WithEnd sets the End field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the End field is set to the value of the last call.

func (*PoolApplyConfiguration) WithExclude

func (b *PoolApplyConfiguration) WithExclude(values ...string) *PoolApplyConfiguration

WithExclude adds the given value to the Exclude field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Exclude field.

func (*PoolApplyConfiguration) WithStart

WithStart sets the Start field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Start field is set to the value of the last call.

type VirtualMachineNetworkConfigApplyConfiguration

type VirtualMachineNetworkConfigApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *VirtualMachineNetworkConfigSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *VirtualMachineNetworkConfigStatusApplyConfiguration `json:"status,omitempty"`
}

VirtualMachineNetworkConfigApplyConfiguration represents an declarative configuration of the VirtualMachineNetworkConfig type for use with apply.

func VirtualMachineNetworkConfig

func VirtualMachineNetworkConfig(name, namespace string) *VirtualMachineNetworkConfigApplyConfiguration

VirtualMachineNetworkConfig constructs an declarative configuration of the VirtualMachineNetworkConfig type for use with apply.

func (*VirtualMachineNetworkConfigApplyConfiguration) WithAPIVersion

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*VirtualMachineNetworkConfigApplyConfiguration) WithAnnotations

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*VirtualMachineNetworkConfigApplyConfiguration) WithCreationTimestamp

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*VirtualMachineNetworkConfigApplyConfiguration) WithDeletionGracePeriodSeconds

WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.

func (*VirtualMachineNetworkConfigApplyConfiguration) WithDeletionTimestamp

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*VirtualMachineNetworkConfigApplyConfiguration) WithFinalizers

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*VirtualMachineNetworkConfigApplyConfiguration) WithGenerateName

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*VirtualMachineNetworkConfigApplyConfiguration) WithGeneration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*VirtualMachineNetworkConfigApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*VirtualMachineNetworkConfigApplyConfiguration) WithLabels

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*VirtualMachineNetworkConfigApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*VirtualMachineNetworkConfigApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*VirtualMachineNetworkConfigApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*VirtualMachineNetworkConfigApplyConfiguration) WithResourceVersion

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*VirtualMachineNetworkConfigApplyConfiguration) WithSpec

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*VirtualMachineNetworkConfigApplyConfiguration) WithStatus

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*VirtualMachineNetworkConfigApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type VirtualMachineNetworkConfigSpecApplyConfiguration

type VirtualMachineNetworkConfigSpecApplyConfiguration struct {
	VMName        *string                           `json:"vmname,omitempty"`
	NetworkConfig []NetworkConfigApplyConfiguration `json:"networkconfig,omitempty"`
}

VirtualMachineNetworkConfigSpecApplyConfiguration represents an declarative configuration of the VirtualMachineNetworkConfigSpec type for use with apply.

func VirtualMachineNetworkConfigSpec

func VirtualMachineNetworkConfigSpec() *VirtualMachineNetworkConfigSpecApplyConfiguration

VirtualMachineNetworkConfigSpecApplyConfiguration constructs an declarative configuration of the VirtualMachineNetworkConfigSpec type for use with apply.

func (*VirtualMachineNetworkConfigSpecApplyConfiguration) WithNetworkConfig

WithNetworkConfig adds the given value to the NetworkConfig field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the NetworkConfig field.

func (*VirtualMachineNetworkConfigSpecApplyConfiguration) WithVMName

WithVMName sets the VMName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VMName field is set to the value of the last call.

type VirtualMachineNetworkConfigStatusApplyConfiguration

type VirtualMachineNetworkConfigStatusApplyConfiguration struct {
	NetworkConfig []NetworkConfigStatusApplyConfiguration `json:"networkconfig,omitempty"`
}

VirtualMachineNetworkConfigStatusApplyConfiguration represents an declarative configuration of the VirtualMachineNetworkConfigStatus type for use with apply.

func VirtualMachineNetworkConfigStatus

func VirtualMachineNetworkConfigStatus() *VirtualMachineNetworkConfigStatusApplyConfiguration

VirtualMachineNetworkConfigStatusApplyConfiguration constructs an declarative configuration of the VirtualMachineNetworkConfigStatus type for use with apply.

func (*VirtualMachineNetworkConfigStatusApplyConfiguration) WithNetworkConfig

WithNetworkConfig adds the given value to the NetworkConfig field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the NetworkConfig field.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL