Udostępnij za pośrednictwem


ContainerGroupInner Class

Definition

A container group.

[Microsoft.Rest.Serialization.JsonTransformation]
public class ContainerGroupInner : Microsoft.Azure.Management.ResourceManager.Fluent.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type ContainerGroupInner = class
    inherit Resource
Public Class ContainerGroupInner
Inherits Resource
Inheritance
ContainerGroupInner
Attributes

Constructors

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.

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.

Id

Resource Id. Setter is protected because Id needs to be set in Network resources.

(Inherited from ProxyResource)
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.

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

Resource location

(Inherited from Resource)
Name

Resource name

(Inherited from ProxyResource)
NetworkProfile

Gets or sets the network profile information for a container group.

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'
Tags

Resource tags

(Inherited from Resource)
Type

Resource type

(Inherited from ProxyResource)
Volumes

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

Methods

Validate()

Validate the object.

Applies to