Share via


ArmContainerInstanceModelFactory.ContainerGroupInstanceView Method

Definition

Initializes a new instance of ContainerGroupInstanceView.

public static Azure.ResourceManager.ContainerInstance.Models.ContainerGroupInstanceView ContainerGroupInstanceView (System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerInstance.Models.ContainerEvent> events = default, string state = default);
static member ContainerGroupInstanceView : seq<Azure.ResourceManager.ContainerInstance.Models.ContainerEvent> * string -> Azure.ResourceManager.ContainerInstance.Models.ContainerGroupInstanceView
Public Shared Function ContainerGroupInstanceView (Optional events As IEnumerable(Of ContainerEvent) = Nothing, Optional state As String = Nothing) As ContainerGroupInstanceView

Parameters

events
IEnumerable<ContainerEvent>

The events of this container group.

state
String

The state of the container group. Only valid in response.

Returns

A new ContainerGroupInstanceView instance for mocking.

Applies to