RevisionProperties 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.
Revision resource specific properties
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.RevisionPropertiesTypeConverter))]
public class RevisionProperties : Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.RevisionPropertiesTypeConverter))>]
type RevisionProperties = class
interface IRevisionProperties
interface IJsonSerializable
Public Class RevisionProperties
Implements IRevisionProperties
- Inheritance
-
RevisionProperties
- Attributes
- Implements
Constructors
RevisionProperties() |
Creates an new RevisionProperties instance. |
Properties
Active |
Boolean describing if the Revision is Active |
CreatedTime |
Timestamp describing when the revision was created by controller |
Fqdn |
Fully qualified domain name of the revision |
HealthState |
Current health State of the revision |
LastActiveTime |
Timestamp describing when the revision was last active. Only meaningful when revision is inactive |
ProvisioningError |
Optional Field - Platform Error Message |
ProvisioningState |
Current provisioning State of the revision |
Replica |
Number of pods currently running for this revision |
RunningState |
Current running state of the revision |
ScaleMaxReplica |
Optional. Maximum number of container replicas. Defaults to 10 if not set. |
ScaleMinReplica |
Optional. Minimum number of container replicas. |
ScaleRule |
Scaling rules. |
TemplateContainer |
List of container definitions for the Container App. |
TemplateInitContainer |
List of specialized containers that run before app containers. |
TemplateRevisionSuffix |
User friendly suffix that is appended to the revision name |
TemplateServiceBind |
List of container app services bound to the app |
TemplateTerminationGracePeriodSecond |
Optional duration in seconds the Container App Instance needs to terminate gracefully. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds. |
TemplateVolume |
List of volume definitions for the Container App. |
TrafficWeight |
Traffic weight assigned to this revision |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of RevisionProperties. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of RevisionProperties. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.IRevisionProperties. |
FromJsonString(String) |
Creates a new instance of RevisionProperties, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of RevisionProperties into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |