Class ImageState
Inherited Members
Namespace: Pulumi.Gcp.Compute
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class ImageState : ResourceArgs
Constructors
View SourceImageState()
Declaration
public ImageState()
Properties
View SourceArchiveSizeBytes
Size of the image tar.gz archive stored in Google Cloud Storage (in bytes).
Declaration
public Input<int> ArchiveSizeBytes { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
CreationTimestamp
Creation timestamp in RFC3339 text format.
Declaration
public Input<string> CreationTimestamp { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Description
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<ImageGuestOsFeatureGetArgs> GuestOsFeatures { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<ImageGuestOsFeatureGetArgs> |
LabelFingerprint
The fingerprint used for optimistic locking of this resource. Used internally during updates.
Declaration
public Input<string> LabelFingerprint { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
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<ImageRawDiskGetArgs> RawDisk { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<ImageRawDiskGetArgs> |
SelfLink
The URI of the created resource.
Declaration
public Input<string> SelfLink { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
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> |