Class CreateClusterDetails
The properties that define a request to create a cluster.
Inherited Members
Namespace: Oci.ContainerengineService.Models
Assembly: OCI.DotNetSDK.Containerengine.dll
Syntax
public class CreateClusterDetails
Properties
ClusterPodNetworkOptions
Declaration
[JsonProperty(PropertyName = "clusterPodNetworkOptions")]
public List<ClusterPodNetworkOptionDetails> ClusterPodNetworkOptions { get; set; }
Property Value
Type | Description |
---|---|
List<ClusterPodNetworkOptionDetails> | Available CNIs and network options for existing and new node pools of the cluster |
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment in which to create the cluster. |
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"}} |
EndpointConfig
Declaration
[JsonProperty(PropertyName = "endpointConfig")]
public CreateClusterEndpointConfigDetails EndpointConfig { get; set; }
Property Value
Type | Description |
---|---|
CreateClusterEndpointConfigDetails | The network configuration for access to the Cluster control plane. |
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"} |
ImagePolicyConfig
Declaration
[JsonProperty(PropertyName = "imagePolicyConfig")]
public CreateImagePolicyConfigDetails ImagePolicyConfig { get; set; }
Property Value
Type | Description |
---|---|
CreateImagePolicyConfigDetails | The image verification policy for signature validation. Once a policy is created and enabled with one or more kms keys, the policy will ensure all images deployed has been signed with the key(s) attached to the policy. |
KmsKeyId
Declaration
[JsonProperty(PropertyName = "kmsKeyId")]
public string KmsKeyId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption.
When used, |
KubernetesVersion
Declaration
[Required(ErrorMessage = "KubernetesVersion is required.")]
[JsonProperty(PropertyName = "kubernetesVersion")]
public string KubernetesVersion { get; set; }
Property Value
Type | Description |
---|---|
string | The version of Kubernetes to install into the cluster masters. |
Remarks
Required
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the cluster. Avoid entering confidential information. |
Remarks
Required
Options
Declaration
[JsonProperty(PropertyName = "options")]
public ClusterCreateOptions Options { get; set; }
Property Value
Type | Description |
---|---|
ClusterCreateOptions | Optional attributes for the cluster. |
Type
Declaration
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(StringEnumConverter))]
public ClusterType? Type { get; set; }
Property Value
Type | Description |
---|---|
ClusterType? | Type of cluster |
VcnId
Declaration
[Required(ErrorMessage = "VcnId is required.")]
[JsonProperty(PropertyName = "vcnId")]
public string VcnId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the virtual cloud network (VCN) in which to create the cluster. |
Remarks
Required