Source code for azure.mgmt.cognitiveservices.models.check_sku_availability_parameter_py3

# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model


[docs]class CheckSkuAvailabilityParameter(Model): """Check SKU availability parameter. All required parameters must be populated in order to send to Azure. :param skus: Required. The SKU of the resource. :type skus: list[str or ~azure.mgmt.cognitiveservices.models.SkuName] :param kind: Required. The Kind of the resource. Possible values include: 'Bing.Autosuggest.v7', 'Bing.CustomSearch', 'Bing.Search.v7', 'Bing.Speech', 'Bing.SpellCheck.v7', 'ComputerVision', 'ContentModerator', 'CustomSpeech', 'CustomVision.Prediction', 'CustomVision.Training', 'Emotion', 'Face', 'LUIS', 'QnAMaker', 'SpeakerRecognition', 'SpeechTranslation', 'TextAnalytics', 'TextTranslation', 'WebLM' :type kind: str or ~azure.mgmt.cognitiveservices.models.Kind :param type: Required. The Type of the resource. :type type: str """ _validation = { 'skus': {'required': True}, 'kind': {'required': True}, 'type': {'required': True}, } _attribute_map = { 'skus': {'key': 'skus', 'type': '[str]'}, 'kind': {'key': 'kind', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, } def __init__(self, *, skus, kind, type: str, **kwargs) -> None: super(CheckSkuAvailabilityParameter, self).__init__(**kwargs) self.skus = skus self.kind = kind self.type = type