@Generated(value="OracleSDKGenerator", comments="API Version: 20210630") public final class CreateOkeHelmChartDeployStageDetails extends CreateDeployStageDetails
Specifies the Helm chart deployment to a Kubernetes cluster stage.
Note: Objects should always be created or deserialized using the CreateOkeHelmChartDeployStageDetails.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 CreateOkeHelmChartDeployStageDetails.Builder
, which maintain a
set of all explicitly set fields called CreateOkeHelmChartDeployStageDetails.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 |
CreateOkeHelmChartDeployStageDetails.Builder |
static class |
CreateOkeHelmChartDeployStageDetails.Purpose
The purpose of running this Helm stage
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
CreateOkeHelmChartDeployStageDetails(String description,
String displayName,
String deployPipelineId,
DeployStagePredecessorCollection deployStagePredecessorCollection,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
String okeClusterDeployEnvironmentId,
String helmChartDeployArtifactId,
List<String> valuesArtifactIds,
String releaseName,
Boolean isUninstallOnStageDelete,
List<String> helmCommandArtifactIds,
CreateOkeHelmChartDeployStageDetails.Purpose purpose,
String namespace,
Integer timeoutInSeconds,
DeployStageRollbackPolicy rollbackPolicy,
HelmSetValueCollection setValues,
HelmSetValueCollection setString,
Boolean areHooksEnabled,
Boolean shouldReuseValues,
Boolean shouldResetValues,
Boolean isForceEnabled,
Boolean shouldCleanupOnFail,
Integer maxHistory,
Boolean shouldSkipCrds,
Boolean shouldSkipRenderSubchartNotes,
Boolean shouldNotWait,
Boolean isDebugEnabled)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreateOkeHelmChartDeployStageDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Boolean |
getAreHooksEnabled()
Disable pre/post upgrade hooks.
|
String |
getHelmChartDeployArtifactId()
Helm chart artifact OCID.
|
List<String> |
getHelmCommandArtifactIds()
List of Helm command artifact OCIDs.
|
Boolean |
getIsDebugEnabled()
Enables helm –debug option to stream output to tf stdout.
|
Boolean |
getIsForceEnabled()
Force resource update through delete; or if required, recreate.
|
Boolean |
getIsUninstallOnStageDelete()
Uninstall the Helm chart release on deleting the stage.
|
Integer |
getMaxHistory()
Limit the maximum number of revisions saved per release.
|
String |
getNamespace()
Default namespace to be used for Kubernetes deployment when not specified in the manifest.
|
String |
getOkeClusterDeployEnvironmentId()
Kubernetes cluster environment OCID for deployment.
|
CreateOkeHelmChartDeployStageDetails.Purpose |
getPurpose()
The purpose of running this Helm stage
|
String |
getReleaseName()
Default name of the chart instance.
|
DeployStageRollbackPolicy |
getRollbackPolicy() |
HelmSetValueCollection |
getSetString() |
HelmSetValueCollection |
getSetValues() |
Boolean |
getShouldCleanupOnFail()
Allow deletion of new resources created during when an upgrade fails.
|
Boolean |
getShouldNotWait()
Does not wait until all the resources are in a ready state to mark the release as successful
if set to true.
|
Boolean |
getShouldResetValues()
During upgrade, reset the values to the ones built into the chart.
|
Boolean |
getShouldReuseValues()
During upgrade, reuse the values of the last release and merge overrides from the command
line.
|
Boolean |
getShouldSkipCrds()
If set, no CRDs are installed.
|
Boolean |
getShouldSkipRenderSubchartNotes()
If set, renders subchart notes along with the parent.
|
Integer |
getTimeoutInSeconds()
Time to wait for execution of a helm stage.
|
List<String> |
getValuesArtifactIds()
List of values.yaml file artifact OCIDs.
|
int |
hashCode() |
CreateOkeHelmChartDeployStageDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getDefinedTags, getDeployPipelineId, getDeployStagePredecessorCollection, getDescription, getDisplayName, getFreeformTags
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public CreateOkeHelmChartDeployStageDetails(String description, String displayName, String deployPipelineId, DeployStagePredecessorCollection deployStagePredecessorCollection, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, String okeClusterDeployEnvironmentId, String helmChartDeployArtifactId, List<String> valuesArtifactIds, String releaseName, Boolean isUninstallOnStageDelete, List<String> helmCommandArtifactIds, CreateOkeHelmChartDeployStageDetails.Purpose purpose, String namespace, Integer timeoutInSeconds, DeployStageRollbackPolicy rollbackPolicy, HelmSetValueCollection setValues, HelmSetValueCollection setString, Boolean areHooksEnabled, Boolean shouldReuseValues, Boolean shouldResetValues, Boolean isForceEnabled, Boolean shouldCleanupOnFail, Integer maxHistory, Boolean shouldSkipCrds, Boolean shouldSkipRenderSubchartNotes, Boolean shouldNotWait, Boolean isDebugEnabled)
public static CreateOkeHelmChartDeployStageDetails.Builder builder()
Create a new builder.
public CreateOkeHelmChartDeployStageDetails.Builder toBuilder()
public String getOkeClusterDeployEnvironmentId()
Kubernetes cluster environment OCID for deployment.
public String getHelmChartDeployArtifactId()
Helm chart artifact OCID.
public List<String> getValuesArtifactIds()
List of values.yaml file artifact OCIDs.
public String getReleaseName()
Default name of the chart instance. Must be unique within a Kubernetes namespace.
public Boolean getIsUninstallOnStageDelete()
Uninstall the Helm chart release on deleting the stage.
public List<String> getHelmCommandArtifactIds()
List of Helm command artifact OCIDs.
public CreateOkeHelmChartDeployStageDetails.Purpose getPurpose()
The purpose of running this Helm stage
public String getNamespace()
Default namespace to be used for Kubernetes deployment when not specified in the manifest.
public Integer getTimeoutInSeconds()
Time to wait for execution of a helm stage. Defaults to 300 seconds.
public DeployStageRollbackPolicy getRollbackPolicy()
public HelmSetValueCollection getSetValues()
public HelmSetValueCollection getSetString()
public Boolean getAreHooksEnabled()
Disable pre/post upgrade hooks. Set to false by default.
public Boolean getShouldReuseValues()
During upgrade, reuse the values of the last release and merge overrides from the command line. Set to false by default.
public Boolean getShouldResetValues()
During upgrade, reset the values to the ones built into the chart. It overrides shouldReuseValues. Set to false by default.
public Boolean getIsForceEnabled()
Force resource update through delete; or if required, recreate. Set to false by default.
public Boolean getShouldCleanupOnFail()
Allow deletion of new resources created during when an upgrade fails. Set to false by default.
public Integer getMaxHistory()
Limit the maximum number of revisions saved per release. Use 0 for no limit. Set to 10 by default
public Boolean getShouldSkipCrds()
If set, no CRDs are installed. By default, CRDs are installed only if they are not present already. Set to false by default.
public Boolean getShouldSkipRenderSubchartNotes()
If set, renders subchart notes along with the parent. Set to false by default.
public Boolean getShouldNotWait()
Does not wait until all the resources are in a ready state to mark the release as successful if set to true. Set to false by default.
public Boolean getIsDebugEnabled()
Enables helm –debug option to stream output to tf stdout. Set to false by default.
public String toString()
toString
in class CreateDeployStageDetails
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class CreateDeployStageDetails
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class CreateDeployStageDetails
public int hashCode()
hashCode
in class CreateDeployStageDetails
Copyright © 2016–2024. All rights reserved.