ArmComputeModelFactory.ImageAlternativeOption Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.