Partilhar via


ContainerGroupProfileData Class

Definition

A class representing the ContainerGroupProfile data model. A container group profile.

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

Constructors

ContainerGroupProfileData(AzureLocation, IEnumerable<ContainerInstanceContainer>, ContainerInstanceOperatingSystemType)

Initializes a new instance of ContainerGroupProfileData.

Properties

ConfidentialComputeCcePolicy

The base64 encoded confidential compute enforcement policy.

Containers

The containers within the container group.

DiagnosticsLogAnalytics

Container group log analytics information.

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)
ImageRegistryCredentials

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

InitContainers

The init containers for a container group.

IPAddress

The IP address type of the container group.

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
OSType

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

Priority

The priority of the container group.

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
Revision

The container group profile current revision number. This only appears in the response.

Sku

The SKU 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)

Explicit Interface Implementations

IJsonModel<ContainerGroupProfileData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerGroupProfileData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerGroupProfileData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerGroupProfileData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerGroupProfileData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to