ContainerGroupInner Constructors
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.
Overloads
ContainerGroupInner() |
Initializes a new instance of the ContainerGroupInner class. |
ContainerGroupInner(IList<Container>, String, String, String, String, String, IDictionary<String,String>, ContainerGroupIdentity, String, IList<ImageRegistryCredential>, String, IpAddress, IList<Volume>, ContainerGroupPropertiesInstanceView, ContainerGroupDiagnostics, ContainerGroupNetworkProfile, DnsConfiguration) |
Initializes a new instance of the ContainerGroupInner class. |
ContainerGroupInner()
Initializes a new instance of the ContainerGroupInner class.
public ContainerGroupInner ();
Public Sub New ()
Applies to
ContainerGroupInner(IList<Container>, String, String, String, String, String, IDictionary<String,String>, ContainerGroupIdentity, String, IList<ImageRegistryCredential>, String, IpAddress, IList<Volume>, ContainerGroupPropertiesInstanceView, ContainerGroupDiagnostics, ContainerGroupNetworkProfile, DnsConfiguration)
Initializes a new instance of the ContainerGroupInner class.
public ContainerGroupInner (System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerInstance.Fluent.Models.Container> containers, string osType, string location = default, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.ContainerInstance.Fluent.Models.ContainerGroupIdentity identity = default, string provisioningState = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerInstance.Fluent.Models.ImageRegistryCredential> imageRegistryCredentials = default, string restartPolicy = default, Microsoft.Azure.Management.ContainerInstance.Fluent.Models.IpAddress ipAddress = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerInstance.Fluent.Models.Volume> volumes = default, Microsoft.Azure.Management.ContainerInstance.Fluent.Models.ContainerGroupPropertiesInstanceView instanceView = default, Microsoft.Azure.Management.ContainerInstance.Fluent.Models.ContainerGroupDiagnostics diagnostics = default, Microsoft.Azure.Management.ContainerInstance.Fluent.Models.ContainerGroupNetworkProfile networkProfile = default, Microsoft.Azure.Management.ContainerInstance.Fluent.Models.DnsConfiguration dnsConfig = default);
new Microsoft.Azure.Management.ContainerInstance.Fluent.Models.ContainerGroupInner : System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerInstance.Fluent.Models.Container> * string * string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.ContainerInstance.Fluent.Models.ContainerGroupIdentity * string * System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerInstance.Fluent.Models.ImageRegistryCredential> * string * Microsoft.Azure.Management.ContainerInstance.Fluent.Models.IpAddress * System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerInstance.Fluent.Models.Volume> * Microsoft.Azure.Management.ContainerInstance.Fluent.Models.ContainerGroupPropertiesInstanceView * Microsoft.Azure.Management.ContainerInstance.Fluent.Models.ContainerGroupDiagnostics * Microsoft.Azure.Management.ContainerInstance.Fluent.Models.ContainerGroupNetworkProfile * Microsoft.Azure.Management.ContainerInstance.Fluent.Models.DnsConfiguration -> Microsoft.Azure.Management.ContainerInstance.Fluent.Models.ContainerGroupInner
Public Sub New (containers As IList(Of Container), osType As String, Optional location As String = Nothing, Optional id As String = Nothing, Optional name As String = Nothing, Optional type 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)
Parameters
- osType
- String
The operating system type required by the containers in the container group. Possible values include: 'Windows', 'Linux'
- location
- String
- id
- String
- name
- String
- type
- String
- tags
- IDictionary<String,String>
- identity
- ContainerGroupIdentity
The identity of the container group, if configured.
- provisioningState
- String
The provisioning state of the container group. This only appears in the response.
- imageRegistryCredentials
- IList<ImageRegistryCredential>
The image registry credentials by which the container group is created from.
- restartPolicy
- 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.
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.
Applies to
Azure SDK for .NET