你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ContainerGroupProperties interface

容器组属性

属性

confidentialComputeProperties

机密容器组的属性

containers

容器组中的容器。

diagnostics

容器组的诊断信息。

dnsConfig

容器组的 DNS 配置信息。

encryptionProperties

容器组的加密属性。

extensions

虚拟 kubelet 使用的扩展

identity

容器组的标识(如果已配置)。

imageRegistryCredentials

从中创建容器组的映像注册表凭据。

initContainers

容器组的初始化容器。

instanceView

容器组的实例视图。 仅在响应中有效。 注意:此属性不会序列化。 它只能由服务器填充。

ipAddress

容器组的 IP 地址类型。

osType

容器组中容器所需的作系统类型。

priority

容器组的优先级。

provisioningState

容器组的预配状态。 这仅在响应中显示。 注意:此属性不会序列化。 它只能由服务器填充。

restartPolicy

重启容器组中所有容器的策略。

  • Always 始终重启
  • 失败时 OnFailure 重启
  • Never 从不重启
sku

容器组的 SKU。

subnetIds

容器组的子网资源 ID。

volumes

此容器组中的容器可以装载的卷列表。

属性详细信息

confidentialComputeProperties

机密容器组的属性

confidentialComputeProperties?: ConfidentialComputeProperties

属性值

containers

容器组中的容器。

containers: Container[]

属性值

diagnostics

容器组的诊断信息。

diagnostics?: ContainerGroupDiagnostics

属性值

dnsConfig

容器组的 DNS 配置信息。

dnsConfig?: DnsConfiguration

属性值

encryptionProperties

容器组的加密属性。

encryptionProperties?: EncryptionProperties

属性值

extensions

虚拟 kubelet 使用的扩展

extensions?: DeploymentExtensionSpec[]

属性值

identity

容器组的标识(如果已配置)。

identity?: ContainerGroupIdentity

属性值

imageRegistryCredentials

从中创建容器组的映像注册表凭据。

imageRegistryCredentials?: ImageRegistryCredential[]

属性值

initContainers

容器组的初始化容器。

initContainers?: InitContainerDefinition[]

属性值

instanceView

容器组的实例视图。 仅在响应中有效。 注意:此属性不会序列化。 它只能由服务器填充。

instanceView?: ContainerGroupPropertiesInstanceView

属性值

ipAddress

容器组的 IP 地址类型。

ipAddress?: IpAddress

属性值

osType

容器组中容器所需的作系统类型。

osType: string

属性值

string

priority

容器组的优先级。

priority?: string

属性值

string

provisioningState

容器组的预配状态。 这仅在响应中显示。 注意:此属性不会序列化。 它只能由服务器填充。

provisioningState?: string

属性值

string

restartPolicy

重启容器组中所有容器的策略。

  • Always 始终重启
  • 失败时 OnFailure 重启
  • Never 从不重启
restartPolicy?: string

属性值

string

sku

容器组的 SKU。

sku?: string

属性值

string

subnetIds

容器组的子网资源 ID。

subnetIds?: ContainerGroupSubnetId[]

属性值

volumes

此容器组中的容器可以装载的卷列表。

volumes?: Volume[]

属性值

Volume[]