NetworkProfile Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. NetworkProfile
- com.
Implements
public final class NetworkProfile
implements JsonSerializable<NetworkProfile>
Represents the OpenShift networking configuration.
Constructor Summary
Constructor | Description |
---|---|
NetworkProfile() |
Creates an instance of Network |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Network |
fromJson(JsonReader jsonReader)
Reads an instance of Network |
String |
peerVnetId()
Get the peer |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
vnetCidr()
Get the vnet |
String |
vnetId()
Get the vnet |
Network |
withPeerVnetId(String peerVnetId)
Set the peer |
Network |
withVnetCidr(String vnetCidr)
Set the vnet |
Network |
withVnetId(String vnetId)
Set the vnet |
Methods inherited from java.lang.Object
Constructor Details
NetworkProfile
public NetworkProfile()
Creates an instance of NetworkProfile class.
Method Details
fromJson
public static NetworkProfile fromJson(JsonReader jsonReader)
Reads an instance of NetworkProfile from the JsonReader.
Parameters:
Returns:
Throws:
peerVnetId
public String peerVnetId()
Get the peerVnetId property: CIDR of the Vnet to peer.
Returns:
toJson
validate
public void validate()
Validates the instance.
vnetCidr
public String vnetCidr()
Get the vnetCidr property: CIDR for the OpenShift Vnet.
Returns:
vnetId
public String vnetId()
Get the vnetId property: ID of the Vnet created for OSA cluster.
Returns:
withPeerVnetId
public NetworkProfile withPeerVnetId(String peerVnetId)
Set the peerVnetId property: CIDR of the Vnet to peer.
Parameters:
Returns:
withVnetCidr
public NetworkProfile withVnetCidr(String vnetCidr)
Set the vnetCidr property: CIDR for the OpenShift Vnet.
Parameters:
Returns:
withVnetId
public NetworkProfile withVnetId(String vnetId)
Set the vnetId property: ID of the Vnet created for OSA cluster.
Parameters:
Returns:
Applies to
Azure SDK for Java