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

ArmEdgeOrderModelFactory.ProductAvailabilityInformation Method

Definition

Initializes a new instance of ProductAvailabilityInformation.

public static Azure.ResourceManager.EdgeOrder.Models.ProductAvailabilityInformation ProductAvailabilityInformation (Azure.ResourceManager.EdgeOrder.Models.ProductAvailabilityStage? availabilityStage = default, Azure.ResourceManager.EdgeOrder.Models.ProductDisabledReason? disabledReason = default, string disabledReasonMessage = default);
static member ProductAvailabilityInformation : Nullable<Azure.ResourceManager.EdgeOrder.Models.ProductAvailabilityStage> * Nullable<Azure.ResourceManager.EdgeOrder.Models.ProductDisabledReason> * string -> Azure.ResourceManager.EdgeOrder.Models.ProductAvailabilityInformation
Public Shared Function ProductAvailabilityInformation (Optional availabilityStage As Nullable(Of ProductAvailabilityStage) = Nothing, Optional disabledReason As Nullable(Of ProductDisabledReason) = Nothing, Optional disabledReasonMessage As String = Nothing) As ProductAvailabilityInformation

Parameters

availabilityStage
Nullable<ProductAvailabilityStage>

Current availability stage of the product. Availability stage.

disabledReason
Nullable<ProductDisabledReason>

Reason why the product is disabled.

disabledReasonMessage
String

Message for why the product is disabled.

Returns

A new ProductAvailabilityInformation instance for mocking.

Applies to