ArmAuthorizationModelFactory.RecordAllDecisionsProperties Method

Definition

public static Azure.ResourceManager.Authorization.Models.RecordAllDecisionsProperties RecordAllDecisionsProperties(string principalId = default, Azure.Core.ResourceIdentifier resourceId = default, Azure.ResourceManager.Authorization.Models.RecordAllDecisionsResult? decision = default, string justification = default);
static member RecordAllDecisionsProperties : string * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.Authorization.Models.RecordAllDecisionsResult> * string -> Azure.ResourceManager.Authorization.Models.RecordAllDecisionsProperties
Public Shared Function RecordAllDecisionsProperties (Optional principalId As String = Nothing, Optional resourceId As ResourceIdentifier = Nothing, Optional decision As Nullable(Of RecordAllDecisionsResult) = Nothing, Optional justification As String = Nothing) As RecordAllDecisionsProperties

Parameters

principalId
String

The id of principal which needs to be approved/denied.

resourceId
ResourceIdentifier

The id of resource which needs to be approved/denied.

decision
Nullable<RecordAllDecisionsResult>

The decision to make. Approvers can take action of Approve/Deny.

justification
String

Justification provided by approvers for their action.

Returns

A new RecordAllDecisionsProperties instance for mocking.

Applies to