ContainerGroup Class

Definition

A container group.

[Microsoft.Rest.Serialization.JsonTransformation]
public class ContainerGroup : Microsoft.Azure.Management.ContainerInstance.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type ContainerGroup = class
    inherit Resource
Public Class ContainerGroup
Inherits Resource
Inheritance
ContainerGroup
Attributes

Constructors

ContainerGroup()

Initializes a new instance of the ContainerGroup class.

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

Initializes a new instance of the ContainerGroup class.

Properties

Containers

Gets or sets the containers within the container group.

Diagnostics

Gets or sets the diagnostic information for a container group.

DnsConfig

Gets or sets the DNS config information for a container group.

EncryptionProperties

Gets or sets the encryption properties for a container group.

Id

Gets the resource id.

(Inherited from Resource)
Identity

Gets or sets the identity of the container group, if configured.

ImageRegistryCredentials

Gets or sets the image registry credentials by which the container group is created from.

InitContainers

Gets or sets the init containers for a container group.

InstanceView

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

IpAddress

Gets or sets the IP address type of the container group.

Location

Gets or sets the resource location.

(Inherited from Resource)
Name

Gets the resource name.

(Inherited from Resource)
OsType

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

ProvisioningState

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

RestartPolicy

Gets or sets 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'
Sku

Gets or sets the SKU for a container group. Possible values include: 'Standard', 'Dedicated'

SubnetIds

Gets or sets the subnet resource IDs for a container group.

Tags

Gets or sets the resource tags.

(Inherited from Resource)
Type

Gets the resource type.

(Inherited from Resource)
Volumes

Gets or sets the list of volumes that can be mounted by containers in this container group.

Zones

Gets or sets the zones for the container group.

(Inherited from Resource)

Methods

Validate()

Validate the object.

Applies to