Share via


ArmReservationsModelFactory.ReservationDetailData Method

Definition

Initializes a new instance of ReservationDetailData.

public static Azure.ResourceManager.Reservations.ReservationDetailData ReservationDetailData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.AzureLocation? location = default, int? version = default, string skuName = default, Azure.ResourceManager.Reservations.Models.ReservationProperties properties = default, Azure.ResourceManager.Reservations.Models.ReservationKind? kind = default);
static member ReservationDetailData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.Core.AzureLocation> * Nullable<int> * string * Azure.ResourceManager.Reservations.Models.ReservationProperties * Nullable<Azure.ResourceManager.Reservations.Models.ReservationKind> -> Azure.ResourceManager.Reservations.ReservationDetailData
Public Shared Function ReservationDetailData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional version As Nullable(Of Integer) = Nothing, Optional skuName As String = Nothing, Optional properties As ReservationProperties = Nothing, Optional kind As Nullable(Of ReservationKind) = Nothing) As ReservationDetailData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

location
Nullable<AzureLocation>

The Azure region where the reserved resource lives.

version
Nullable<Int32>
skuName
String

The sku information associated to this reservation.

properties
ReservationProperties

The properties associated to this reservation.

kind
Nullable<ReservationKind>

Resource Provider type to be reserved.

Returns

A new ReservationDetailData instance for mocking.

Applies to