public final class NetworkProfile extends Object
| Constructor and Description |
|---|
NetworkProfile() |
| Modifier and Type | Method and Description |
|---|---|
String |
peerVnetId()
Get the peerVnetId property: CIDR of the Vnet to peer.
|
void |
validate()
Validates the instance.
|
String |
vnetCidr()
Get the vnetCidr property: CIDR for the OpenShift Vnet.
|
String |
vnetId()
Get the vnetId property: ID of the Vnet created for OSA cluster.
|
NetworkProfile |
withPeerVnetId(String peerVnetId)
Set the peerVnetId property: CIDR of the Vnet to peer.
|
NetworkProfile |
withVnetCidr(String vnetCidr)
Set the vnetCidr property: CIDR for the OpenShift Vnet.
|
NetworkProfile |
withVnetId(String vnetId)
Set the vnetId property: ID of the Vnet created for OSA cluster.
|
public String vnetCidr()
public NetworkProfile withVnetCidr(String vnetCidr)
vnetCidr - the vnetCidr value to set.public String peerVnetId()
public NetworkProfile withPeerVnetId(String peerVnetId)
peerVnetId - the peerVnetId value to set.public String vnetId()
public NetworkProfile withVnetId(String vnetId)
vnetId - the vnetId value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.