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

ArmAppPlatformModelFactory.AppPlatformDeploymentProperties 方法

定义

初始化 AppPlatformDeploymentProperties 的新实例。

public static Azure.ResourceManager.AppPlatform.Models.AppPlatformDeploymentProperties AppPlatformDeploymentProperties (Azure.ResourceManager.AppPlatform.Models.AppPlatformUserSourceInfo source = default, Azure.ResourceManager.AppPlatform.Models.AppPlatformDeploymentSettings deploymentSettings = default, Azure.ResourceManager.AppPlatform.Models.AppPlatformDeploymentProvisioningState? provisioningState = default, Azure.ResourceManager.AppPlatform.Models.AppPlatformDeploymentStatus? status = default, bool? isActive = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppPlatform.Models.AppPlatformDeploymentInstance> instances = default);
static member AppPlatformDeploymentProperties : Azure.ResourceManager.AppPlatform.Models.AppPlatformUserSourceInfo * Azure.ResourceManager.AppPlatform.Models.AppPlatformDeploymentSettings * Nullable<Azure.ResourceManager.AppPlatform.Models.AppPlatformDeploymentProvisioningState> * Nullable<Azure.ResourceManager.AppPlatform.Models.AppPlatformDeploymentStatus> * Nullable<bool> * seq<Azure.ResourceManager.AppPlatform.Models.AppPlatformDeploymentInstance> -> Azure.ResourceManager.AppPlatform.Models.AppPlatformDeploymentProperties
Public Shared Function AppPlatformDeploymentProperties (Optional source As AppPlatformUserSourceInfo = Nothing, Optional deploymentSettings As AppPlatformDeploymentSettings = Nothing, Optional provisioningState As Nullable(Of AppPlatformDeploymentProvisioningState) = Nothing, Optional status As Nullable(Of AppPlatformDeploymentStatus) = Nothing, Optional isActive As Nullable(Of Boolean) = Nothing, Optional instances As IEnumerable(Of AppPlatformDeploymentInstance) = Nothing) As AppPlatformDeploymentProperties

参数

source
AppPlatformUserSourceInfo

已上传部署的源信息。 请注意 AppPlatformUserSourceInfo , 是基类。 根据方案,可能需要在此处分配基类的派生类,或者需要将此属性强制转换为可能的派生类之一。 可用的派生类包括 AppPlatformBuildResultUserSourceInfo、、AppPlatformCustomContainerUserSourceInfoJarUploadedUserSourceInfoNetCoreZipUploadedUserSourceInfoSourceUploadedUserSourceInfoAppPlatformUploadedUserSourceInfo

deploymentSettings
AppPlatformDeploymentSettings

部署的部署设置。

provisioningState
Nullable<AppPlatformDeploymentProvisioningState>

部署的预配状态。

status
Nullable<AppPlatformDeploymentStatus>

部署的状态。

isActive
Nullable<Boolean>

指示部署是否处于活动状态。

instances
IEnumerable<AppPlatformDeploymentInstance>

实例的集合属于部署。

返回

用于模拟的新 AppPlatformDeploymentProperties 实例。

适用于