ArmComputeModelFactory.DiskPurchasePlan Method

Definition

public static Azure.ResourceManager.Compute.Models.DiskPurchasePlan DiskPurchasePlan(string name = default, string publisher = default, string product = default, string promotionCode = default);
static member DiskPurchasePlan : string * string * string * string -> Azure.ResourceManager.Compute.Models.DiskPurchasePlan
Public Shared Function DiskPurchasePlan (Optional name As String = Nothing, Optional publisher As String = Nothing, Optional product As String = Nothing, Optional promotionCode As String = Nothing) As DiskPurchasePlan

Parameters

name
String

The plan ID.

publisher
String

The publisher ID.

product
String

Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.

promotionCode
String

The Offer Promotion Code.

Returns

A new DiskPurchasePlan instance for mocking.

Applies to