ArmImageBuilderModelFactory.ImageTemplatePlatformImageSource 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.
Describes an image source from Azure Gallery Images.
public static Azure.ResourceManager.ImageBuilder.Models.ImageTemplatePlatformImageSource ImageTemplatePlatformImageSource(string publisher = default, string offer = default, string sku = default, string version = default, string exactVersion = default, Azure.ResourceManager.ImageBuilder.Models.PlatformImagePurchasePlan planInfo = default);
static member ImageTemplatePlatformImageSource : string * string * string * string * string * Azure.ResourceManager.ImageBuilder.Models.PlatformImagePurchasePlan -> Azure.ResourceManager.ImageBuilder.Models.ImageTemplatePlatformImageSource
Public Shared Function ImageTemplatePlatformImageSource (Optional publisher As String = Nothing, Optional offer As String = Nothing, Optional sku As String = Nothing, Optional version As String = Nothing, Optional exactVersion As String = Nothing, Optional planInfo As PlatformImagePurchasePlan = Nothing) As ImageTemplatePlatformImageSource
Parameters
- publisher
- String
Image Publisher in Azure Gallery Images.
- offer
- String
Image offer from the Azure Gallery Images.
- sku
- String
Image sku from the Azure Gallery Images.
- version
- String
Image version from the Azure Gallery Images. If 'latest' is specified here, the version is evaluated when the image build takes place, not when the template is submitted.
- exactVersion
- String
Image version from the Azure Gallery Images. This readonly field differs from 'version', only if the value specified in 'version' field is 'latest'.
- planInfo
- PlatformImagePurchasePlan
Optional configuration of purchase plan for platform image.
Returns
A new ImageTemplatePlatformImageSource instance for mocking.