ArmDataMigrationModelFactory.ResourceSkuRestrictions 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 ResourceSkuRestrictions.
public static Azure.ResourceManager.DataMigration.Models.ResourceSkuRestrictions ResourceSkuRestrictions (Azure.ResourceManager.DataMigration.Models.ResourceSkuRestrictionsType? restrictionsType = default, System.Collections.Generic.IEnumerable<string> values = default, Azure.ResourceManager.DataMigration.Models.ResourceSkuRestrictionsReasonCode? reasonCode = default);
static member ResourceSkuRestrictions : Nullable<Azure.ResourceManager.DataMigration.Models.ResourceSkuRestrictionsType> * seq<string> * Nullable<Azure.ResourceManager.DataMigration.Models.ResourceSkuRestrictionsReasonCode> -> Azure.ResourceManager.DataMigration.Models.ResourceSkuRestrictions
Public Shared Function ResourceSkuRestrictions (Optional restrictionsType As Nullable(Of ResourceSkuRestrictionsType) = Nothing, Optional values As IEnumerable(Of String) = Nothing, Optional reasonCode As Nullable(Of ResourceSkuRestrictionsReasonCode) = Nothing) As ResourceSkuRestrictions
Parameters
- restrictionsType
- Nullable<ResourceSkuRestrictionsType>
The type of restrictions.
- values
- IEnumerable<String>
The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted.
- reasonCode
- Nullable<ResourceSkuRestrictionsReasonCode>
The reason code for restriction.
Returns
A new ResourceSkuRestrictions instance for mocking.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET