DeletePolicy Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. containerservice. models. DeletePolicy
- com.
- com.
public final class DeletePolicy
extends ExpandableStringEnum<DeletePolicy>
Delete options of a namespace.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Delete |
DELETE
Delete both the ARM resource and the Kubernetes namespace together. |
|
static final
Delete |
KEEP
Only delete the ARM resource, keep the Kubernetes namespace. |
Constructor Summary
| Constructor | Description |
|---|---|
| DeletePolicy() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Delete |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Delete |
fromString(String name)
Creates or finds a Delete |
|
static
Collection<Delete |
values()
Gets known Delete |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
DELETE
public static final DeletePolicy DELETE
Delete both the ARM resource and the Kubernetes namespace together.
KEEP
public static final DeletePolicy KEEP
Only delete the ARM resource, keep the Kubernetes namespace. Also delete the ManagedByARM label.
Constructor Details
DeletePolicy
@Deprecated
public DeletePolicy()
Deprecated
Creates a new instance of DeletePolicy value.
Method Details
fromString
public static DeletePolicy fromString(String name)
Creates or finds a DeletePolicy from its string representation.
Parameters:
Returns:
values
public static Collection<DeletePolicy> values()
Gets known DeletePolicy values.
Returns: