Baremetalsolution_v2Functions

Functions

Link copied to clipboard

Get details about a single server.

suspend fun getInstance(argument: suspend GetInstancePlainArgsBuilder.() -> Unit): GetInstanceResult
suspend fun getInstance(instanceId: String, location: String, project: String? = null): GetInstanceResult
Link copied to clipboard

Get details of a single NFS share.

suspend fun getNfsShare(argument: suspend GetNfsSharePlainArgsBuilder.() -> Unit): GetNfsShareResult
suspend fun getNfsShare(location: String, nfsShareId: String, project: String? = null): GetNfsShareResult
Link copied to clipboard

Get ProvisioningConfig by name.

suspend fun getProvisioningConfig(location: String, project: String? = null, provisioningConfigId: String): GetProvisioningConfigResult
Link copied to clipboard

Returns the specified snapshot resource. Returns INVALID_ARGUMENT if called for a non-boot volume.

suspend fun getSnapshot(argument: suspend GetSnapshotPlainArgsBuilder.() -> Unit): GetSnapshotResult
suspend fun getSnapshot(location: String, project: String? = null, snapshotId: String, volumeId: String): GetSnapshotResult