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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: yandex:index/getComputeSnapshot:getComputeSnapshot
arguments:
# arguments dictionary
The following arguments are supported:
- Folder
Id string - ID of the folder that the snapshot belongs to.
- Name string
- The name of the snapshot.
- Snapshot
Id string - The ID of a specific snapshot.
- Folder
Id string - ID of the folder that the snapshot belongs to.
- Name string
- The name of the snapshot.
- Snapshot
Id string - The ID of a specific snapshot.
- folder
Id String - ID of the folder that the snapshot belongs to.
- name String
- The name of the snapshot.
- snapshot
Id String - The ID of a specific snapshot.
- folder
Id string - ID of the folder that the snapshot belongs to.
- name string
- The name of the snapshot.
- snapshot
Id 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.
- folder
Id String - ID of the folder that the snapshot belongs to.
- name String
- The name of the snapshot.
- snapshot
Id String - The ID of a specific snapshot.
getComputeSnapshot Result
The following output properties are available:
- Created
At string - Snapshot creation timestamp.
- Description string
- An optional description of this snapshot.
- Disk
Size int - Minimum required size of the disk which is created from this snapshot.
- Folder
Id 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
- Product
Ids List<string> - License IDs that indicate which licenses are attached to this snapshot.
- Snapshot
Id string - Source
Disk stringId - ID of the source disk.
- Status string
- The status of the snapshot.
- Storage
Size int - The size of the snapshot, specified in Gb.
- Created
At string - Snapshot creation timestamp.
- Description string
- An optional description of this snapshot.
- Disk
Size int - Minimum required size of the disk which is created from this snapshot.
- Folder
Id 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
- Product
Ids []string - License IDs that indicate which licenses are attached to this snapshot.
- Snapshot
Id string - Source
Disk stringId - ID of the source disk.
- Status string
- The status of the snapshot.
- Storage
Size int - The size of the snapshot, specified in Gb.
- created
At String - Snapshot creation timestamp.
- description String
- An optional description of this snapshot.
- disk
Size Integer - Minimum required size of the disk which is created from this snapshot.
- folder
Id 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
- product
Ids List<String> - License IDs that indicate which licenses are attached to this snapshot.
- snapshot
Id String - source
Disk StringId - ID of the source disk.
- status String
- The status of the snapshot.
- storage
Size Integer - The size of the snapshot, specified in Gb.
- created
At string - Snapshot creation timestamp.
- description string
- An optional description of this snapshot.
- disk
Size number - Minimum required size of the disk which is created from this snapshot.
- folder
Id 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
- product
Ids string[] - License IDs that indicate which licenses are attached to this snapshot.
- snapshot
Id string - source
Disk stringId - ID of the source disk.
- status string
- The status of the snapshot.
- storage
Size 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.
- created
At String - Snapshot creation timestamp.
- description String
- An optional description of this snapshot.
- disk
Size Number - Minimum required size of the disk which is created from this snapshot.
- folder
Id 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
- product
Ids List<String> - License IDs that indicate which licenses are attached to this snapshot.
- snapshot
Id String - source
Disk StringId - ID of the source disk.
- status String
- The status of the snapshot.
- storage
Size 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
yandex
Terraform Provider.