LifecycleHook Class

Definition

Describes a lifecycle hook.

public class LifecycleHook
type LifecycleHook = class
Public Class LifecycleHook
Inheritance
LifecycleHook

Constructors

Name Description
LifecycleHook()

Initializes a new instance of the LifecycleHook class.

LifecycleHook(String, Nullable<TimeSpan>, String)

Initializes a new instance of the LifecycleHook class.

Properties

Name Description
DefaultAction

Gets or sets specifies the action that will be applied to a target resource in the virtual machine scale set lifecycle hook event if the platform does not receive a response from the customer for the target resource before waitUntil. Possible values include: 'Approve', 'Reject'

Type

Gets or sets specifies the type of the lifecycle hook. Possible values include: 'UpgradeAutoOSScheduling', 'UpgradeAutoOSRollingBatchStarting'

WaitDuration

Gets or sets specifies the time duration a virtual machine scale set lifecycle hook event sent to the customer waits for a response from the customer. It should be in ISO 8601 format.

Applies to