共用方式為


ArmDevTestLabsModelFactory.DevTestLabGalleryImage Method

Definition

Initializes a new instance of DevTestLabGalleryImage.

public static Azure.ResourceManager.DevTestLabs.Models.DevTestLabGalleryImage DevTestLabGalleryImage (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 author = default, DateTimeOffset? createdOn = default, string description = default, Azure.ResourceManager.DevTestLabs.Models.DevTestLabGalleryImageReference imageReference = default, string icon = default, bool? isEnabled = default, string planId = default, bool? isPlanAuthorized = default);
static member DevTestLabGalleryImage : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * string * Nullable<DateTimeOffset> * string * Azure.ResourceManager.DevTestLabs.Models.DevTestLabGalleryImageReference * string * Nullable<bool> * string * Nullable<bool> -> Azure.ResourceManager.DevTestLabs.Models.DevTestLabGalleryImage
Public Shared Function DevTestLabGalleryImage (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 author As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional description As String = Nothing, Optional imageReference As DevTestLabGalleryImageReference = Nothing, Optional icon As String = Nothing, Optional isEnabled As Nullable(Of Boolean) = Nothing, Optional planId As String = Nothing, Optional isPlanAuthorized As Nullable(Of Boolean) = Nothing) As DevTestLabGalleryImage

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

author
String

The author of the gallery image.

createdOn
Nullable<DateTimeOffset>

The creation date of the gallery image.

description
String

The description of the gallery image.

imageReference
DevTestLabGalleryImageReference

The image reference of the gallery image.

icon
String

The icon of the gallery image.

isEnabled
Nullable<Boolean>

Indicates whether this gallery image is enabled.

planId
String

The third party plan that applies to this image.

isPlanAuthorized
Nullable<Boolean>

Indicates if the plan has been authorized for programmatic deployment.

Returns

A new DevTestLabGalleryImage instance for mocking.

Applies to