Class NetworkProfile
- java.lang.Object
-
- com.azure.resourcemanager.containerservice.models.NetworkProfile
-
public final class NetworkProfile extends Object
Represents the OpenShift networking configuration.
-
-
Constructor Summary
Constructors Constructor Description NetworkProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringpeerVnetId()Get the peerVnetId property: CIDR of the Vnet to peer.voidvalidate()Validates the instance.StringvnetCidr()Get the vnetCidr property: CIDR for the OpenShift Vnet.StringvnetId()Get the vnetId property: ID of the Vnet created for OSA cluster.NetworkProfilewithPeerVnetId(String peerVnetId)Set the peerVnetId property: CIDR of the Vnet to peer.NetworkProfilewithVnetCidr(String vnetCidr)Set the vnetCidr property: CIDR for the OpenShift Vnet.NetworkProfilewithVnetId(String vnetId)Set the vnetId property: ID of the Vnet created for OSA cluster.
-
-
-
Method Detail
-
vnetCidr
public String vnetCidr()
Get the vnetCidr property: CIDR for the OpenShift Vnet.- Returns:
- the vnetCidr value.
-
withVnetCidr
public NetworkProfile withVnetCidr(String vnetCidr)
Set the vnetCidr property: CIDR for the OpenShift Vnet.- Parameters:
vnetCidr- the vnetCidr value to set.- Returns:
- the NetworkProfile object itself.
-
peerVnetId
public String peerVnetId()
Get the peerVnetId property: CIDR of the Vnet to peer.- Returns:
- the peerVnetId value.
-
withPeerVnetId
public NetworkProfile withPeerVnetId(String peerVnetId)
Set the peerVnetId property: CIDR of the Vnet to peer.- Parameters:
peerVnetId- the peerVnetId value to set.- Returns:
- the NetworkProfile object itself.
-
vnetId
public String vnetId()
Get the vnetId property: ID of the Vnet created for OSA cluster.- Returns:
- the vnetId value.
-
withVnetId
public NetworkProfile withVnetId(String vnetId)
Set the vnetId property: ID of the Vnet created for OSA cluster.- Parameters:
vnetId- the vnetId value to set.- Returns:
- the NetworkProfile object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-