Class ImageArgs
Inherited Members
Namespace: Pulumi.Gcp.Compute
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class ImageArgs : ResourceArgs
Constructors
View SourceImageArgs()
Declaration
public ImageArgs()
Properties
View SourceDescription
An optional description of this resource. Provide this property when you create the resource.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
DiskSizeGb
Size of the image when restored onto a persistent disk (in GB).
Declaration
public Input<int> DiskSizeGb { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Family
The name of the image family to which this image belongs. You can create disks by specifying an image family instead of a specific image name. The image family always returns its latest image that is not deprecated. The name of the image family must comply with RFC1035.
Declaration
public Input<string> Family { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
GuestOsFeatures
A list of features to enable on the guest operating system. Applicable only for bootable images. Structure is documented below.
Declaration
public InputList<ImageGuestOsFeatureArgs> GuestOsFeatures { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<ImageGuestOsFeatureArgs> |
Labels
Labels to apply to this Image.
Declaration
public InputMap<string> Labels { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.String> |
Licenses
Any applicable license URI.
Declaration
public InputList<string> Licenses { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
Name
Name of the resource; provided by the client when the resource is
created. The name must be 1-63 characters long, and comply with
RFC1035. Specifically, the name must be 1-63 characters long and
match the regular expression a-z? which means
the first character must be a lowercase letter, and all following
characters must be a dash, lowercase letter, or digit, except the
last character, which cannot be a dash.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Project
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Declaration
public Input<string> Project { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
RawDisk
The parameters of the raw disk image. Structure is documented below.
Declaration
public Input<ImageRawDiskArgs> RawDisk { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<ImageRawDiskArgs> |
SourceDisk
The source disk to create this image based on. You must provide either this property or the rawDisk.source property but not both to create an image.
Declaration
public Input<string> SourceDisk { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |