Class NetworkProfile
java.lang.Object
com.azure.resourcemanager.containerservice.models.NetworkProfile
Represents the OpenShift networking configuration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the peerVnetId property: CIDR of the Vnet to peer.voidvalidate()Validates the instance.vnetCidr()Get the vnetCidr property: CIDR for the OpenShift Vnet.vnetId()Get the vnetId property: ID of the Vnet created for OSA cluster.withPeerVnetId(String peerVnetId) Set the peerVnetId property: CIDR of the Vnet to peer.withVnetCidr(String vnetCidr) Set the vnetCidr property: CIDR for the OpenShift Vnet.withVnetId(String vnetId) Set the vnetId property: ID of the Vnet created for OSA cluster.
-
Constructor Details
-
NetworkProfile
public NetworkProfile()Creates an instance of NetworkProfile class.
-
-
Method Details
-
vnetCidr
Get the vnetCidr property: CIDR for the OpenShift Vnet.- Returns:
- the vnetCidr value.
-
withVnetCidr
Set the vnetCidr property: CIDR for the OpenShift Vnet.- Parameters:
vnetCidr- the vnetCidr value to set.- Returns:
- the NetworkProfile object itself.
-
peerVnetId
Get the peerVnetId property: CIDR of the Vnet to peer.- Returns:
- the peerVnetId value.
-
withPeerVnetId
Set the peerVnetId property: CIDR of the Vnet to peer.- Parameters:
peerVnetId- the peerVnetId value to set.- Returns:
- the NetworkProfile object itself.
-
vnetId
Get the vnetId property: ID of the Vnet created for OSA cluster.- Returns:
- the vnetId value.
-
withVnetId
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.
-