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

ArmAppPlatformModelFactory.AppPlatformServiceProperties 方法

定义

初始化 AppPlatformServiceProperties 的新实例。

public static Azure.ResourceManager.AppPlatform.Models.AppPlatformServiceProperties AppPlatformServiceProperties (Azure.ResourceManager.AppPlatform.Models.AppPlatformServiceProvisioningState? provisioningState = default, Azure.ResourceManager.AppPlatform.Models.AppPlatformServiceNetworkProfile networkProfile = default, bool? isLogStreamPublicEndpoint = default, int? version = default, string serviceInstanceId = default, Azure.ResourceManager.AppPlatform.Models.AppPlatformServicePowerState? powerState = default, bool? isZoneRedundant = default, string fqdn = default);
static member AppPlatformServiceProperties : Nullable<Azure.ResourceManager.AppPlatform.Models.AppPlatformServiceProvisioningState> * Azure.ResourceManager.AppPlatform.Models.AppPlatformServiceNetworkProfile * Nullable<bool> * Nullable<int> * string * Nullable<Azure.ResourceManager.AppPlatform.Models.AppPlatformServicePowerState> * Nullable<bool> * string -> Azure.ResourceManager.AppPlatform.Models.AppPlatformServiceProperties
Public Shared Function AppPlatformServiceProperties (Optional provisioningState As Nullable(Of AppPlatformServiceProvisioningState) = Nothing, Optional networkProfile As AppPlatformServiceNetworkProfile = Nothing, Optional isLogStreamPublicEndpoint As Nullable(Of Boolean) = Nothing, Optional version As Nullable(Of Integer) = Nothing, Optional serviceInstanceId As String = Nothing, Optional powerState As Nullable(Of AppPlatformServicePowerState) = Nothing, Optional isZoneRedundant As Nullable(Of Boolean) = Nothing, Optional fqdn As String = Nothing) As AppPlatformServiceProperties

参数

provisioningState
Nullable<AppPlatformServiceProvisioningState>

服务的预配状态。

networkProfile
AppPlatformServiceNetworkProfile

服务的网络配置文件。

isLogStreamPublicEndpoint
Nullable<Boolean>

vnet 注入实例中的其他服务设置。

version
Nullable<Int32>

服务的版本。

serviceInstanceId
String

ServiceInstanceEntity GUID,用于唯一标识创建的资源。

powerState
Nullable<AppPlatformServicePowerState>

服务的电源状态。

isZoneRedundant
Nullable<Boolean>
fqdn
String

服务实例的完全限定 DNS 名称。

返回

用于模拟的新 AppPlatformServiceProperties 实例。

适用于