Class VirtualNetworksPropertiesInfraVnetProfileKubevirt
java.lang.Object
com.azure.resourcemanager.hybridcontainerservice.models.VirtualNetworksPropertiesInfraVnetProfileKubevirt
Infra network profile for KubeVirt platform.
-
Constructor Summary
ConstructorDescriptionCreates an instance of VirtualNetworksPropertiesInfraVnetProfileKubevirt class. -
Method Summary
Modifier and TypeMethodDescriptionvoid
validate()
Validates the instance.vnetName()
Get the vnetName property: Name of the network in KubeVirt.withVnetName
(String vnetName) Set the vnetName property: Name of the network in KubeVirt.
-
Constructor Details
-
VirtualNetworksPropertiesInfraVnetProfileKubevirt
public VirtualNetworksPropertiesInfraVnetProfileKubevirt()Creates an instance of VirtualNetworksPropertiesInfraVnetProfileKubevirt class.
-
-
Method Details
-
vnetName
Get the vnetName property: Name of the network in KubeVirt.- Returns:
- the vnetName value.
-
withVnetName
Set the vnetName property: Name of the network in KubeVirt.- Parameters:
vnetName
- the vnetName value to set.- Returns:
- the VirtualNetworksPropertiesInfraVnetProfileKubevirt object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-