ArmComputeModelFactory.ImageAlternativeOption Method

Definition

public static Azure.ResourceManager.Compute.Models.ImageAlternativeOption ImageAlternativeOption(Azure.ResourceManager.Compute.Models.ImageAlternativeType? alternativeType = default, string value = default);
static member ImageAlternativeOption : Nullable<Azure.ResourceManager.Compute.Models.ImageAlternativeType> * string -> Azure.ResourceManager.Compute.Models.ImageAlternativeOption
Public Shared Function ImageAlternativeOption (Optional alternativeType As Nullable(Of ImageAlternativeType) = Nothing, Optional value As String = Nothing) As ImageAlternativeOption

Parameters

alternativeType
Nullable<ImageAlternativeType>

Describes the type of the alternative option.

value
String

Indicates the alternative option value specified by the Publisher. This is the Offer name when the type is Offer or the Plan name when the type is Plan.

Returns

A new ImageAlternativeOption instance for mocking.

Applies to