Yandex v0.13.0 published on Tuesday, Feb 22, 2022 by Pulumi
yandex.getComputeSnapshot
Explore with Pulumi AI
Get information about a Yandex Compute snapshot. For more information, see the official documentation.
Using getComputeSnapshot
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getComputeSnapshot(args: GetComputeSnapshotArgs, opts?: InvokeOptions): Promise<GetComputeSnapshotResult>
function getComputeSnapshotOutput(args: GetComputeSnapshotOutputArgs, opts?: InvokeOptions): Output<GetComputeSnapshotResult>def get_compute_snapshot(folder_id: Optional[str] = None,
                         name: Optional[str] = None,
                         snapshot_id: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetComputeSnapshotResult
def get_compute_snapshot_output(folder_id: Optional[pulumi.Input[str]] = None,
                         name: Optional[pulumi.Input[str]] = None,
                         snapshot_id: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetComputeSnapshotResult]func LookupComputeSnapshot(ctx *Context, args *LookupComputeSnapshotArgs, opts ...InvokeOption) (*LookupComputeSnapshotResult, error)
func LookupComputeSnapshotOutput(ctx *Context, args *LookupComputeSnapshotOutputArgs, opts ...InvokeOption) LookupComputeSnapshotResultOutput> Note: This function is named LookupComputeSnapshot in the Go SDK.
public static class GetComputeSnapshot 
{
    public static Task<GetComputeSnapshotResult> InvokeAsync(GetComputeSnapshotArgs args, InvokeOptions? opts = null)
    public static Output<GetComputeSnapshotResult> Invoke(GetComputeSnapshotInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetComputeSnapshotResult> getComputeSnapshot(GetComputeSnapshotArgs args, InvokeOptions options)
public static Output<GetComputeSnapshotResult> getComputeSnapshot(GetComputeSnapshotArgs args, InvokeOptions options)
fn::invoke:
  function: yandex:index/getComputeSnapshot:getComputeSnapshot
  arguments:
    # arguments dictionaryThe following arguments are supported:
- FolderId string
- ID of the folder that the snapshot belongs to.
- Name string
- The name of the snapshot.
- SnapshotId string
- The ID of a specific snapshot.
- FolderId string
- ID of the folder that the snapshot belongs to.
- Name string
- The name of the snapshot.
- SnapshotId string
- The ID of a specific snapshot.
- folderId String
- ID of the folder that the snapshot belongs to.
- name String
- The name of the snapshot.
- snapshotId String
- The ID of a specific snapshot.
- folderId string
- ID of the folder that the snapshot belongs to.
- name string
- The name of the snapshot.
- snapshotId string
- The ID of a specific snapshot.
- folder_id str
- ID of the folder that the snapshot belongs to.
- name str
- The name of the snapshot.
- snapshot_id str
- The ID of a specific snapshot.
- folderId String
- ID of the folder that the snapshot belongs to.
- name String
- The name of the snapshot.
- snapshotId String
- The ID of a specific snapshot.
getComputeSnapshot Result
The following output properties are available:
- CreatedAt string
- Snapshot creation timestamp.
- Description string
- An optional description of this snapshot.
- DiskSize int
- Minimum required size of the disk which is created from this snapshot.
- FolderId string
- ID of the folder that the snapshot belongs to.
- Id string
- The provider-assigned unique ID for this managed resource.
- Labels Dictionary<string, string>
- A map of labels applied to this snapshot.
- Name string
- ProductIds List<string>
- License IDs that indicate which licenses are attached to this snapshot.
- SnapshotId string
- SourceDisk stringId 
- ID of the source disk.
- Status string
- The status of the snapshot.
- StorageSize int
- The size of the snapshot, specified in Gb.
- CreatedAt string
- Snapshot creation timestamp.
- Description string
- An optional description of this snapshot.
- DiskSize int
- Minimum required size of the disk which is created from this snapshot.
- FolderId string
- ID of the folder that the snapshot belongs to.
- Id string
- The provider-assigned unique ID for this managed resource.
- Labels map[string]string
- A map of labels applied to this snapshot.
- Name string
- ProductIds []string
- License IDs that indicate which licenses are attached to this snapshot.
- SnapshotId string
- SourceDisk stringId 
- ID of the source disk.
- Status string
- The status of the snapshot.
- StorageSize int
- The size of the snapshot, specified in Gb.
- createdAt String
- Snapshot creation timestamp.
- description String
- An optional description of this snapshot.
- diskSize Integer
- Minimum required size of the disk which is created from this snapshot.
- folderId String
- ID of the folder that the snapshot belongs to.
- id String
- The provider-assigned unique ID for this managed resource.
- labels Map<String,String>
- A map of labels applied to this snapshot.
- name String
- productIds List<String>
- License IDs that indicate which licenses are attached to this snapshot.
- snapshotId String
- sourceDisk StringId 
- ID of the source disk.
- status String
- The status of the snapshot.
- storageSize Integer
- The size of the snapshot, specified in Gb.
- createdAt string
- Snapshot creation timestamp.
- description string
- An optional description of this snapshot.
- diskSize number
- Minimum required size of the disk which is created from this snapshot.
- folderId string
- ID of the folder that the snapshot belongs to.
- id string
- The provider-assigned unique ID for this managed resource.
- labels {[key: string]: string}
- A map of labels applied to this snapshot.
- name string
- productIds string[]
- License IDs that indicate which licenses are attached to this snapshot.
- snapshotId string
- sourceDisk stringId 
- ID of the source disk.
- status string
- The status of the snapshot.
- storageSize number
- The size of the snapshot, specified in Gb.
- created_at str
- Snapshot creation timestamp.
- description str
- An optional description of this snapshot.
- disk_size int
- Minimum required size of the disk which is created from this snapshot.
- folder_id str
- ID of the folder that the snapshot belongs to.
- id str
- The provider-assigned unique ID for this managed resource.
- labels Mapping[str, str]
- A map of labels applied to this snapshot.
- name str
- product_ids Sequence[str]
- License IDs that indicate which licenses are attached to this snapshot.
- snapshot_id str
- source_disk_ strid 
- ID of the source disk.
- status str
- The status of the snapshot.
- storage_size int
- The size of the snapshot, specified in Gb.
- createdAt String
- Snapshot creation timestamp.
- description String
- An optional description of this snapshot.
- diskSize Number
- Minimum required size of the disk which is created from this snapshot.
- folderId String
- ID of the folder that the snapshot belongs to.
- id String
- The provider-assigned unique ID for this managed resource.
- labels Map<String>
- A map of labels applied to this snapshot.
- name String
- productIds List<String>
- License IDs that indicate which licenses are attached to this snapshot.
- snapshotId String
- sourceDisk StringId 
- ID of the source disk.
- status String
- The status of the snapshot.
- storageSize Number
- The size of the snapshot, specified in Gb.
Package Details
- Repository
- Yandex pulumi/pulumi-yandex
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the yandexTerraform Provider.