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

ContainerGroup interface

容器组。

扩展

继承属性

confidentialComputeProperties

机密容器组的属性

containers

容器组中的容器。

diagnostics

容器组的诊断信息。

dnsConfig

容器组的 DNS 配置信息。

encryptionProperties

容器组的加密属性。

extensions

虚拟 kubelet 使用的扩展

id

资源 ID。注意:此属性不会序列化。 它只能由服务器填充。

identity

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

imageRegistryCredentials

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

initContainers

容器组的初始化容器。

instanceView

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

ipAddress

容器组的 IP 地址类型。

___location

资源位置。

name

资源名称。 注意:此属性不会序列化。 它只能由服务器填充。

osType

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

priority

容器组的优先级。

provisioningState

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

restartPolicy

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

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

容器组的 SKU。

subnetIds

容器组的子网资源 ID。

tags

资源标记。

type

资源类型。 注意:此属性不会序列化。 它只能由服务器填充。

volumes

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

zones

容器组的区域。

继承属性详细信息

confidentialComputeProperties

机密容器组的属性

confidentialComputeProperties?: ConfidentialComputeProperties

属性值

继承自ContainerGroupProperties.confidentialComputeProperties

containers

容器组中的容器。

containers: Container[]

属性值

继承自ContainerGroupProperties.containers

diagnostics

容器组的诊断信息。

diagnostics?: ContainerGroupDiagnostics

属性值

继承自ContainerGroupProperties.diagnostics

dnsConfig

容器组的 DNS 配置信息。

dnsConfig?: DnsConfiguration

属性值

继承自 ContainerGroupProperties.dnsConfig

encryptionProperties

容器组的加密属性。

encryptionProperties?: EncryptionProperties

属性值

继承自 ContainerGroupProperties.encryptionProperties

extensions

虚拟 kubelet 使用的扩展

extensions?: DeploymentExtensionSpec[]

属性值

继承自ContainerGroupProperties.extensions

id

资源 ID。注意:此属性不会序列化。 它只能由服务器填充。

id?: string

属性值

string

继承自 Resource.id

identity

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

identity?: ContainerGroupIdentity

属性值

继承自ContainerGroupProperties.identity

imageRegistryCredentials

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

imageRegistryCredentials?: ImageRegistryCredential[]

属性值

继承自 ContainerGroupProperties.imageRegistryCredentials

initContainers

容器组的初始化容器。

initContainers?: InitContainerDefinition[]

属性值

继承自 ContainerGroupProperties.initContainers

instanceView

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

instanceView?: ContainerGroupPropertiesInstanceView

属性值

继承自ContainerGroupProperties.instanceView

ipAddress

容器组的 IP 地址类型。

ipAddress?: IpAddress

属性值

继承自ContainerGroupProperties.ipAddress

___location

资源位置。

___location?: string

属性值

string

继承自Resource.___location

name

资源名称。 注意:此属性不会序列化。 它只能由服务器填充。

name?: string

属性值

string

继承自 Resource.name

osType

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

osType: string

属性值

string

继承自ContainerGroupProperties.osType

priority

容器组的优先级。

priority?: string

属性值

string

继承自ContainerGroupProperties.priority

provisioningState

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

provisioningState?: string

属性值

string

继承自ContainerGroupProperties.provisioningState

restartPolicy

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

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

属性值

string

继承自ContainerGroupProperties.restartPolicy

sku

容器组的 SKU。

sku?: string

属性值

string

继承自ContainerGroupProperties.sku

subnetIds

容器组的子网资源 ID。

subnetIds?: ContainerGroupSubnetId[]

属性值

继承自ContainerGroupProperties.subnetIds

tags

资源标记。

tags?: {[propertyName: string]: string}

属性值

{[propertyName: string]: string}

继承自Resource.tags

type

资源类型。 注意:此属性不会序列化。 它只能由服务器填充。

type?: string

属性值

string

继承自resource.type

volumes

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

volumes?: Volume[]

属性值

Volume[]

继承自ContainerGroupProperties.volumes

zones

容器组的区域。

zones?: string[]

属性值

string[]

继承自Resource.zone