ArmResourceGraphModelFactory.ResourceChangeData Method

Definition

public static Azure.ResourceManager.ResourceGraph.Models.ResourceChangeData ResourceChangeData(string resourceId = default, string changeId = default, Azure.ResourceManager.ResourceGraph.Models.ResourceChangeDataBeforeSnapshot beforeSnapshot = default, Azure.ResourceManager.ResourceGraph.Models.ResourceChangeDataAfterSnapshot afterSnapshot = default, Azure.ResourceManager.ResourceGraph.Models.ChangeType? changeType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ResourceGraph.Models.ResourcePropertyChange> propertyChanges = default);
static member ResourceChangeData : string * string * Azure.ResourceManager.ResourceGraph.Models.ResourceChangeDataBeforeSnapshot * Azure.ResourceManager.ResourceGraph.Models.ResourceChangeDataAfterSnapshot * Nullable<Azure.ResourceManager.ResourceGraph.Models.ChangeType> * seq<Azure.ResourceManager.ResourceGraph.Models.ResourcePropertyChange> -> Azure.ResourceManager.ResourceGraph.Models.ResourceChangeData
Public Shared Function ResourceChangeData (Optional resourceId As String = Nothing, Optional changeId As String = Nothing, Optional beforeSnapshot As ResourceChangeDataBeforeSnapshot = Nothing, Optional afterSnapshot As ResourceChangeDataAfterSnapshot = Nothing, Optional changeType As Nullable(Of ChangeType) = Nothing, Optional propertyChanges As IEnumerable(Of ResourcePropertyChange) = Nothing) As ResourceChangeData

Parameters

resourceId
String

The resource for a change.

changeId
String

The change ID. Valid and unique within the specified resource only.

beforeSnapshot
ResourceChangeDataBeforeSnapshot

The snapshot before the change.

afterSnapshot
ResourceChangeDataAfterSnapshot

The snapshot after the change.

changeType
Nullable<ChangeType>

The change type for snapshot. PropertyChanges will be provided in case of Update change type.

propertyChanges
IEnumerable<ResourcePropertyChange>

An array of resource property change.

Returns

A new ResourceChangeData instance for mocking.

Applies to