yandex.ComputeImage
Explore with Pulumi AI
Creates a virtual machine image resource for the Yandex Compute Cloud service from an existing tarball. For more information, see the official documentation.
Example Usage
using Pulumi;
using Yandex = Pulumi.Yandex;
class MyStack : Stack
{
public MyStack()
{
var foo_image = new Yandex.ComputeImage("foo-image", new Yandex.ComputeImageArgs
{
SourceUrl = "https://storage.yandexcloud.net/lucky-images/kube-it.img",
});
var vm = new Yandex.ComputeInstance("vm", new Yandex.ComputeInstanceArgs
{
BootDisk = new Yandex.Inputs.ComputeInstanceBootDiskArgs
{
InitializeParams = new Yandex.Inputs.ComputeInstanceBootDiskInitializeParamsArgs
{
ImageId = foo_image.Id,
},
},
});
}
}
package main
import (
"github.com/pulumi/pulumi-yandex/sdk/go/yandex"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := yandex.NewComputeImage(ctx, "foo-image", &yandex.ComputeImageArgs{
SourceUrl: pulumi.String("https://storage.yandexcloud.net/lucky-images/kube-it.img"),
})
if err != nil {
return err
}
_, err = yandex.NewComputeInstance(ctx, "vm", &yandex.ComputeInstanceArgs{
BootDisk: &ComputeInstanceBootDiskArgs{
InitializeParams: &ComputeInstanceBootDiskInitializeParamsArgs{
ImageId: foo_image.ID(),
},
},
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_yandex as yandex
foo_image = yandex.ComputeImage("foo-image", source_url="https://storage.yandexcloud.net/lucky-images/kube-it.img")
vm = yandex.ComputeInstance("vm", boot_disk=yandex.ComputeInstanceBootDiskArgs(
initialize_params=yandex.ComputeInstanceBootDiskInitializeParamsArgs(
image_id=foo_image.id,
),
))
import * as pulumi from "@pulumi/pulumi";
import * as yandex from "@pulumi/yandex";
const foo_image = new yandex.ComputeImage("foo-image", {
sourceUrl: "https://storage.yandexcloud.net/lucky-images/kube-it.img",
});
const vm = new yandex.ComputeInstance("vm", {
bootDisk: {
initializeParams: {
imageId: foo_image.id,
},
},
});
Coming soon!
Create ComputeImage Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ComputeImage(name: string, args?: ComputeImageArgs, opts?: CustomResourceOptions);
@overload
def ComputeImage(resource_name: str,
args: Optional[ComputeImageArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def ComputeImage(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
family: Optional[str] = None,
folder_id: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
min_disk_size: Optional[int] = None,
name: Optional[str] = None,
os_type: Optional[str] = None,
pooled: Optional[bool] = None,
product_ids: Optional[Sequence[str]] = None,
source_disk: Optional[str] = None,
source_family: Optional[str] = None,
source_image: Optional[str] = None,
source_snapshot: Optional[str] = None,
source_url: Optional[str] = None)
func NewComputeImage(ctx *Context, name string, args *ComputeImageArgs, opts ...ResourceOption) (*ComputeImage, error)
public ComputeImage(string name, ComputeImageArgs? args = null, CustomResourceOptions? opts = null)
public ComputeImage(String name, ComputeImageArgs args)
public ComputeImage(String name, ComputeImageArgs args, CustomResourceOptions options)
type: yandex:ComputeImage
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ComputeImageArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ComputeImageArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ComputeImageArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ComputeImageArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ComputeImageArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var computeImageResource = new Yandex.ComputeImage("computeImageResource", new()
{
Description = "string",
Family = "string",
FolderId = "string",
Labels =
{
{ "string", "string" },
},
MinDiskSize = 0,
Name = "string",
OsType = "string",
Pooled = false,
ProductIds = new[]
{
"string",
},
SourceDisk = "string",
SourceFamily = "string",
SourceImage = "string",
SourceSnapshot = "string",
SourceUrl = "string",
});
example, err := yandex.NewComputeImage(ctx, "computeImageResource", &yandex.ComputeImageArgs{
Description: pulumi.String("string"),
Family: pulumi.String("string"),
FolderId: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
MinDiskSize: pulumi.Int(0),
Name: pulumi.String("string"),
OsType: pulumi.String("string"),
Pooled: pulumi.Bool(false),
ProductIds: pulumi.StringArray{
pulumi.String("string"),
},
SourceDisk: pulumi.String("string"),
SourceFamily: pulumi.String("string"),
SourceImage: pulumi.String("string"),
SourceSnapshot: pulumi.String("string"),
SourceUrl: pulumi.String("string"),
})
var computeImageResource = new ComputeImage("computeImageResource", ComputeImageArgs.builder()
.description("string")
.family("string")
.folderId("string")
.labels(Map.of("string", "string"))
.minDiskSize(0)
.name("string")
.osType("string")
.pooled(false)
.productIds("string")
.sourceDisk("string")
.sourceFamily("string")
.sourceImage("string")
.sourceSnapshot("string")
.sourceUrl("string")
.build());
compute_image_resource = yandex.ComputeImage("computeImageResource",
description="string",
family="string",
folder_id="string",
labels={
"string": "string",
},
min_disk_size=0,
name="string",
os_type="string",
pooled=False,
product_ids=["string"],
source_disk="string",
source_family="string",
source_image="string",
source_snapshot="string",
source_url="string")
const computeImageResource = new yandex.ComputeImage("computeImageResource", {
description: "string",
family: "string",
folderId: "string",
labels: {
string: "string",
},
minDiskSize: 0,
name: "string",
osType: "string",
pooled: false,
productIds: ["string"],
sourceDisk: "string",
sourceFamily: "string",
sourceImage: "string",
sourceSnapshot: "string",
sourceUrl: "string",
});
type: yandex:ComputeImage
properties:
description: string
family: string
folderId: string
labels:
string: string
minDiskSize: 0
name: string
osType: string
pooled: false
productIds:
- string
sourceDisk: string
sourceFamily: string
sourceImage: string
sourceSnapshot: string
sourceUrl: string
ComputeImage Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ComputeImage resource accepts the following input properties:
- Description string
- An optional description of the image. Provide this property when you create a resource.
- Family string
- The name of the image family to which this image belongs.
- Folder
Id string - The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- Labels Dictionary<string, string>
- A set of key/value label pairs to assign to the image.
- Min
Disk intSize - Minimum size in GB of the disk that will be created from this image.
- Name string
- Name of the disk.
- Os
Type string - Operating system type that is contained in the image. Possible values: "LINUX", "WINDOWS".
- Pooled bool
- Optimize the image to create a disk.
- Product
Ids List<string> - License IDs that indicate which licenses are attached to this image.
- Source
Disk string - The ID of a disk to use as the source of the image. Changing this ID forces a new resource to be created.
- Source
Family string - The name of the family to use as the source of the new image. The ID of the latest image is taken from the "standard-images" folder. Changing the family forces a new resource to be created.
- Source
Image string - The ID of an existing image to use as the source of the image. Changing this ID forces a new resource to be created.
- Source
Snapshot string - The ID of a snapshot to use as the source of the image. Changing this ID forces a new resource to be created.
- Source
Url string - The URL to use as the source of the image. Changing this URL forces a new resource to be created.
- Description string
- An optional description of the image. Provide this property when you create a resource.
- Family string
- The name of the image family to which this image belongs.
- Folder
Id string - The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- Labels map[string]string
- A set of key/value label pairs to assign to the image.
- Min
Disk intSize - Minimum size in GB of the disk that will be created from this image.
- Name string
- Name of the disk.
- Os
Type string - Operating system type that is contained in the image. Possible values: "LINUX", "WINDOWS".
- Pooled bool
- Optimize the image to create a disk.
- Product
Ids []string - License IDs that indicate which licenses are attached to this image.
- Source
Disk string - The ID of a disk to use as the source of the image. Changing this ID forces a new resource to be created.
- Source
Family string - The name of the family to use as the source of the new image. The ID of the latest image is taken from the "standard-images" folder. Changing the family forces a new resource to be created.
- Source
Image string - The ID of an existing image to use as the source of the image. Changing this ID forces a new resource to be created.
- Source
Snapshot string - The ID of a snapshot to use as the source of the image. Changing this ID forces a new resource to be created.
- Source
Url string - The URL to use as the source of the image. Changing this URL forces a new resource to be created.
- description String
- An optional description of the image. Provide this property when you create a resource.
- family String
- The name of the image family to which this image belongs.
- folder
Id String - The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- labels Map<String,String>
- A set of key/value label pairs to assign to the image.
- min
Disk IntegerSize - Minimum size in GB of the disk that will be created from this image.
- name String
- Name of the disk.
- os
Type String - Operating system type that is contained in the image. Possible values: "LINUX", "WINDOWS".
- pooled Boolean
- Optimize the image to create a disk.
- product
Ids List<String> - License IDs that indicate which licenses are attached to this image.
- source
Disk String - The ID of a disk to use as the source of the image. Changing this ID forces a new resource to be created.
- source
Family String - The name of the family to use as the source of the new image. The ID of the latest image is taken from the "standard-images" folder. Changing the family forces a new resource to be created.
- source
Image String - The ID of an existing image to use as the source of the image. Changing this ID forces a new resource to be created.
- source
Snapshot String - The ID of a snapshot to use as the source of the image. Changing this ID forces a new resource to be created.
- source
Url String - The URL to use as the source of the image. Changing this URL forces a new resource to be created.
- description string
- An optional description of the image. Provide this property when you create a resource.
- family string
- The name of the image family to which this image belongs.
- folder
Id string - The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- labels {[key: string]: string}
- A set of key/value label pairs to assign to the image.
- min
Disk numberSize - Minimum size in GB of the disk that will be created from this image.
- name string
- Name of the disk.
- os
Type string - Operating system type that is contained in the image. Possible values: "LINUX", "WINDOWS".
- pooled boolean
- Optimize the image to create a disk.
- product
Ids string[] - License IDs that indicate which licenses are attached to this image.
- source
Disk string - The ID of a disk to use as the source of the image. Changing this ID forces a new resource to be created.
- source
Family string - The name of the family to use as the source of the new image. The ID of the latest image is taken from the "standard-images" folder. Changing the family forces a new resource to be created.
- source
Image string - The ID of an existing image to use as the source of the image. Changing this ID forces a new resource to be created.
- source
Snapshot string - The ID of a snapshot to use as the source of the image. Changing this ID forces a new resource to be created.
- source
Url string - The URL to use as the source of the image. Changing this URL forces a new resource to be created.
- description str
- An optional description of the image. Provide this property when you create a resource.
- family str
- The name of the image family to which this image belongs.
- folder_
id str - The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- labels Mapping[str, str]
- A set of key/value label pairs to assign to the image.
- min_
disk_ intsize - Minimum size in GB of the disk that will be created from this image.
- name str
- Name of the disk.
- os_
type str - Operating system type that is contained in the image. Possible values: "LINUX", "WINDOWS".
- pooled bool
- Optimize the image to create a disk.
- product_
ids Sequence[str] - License IDs that indicate which licenses are attached to this image.
- source_
disk str - The ID of a disk to use as the source of the image. Changing this ID forces a new resource to be created.
- source_
family str - The name of the family to use as the source of the new image. The ID of the latest image is taken from the "standard-images" folder. Changing the family forces a new resource to be created.
- source_
image str - The ID of an existing image to use as the source of the image. Changing this ID forces a new resource to be created.
- source_
snapshot str - The ID of a snapshot to use as the source of the image. Changing this ID forces a new resource to be created.
- source_
url str - The URL to use as the source of the image. Changing this URL forces a new resource to be created.
- description String
- An optional description of the image. Provide this property when you create a resource.
- family String
- The name of the image family to which this image belongs.
- folder
Id String - The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- labels Map<String>
- A set of key/value label pairs to assign to the image.
- min
Disk NumberSize - Minimum size in GB of the disk that will be created from this image.
- name String
- Name of the disk.
- os
Type String - Operating system type that is contained in the image. Possible values: "LINUX", "WINDOWS".
- pooled Boolean
- Optimize the image to create a disk.
- product
Ids List<String> - License IDs that indicate which licenses are attached to this image.
- source
Disk String - The ID of a disk to use as the source of the image. Changing this ID forces a new resource to be created.
- source
Family String - The name of the family to use as the source of the new image. The ID of the latest image is taken from the "standard-images" folder. Changing the family forces a new resource to be created.
- source
Image String - The ID of an existing image to use as the source of the image. Changing this ID forces a new resource to be created.
- source
Snapshot String - The ID of a snapshot to use as the source of the image. Changing this ID forces a new resource to be created.
- source
Url String - The URL to use as the source of the image. Changing this URL forces a new resource to be created.
Outputs
All input properties are implicitly available as output properties. Additionally, the ComputeImage resource produces the following output properties:
- created_
at str - Creation timestamp of the image.
- id str
- The provider-assigned unique ID for this managed resource.
- size int
- The size of the image, specified in GB.
- status str
- The status of the image.
Look up Existing ComputeImage Resource
Get an existing ComputeImage resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ComputeImageState, opts?: CustomResourceOptions): ComputeImage
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
created_at: Optional[str] = None,
description: Optional[str] = None,
family: Optional[str] = None,
folder_id: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
min_disk_size: Optional[int] = None,
name: Optional[str] = None,
os_type: Optional[str] = None,
pooled: Optional[bool] = None,
product_ids: Optional[Sequence[str]] = None,
size: Optional[int] = None,
source_disk: Optional[str] = None,
source_family: Optional[str] = None,
source_image: Optional[str] = None,
source_snapshot: Optional[str] = None,
source_url: Optional[str] = None,
status: Optional[str] = None) -> ComputeImage
func GetComputeImage(ctx *Context, name string, id IDInput, state *ComputeImageState, opts ...ResourceOption) (*ComputeImage, error)
public static ComputeImage Get(string name, Input<string> id, ComputeImageState? state, CustomResourceOptions? opts = null)
public static ComputeImage get(String name, Output<String> id, ComputeImageState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Created
At string - Creation timestamp of the image.
- Description string
- An optional description of the image. Provide this property when you create a resource.
- Family string
- The name of the image family to which this image belongs.
- Folder
Id string - The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- Labels Dictionary<string, string>
- A set of key/value label pairs to assign to the image.
- Min
Disk intSize - Minimum size in GB of the disk that will be created from this image.
- Name string
- Name of the disk.
- Os
Type string - Operating system type that is contained in the image. Possible values: "LINUX", "WINDOWS".
- Pooled bool
- Optimize the image to create a disk.
- Product
Ids List<string> - License IDs that indicate which licenses are attached to this image.
- Size int
- The size of the image, specified in GB.
- Source
Disk string - The ID of a disk to use as the source of the image. Changing this ID forces a new resource to be created.
- Source
Family string - The name of the family to use as the source of the new image. The ID of the latest image is taken from the "standard-images" folder. Changing the family forces a new resource to be created.
- Source
Image string - The ID of an existing image to use as the source of the image. Changing this ID forces a new resource to be created.
- Source
Snapshot string - The ID of a snapshot to use as the source of the image. Changing this ID forces a new resource to be created.
- Source
Url string - The URL to use as the source of the image. Changing this URL forces a new resource to be created.
- Status string
- The status of the image.
- Created
At string - Creation timestamp of the image.
- Description string
- An optional description of the image. Provide this property when you create a resource.
- Family string
- The name of the image family to which this image belongs.
- Folder
Id string - The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- Labels map[string]string
- A set of key/value label pairs to assign to the image.
- Min
Disk intSize - Minimum size in GB of the disk that will be created from this image.
- Name string
- Name of the disk.
- Os
Type string - Operating system type that is contained in the image. Possible values: "LINUX", "WINDOWS".
- Pooled bool
- Optimize the image to create a disk.
- Product
Ids []string - License IDs that indicate which licenses are attached to this image.
- Size int
- The size of the image, specified in GB.
- Source
Disk string - The ID of a disk to use as the source of the image. Changing this ID forces a new resource to be created.
- Source
Family string - The name of the family to use as the source of the new image. The ID of the latest image is taken from the "standard-images" folder. Changing the family forces a new resource to be created.
- Source
Image string - The ID of an existing image to use as the source of the image. Changing this ID forces a new resource to be created.
- Source
Snapshot string - The ID of a snapshot to use as the source of the image. Changing this ID forces a new resource to be created.
- Source
Url string - The URL to use as the source of the image. Changing this URL forces a new resource to be created.
- Status string
- The status of the image.
- created
At String - Creation timestamp of the image.
- description String
- An optional description of the image. Provide this property when you create a resource.
- family String
- The name of the image family to which this image belongs.
- folder
Id String - The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- labels Map<String,String>
- A set of key/value label pairs to assign to the image.
- min
Disk IntegerSize - Minimum size in GB of the disk that will be created from this image.
- name String
- Name of the disk.
- os
Type String - Operating system type that is contained in the image. Possible values: "LINUX", "WINDOWS".
- pooled Boolean
- Optimize the image to create a disk.
- product
Ids List<String> - License IDs that indicate which licenses are attached to this image.
- size Integer
- The size of the image, specified in GB.
- source
Disk String - The ID of a disk to use as the source of the image. Changing this ID forces a new resource to be created.
- source
Family String - The name of the family to use as the source of the new image. The ID of the latest image is taken from the "standard-images" folder. Changing the family forces a new resource to be created.
- source
Image String - The ID of an existing image to use as the source of the image. Changing this ID forces a new resource to be created.
- source
Snapshot String - The ID of a snapshot to use as the source of the image. Changing this ID forces a new resource to be created.
- source
Url String - The URL to use as the source of the image. Changing this URL forces a new resource to be created.
- status String
- The status of the image.
- created
At string - Creation timestamp of the image.
- description string
- An optional description of the image. Provide this property when you create a resource.
- family string
- The name of the image family to which this image belongs.
- folder
Id string - The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- labels {[key: string]: string}
- A set of key/value label pairs to assign to the image.
- min
Disk numberSize - Minimum size in GB of the disk that will be created from this image.
- name string
- Name of the disk.
- os
Type string - Operating system type that is contained in the image. Possible values: "LINUX", "WINDOWS".
- pooled boolean
- Optimize the image to create a disk.
- product
Ids string[] - License IDs that indicate which licenses are attached to this image.
- size number
- The size of the image, specified in GB.
- source
Disk string - The ID of a disk to use as the source of the image. Changing this ID forces a new resource to be created.
- source
Family string - The name of the family to use as the source of the new image. The ID of the latest image is taken from the "standard-images" folder. Changing the family forces a new resource to be created.
- source
Image string - The ID of an existing image to use as the source of the image. Changing this ID forces a new resource to be created.
- source
Snapshot string - The ID of a snapshot to use as the source of the image. Changing this ID forces a new resource to be created.
- source
Url string - The URL to use as the source of the image. Changing this URL forces a new resource to be created.
- status string
- The status of the image.
- created_
at str - Creation timestamp of the image.
- description str
- An optional description of the image. Provide this property when you create a resource.
- family str
- The name of the image family to which this image belongs.
- folder_
id str - The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- labels Mapping[str, str]
- A set of key/value label pairs to assign to the image.
- min_
disk_ intsize - Minimum size in GB of the disk that will be created from this image.
- name str
- Name of the disk.
- os_
type str - Operating system type that is contained in the image. Possible values: "LINUX", "WINDOWS".
- pooled bool
- Optimize the image to create a disk.
- product_
ids Sequence[str] - License IDs that indicate which licenses are attached to this image.
- size int
- The size of the image, specified in GB.
- source_
disk str - The ID of a disk to use as the source of the image. Changing this ID forces a new resource to be created.
- source_
family str - The name of the family to use as the source of the new image. The ID of the latest image is taken from the "standard-images" folder. Changing the family forces a new resource to be created.
- source_
image str - The ID of an existing image to use as the source of the image. Changing this ID forces a new resource to be created.
- source_
snapshot str - The ID of a snapshot to use as the source of the image. Changing this ID forces a new resource to be created.
- source_
url str - The URL to use as the source of the image. Changing this URL forces a new resource to be created.
- status str
- The status of the image.
- created
At String - Creation timestamp of the image.
- description String
- An optional description of the image. Provide this property when you create a resource.
- family String
- The name of the image family to which this image belongs.
- folder
Id String - The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- labels Map<String>
- A set of key/value label pairs to assign to the image.
- min
Disk NumberSize - Minimum size in GB of the disk that will be created from this image.
- name String
- Name of the disk.
- os
Type String - Operating system type that is contained in the image. Possible values: "LINUX", "WINDOWS".
- pooled Boolean
- Optimize the image to create a disk.
- product
Ids List<String> - License IDs that indicate which licenses are attached to this image.
- size Number
- The size of the image, specified in GB.
- source
Disk String - The ID of a disk to use as the source of the image. Changing this ID forces a new resource to be created.
- source
Family String - The name of the family to use as the source of the new image. The ID of the latest image is taken from the "standard-images" folder. Changing the family forces a new resource to be created.
- source
Image String - The ID of an existing image to use as the source of the image. Changing this ID forces a new resource to be created.
- source
Snapshot String - The ID of a snapshot to use as the source of the image. Changing this ID forces a new resource to be created.
- source
Url String - The URL to use as the source of the image. Changing this URL forces a new resource to be created.
- status String
- The status of the image.
Import
A VM image can be imported using the id
of the resource, e.g.
$ pulumi import yandex:index/computeImage:ComputeImage web-image image_id
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Yandex pulumi/pulumi-yandex
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
yandex
Terraform Provider.