ArmComputeModelFactory.GalleryDiskImageSource Method

Definition

public static Azure.ResourceManager.Compute.Models.GalleryDiskImageSource GalleryDiskImageSource(Azure.Core.ResourceIdentifier id = default, string sourceUri = default, Azure.Core.ResourceIdentifier storageAccountId = default);
static member GalleryDiskImageSource : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Compute.Models.GalleryDiskImageSource
Public Shared Function GalleryDiskImageSource (Optional id As ResourceIdentifier = Nothing, Optional sourceUri As String = Nothing, Optional storageAccountId As ResourceIdentifier = Nothing) As GalleryDiskImageSource

Parameters

id
ResourceIdentifier

The id of the gallery artifact version source.

sourceUri
String

The uri of the gallery artifact version source. Currently used to specify vhd/blob source.

storageAccountId
ResourceIdentifier

The Storage Account Id that contains the vhd blob being used as a source for this artifact version.

Returns

A new GalleryDiskImageSource instance for mocking.

Applies to