Share via


Revision Constructors

Definition

Overloads

Revision()

Initializes a new instance of the Revision class.

Revision(String, String, String, String, String, IDictionary<String, String>, Nullable<DateTime>, String, Template, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, String, String, String)

Initializes a new instance of the Revision class.

Revision()

Initializes a new instance of the Revision class.

public Revision ();
Public Sub New ()

Applies to

Revision(String, String, String, String, String, IDictionary<String, String>, Nullable<DateTime>, String, Template, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, String, String, String)

Initializes a new instance of the Revision class.

public Revision (string location, string id = default, string name = default, string kind = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, DateTime? createdTime = default, string fqdn = default, Microsoft.Azure.Management.WebSites.Models.Template template = default, bool? active = default, int? replicas = default, int? trafficWeight = default, string provisioningError = default, string healthState = default, string provisioningState = default);
new Microsoft.Azure.Management.WebSites.Models.Revision : string * string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Nullable<DateTime> * string * Microsoft.Azure.Management.WebSites.Models.Template * Nullable<bool> * Nullable<int> * Nullable<int> * string * string * string -> Microsoft.Azure.Management.WebSites.Models.Revision
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional kind As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional createdTime As Nullable(Of DateTime) = Nothing, Optional fqdn As String = Nothing, Optional template As Template = Nothing, Optional active As Nullable(Of Boolean) = Nothing, Optional replicas As Nullable(Of Integer) = Nothing, Optional trafficWeight As Nullable(Of Integer) = Nothing, Optional provisioningError As String = Nothing, Optional healthState As String = Nothing, Optional provisioningState As String = Nothing)

Parameters

location
String

Resource Location.

id
String

Resource Id.

name
String

Resource Name.

kind
String

Kind of resource.

type
String

Resource type.

tags
IDictionary<String,String>

Resource tags.

createdTime
Nullable<DateTime>

Timestamp describing when the revision was created by controller

fqdn
String

Fully qualified domain name of the revision

template
Template

Container App Revision Template with all possible settings and the defaults if user did not provide them. The defaults are populated as they were at the creation time

active
Nullable<Boolean>

Boolean describing if the Revision is Active

replicas
Nullable<Int32>

Number of pods currently running for this revision

trafficWeight
Nullable<Int32>

Traffic weight assigned to this revision

provisioningError
String

Optional Field - Platform Error Message

healthState
String

Current health State of the revision. Possible values include: 'Healthy', 'Unhealthy', 'None'

provisioningState
String

Current provisioning State of the revision. Possible values include: 'Provisioning', 'Provisioned', 'Failed', 'Deprovisioning', 'Deprovisioned'

Applies to