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

OnlineDeploymentProperties interface

终结点部署的基本定义。

扩展

属性

appInsightsEnabled

如果为 true,则启用 Application Insights 日志记录。

dataCollector

mdc 配置,在 mdc 为 null 时禁用 mdc。

egressPublicNetworkAccess

如果已启用,则允许出口公共网络访问。 如果禁用,这将创建安全出口。 默认值:已启用。

endpointComputeType

[必需]终结点的计算类型。

instanceType

计算实例类型。

livenessProbe

运行情况探测会定期监视容器的运行状况。

model

模型的 URI 路径。

modelMountPath

在自定义容器中装载模型的路径。

provisioningState

终结点部署的预配状态。 注意:此属性不会序列化。 它只能由服务器填充。

readinessProbe

就绪情况探测会验证容器是否准备好为流量提供服务。 属性和默认值与实时探测相同。

requestSettings

请求部署设置。

scaleSettings

部署的规模设置。 如果为 null 或未提供,则默认为 KubernetesOnlineDeployment 的 TargetUtilizationScaleSettings 和 ManagedOnlineDeployment 的 DefaultScaleSettings。

继承属性

codeConfiguration

终结点部署的代码配置。

description

终结点部署的说明。

environmentId

终结点部署的环境规范的 ARM 资源 ID 或 AssetId。

environmentVariables

部署的环境变量配置。

properties

属性字典。 可以添加属性,但不能删除或更改属性。

属性详细信息

appInsightsEnabled

如果为 true,则启用 Application Insights 日志记录。

appInsightsEnabled?: boolean

属性值

boolean

dataCollector

mdc 配置,在 mdc 为 null 时禁用 mdc。

dataCollector?: DataCollector

属性值

egressPublicNetworkAccess

如果已启用,则允许出口公共网络访问。 如果禁用,这将创建安全出口。 默认值:已启用。

egressPublicNetworkAccess?: string

属性值

string

endpointComputeType

[必需]终结点的计算类型。

endpointComputeType: string

属性值

string

instanceType

计算实例类型。

instanceType?: string

属性值

string

livenessProbe

运行情况探测会定期监视容器的运行状况。

livenessProbe?: ProbeSettings

属性值

model

模型的 URI 路径。

model?: string

属性值

string

modelMountPath

在自定义容器中装载模型的路径。

modelMountPath?: string

属性值

string

provisioningState

终结点部署的预配状态。 注意:此属性不会序列化。 它只能由服务器填充。

provisioningState?: string

属性值

string

readinessProbe

就绪情况探测会验证容器是否准备好为流量提供服务。 属性和默认值与实时探测相同。

readinessProbe?: ProbeSettings

属性值

requestSettings

请求部署设置。

requestSettings?: OnlineRequestSettings

属性值

scaleSettings

部署的规模设置。 如果为 null 或未提供,则默认为 KubernetesOnlineDeployment 的 TargetUtilizationScaleSettings 和 ManagedOnlineDeployment 的 DefaultScaleSettings。

scaleSettings?: OnlineScaleSettingsUnion

属性值

继承属性详细信息

codeConfiguration

终结点部署的代码配置。

codeConfiguration?: CodeConfiguration

属性值

继承自EndpointDeploymentPropertiesBase.codeConfiguration

description

终结点部署的说明。

description?: string

属性值

string

继承自EndpointDeploymentPropertiesBase.description

environmentId

终结点部署的环境规范的 ARM 资源 ID 或 AssetId。

environmentId?: string

属性值

string

继承自EndpointDeploymentPropertiesBase.environmentId

environmentVariables

部署的环境变量配置。

environmentVariables?: {[propertyName: string]: string | null}

属性值

{[propertyName: string]: string | null}

继承自EndpointDeploymentPropertiesBase.environmentVariables

properties

属性字典。 可以添加属性,但不能删除或更改属性。

properties?: {[propertyName: string]: string | null}

属性值

{[propertyName: string]: string | null}

继承自EndpointDeploymentPropertiesBase.properties