ArmComputeModelFactory.GalleryImageData Method

Definition

public static Azure.ResourceManager.Compute.GalleryImageData GalleryImageData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, string description = default, string eula = default, Uri privacyStatementUri = default, Uri releaseNoteUri = default, Azure.ResourceManager.Compute.Models.SupportedOperatingSystemType? osType = default, Azure.ResourceManager.Compute.Models.OperatingSystemStateType? osState = default, Azure.ResourceManager.Compute.Models.HyperVGeneration? hyperVGeneration = default, DateTimeOffset? endOfLifeOn = default, Azure.ResourceManager.Compute.Models.GalleryImageIdentifier identifier = default, Azure.ResourceManager.Compute.Models.RecommendedMachineConfiguration recommended = default, Azure.ResourceManager.Compute.Models.ImagePurchasePlan purchasePlan = default, Azure.ResourceManager.Compute.Models.GalleryProvisioningState? provisioningState = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.GalleryImageFeature> features = default, Azure.ResourceManager.Compute.Models.ArchitectureType? architecture = default, bool? allowUpdateImage = default, System.Collections.Generic.IEnumerable<string> disallowedDiskTypes = default);
static member GalleryImageData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * string * string * Uri * Uri * Nullable<Azure.ResourceManager.Compute.Models.SupportedOperatingSystemType> * Nullable<Azure.ResourceManager.Compute.Models.OperatingSystemStateType> * Nullable<Azure.ResourceManager.Compute.Models.HyperVGeneration> * Nullable<DateTimeOffset> * Azure.ResourceManager.Compute.Models.GalleryImageIdentifier * Azure.ResourceManager.Compute.Models.RecommendedMachineConfiguration * Azure.ResourceManager.Compute.Models.ImagePurchasePlan * Nullable<Azure.ResourceManager.Compute.Models.GalleryProvisioningState> * seq<Azure.ResourceManager.Compute.Models.GalleryImageFeature> * Nullable<Azure.ResourceManager.Compute.Models.ArchitectureType> * Nullable<bool> * seq<string> -> Azure.ResourceManager.Compute.GalleryImageData
Public Shared Function GalleryImageData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional description As String = Nothing, Optional eula As String = Nothing, Optional privacyStatementUri As Uri = Nothing, Optional releaseNoteUri As Uri = Nothing, Optional osType As Nullable(Of SupportedOperatingSystemType) = Nothing, Optional osState As Nullable(Of OperatingSystemStateType) = Nothing, Optional hyperVGeneration As Nullable(Of HyperVGeneration) = Nothing, Optional endOfLifeOn As Nullable(Of DateTimeOffset) = Nothing, Optional identifier As GalleryImageIdentifier = Nothing, Optional recommended As RecommendedMachineConfiguration = Nothing, Optional purchasePlan As ImagePurchasePlan = Nothing, Optional provisioningState As Nullable(Of GalleryProvisioningState) = Nothing, Optional features As IEnumerable(Of GalleryImageFeature) = Nothing, Optional architecture As Nullable(Of ArchitectureType) = Nothing, Optional allowUpdateImage As Nullable(Of Boolean) = Nothing, Optional disallowedDiskTypes As IEnumerable(Of String) = Nothing) As GalleryImageData

Parameters

id
ResourceIdentifier

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.

tags
IDictionary<String,String>

Resource tags.

location
AzureLocation

The geo-location where the resource lives.

description
String

The description of this gallery image definition resource. This property is updatable.

eula
String

The Eula agreement for the gallery image definition.

privacyStatementUri
Uri

The privacy statement uri.

releaseNoteUri
Uri

The release note uri.

osType
Nullable<SupportedOperatingSystemType>

This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image. Possible values are: Windows,Linux..

osState
Nullable<OperatingSystemStateType>

This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.

hyperVGeneration
Nullable<HyperVGeneration>

The hypervisor generation of the Virtual Machine. Applicable to OS disks only.

endOfLifeOn
Nullable<DateTimeOffset>

The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable.

identifier
GalleryImageIdentifier

This is the gallery image definition identifier.

recommended
RecommendedMachineConfiguration

The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.

purchasePlan
ImagePurchasePlan

Describes the gallery image definition purchase plan. This is used by marketplace images.

provisioningState
Nullable<GalleryProvisioningState>

The provisioning state, which only appears in the response.

features
IEnumerable<GalleryImageFeature>

A list of gallery image features.

architecture
Nullable<ArchitectureType>

The architecture of the image. Applicable to OS disks only.

allowUpdateImage
Nullable<Boolean>

Optional. Must be set to true if the gallery image features are being updated.

disallowedDiskTypes
IEnumerable<String>

A list of disk types.

Returns

A new GalleryImageData instance for mocking.

Applies to