ArmLabServicesModelFactory.AvailableLabServicesSkuRestrictions Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET