CustomizationTaskInstance 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.
A customization task to run.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20250401Preview.CustomizationTaskInstanceTypeConverter))]
public class CustomizationTaskInstance : Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20250401Preview.ICustomizationTaskInstance
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20250401Preview.CustomizationTaskInstanceTypeConverter))>]
type CustomizationTaskInstance = class
interface ICustomizationTaskInstance
interface IJsonSerializable
Public Class CustomizationTaskInstance
Implements ICustomizationTaskInstance
- Inheritance
-
CustomizationTaskInstance
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| CustomizationTaskInstance() |
Creates an new CustomizationTaskInstance instance. |
Properties
| Name | Description |
|---|---|
| Condition |
An expression that must evaluate to true in order for the task to run. |
| DisplayName |
Display name to help differentiate multiple instances of the same task. |
| Name |
Name of the task. |
| Parameter |
Parameters for the task. |
| TimeoutInSecond |
Timeout, in seconds. Overrides any timeout provided on the task definition. |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of CustomizationTaskInstance. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of CustomizationTaskInstance. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20250401Preview.ICustomizationTaskInstance. |
| FromJsonString(String) |
Creates a new instance of CustomizationTaskInstance, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of CustomizationTaskInstance into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |