ArmAppContainersModelFactory.ContainerAppRevisionData Method
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.
Initializes a new instance of ContainerAppRevisionData.
public static Azure.ResourceManager.AppContainers.ContainerAppRevisionData ContainerAppRevisionData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, DateTimeOffset? createdOn = default, DateTimeOffset? lastActiveOn = default, string fqdn = default, Azure.ResourceManager.AppContainers.Models.ContainerAppTemplate template = default, bool? isActive = default, int? replicas = default, int? trafficWeight = default, string provisioningError = default, Azure.ResourceManager.AppContainers.Models.ContainerAppRevisionHealthState? healthState = default, Azure.ResourceManager.AppContainers.Models.ContainerAppRevisionProvisioningState? provisioningState = default, Azure.ResourceManager.AppContainers.Models.RevisionRunningState? runningState = default);
static member ContainerAppRevisionData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * Azure.ResourceManager.AppContainers.Models.ContainerAppTemplate * Nullable<bool> * Nullable<int> * Nullable<int> * string * Nullable<Azure.ResourceManager.AppContainers.Models.ContainerAppRevisionHealthState> * Nullable<Azure.ResourceManager.AppContainers.Models.ContainerAppRevisionProvisioningState> * Nullable<Azure.ResourceManager.AppContainers.Models.RevisionRunningState> -> Azure.ResourceManager.AppContainers.ContainerAppRevisionData
Public Shared Function ContainerAppRevisionData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastActiveOn As Nullable(Of DateTimeOffset) = Nothing, Optional fqdn As String = Nothing, Optional template As ContainerAppTemplate = Nothing, Optional isActive 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 Nullable(Of ContainerAppRevisionHealthState) = Nothing, Optional provisioningState As Nullable(Of ContainerAppRevisionProvisioningState) = Nothing, Optional runningState As Nullable(Of RevisionRunningState) = Nothing) As ContainerAppRevisionData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- createdOn
- Nullable<DateTimeOffset>
Timestamp describing when the revision was created by controller
- lastActiveOn
- Nullable<DateTimeOffset>
Timestamp describing when the revision was last active. Only meaningful when revision is inactive.
- fqdn
- String
Fully qualified domain name of the revision.
- template
- ContainerAppTemplate
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
- provisioningError
- String
Optional Field - Platform Error Message.
- healthState
- Nullable<ContainerAppRevisionHealthState>
Current health State of the revision.
- provisioningState
- Nullable<ContainerAppRevisionProvisioningState>
Current provisioning State of the revision.
- runningState
- Nullable<RevisionRunningState>
Current running state of the revision.
Returns
A new ContainerAppRevisionData instance for mocking.