VirtualMachineScaleSetLifecycleHookEventPatch 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.
Specifies information about the virtual machine scale set lifecycle hook event.
public class VirtualMachineScaleSetLifecycleHookEventPatch : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetLifecycleHookEventPatch>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetLifecycleHookEventPatch>
type VirtualMachineScaleSetLifecycleHookEventPatch = class
interface IJsonModel<VirtualMachineScaleSetLifecycleHookEventPatch>
interface IPersistableModel<VirtualMachineScaleSetLifecycleHookEventPatch>
Public Class VirtualMachineScaleSetLifecycleHookEventPatch
Implements IJsonModel(Of VirtualMachineScaleSetLifecycleHookEventPatch), IPersistableModel(Of VirtualMachineScaleSetLifecycleHookEventPatch)
- Inheritance
-
VirtualMachineScaleSetLifecycleHookEventPatch
- Implements
Constructors
| Name | Description |
|---|---|
| VirtualMachineScaleSetLifecycleHookEventPatch() |
Initializes a new instance of VirtualMachineScaleSetLifecycleHookEventPatch. |
Properties
| Name | Description |
|---|---|
| AdditionalContextPriority |
Can only be present for a lifecycle hook event of type "UpgradeAutoOSScheduling". Denotes the priority of the virtual machine scale set lifecycle hook event for the Auto OS Upgrade scheduled on the virtual machine scale set. |
| DefaultAction |
Specify the action that will be applied on the a target resource in the virtual machine scale set lifecycle hook event if the platform does not get a response from the customer for the target resource before waitUntil. |
| EventType |
Defines the type or scenario for sending a virtual machine scale set lifecycle hook event to the customer. |
| MaxWaitUntil |
Specifies the exact UTC timestamp in ISO 8601 format till when the customer can delay the lifecycle hook event. The customer will not be allowed to delay the event to a timestamp beyond this. |
| State |
Specifies the state of the virtual machine scale set lifecycle hook event. |
| TargetResources |
List of target resources which are getting processed in the virtual machine scale set lifecycle hook event. |
| TimeCreated |
The UTC timestamp in ISO 8601 format at which the platform creates the virtual machine scale set lifecycle hook event entity. |
| WaitUntil |
Specifies the exact UTC timestamp in ISO 8601 format till which the event would remain in the current lifecycle state waiting for an action from the customer. Beyond this timestamp, the platform will apply the defaultAction for the event. |
Methods
| Name | Description |
|---|---|
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
Explicit Interface Implementations
| Name | Description |
|---|---|
| IJsonModel<VirtualMachineScaleSetLifecycleHookEventPatch>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
| IJsonModel<VirtualMachineScaleSetLifecycleHookEventPatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
| IPersistableModel<VirtualMachineScaleSetLifecycleHookEventPatch>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
| IPersistableModel<VirtualMachineScaleSetLifecycleHookEventPatch>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
| IPersistableModel<VirtualMachineScaleSetLifecycleHookEventPatch>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |