LifecycleHooksProfile Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. LifecycleHooksProfile
- com.
Implements
public final class LifecycleHooksProfile
implements JsonSerializable<LifecycleHooksProfile>
Specifies the lifecycle hooks profile for the virtual machine scale set.
Constructor Summary
| Constructor | Description |
|---|---|
| LifecycleHooksProfile() |
Creates an instance of Lifecycle |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Lifecycle |
fromJson(JsonReader jsonReader)
Reads an instance of Lifecycle |
|
List<Lifecycle |
lifecycleHooks()
Get the lifecycle |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Lifecycle |
withLifecycleHooks(List<LifecycleHook> lifecycleHooks)
Set the lifecycle |
Methods inherited from java.lang.Object
Constructor Details
LifecycleHooksProfile
public LifecycleHooksProfile()
Creates an instance of LifecycleHooksProfile class.
Method Details
fromJson
public static LifecycleHooksProfile fromJson(JsonReader jsonReader)
Reads an instance of LifecycleHooksProfile from the JsonReader.
Parameters:
Returns:
Throws:
lifecycleHooks
public List<LifecycleHook> lifecycleHooks()
Get the lifecycleHooks property: Specifies the lifecycle hooks configured for the virtual machine scale set.
Returns:
toJson
validate
public void validate()
Validates the instance.
withLifecycleHooks
public LifecycleHooksProfile withLifecycleHooks(List<LifecycleHook> lifecycleHooks)
Set the lifecycleHooks property: Specifies the lifecycle hooks configured for the virtual machine scale set.
Parameters:
Returns: