你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

VirtualMachineCaptureResult 类

定义

虚拟机捕获操作的输出。

public class VirtualMachineCaptureResult : Azure.ResourceManager.Compute.Models.ComputeWriteableSubResourceData
type VirtualMachineCaptureResult = class
    inherit ComputeWriteableSubResourceData
Public Class VirtualMachineCaptureResult
Inherits ComputeWriteableSubResourceData
继承
VirtualMachineCaptureResult

构造函数

VirtualMachineCaptureResult()

初始化 VirtualMachineCaptureResult 的新实例。

属性

ContentVersion

内容的版本。

Id

资源 ID。

(继承自 ComputeWriteableSubResourceData)
Parameters

捕获的虚拟机的参数

若要将对象分配给此属性,请使用 FromObjectAsJson<T>(T, JsonSerializerOptions)

若要将已格式化的 json 字符串分配给此属性,请使用 FromString(String)

示例:

  • BinaryData.FromObjectAsJson (“foo”) 创建“foo”的有效负载。
  • BinaryData.FromString (“\”foo\“”) 创建“foo”的有效负载。
  • BinaryData.FromObjectAsJson (new { key = “value” }) 创建 { “key”: “value” } 的有效负载。
  • BinaryData.FromString (“{\”key\“: \”value\“}”) 创建 { “key”: “value” } 的有效负载。

Resources

捕获的虚拟机的资源项列表

若要将 对象分配给此属性的 元素,请使用 FromObjectAsJson<T>(T, JsonSerializerOptions)

若要将已格式化的 json 字符串分配给此属性,请使用 FromString(String)

示例:

  • BinaryData.FromObjectAsJson (“foo”) 创建“foo”的有效负载。
  • BinaryData.FromString (“\”foo\“”) 创建“foo”的有效负载。
  • BinaryData.FromObjectAsJson (new { key = “value” }) 创建 { “key”: “value” } 的有效负载。
  • BinaryData.FromString (“{\”key\“: \”value\“}”) 创建 { “key”: “value” } 的有效负载。

Schema

捕获的虚拟机的架构。

适用于