ArmDevCenterModelFactory.ImageVersionData Method

Definition

Initializes a new instance of ImageVersionData.

public static Azure.ResourceManager.DevCenter.ImageVersionData ImageVersionData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string namePropertiesName = default, DateTimeOffset? publishedOn = default, bool? isExcludedFromLatest = default, int? osDiskImageSizeInGB = default, Azure.ResourceManager.DevCenter.Models.DevCenterProvisioningState? provisioningState = default);
static member ImageVersionData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<DateTimeOffset> * Nullable<bool> * Nullable<int> * Nullable<Azure.ResourceManager.DevCenter.Models.DevCenterProvisioningState> -> Azure.ResourceManager.DevCenter.ImageVersionData
Public Shared Function ImageVersionData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional namePropertiesName As String = Nothing, Optional publishedOn As Nullable(Of DateTimeOffset) = Nothing, Optional isExcludedFromLatest As Nullable(Of Boolean) = Nothing, Optional osDiskImageSizeInGB As Nullable(Of Integer) = Nothing, Optional provisioningState As Nullable(Of DevCenterProvisioningState) = Nothing) As ImageVersionData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

namePropertiesName
String

The semantic version string.

publishedOn
Nullable<DateTimeOffset>

The datetime that the backing image version was published.

isExcludedFromLatest
Nullable<Boolean>

If the version should be excluded from being treated as the latest version.

osDiskImageSizeInGB
Nullable<Int32>

The size of the OS disk image, in GB.

provisioningState
Nullable<DevCenterProvisioningState>

The provisioning state of the resource.

Returns

A new ImageVersionData instance for mocking.

Applies to