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

ArmMobileNetworkModelFactory.MobileNetworkInstallation 方法

定义

初始化 MobileNetworkInstallation 的新实例。

public static Azure.ResourceManager.MobileNetwork.Models.MobileNetworkInstallation MobileNetworkInstallation (Azure.ResourceManager.MobileNetwork.Models.DesiredInstallationState? desiredState = default, Azure.ResourceManager.MobileNetwork.Models.MobileNetworkInstallationState? state = default, Azure.ResourceManager.MobileNetwork.Models.MobileNetworkReinstallRequired? reinstallRequired = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.MobileNetwork.Models.MobileNetworkInstallationReason> reasons = default, Azure.Core.ResourceIdentifier operationId = default);
static member MobileNetworkInstallation : Nullable<Azure.ResourceManager.MobileNetwork.Models.DesiredInstallationState> * Nullable<Azure.ResourceManager.MobileNetwork.Models.MobileNetworkInstallationState> * Nullable<Azure.ResourceManager.MobileNetwork.Models.MobileNetworkReinstallRequired> * seq<Azure.ResourceManager.MobileNetwork.Models.MobileNetworkInstallationReason> * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.MobileNetwork.Models.MobileNetworkInstallation
Public Shared Function MobileNetworkInstallation (Optional desiredState As Nullable(Of DesiredInstallationState) = Nothing, Optional state As Nullable(Of MobileNetworkInstallationState) = Nothing, Optional reinstallRequired As Nullable(Of MobileNetworkReinstallRequired) = Nothing, Optional reasons As IEnumerable(Of MobileNetworkInstallationReason) = Nothing, Optional operationId As ResourceIdentifier = Nothing) As MobileNetworkInstallation

参数

desiredState
Nullable<DesiredInstallationState>

所需的安装状态。

state
Nullable<MobileNetworkInstallationState>

安装状态。

reinstallRequired
Nullable<MobileNetworkReinstallRequired>

是否需要重新安装数据包核心才能获取最新的配置更改。

reasons
IEnumerable<MobileNetworkInstallationReason>

原因 (数据包核心的当前安装状态) 。

operationId
ResourceIdentifier

对正在进行的安装操作的引用。

返回

用于模拟的新 MobileNetworkInstallation 实例。

适用于