Image Constructors
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.
Overloads
Image() |
Initializes a new instance of the Image class. |
Image(String, String, String, SystemData, Nullable<EnableState>, Nullable<ProvisioningState>, String, String, String, String, Nullable<OsType>, String, Nullable<EnableState>, String, String, String, String, String, IList<String>, Nullable<OsState>) |
Initializes a new instance of the Image class. |
Image()
Initializes a new instance of the Image class.
public Image ();
Public Sub New ()
Applies to
Image(String, String, String, SystemData, Nullable<EnableState>, Nullable<ProvisioningState>, String, String, String, String, Nullable<OsType>, String, Nullable<EnableState>, String, String, String, String, String, IList<String>, Nullable<OsState>)
Initializes a new instance of the Image class.
public Image (string id = default, string name = default, string type = default, Microsoft.Azure.Management.LabServices.Models.SystemData systemData = default, Microsoft.Azure.Management.LabServices.Models.EnableState? enabledState = default, Microsoft.Azure.Management.LabServices.Models.ProvisioningState? provisioningState = default, string displayName = default, string description = default, string iconUrl = default, string author = default, Microsoft.Azure.Management.LabServices.Models.OsType? osType = default, string plan = default, Microsoft.Azure.Management.LabServices.Models.EnableState? termsStatus = default, string offer = default, string publisher = default, string sku = default, string version = default, string sharedGalleryId = default, System.Collections.Generic.IList<string> availableRegions = default, Microsoft.Azure.Management.LabServices.Models.OsState? osState = default);
new Microsoft.Azure.Management.LabServices.Models.Image : string * string * string * Microsoft.Azure.Management.LabServices.Models.SystemData * Nullable<Microsoft.Azure.Management.LabServices.Models.EnableState> * Nullable<Microsoft.Azure.Management.LabServices.Models.ProvisioningState> * string * string * string * string * Nullable<Microsoft.Azure.Management.LabServices.Models.OsType> * string * Nullable<Microsoft.Azure.Management.LabServices.Models.EnableState> * string * string * string * string * string * System.Collections.Generic.IList<string> * Nullable<Microsoft.Azure.Management.LabServices.Models.OsState> -> Microsoft.Azure.Management.LabServices.Models.Image
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional systemData As SystemData = Nothing, Optional enabledState As Nullable(Of EnableState) = Nothing, Optional provisioningState As Nullable(Of ProvisioningState) = Nothing, Optional displayName As String = Nothing, Optional description As String = Nothing, Optional iconUrl As String = Nothing, Optional author As String = Nothing, Optional osType As Nullable(Of OsType) = Nothing, Optional plan As String = Nothing, Optional termsStatus As Nullable(Of EnableState) = Nothing, Optional offer As String = Nothing, Optional publisher As String = Nothing, Optional sku As String = Nothing, Optional version As String = Nothing, Optional sharedGalleryId As String = Nothing, Optional availableRegions As IList(Of String) = Nothing, Optional osState As Nullable(Of OsState) = Nothing)
Parameters
- id
- String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name
- String
The name of the resource
- type
- String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- systemData
- SystemData
Metadata pertaining to creation and last modification of the image.
- enabledState
- Nullable<EnableState>
Is the image enabled. Possible values include: 'Enabled', 'Disabled'
- provisioningState
- Nullable<ProvisioningState>
Current provisioning state of the image. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Locked'
- displayName
- String
The image display name.
- description
- String
A description of the image.
- iconUrl
- String
URL of the image icon.
- author
- String
The image author.
- plan
- String
The ID of marketplace plan associated with the image (optional).
- termsStatus
- Nullable<EnableState>
The status of image terms of use (enabled = accepted, disabled = not accepted). Possible values include: 'Enabled', 'Disabled'
- offer
- String
The ID of an offer associated with the image.
- publisher
- String
The ID of the publisher of the image.
- sku
- String
The image SKU.
- version
- String
The image version.
- sharedGalleryId
- String
The ID for the image in the shared gallery.
The OS State of the image. Possible values include: 'Generalized', 'Specialized'
Applies to
Azure SDK for .NET