Compartilhar via


ArmReservationsModelFactory.ChangeDirectoryResult Method

Definition

Initializes a new instance of ChangeDirectoryResult.

public static Azure.ResourceManager.Reservations.Models.ChangeDirectoryResult ChangeDirectoryResult (Guid? id = default, string name = default, bool? isSucceeded = default, string error = default);
static member ChangeDirectoryResult : Nullable<Guid> * string * Nullable<bool> * string -> Azure.ResourceManager.Reservations.Models.ChangeDirectoryResult
Public Shared Function ChangeDirectoryResult (Optional id As Nullable(Of Guid) = Nothing, Optional name As String = Nothing, Optional isSucceeded As Nullable(Of Boolean) = Nothing, Optional error As String = Nothing) As ChangeDirectoryResult

Parameters

id
Nullable<Guid>

Identifier of the reservation order or reservation.

name
String

Name of the reservation order or reservation.

isSucceeded
Nullable<Boolean>

True if change directory operation succeeded on this reservation order or reservation.

error
String

Error reason if operation failed. Null otherwise.

Returns

A new ChangeDirectoryResult instance for mocking.

Applies to