ArmMarketplaceModelFactory.NewPlanNotification Method

Definition

Initializes a new instance of NewPlanNotification.

public static Azure.ResourceManager.Marketplace.Models.NewPlanNotification NewPlanNotification (string offerId = default, string displayName = default, bool? isFuturePlansEnabled = default, long? messageCode = default, Uri iconUri = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Marketplace.Models.PlanNotificationDetails> plans = default);
static member NewPlanNotification : string * string * Nullable<bool> * Nullable<int64> * Uri * seq<Azure.ResourceManager.Marketplace.Models.PlanNotificationDetails> -> Azure.ResourceManager.Marketplace.Models.NewPlanNotification
Public Shared Function NewPlanNotification (Optional offerId As String = Nothing, Optional displayName As String = Nothing, Optional isFuturePlansEnabled As Nullable(Of Boolean) = Nothing, Optional messageCode As Nullable(Of Long) = Nothing, Optional iconUri As Uri = Nothing, Optional plans As IEnumerable(Of PlanNotificationDetails) = Nothing) As NewPlanNotification

Parameters

offerId
String

Gets offer id.

displayName
String

Gets offer display name.

isFuturePlansEnabled
Nullable<Boolean>

Gets a value indicating whether future plans is enabled.

messageCode
Nullable<Int64>

Gets or sets the notification message id.

iconUri
Uri

Gets or sets the icon url.

plans
IEnumerable<PlanNotificationDetails>

Gets or sets removed plans notifications.

Returns

A new NewPlanNotification instance for mocking.

Applies to