ArmCognitiveServicesModelFactory.AvailableCognitiveServicesSku 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 AvailableCognitiveServicesSku.
public static Azure.ResourceManager.CognitiveServices.Models.AvailableCognitiveServicesSku AvailableCognitiveServicesSku (string resourceType = default, string name = default, string tier = default, string kind = default, System.Collections.Generic.IEnumerable<Azure.Core.AzureLocation> locations = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesSkuRestrictions> restrictions = default);
static member AvailableCognitiveServicesSku : string * string * string * string * seq<Azure.Core.AzureLocation> * seq<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesSkuRestrictions> -> Azure.ResourceManager.CognitiveServices.Models.AvailableCognitiveServicesSku
Public Shared Function AvailableCognitiveServicesSku (Optional resourceType As String = Nothing, Optional name As String = Nothing, Optional tier As String = Nothing, Optional kind As String = Nothing, Optional locations As IEnumerable(Of AzureLocation) = Nothing, Optional restrictions As IEnumerable(Of CognitiveServicesSkuRestrictions) = Nothing) As AvailableCognitiveServicesSku
Parameters
- resourceType
- String
The type of resource the SKU applies to.
- name
- String
The name of SKU.
- tier
- String
Specifies the tier of Cognitive Services account.
- kind
- String
The Kind of resources that are supported in this SKU.
- locations
- IEnumerable<AzureLocation>
The set of locations that the SKU is available.
- restrictions
- IEnumerable<CognitiveServicesSkuRestrictions>
The restrictions because of which SKU cannot be used. This is empty if there are no restrictions.
Returns
A new AvailableCognitiveServicesSku instance for mocking.