getSnapshot

Gets information about a snapshot. Uses Azure REST API version 2022-07-02. Other available API versions: 2023-01-02, 2023-04-02, 2023-10-02, 2024-03-02.

Return

Snapshot resource.

Parameters

argument

null


suspend fun getSnapshot(resourceGroupName: String, snapshotName: String): GetSnapshotResult

Return

Snapshot resource.

Parameters

resourceGroupName

The name of the resource group.

snapshotName

The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The max name length is 80 characters.

See also


suspend fun getSnapshot(argument: suspend GetSnapshotPlainArgsBuilder.() -> Unit): GetSnapshotResult

Return

Snapshot resource.

Parameters

argument

Builder for com.pulumi.azurenative.compute.kotlin.inputs.GetSnapshotPlainArgs.

See also