Class CreateVirtualNodePoolDetails
The properties that define a request to create a virtual node pool.
Inherited Members
Namespace: Oci.ContainerengineService.Models
Assembly: OCI.DotNetSDK.Containerengine.dll
Syntax
public class CreateVirtualNodePoolDetails
Properties
ClusterId
Declaration
[Required(ErrorMessage = "ClusterId is required.")]
[JsonProperty(PropertyName = "clusterId")]
public string ClusterId { get; set; }
Property Value
Type | Description |
---|---|
string | The cluster the virtual node pool is associated with. A virtual node pool can only be associated with one cluster. |
Remarks
Required
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | Compartment of the virtual node pool. |
Remarks
Required
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations": {"CostCenter": "42"}} |
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | Display name of the virtual node pool. This is a non-unique value. |
Remarks
Required
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"} |
InitialVirtualNodeLabels
Declaration
[JsonProperty(PropertyName = "initialVirtualNodeLabels")]
public List<InitialVirtualNodeLabel> InitialVirtualNodeLabels { get; set; }
Property Value
Type | Description |
---|---|
List<InitialVirtualNodeLabel> | Initial labels that will be added to the Kubernetes Virtual Node object when it registers. |
NsgIds
Declaration
[JsonProperty(PropertyName = "nsgIds")]
public List<string> NsgIds { get; set; }
Property Value
Type | Description |
---|---|
List<string> | List of network security group id's applied to the Virtual Node VNIC. |
PlacementConfigurations
Declaration
[Required(ErrorMessage = "PlacementConfigurations is required.")]
[JsonProperty(PropertyName = "placementConfigurations")]
public List<PlacementConfiguration> PlacementConfigurations { get; set; }
Property Value
Type | Description |
---|---|
List<PlacementConfiguration> | The list of placement configurations which determines where Virtual Nodes will be provisioned across as it relates to the subnet and availability domains. The size attribute determines how many we evenly spread across these placement configurations |
Remarks
Required
PodConfiguration
Declaration
[JsonProperty(PropertyName = "podConfiguration")]
public PodConfiguration PodConfiguration { get; set; }
Property Value
Type | Description |
---|---|
PodConfiguration | The pod configuration for pods run on virtual nodes of this virtual node pool. |
Size
Declaration
[JsonProperty(PropertyName = "size")]
public int? Size { get; set; }
Property Value
Type | Description |
---|---|
int? | The number of Virtual Nodes that should be in the Virtual Node Pool. The placement configurations determine where these virtual nodes are placed. |
Taints
Declaration
[JsonProperty(PropertyName = "taints")]
public List<Taint> Taints { get; set; }
Property Value
Type | Description |
---|---|
List<Taint> |
VirtualNodeTags
Declaration
[JsonProperty(PropertyName = "virtualNodeTags")]
public VirtualNodeTags VirtualNodeTags { get; set; }
Property Value
Type | Description |
---|---|
VirtualNodeTags |