LifecycleHook 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.
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. |