VirtualMachineScaleSetLifecycleHookEventTarget Class
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.
Define a single target ARM resource in a virtual machine scale set lifecycle hook event. Currently, this can be a virtual machine scale set resource or an individual virtual machine resource within a VMScaleSet.
public class VirtualMachineScaleSetLifecycleHookEventTarget : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetLifecycleHookEventTarget>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetLifecycleHookEventTarget>
type VirtualMachineScaleSetLifecycleHookEventTarget = class
interface IJsonModel<VirtualMachineScaleSetLifecycleHookEventTarget>
interface IPersistableModel<VirtualMachineScaleSetLifecycleHookEventTarget>
Public Class VirtualMachineScaleSetLifecycleHookEventTarget
Implements IJsonModel(Of VirtualMachineScaleSetLifecycleHookEventTarget), IPersistableModel(Of VirtualMachineScaleSetLifecycleHookEventTarget)
- Inheritance
-
VirtualMachineScaleSetLifecycleHookEventTarget
- Implements
Constructors
| Name | Description |
|---|---|
| VirtualMachineScaleSetLifecycleHookEventTarget() |
Initializes a new instance of VirtualMachineScaleSetLifecycleHookEventTarget. |
Properties
| Name | Description |
|---|---|
| ActionState |
State of the lifecycle hook for the target resource. The customer can patch this property to move the lifecycle hook to a terminal state. |
| ResourceId |
Gets or sets Id. |
Methods
| Name | Description |
|---|---|
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
Explicit Interface Implementations
| Name | Description |
|---|---|
| IJsonModel<VirtualMachineScaleSetLifecycleHookEventTarget>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
| IJsonModel<VirtualMachineScaleSetLifecycleHookEventTarget>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
| IPersistableModel<VirtualMachineScaleSetLifecycleHookEventTarget>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
| IPersistableModel<VirtualMachineScaleSetLifecycleHookEventTarget>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
| IPersistableModel<VirtualMachineScaleSetLifecycleHookEventTarget>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |