ContainerProperties Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The container instance properties.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerPropertiesTypeConverter))]
public class ContainerProperties : Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IContainerProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ContainerPropertiesTypeConverter))>]
type ContainerProperties = class
interface IContainerProperties
interface IJsonSerializable
Public Class ContainerProperties
Implements IContainerProperties
- Inheritance
-
ContainerProperties
- Attributes
- Implements
Constructors
ContainerProperties() |
Creates an new ContainerProperties instance. |
Properties
CapabilityAdd |
The capabilities to add to the container. |
CapabilityDrop |
The capabilities to drop from the container. |
Command |
The commands to execute within the container instance in exec form. |
ConfigMapKeyValuePair |
The key value pairs dictionary in the config map. |
CurrentState |
The state of the container instance. |
CurrentStateDetailStatus |
The human-readable status of the container instance state. |
CurrentStateExitCode |
The container instance exit codes correspond to those from the |
CurrentStateFinishTime |
The date-time when the container instance state finished. |
CurrentStateStartTime |
The date-time when the container instance state started. |
EnvironmentVariable |
The environment variables to set in the container instance. |
Image |
The name of the image used to create the container instance. |
InstanceViewEvent |
The events of the container instance. |
InstanceViewRestartCount |
The number of times that the container instance has been restarted. |
LimitCpu |
The CPU limit of this container instance. |
LimitMemoryInGb |
The memory limit in GB of this container instance. |
LimitsGpuCount |
The count of the GPU resource. |
LimitsGpuSku |
The SKU of the GPU resource. |
LivenessProbeExecCommand |
The commands to execute within the container. |
LivenessProbeFailureThreshold |
The failure threshold. |
LivenessProbeHttpGetHttpHeader |
The HTTP headers. |
LivenessProbeHttpGetPath |
The path to probe. |
LivenessProbeHttpGetPort |
The port number to probe. |
LivenessProbeHttpGetScheme |
The scheme. |
LivenessProbeInitialDelaySecond |
The initial delay seconds. |
LivenessProbePeriodSecond |
The period seconds. |
LivenessProbeSuccessThreshold |
The success threshold. |
LivenessProbeTimeoutSecond |
The timeout seconds. |
Port |
The exposed ports on the container instance. |
PreviousState |
The state of the container instance. |
PreviousStateDetailStatus |
The human-readable status of the container instance state. |
PreviousStateExitCode |
The container instance exit codes correspond to those from the |
PreviousStateFinishTime |
The date-time when the container instance state finished. |
PreviousStateStartTime |
The date-time when the container instance state started. |
ReadinessProbeExecCommand |
The commands to execute within the container. |
ReadinessProbeFailureThreshold |
The failure threshold. |
ReadinessProbeHttpGetHttpHeader |
The HTTP headers. |
ReadinessProbeHttpGetPath |
The path to probe. |
ReadinessProbeHttpGetPort |
The port number to probe. |
ReadinessProbeHttpGetScheme |
The scheme. |
ReadinessProbeInitialDelaySecond |
The initial delay seconds. |
ReadinessProbePeriodSecond |
The period seconds. |
ReadinessProbeSuccessThreshold |
The success threshold. |
ReadinessProbeTimeoutSecond |
The timeout seconds. |
RequestCpu |
The CPU request of this container instance. |
RequestMemoryInGb |
The memory request in GB of this container instance. |
RequestsGpuCount |
The count of the GPU resource. |
RequestsGpuSku |
The SKU of the GPU resource. |
SecurityContextAllowPrivilegeEscalation |
A boolean value indicating whether the init process can elevate its privileges |
SecurityContextPrivileged |
The flag to determine if the container permissions is elevated to Privileged. |
SecurityContextRunAsGroup |
Sets the User GID for the container. |
SecurityContextRunAsUser |
Sets the User UID for the container. |
SecurityContextSeccompProfile |
a base64 encoded string containing the contents of the JSON in the seccomp profile |
VolumeMount |
The volume mounts available to the container instance. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of ContainerProperties. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of ContainerProperties. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IContainerProperties. |
FromJsonString(String) |
Creates a new instance of ContainerProperties, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of ContainerProperties into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |