Share via


ContainerGroupData Constructor

Definition

Initializes a new instance of ContainerGroupData.

public ContainerGroupData (Azure.Core.AzureLocation location, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerInstance.Models.ContainerInstanceContainer> containers, Azure.ResourceManager.ContainerInstance.Models.ContainerInstanceOperatingSystemType osType);
new Azure.ResourceManager.ContainerInstance.ContainerGroupData : Azure.Core.AzureLocation * seq<Azure.ResourceManager.ContainerInstance.Models.ContainerInstanceContainer> * Azure.ResourceManager.ContainerInstance.Models.ContainerInstanceOperatingSystemType -> Azure.ResourceManager.ContainerInstance.ContainerGroupData
Public Sub New (location As AzureLocation, containers As IEnumerable(Of ContainerInstanceContainer), osType As ContainerInstanceOperatingSystemType)

Parameters

location
AzureLocation

The location.

containers
IEnumerable<ContainerInstanceContainer>

The containers within the container group.

osType
ContainerInstanceOperatingSystemType

The operating system type required by the containers in the container group.

Exceptions

containers is null.

Applies to