public final class WorkloadsStorageConfig
extends java.lang.Object
implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
WorkloadsStorageConfig class describes how vSphere and Kubernetes will
persist images and volumes to disk. This class was added in vSphere API 8.0.0.1.| Modifier and Type | Class and Description |
|---|---|
static class |
WorkloadsStorageConfig.Builder
Builder class for
WorkloadsStorageConfig. |
| Modifier and Type | Field and Description |
|---|---|
protected com.vmware.vapi.data.StructValue |
__dynamicStructureFields |
| Modifier | Constructor and Description |
|---|---|
|
WorkloadsStorageConfig()
Default constructor.
|
protected |
WorkloadsStorageConfig(com.vmware.vapi.data.StructValue __dynamicStructureFields) |
| Modifier and Type | Method and Description |
|---|---|
<T extends com.vmware.vapi.bindings.Structure> |
_convertTo(java.lang.Class<T> clazz) |
java.lang.String |
_getCanonicalName() |
static java.lang.String |
_getCanonicalTypeName()
Returns the canonical type name.
|
static com.vmware.vapi.bindings.type.StructType |
_getClassType()
WARNING: Internal method, subject to change in future versions.
|
com.vmware.vapi.data.StructValue |
_getDataValue() |
com.vmware.vapi.data.DataValue |
_getDynamicField(java.lang.String fieldName) |
java.util.Set<java.lang.String> |
_getDynamicFieldNames() |
com.vmware.vapi.bindings.type.StructType |
_getType() |
boolean |
_hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz) |
static WorkloadsStorageConfig |
_newInstance(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Returns new instance of this binding class and injects the provided data value. WARNING: The returned object is not fully initialized. |
static WorkloadsStorageConfig |
_newInstance2(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism. |
void |
_setDynamicField(java.lang.String fieldName,
com.vmware.vapi.data.DataValue fieldValue) |
protected void |
_updateDataValue(com.vmware.vapi.data.StructValue structValue) |
void |
_validate() |
boolean |
equals(java.lang.Object obj) |
CNSFileConfig |
getCloudNativeFileVolume()
getCloudNativeFileVolume()
specifies the Cloud Native Storage file volume support on the Supervisor. |
java.lang.String |
getEphemeralStoragePolicy()
getEphemeralStoragePolicy()
identifies the storage policy associated with ephemeral disks of all the
Kubernetes PodVMs in the cluster. |
java.lang.String |
getImageStoragePolicy()
The
getImageStoragePolicy()
class contains the specification required to configure storage used for PodVM
container images. |
int |
hashCode() |
void |
setCloudNativeFileVolume(CNSFileConfig cloudNativeFileVolume)
getCloudNativeFileVolume()
specifies the Cloud Native Storage file volume support on the Supervisor. |
void |
setEphemeralStoragePolicy(java.lang.String ephemeralStoragePolicy)
getEphemeralStoragePolicy()
identifies the storage policy associated with ephemeral disks of all the
Kubernetes PodVMs in the cluster. |
void |
setImageStoragePolicy(java.lang.String imageStoragePolicy)
The
getImageStoragePolicy()
class contains the specification required to configure storage used for PodVM
container images. |
java.lang.String |
toString() |
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
public WorkloadsStorageConfig()
protected WorkloadsStorageConfig(com.vmware.vapi.data.StructValue __dynamicStructureFields)
public CNSFileConfig getCloudNativeFileVolume()
getCloudNativeFileVolume()
specifies the Cloud Native Storage file volume support on the Supervisor. This
feature provides ReadWriteMany container volumes support. This property
was added in vSphere API 8.0.0.1.
If null, file volume support will not be enabled on the Supervisor.public void setCloudNativeFileVolume(CNSFileConfig cloudNativeFileVolume)
getCloudNativeFileVolume()
specifies the Cloud Native Storage file volume support on the Supervisor. This
feature provides ReadWriteMany container volumes support. This property
was added in vSphere API 8.0.0.1.
If null, file volume support will not be enabled on the Supervisor.cloudNativeFileVolume - New value for the property.public java.lang.String getEphemeralStoragePolicy()
getEphemeralStoragePolicy()
identifies the storage policy associated with ephemeral disks of all the
Kubernetes PodVMs in the cluster. This property was added in vSphere API
8.0.0.1.
If null during cluster enablement, the ephemeral storage policy will be
defaulted to the configured ControlPlane.getStoragePolicy().SpsStorageProfile. When methods return
a value of this class as a return value, the property will be an identifier for
the resource type: SpsStorageProfile.public void setEphemeralStoragePolicy(java.lang.String ephemeralStoragePolicy)
getEphemeralStoragePolicy()
identifies the storage policy associated with ephemeral disks of all the
Kubernetes PodVMs in the cluster. This property was added in vSphere API
8.0.0.1.
If null during cluster enablement, the ephemeral storage policy will be
defaulted to the configured ControlPlane.getStoragePolicy().ephemeralStoragePolicy - New value for the property.
When clients pass a value of this class as a parameter, the property must be an
identifier for the resource type: SpsStorageProfile. When methods return
a value of this class as a return value, the property will be an identifier for
the resource type: SpsStorageProfile.public java.lang.String getImageStoragePolicy()
getImageStoragePolicy()
class contains the specification required to configure storage used for PodVM
container images. This property was added in vSphere API 8.0.0.1.
If null, the image storage policy will be set to the specified getEphemeralStoragePolicy()
if provided. This field will inherit any defaults for ephemeral storage policy
set by the system.SpsStorageProfile. When methods return
a value of this class as a return value, the property will be an identifier for
the resource type: SpsStorageProfile.public void setImageStoragePolicy(java.lang.String imageStoragePolicy)
getImageStoragePolicy()
class contains the specification required to configure storage used for PodVM
container images. This property was added in vSphere API 8.0.0.1.
If null, the image storage policy will be set to the specified getEphemeralStoragePolicy()
if provided. This field will inherit any defaults for ephemeral storage policy
set by the system.imageStoragePolicy - New value for the property.
When clients pass a value of this class as a parameter, the property must be an
identifier for the resource type: SpsStorageProfile. When methods return
a value of this class as a return value, the property will be an identifier for
the resource type: SpsStorageProfile.public com.vmware.vapi.bindings.type.StructType _getType()
_getType in interface com.vmware.vapi.bindings.StaticStructurepublic com.vmware.vapi.data.StructValue _getDataValue()
_getDataValue in interface com.vmware.vapi.bindings.Structureprotected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
public void _validate()
_validate in interface com.vmware.vapi.bindings.StaticStructurepublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in interface com.vmware.vapi.bindings.StaticStructuretoString in class java.lang.Objectpublic boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
_hasTypeNameOf in interface com.vmware.vapi.bindings.Structurepublic <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
_convertTo in interface com.vmware.vapi.bindings.Structurepublic void _setDynamicField(java.lang.String fieldName,
com.vmware.vapi.data.DataValue fieldValue)
_setDynamicField in interface com.vmware.vapi.bindings.StaticStructurepublic com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
_getDynamicField in interface com.vmware.vapi.bindings.StaticStructurepublic java.util.Set<java.lang.String> _getDynamicFieldNames()
_getDynamicFieldNames in interface com.vmware.vapi.bindings.StaticStructurepublic static com.vmware.vapi.bindings.type.StructType _getClassType()
StructType instance representing the static bindings
type for this Structure.public java.lang.String _getCanonicalName()
_getCanonicalName in interface com.vmware.vapi.bindings.Structurepublic static java.lang.String _getCanonicalTypeName()
_getCanonicalName().public static WorkloadsStorageConfig _newInstance(com.vmware.vapi.data.StructValue structValue)
structValue - the source of the data contained in the binding object. Could
contain more data than fields of this class can describe i.e.
newer version of the binding object. Could be null.StructTypepublic static WorkloadsStorageConfig _newInstance2(com.vmware.vapi.data.StructValue structValue)