ContainerGroup Constructors

Definition

Overloads

ContainerGroup()

Initializes a new instance of the ContainerGroup class.

ContainerGroup(IList<Container>, String, String, String, String, String, IDictionary<String,String>, ContainerGroupIdentity, String, IList<ImageRegistryCredential>, String, IpAddress, IList<Volume>, ContainerGroupPropertiesInstanceView, ContainerGroupDiagnostics, ContainerGroupNetworkProfile, DnsConfiguration, String, EncryptionProperties, IList<InitContainerDefinition>)

Initializes a new instance of the ContainerGroup class.

ContainerGroup()

Initializes a new instance of the ContainerGroup class.

public ContainerGroup ();
Public Sub New ()

Applies to

ContainerGroup(IList<Container>, String, String, String, String, String, IDictionary<String,String>, ContainerGroupIdentity, String, IList<ImageRegistryCredential>, String, IpAddress, IList<Volume>, ContainerGroupPropertiesInstanceView, ContainerGroupDiagnostics, ContainerGroupNetworkProfile, DnsConfiguration, String, EncryptionProperties, IList<InitContainerDefinition>)

Initializes a new instance of the ContainerGroup class.

public ContainerGroup (System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerInstance.Models.Container> containers, string osType, string id = default, string name = default, string type = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.ContainerInstance.Models.ContainerGroupIdentity identity = default, string provisioningState = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerInstance.Models.ImageRegistryCredential> imageRegistryCredentials = default, string restartPolicy = default, Microsoft.Azure.Management.ContainerInstance.Models.IpAddress ipAddress = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerInstance.Models.Volume> volumes = default, Microsoft.Azure.Management.ContainerInstance.Models.ContainerGroupPropertiesInstanceView instanceView = default, Microsoft.Azure.Management.ContainerInstance.Models.ContainerGroupDiagnostics diagnostics = default, Microsoft.Azure.Management.ContainerInstance.Models.ContainerGroupNetworkProfile networkProfile = default, Microsoft.Azure.Management.ContainerInstance.Models.DnsConfiguration dnsConfig = default, string sku = default, Microsoft.Azure.Management.ContainerInstance.Models.EncryptionProperties encryptionProperties = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerInstance.Models.InitContainerDefinition> initContainers = default);
new Microsoft.Azure.Management.ContainerInstance.Models.ContainerGroup : System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerInstance.Models.Container> * string * string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.ContainerInstance.Models.ContainerGroupIdentity * string * System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerInstance.Models.ImageRegistryCredential> * string * Microsoft.Azure.Management.ContainerInstance.Models.IpAddress * System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerInstance.Models.Volume> * Microsoft.Azure.Management.ContainerInstance.Models.ContainerGroupPropertiesInstanceView * Microsoft.Azure.Management.ContainerInstance.Models.ContainerGroupDiagnostics * Microsoft.Azure.Management.ContainerInstance.Models.ContainerGroupNetworkProfile * Microsoft.Azure.Management.ContainerInstance.Models.DnsConfiguration * string * Microsoft.Azure.Management.ContainerInstance.Models.EncryptionProperties * System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerInstance.Models.InitContainerDefinition> -> Microsoft.Azure.Management.ContainerInstance.Models.ContainerGroup
Public Sub New (containers As IList(Of Container), osType As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional identity As ContainerGroupIdentity = Nothing, Optional provisioningState As String = Nothing, Optional imageRegistryCredentials As IList(Of ImageRegistryCredential) = Nothing, Optional restartPolicy As String = Nothing, Optional ipAddress As IpAddress = Nothing, Optional volumes As IList(Of Volume) = Nothing, Optional instanceView As ContainerGroupPropertiesInstanceView = Nothing, Optional diagnostics As ContainerGroupDiagnostics = Nothing, Optional networkProfile As ContainerGroupNetworkProfile = Nothing, Optional dnsConfig As DnsConfiguration = Nothing, Optional sku As String = Nothing, Optional encryptionProperties As EncryptionProperties = Nothing, Optional initContainers As IList(Of InitContainerDefinition) = Nothing)

Parameters

containers
System.Collections.Generic.IList<Container>

The containers within the container group.

osType
System.String

The operating system type required by the containers in the container group. Possible values include: 'Windows', 'Linux'

id
System.String

The resource id.

name
System.String

The resource name.

type
System.String

The resource type.

location
System.String

The resource location.

tags
System.Collections.Generic.IDictionary<System.String,System.String>

The resource tags.

identity
ContainerGroupIdentity

The identity of the container group, if configured.

provisioningState
System.String

The provisioning state of the container group. This only appears in the response.

imageRegistryCredentials
System.Collections.Generic.IList<ImageRegistryCredential>

The image registry credentials by which the container group is created from.

restartPolicy
System.String

Restart policy for all containers within the container group. - Always Always restart - OnFailure Restart on failure - Never Never restart . Possible values include: 'Always', 'OnFailure', 'Never'

ipAddress
IpAddress

The IP address type of the container group.

volumes
System.Collections.Generic.IList<Volume>

The list of volumes that can be mounted by containers in this container group.

instanceView
ContainerGroupPropertiesInstanceView

The instance view of the container group. Only valid in response.

diagnostics
ContainerGroupDiagnostics

The diagnostic information for a container group.

networkProfile
ContainerGroupNetworkProfile

The network profile information for a container group.

dnsConfig
DnsConfiguration

The DNS config information for a container group.

sku
System.String

The SKU for a container group. Possible values include: 'Standard', 'Dedicated'

encryptionProperties
EncryptionProperties

The encryption properties for a container group.

initContainers
System.Collections.Generic.IList<InitContainerDefinition>

The init containers for a container group.

Applies to