ContainerGroupData Class

Definition

A class representing the ContainerGroup data model. A container group.

public class ContainerGroupData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerInstance.ContainerGroupData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerInstance.ContainerGroupData>
type ContainerGroupData = class
    inherit TrackedResourceData
    interface IJsonModel<ContainerGroupData>
    interface IPersistableModel<ContainerGroupData>
Public Class ContainerGroupData
Inherits TrackedResourceData
Implements IJsonModel(Of ContainerGroupData), IPersistableModel(Of ContainerGroupData)
Inheritance
Implements

Constructors

ContainerGroupData(AzureLocation, IEnumerable<ContainerInstanceContainer>)

Initializes a new instance of ContainerGroupData.

Properties

ConfidentialComputeCcePolicy

The base64 encoded confidential compute enforcement policy.

ContainerGroupOSType

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

ContainerGroupProfile

The reference container group profile properties.

Containers

The containers within the container group.

DiagnosticsLogAnalytics

Container group log analytics information.

DnsConfig

The DNS config information for a container group.

EncryptionProperties

The encryption properties for a container group.

Extensions

extensions used by virtual kubelet.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Identity

The identity of the container group, if configured.

ImageRegistryCredentials

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

InitContainers

The init containers for a container group.

InstanceView

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

IPAddress

The IP address type of the container group.

IsCreatedFromStandbyPool

The flag indicating whether the container group is created by standby pool.

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
Priority

The priority of the container group.

ProvisioningState

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

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
RestartPolicy

Restart policy for all containers within the container group.

  • Always Always restart
  • OnFailure Restart on failure
  • Never Never restart
Sku

The SKU for a container group.

StandbyPoolProfile

The reference standby pool profile properties.

SubnetIds

The subnet resource IDs for a container group.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)
Volumes

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

Zones

The zones for the container group.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from TrackedResourceData)

Explicit Interface Implementations

IJsonModel<ContainerGroupData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ContainerGroupData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerGroupData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerGroupData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ContainerGroupData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to