语言

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

ArmResourceGraphModelFactory.ResourceSnapshotData Method

Definition

public static Azure.ResourceManager.ResourceGraph.Models.ResourceSnapshotData ResourceSnapshotData(string snapshotId = default, DateTimeOffset timestamp = default, BinaryData content = default);
static member ResourceSnapshotData : string * DateTimeOffset * BinaryData -> Azure.ResourceManager.ResourceGraph.Models.ResourceSnapshotData
Public Shared Function ResourceSnapshotData (Optional snapshotId As String = Nothing, Optional timestamp As DateTimeOffset = Nothing, Optional content As BinaryData = Nothing) As ResourceSnapshotData

Parameters

snapshotId
String

The ID of the snapshot.

timestamp
DateTimeOffset

The time when the snapshot was created. The snapshot timestamp provides an approximation as to when a modification to a resource was detected. There can be a difference between the actual modification time and the detection time. This is due to differences in how operations that modify a resource are processed, versus how operation that record resource snapshots are processed.

content
BinaryData

The resource snapshot content (in resourceChangeDetails response only).

Returns

A new ResourceSnapshotData instance for mocking.

Applies to