ArmComputeModelFactory.CommunityGalleryImageData 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 CommunityGalleryImageData.
public static Azure.ResourceManager.Compute.CommunityGalleryImageData CommunityGalleryImageData (string name = default, Azure.Core.AzureLocation? location = default, Azure.Core.ResourceType? resourceType = default, string uniqueId = default, Azure.ResourceManager.Compute.Models.SupportedOperatingSystemType? osType = default, Azure.ResourceManager.Compute.Models.OperatingSystemStateType? osState = default, DateTimeOffset? endOfLifeOn = default, Azure.ResourceManager.Compute.Models.CommunityGalleryImageIdentifier imageIdentifier = default, Azure.ResourceManager.Compute.Models.RecommendedMachineConfiguration recommended = default, System.Collections.Generic.IEnumerable<string> disallowedDiskTypes = default, Azure.ResourceManager.Compute.Models.HyperVGeneration? hyperVGeneration = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.GalleryImageFeature> features = default, Azure.ResourceManager.Compute.Models.ImagePurchasePlan purchasePlan = default, Azure.ResourceManager.Compute.Models.ArchitectureType? architecture = default, Uri privacyStatementUri = default, string eula = default, string disclaimer = default, System.Collections.Generic.IReadOnlyDictionary<string,string> artifactTags = default);
static member CommunityGalleryImageData : string * Nullable<Azure.Core.AzureLocation> * Nullable<Azure.Core.ResourceType> * string * Nullable<Azure.ResourceManager.Compute.Models.SupportedOperatingSystemType> * Nullable<Azure.ResourceManager.Compute.Models.OperatingSystemStateType> * Nullable<DateTimeOffset> * Azure.ResourceManager.Compute.Models.CommunityGalleryImageIdentifier * Azure.ResourceManager.Compute.Models.RecommendedMachineConfiguration * seq<string> * Nullable<Azure.ResourceManager.Compute.Models.HyperVGeneration> * seq<Azure.ResourceManager.Compute.Models.GalleryImageFeature> * Azure.ResourceManager.Compute.Models.ImagePurchasePlan * Nullable<Azure.ResourceManager.Compute.Models.ArchitectureType> * Uri * string * string * System.Collections.Generic.IReadOnlyDictionary<string, string> -> Azure.ResourceManager.Compute.CommunityGalleryImageData
Public Shared Function CommunityGalleryImageData (Optional name As String = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional uniqueId As String = Nothing, Optional osType As Nullable(Of SupportedOperatingSystemType) = Nothing, Optional osState As Nullable(Of OperatingSystemStateType) = Nothing, Optional endOfLifeOn As Nullable(Of DateTimeOffset) = Nothing, Optional imageIdentifier As CommunityGalleryImageIdentifier = Nothing, Optional recommended As RecommendedMachineConfiguration = Nothing, Optional disallowedDiskTypes As IEnumerable(Of String) = Nothing, Optional hyperVGeneration As Nullable(Of HyperVGeneration) = Nothing, Optional features As IEnumerable(Of GalleryImageFeature) = Nothing, Optional purchasePlan As ImagePurchasePlan = Nothing, Optional architecture As Nullable(Of ArchitectureType) = Nothing, Optional privacyStatementUri As Uri = Nothing, Optional eula As String = Nothing, Optional disclaimer As String = Nothing, Optional artifactTags As IReadOnlyDictionary(Of String, String) = Nothing) As CommunityGalleryImageData
Parameters
- name
- String
Resource name.
- location
- Nullable<AzureLocation>
Resource location.
- resourceType
- Nullable<ResourceType>
Resource type.
- uniqueId
- String
The unique id of this community gallery.
- 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'.
- 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.
- imageIdentifier
- CommunityGalleryImageIdentifier
This is the community 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.
- hyperVGeneration
- Nullable<HyperVGeneration>
The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
- features
- IEnumerable<GalleryImageFeature>
A list of gallery image features.
- purchasePlan
- ImagePurchasePlan
Describes the gallery image definition purchase plan. This is used by marketplace images.
- architecture
- Nullable<ArchitectureType>
The architecture of the image. Applicable to OS disks only.
- privacyStatementUri
- Uri
Privacy statement URI for the current community gallery image.
- eula
- String
The end-user license agreement for the current community gallery image.
- disclaimer
- String
The disclaimer for a community gallery resource.
- artifactTags
- IReadOnlyDictionary<String,String>
The artifact tags of a community gallery resource.
Returns
A new CommunityGalleryImageData instance for mocking.
Applies to
Azure SDK for .NET