Share via


ArmLabServicesModelFactory.AvailableLabServicesSkuRestrictions Method

Definition

Initializes a new instance of AvailableLabServicesSkuRestrictions.

public static Azure.ResourceManager.LabServices.Models.AvailableLabServicesSkuRestrictions AvailableLabServicesSkuRestrictions (Azure.ResourceManager.LabServices.Models.LabServicesSkuRestrictionType? labServicesSkuRestrictionType = default, System.Collections.Generic.IEnumerable<string> values = default, Azure.ResourceManager.LabServices.Models.LabServicesSkuRestrictionReasonCode? reasonCode = default);
static member AvailableLabServicesSkuRestrictions : Nullable<Azure.ResourceManager.LabServices.Models.LabServicesSkuRestrictionType> * seq<string> * Nullable<Azure.ResourceManager.LabServices.Models.LabServicesSkuRestrictionReasonCode> -> Azure.ResourceManager.LabServices.Models.AvailableLabServicesSkuRestrictions
Public Shared Function AvailableLabServicesSkuRestrictions (Optional labServicesSkuRestrictionType As Nullable(Of LabServicesSkuRestrictionType) = Nothing, Optional values As IEnumerable(Of String) = Nothing, Optional reasonCode As Nullable(Of LabServicesSkuRestrictionReasonCode) = Nothing) As AvailableLabServicesSkuRestrictions

Parameters

labServicesSkuRestrictionType
Nullable<LabServicesSkuRestrictionType>

The type of restriction.

values
IEnumerable<String>

The values of the restriction.

reasonCode
Nullable<LabServicesSkuRestrictionReasonCode>

The reason for the restriction.

Returns

A new AvailableLabServicesSkuRestrictions instance for mocking.

Applies to