Partager via


ContainerGroupProperties Class

Definition

The container group properties

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerGroupPropertiesTypeConverter))]
public class ContainerGroupProperties : Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IContainerGroupProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.ContainerGroupPropertiesTypeConverter))>]
type ContainerGroupProperties = class
    interface IContainerGroupProperties
    interface IJsonSerializable
Public Class ContainerGroupProperties
Implements IContainerGroupProperties
Inheritance
ContainerGroupProperties
Attributes
Implements

Constructors

ContainerGroupProperties()

Creates an new ContainerGroupProperties instance.

Properties

ConfidentialComputePropertyCcePolicy

The base64 encoded confidential compute enforcement policy

Container

The containers within the container group.

DnsConfigNameServer

The DNS servers for the container group.

DnsConfigOption

The DNS options for the container group.

DnsConfigSearchDomain

The DNS search domains for hostname lookup in the container group.

EncryptionPropertyIdentity

The keyvault managed identity.

EncryptionPropertyKeyName

The encryption key name.

EncryptionPropertyKeyVersion

The encryption key version.

EncryptionPropertyVaultBaseUrl

The keyvault base url.

Extension

extensions used by virtual kubelet

IdentityPrincipalId

The principal id of the container group identity. This property will only be provided for a system assigned identity.

IdentityTenantId

The tenant id associated with the container group. This property will only be provided for a system assigned identity.

IdentityType

The type of identity used for the container group. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the container group.

IdentityUserAssignedIdentity

The list of user identities associated with the container group.

ImageRegistryCredentials

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

InitContainer

The init containers for a container group.

InstanceViewEvent

The events of this container group.

InstanceViewState

The state of the container group. Only valid in response.

IPAddressAutoGeneratedDomainNameLabelScope

The value representing the security enum. The 'Unsecure' value is the default value if not selected and means the object's domain name label is not secured against subdomain takeover. The 'TenantReuse' value is the default value if selected and means the object's domain name label can be reused within the same tenant. The 'SubscriptionReuse' value means the object's domain name label can be reused within the same subscription. The 'ResourceGroupReuse' value means the object's domain name label can be reused within the same resource group. The 'NoReuse' value means the object's domain name label cannot be reused within the same resource group, subscription, or tenant.

IPAddressDnsNameLabel

The Dns name label for the IP.

IPAddressFqdn

The FQDN for the IP.

IPAddressIP

The IP exposed to the public internet.

IPAddressPort

The list of ports exposed on the container group.

IPAddressType

Specifies if the IP is exposed to the public internet or private VNET.

LogAnalyticLogType

The log type to be used.

LogAnalyticMetadata

Metadata for log analytics.

LogAnalyticWorkspaceId

The workspace id for log analytics

LogAnalyticWorkspaceKey

The workspace key for log analytics

LogAnalyticWorkspaceResourceId

The workspace resource id for log analytics

OSType

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

Priority

The priority of the container group.

ProvisioningState

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

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.

SubnetId

The subnet resource IDs for a container group.

Volume

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ContainerGroupProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ContainerGroupProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IContainerGroupProperties.

FromJsonString(String)

Creates a new instance of ContainerGroupProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ContainerGroupProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to