ArmCognitiveServicesModelFactory.CognitiveServicesResourceSku 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 CognitiveServicesResourceSku.
public static Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesResourceSku CognitiveServicesResourceSku (string resourceType = default, Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesSku sku = default, Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesCapacityConfig capacity = default);
static member CognitiveServicesResourceSku : string * Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesSku * Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesCapacityConfig -> Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesResourceSku
Public Shared Function CognitiveServicesResourceSku (Optional resourceType As String = Nothing, Optional sku As CognitiveServicesSku = Nothing, Optional capacity As CognitiveServicesCapacityConfig = Nothing) As CognitiveServicesResourceSku
Parameters
- resourceType
- String
The resource type name.
The resource model definition representing SKU.
- capacity
- CognitiveServicesCapacityConfig
The capacity configuration.
Returns
A new CognitiveServicesResourceSku instance for mocking.