getSnapshot

Gets information about a snapshot. Azure REST API version: 2022-07-02. Other available API versions: 2016-04-30-preview, 2017-03-30, 2018-06-01, 2023-01-02, 2023-04-02.

Return

Snapshot resource.

Parameters

argument

null


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

Return

Snapshot resource.

See also

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.


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

Return

Snapshot resource.

See also

Parameters

argument

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