Class NetworkConfiguration
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.ocvp.model.NetworkConfiguration
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20230701") public final class NetworkConfiguration extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The network configurations used by Cluster, including OCIDs of the management subnet and VLANs.
Note: Objects should always be created or deserialized using theNetworkConfiguration.Builder
. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theNetworkConfiguration.Builder
, which maintain a set of all explicitly set fields calledNetworkConfiguration.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NetworkConfiguration.Builder
-
Constructor Summary
Constructors Constructor Description NetworkConfiguration(String provisioningSubnetId, String vsphereVlanId, String vmotionVlanId, String vsanVlanId, String nsxVTepVlanId, String nsxEdgeVTepVlanId, String nsxEdgeUplink1VlanId, String nsxEdgeUplink2VlanId, String replicationVlanId, String provisioningVlanId, String hcxVlanId)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NetworkConfiguration.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getHcxVlanId()
The OCID of the VLAN used by the SDDC for the HCX component of the VMware environment.String
getNsxEdgeUplink1VlanId()
The OCID of the VLAN used by the SDDC for the NSX Edge Uplink 1 component of the VMware environment.String
getNsxEdgeUplink2VlanId()
The OCID of the VLAN used by the SDDC for the NSX Edge Uplink 2 component of the VMware environment.String
getNsxEdgeVTepVlanId()
The OCID of the VLAN used by the Cluster for the NSX Edge VTEP component of the VMware environment.String
getNsxVTepVlanId()
The OCID of the VLAN used by the Cluster for the NSX VTEP component of the VMware environment.String
getProvisioningSubnetId()
The OCID of the management subnet used to provision the Cluster.String
getProvisioningVlanId()
The OCID of the VLAN used by the Cluster for the Provisioning component of the VMware environment.String
getReplicationVlanId()
The OCID of the VLAN used by the Cluster for the vSphere Replication component of the VMware environment.String
getVmotionVlanId()
The OCID of the VLAN used by the Cluster for the vMotion component of the VMware environment.String
getVsanVlanId()
The OCID of the VLAN used by the Cluster for the vSAN component of the VMware environment.String
getVsphereVlanId()
The OCID of the VLAN used by the SDDC for the vSphere component of the VMware environment.int
hashCode()
NetworkConfiguration.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
NetworkConfiguration
@Deprecated @ConstructorProperties({"provisioningSubnetId","vsphereVlanId","vmotionVlanId","vsanVlanId","nsxVTepVlanId","nsxEdgeVTepVlanId","nsxEdgeUplink1VlanId","nsxEdgeUplink2VlanId","replicationVlanId","provisioningVlanId","hcxVlanId"}) public NetworkConfiguration(String provisioningSubnetId, String vsphereVlanId, String vmotionVlanId, String vsanVlanId, String nsxVTepVlanId, String nsxEdgeVTepVlanId, String nsxEdgeUplink1VlanId, String nsxEdgeUplink2VlanId, String replicationVlanId, String provisioningVlanId, String hcxVlanId)
Deprecated.
-
-
Method Detail
-
builder
public static NetworkConfiguration.Builder builder()
Create a new builder.
-
toBuilder
public NetworkConfiguration.Builder toBuilder()
-
getProvisioningSubnetId
public String getProvisioningSubnetId()
The OCID of the management subnet used to provision the Cluster.- Returns:
- the value
-
getVsphereVlanId
public String getVsphereVlanId()
The OCID of the VLAN used by the SDDC for the vSphere component of the VMware environment.This VLAN is a mandatory attribute for Management Cluster.
This attribute is not guaranteed to reflect the vSphere VLAN currently used by the ESXi hosts in the Cluster. The purpose of this attribute is to show the vSphere VLAN that the Oracle Cloud VMware Solution will use for any new ESXi hosts that you *add to this Cluster in the future* with
createEsxiHost
.Therefore, if you change the existing ESXi hosts in the Cluster to use a different VLAN for the vSphere component of the VMware environment, you should use
updateSddc
to update the Cluster's vsphereVlanId with that new VLAN's OCID.- Returns:
- the value
-
getVmotionVlanId
public String getVmotionVlanId()
The OCID of the VLAN used by the Cluster for the vMotion component of the VMware environment.This attribute is not guaranteed to reflect the vMotion VLAN currently used by the ESXi hosts in the Cluster. The purpose of this attribute is to show the vMotion VLAN that the Oracle Cloud VMware Solution will use for any new ESXi hosts that you *add to this Cluster in the future* with
createEsxiHost
.Therefore, if you change the existing ESXi hosts in the Cluster to use a different VLAN for the vMotion component of the VMware environment, you should use
updateCluster
to update the Cluster's vmotionVlanId with that new VLAN's OCID.- Returns:
- the value
-
getVsanVlanId
public String getVsanVlanId()
The OCID of the VLAN used by the Cluster for the vSAN component of the VMware environment.This attribute is not guaranteed to reflect the vSAN VLAN currently used by the ESXi hosts in the Cluster. The purpose of this attribute is to show the vSAN VLAN that the Oracle Cloud VMware Solution will use for any new ESXi hosts that you *add to this Cluster in the future* with
createEsxiHost
.Therefore, if you change the existing ESXi hosts in the Cluster to use a different VLAN for the vSAN component of the VMware environment, you should use
updateCluster
to update the Cluster's vsanVlanId with that new VLAN's OCID.- Returns:
- the value
-
getNsxVTepVlanId
public String getNsxVTepVlanId()
The OCID of the VLAN used by the Cluster for the NSX VTEP component of the VMware environment.This attribute is not guaranteed to reflect the NSX VTEP VLAN currently used by the ESXi hosts in the Cluster. The purpose of this attribute is to show the NSX VTEP VLAN that the Oracle Cloud VMware Solution will use for any new ESXi hosts that you *add to this Cluster in the future* with
createEsxiHost
.Therefore, if you change the existing ESXi hosts in the Cluster to use a different VLAN for the NSX VTEP component of the VMware environment, you should use
updateCluster
to update the Cluster's nsxVTepVlanId with that new VLAN's OCID.- Returns:
- the value
-
getNsxEdgeVTepVlanId
public String getNsxEdgeVTepVlanId()
The OCID of the VLAN used by the Cluster for the NSX Edge VTEP component of the VMware environment.This attribute is not guaranteed to reflect the NSX Edge VTEP VLAN currently used by the ESXi hosts in the Cluster. The purpose of this attribute is to show the NSX Edge VTEP VLAN that the Oracle Cloud VMware Solution will use for any new ESXi hosts that you *add to this Cluster in the future* with
createEsxiHost
.Therefore, if you change the existing ESXi hosts in the Cluster to use a different VLAN for the NSX Edge VTEP component of the VMware environment, you should use
updateCluster
to update the Cluster's nsxEdgeVTepVlanId with that new VLAN's OCID.- Returns:
- the value
-
getNsxEdgeUplink1VlanId
public String getNsxEdgeUplink1VlanId()
The OCID of the VLAN used by the SDDC for the NSX Edge Uplink 1 component of the VMware environment.This VLAN is a mandatory attribute for Management Cluster.
This attribute is not guaranteed to reflect the NSX Edge Uplink 1 VLAN currently used by the ESXi hosts in the Cluster. The purpose of this attribute is to show the NSX Edge Uplink 1 VLAN that the Oracle Cloud VMware Solution will use for any new ESXi hosts that you *add to this Cluster in the future* with
createEsxiHost
.Therefore, if you change the existing ESXi hosts in the Cluster to use a different VLAN for the NSX Edge Uplink 1 component of the VMware environment, you should use
updateCluster
to update the Cluster's nsxEdgeUplink1VlanId with that new VLAN's OCID.- Returns:
- the value
-
getNsxEdgeUplink2VlanId
public String getNsxEdgeUplink2VlanId()
The OCID of the VLAN used by the SDDC for the NSX Edge Uplink 2 component of the VMware environment.This VLAN is a mandatory attribute for Management Cluster.
This attribute is not guaranteed to reflect the NSX Edge Uplink 2 VLAN currently used by the ESXi hosts in the Cluster. The purpose of this attribute is to show the NSX Edge Uplink 2 VLAN that the Oracle Cloud VMware Solution will use for any new ESXi hosts that you *add to this Cluster in the future* with
createEsxiHost
.Therefore, if you change the existing ESXi hosts in the Cluster to use a different VLAN for the NSX Edge Uplink 2 component of the VMware environment, you should use
updateCluster
to update the Cluster's nsxEdgeUplink2VlanId with that new VLAN's OCID.- Returns:
- the value
-
getReplicationVlanId
public String getReplicationVlanId()
The OCID of the VLAN used by the Cluster for the vSphere Replication component of the VMware environment.- Returns:
- the value
-
getProvisioningVlanId
public String getProvisioningVlanId()
The OCID of the VLAN used by the Cluster for the Provisioning component of the VMware environment.- Returns:
- the value
-
getHcxVlanId
public String getHcxVlanId()
The OCID of the VLAN used by the SDDC for the HCX component of the VMware environment.This VLAN is a mandatory attribute for Management Cluster when HCX is enabled.
This attribute is not guaranteed to reflect the HCX VLAN currently used by the ESXi hosts in the SDDC. The purpose of this attribute is to show the HCX VLAN that the Oracle Cloud VMware Solution will use for any new ESXi hosts that you *add to this SDDC in the future* with
createEsxiHost
.Therefore, if you change the existing ESXi hosts in the SDDC to use a different VLAN for the HCX component of the VMware environment, you should use
updateSddc
to update the SDDC's hcxVlanId with that new VLAN's OCID.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-