共用方式為


ArmChangeAnalysisModelFactory.ChangeProperties Method

Definition

Initializes a new instance of ChangeProperties.

public static Azure.ResourceManager.ChangeAnalysis.Models.ChangeProperties ChangeProperties (Azure.Core.ResourceIdentifier resourceId = default, DateTimeOffset? changeDetectedOn = default, System.Collections.Generic.IEnumerable<string> initiatedByList = default, Azure.ResourceManager.ChangeAnalysis.Models.ChangeType? changeType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ChangeAnalysis.Models.PropertyChange> propertyChanges = default);
static member ChangeProperties : Azure.Core.ResourceIdentifier * Nullable<DateTimeOffset> * seq<string> * Nullable<Azure.ResourceManager.ChangeAnalysis.Models.ChangeType> * seq<Azure.ResourceManager.ChangeAnalysis.Models.PropertyChange> -> Azure.ResourceManager.ChangeAnalysis.Models.ChangeProperties
Public Shared Function ChangeProperties (Optional resourceId As ResourceIdentifier = Nothing, Optional changeDetectedOn As Nullable(Of DateTimeOffset) = Nothing, Optional initiatedByList As IEnumerable(Of String) = Nothing, Optional changeType As Nullable(Of ChangeType) = Nothing, Optional propertyChanges As IEnumerable(Of PropertyChange) = Nothing) As ChangeProperties

Parameters

resourceId
ResourceIdentifier

The resource id that the change is attached to.

changeDetectedOn
Nullable<DateTimeOffset>

The time when the change is detected.

initiatedByList
IEnumerable<String>

The list of identities who might initiated the change. The identity could be user name (email address) or the object ID of the Service Principal.

changeType
Nullable<ChangeType>

The type of the change.

propertyChanges
IEnumerable<PropertyChange>

The list of detailed changes at json property level.

Returns

A new ChangeProperties instance for mocking.

Applies to