@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 the NetworkConfiguration.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 the NetworkConfiguration.Builder
, which maintain a
set of all explicitly set fields called NetworkConfiguration.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
NetworkConfiguration.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and 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.
|
Modifier and Type | Method and 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.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static NetworkConfiguration.Builder builder()
Create a new builder.
public NetworkConfiguration.Builder toBuilder()
public String getProvisioningSubnetId()
The OCID of the management subnet used to provision the Cluster.
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.
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.
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.
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.
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.
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.
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.
public String getReplicationVlanId()
The OCID of the VLAN used by the Cluster for the vSphere Replication component of the VMware environment.
public String getProvisioningVlanId()
The OCID of the VLAN used by the Cluster for the Provisioning component of the VMware environment.
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.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.