EvictionPolicy Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Different kind of eviction policies.
public readonly struct EvictionPolicy : IEquatable<Azure.ResourceManager.Compute.BulkActions.Models.EvictionPolicy>
type EvictionPolicy = struct
Public Structure EvictionPolicy
Implements IEquatable(Of EvictionPolicy)
- Inheritance
-
EvictionPolicy
- Implements
Constructors
| Name | Description |
|---|---|
| EvictionPolicy(String) |
Initializes a new instance of EvictionPolicy. |
Properties
| Name | Description |
|---|---|
| Deallocate |
When evicted, the Spot VM will be deallocated/stopped. |
| Delete |
When evicted, the Spot VM will be deleted and the corresponding capacity will be updated to reflect this. |
Methods
| Name | Description |
|---|---|
| Equals(EvictionPolicy) |
Indicates whether the current object is equal to another object of the same type. |
| ToString() |
Returns the fully qualified type name of this instance. |
Operators
| Name | Description |
|---|---|
| Equality(EvictionPolicy, EvictionPolicy) |
Determines if two EvictionPolicy values are the same. |
| Implicit(String to EvictionPolicy) |
Converts a string to a EvictionPolicy. |
| Implicit(String to Nullable<EvictionPolicy>) | |
| Inequality(EvictionPolicy, EvictionPolicy) |
Determines if two EvictionPolicy values are not the same. |