Class ImageArgs
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.Compute
Assembly: Pulumi.Azure.dll
Syntax
public sealed class ImageArgs : ResourceArgs
Constructors
View SourceImageArgs()
Declaration
public ImageArgs()
Properties
View SourceDataDisks
One or more data_disk elements as defined below.
Declaration
public InputList<ImageDataDiskArgs> DataDisks { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<ImageDataDiskArgs> |
HyperVGeneration
The HyperVGenerationType of the VirtualMachine created from the image as V1, V2. The default is V1.
Declaration
public Input<string> HyperVGeneration { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Location
Specified the supported Azure location where the resource exists. Changing this forces a new resource to be created.
Declaration
public Input<string> Location { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
Specifies the name of the image. Changing this forces a new resource to be created.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
OsDisk
One or more os_disk elements as defined below.
Declaration
public Input<ImageOsDiskArgs> OsDisk { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<ImageOsDiskArgs> |
ResourceGroupName
The name of the resource group in which to create the image. Changing this forces a new resource to be created.
Declaration
public Input<string> ResourceGroupName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SourceVirtualMachineId
The Virtual Machine ID from which to create the image.
Declaration
public Input<string> SourceVirtualMachineId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Tags
A mapping of tags to assign to the resource.
Declaration
public InputMap<string> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.String> |
ZoneResilient
Is zone resiliency enabled? Defaults to false. Changing this forces a new resource to be created.
Declaration
public Input<bool> ZoneResilient { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |