Delen via


ArmComputeModelFactory.GalleryImagePatch Method

Definition

Initializes a new instance of GalleryImagePatch.

public static Azure.ResourceManager.Compute.Models.GalleryImagePatch GalleryImagePatch (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = 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, System.Collections.Generic.IEnumerable<string> disallowedDiskTypes = 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, System.Collections.Generic.IDictionary<string,string> tags = default);
static member GalleryImagePatch : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * 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 * seq<string> * Azure.ResourceManager.Compute.Models.ImagePurchasePlan * Nullable<Azure.ResourceManager.Compute.Models.GalleryProvisioningState> * seq<Azure.ResourceManager.Compute.Models.GalleryImageFeature> * Nullable<Azure.ResourceManager.Compute.Models.ArchitectureType> * System.Collections.Generic.IDictionary<string, string> -> Azure.ResourceManager.Compute.Models.GalleryImagePatch
Public Shared Function GalleryImagePatch (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = 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 disallowedDiskTypes As IEnumerable(Of String) = 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 tags As IDictionary(Of String, String) = Nothing) As GalleryImagePatch

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

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.

disallowedDiskTypes
IEnumerable<String>

Describes the disallowed disk types.

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.

tags
IDictionary<String,String>

Resource tags.

Returns

A new GalleryImagePatch instance for mocking.

Applies to