ArmDevCenterModelFactory.ImageVersionData 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.
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
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- String
The name of the resource.
- resourceType
- ResourceType
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- systemData
- SystemData
Azure Resource Manager metadata containing createdBy and modifiedBy information.
- namePropertiesName
- String
The semantic version string.
- publishedOn
- Nullable<DateTimeOffset>
The datetime that the backing image version was published.
If the version should be excluded from being treated as the latest version.
- provisioningState
- Nullable<DevCenterProvisioningState>
The provisioning state of the resource.
Returns
A new ImageVersionData instance for mocking.