ArmAppContainersModelFactory.ContainerAppReplicaData 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 ContainerAppReplicaData.
public static Azure.ResourceManager.AppContainers.ContainerAppReplicaData ContainerAppReplicaData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, DateTimeOffset? createdOn = default, Azure.ResourceManager.AppContainers.Models.ContainerAppReplicaRunningState? runningState = default, string runningStateDetails = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppContainers.Models.ContainerAppReplicaContainer> containers = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppContainers.Models.ContainerAppReplicaContainer> initContainers = default);
static member ContainerAppReplicaData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.AppContainers.Models.ContainerAppReplicaRunningState> * string * seq<Azure.ResourceManager.AppContainers.Models.ContainerAppReplicaContainer> * seq<Azure.ResourceManager.AppContainers.Models.ContainerAppReplicaContainer> -> Azure.ResourceManager.AppContainers.ContainerAppReplicaData
Public Shared Function ContainerAppReplicaData (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 runningState As Nullable(Of ContainerAppReplicaRunningState) = Nothing, Optional runningStateDetails As String = Nothing, Optional containers As IEnumerable(Of ContainerAppReplicaContainer) = Nothing, Optional initContainers As IEnumerable(Of ContainerAppReplicaContainer) = Nothing) As ContainerAppReplicaData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- createdOn
- Nullable<DateTimeOffset>
Timestamp describing when the pod was created by controller.
- runningState
- Nullable<ContainerAppReplicaRunningState>
Current running state of the replica.
- runningStateDetails
- String
The details of replica current running state.
- containers
- IEnumerable<ContainerAppReplicaContainer>
The containers collection under a replica.
- initContainers
- IEnumerable<ContainerAppReplicaContainer>
The init containers collection under a replica.
Returns
A new ContainerAppReplicaData instance for mocking.
Applies to
Azure SDK for .NET