/// <summary> /// Initializes a new instance of the /// CognitiveServicesAccountCreateParametersInner class. /// </summary> /// <param name="sku">Required. Gets or sets the SKU of the /// resource.</param> /// <param name="kind">Required. Gets or sets the Kind of the resource. /// Possible values include: 'Academic', 'Bing.Autosuggest', /// 'Bing.Search', 'Bing.Speech', 'Bing.SpellCheck', 'ComputerVision', /// 'ContentModerator', 'CustomSpeech', 'Emotion', 'Face', 'LUIS', /// 'Recommendations', 'SpeakerRecognition', 'Speech', /// 'SpeechTranslation', 'TextAnalytics', 'TextTranslation', /// 'WebLM'</param> /// <param name="location">Required. Gets or sets the location of the /// resource. This will be one of the supported and registered Azure /// Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo /// region of a resource cannot be changed once it is created, but if /// an identical geo region is specified on update the request will /// succeed.</param> /// <param name="properties">Must exist in the request. Must be an /// empty object. Must not be null.</param> /// <param name="tags">Gets or sets a list of key value pairs that /// describe the resource. These tags can be used in viewing and /// grouping this resource (across resource groups). A maximum of 15 /// tags can be provided for a resource. Each tag must have a key no /// greater than 128 characters and value no greater than 256 /// characters.</param> public CognitiveServicesAccountCreateParametersInner(SkuInner sku, string kind, string location, object properties, IDictionary <string, string> tags = default(IDictionary <string, string>)) { Sku = sku; Kind = kind; Location = location; Tags = tags; Properties = properties; CustomInit(); }
/// <summary> /// Initializes a new instance of the CognitiveServicesAccountInner /// class. /// </summary> /// <param name="etag">Entity Tag</param> /// <param name="id">The id of the created account</param> /// <param name="kind">Type of cognitive service account.</param> /// <param name="location">The location of the resource</param> /// <param name="name">The name of the created account</param> /// <param name="provisioningState">Gets the status of the cognitive /// services account at the time the operation was called. Possible /// values include: 'Creating', 'ResolvingDNS', 'Succeeded', /// 'Failed'</param> /// <param name="endpoint">Endpoint of the created account.</param> /// <param name="internalId">The internal identifier.</param> /// <param name="sku">The SKU of Cognitive Services account.</param> /// <param name="tags">Gets or sets a list of key value pairs that /// describe the resource. These tags can be used in viewing and /// grouping this resource (across resource groups). A maximum of 15 /// tags can be provided for a resource. Each tag must have a key no /// greater than 128 characters and value no greater than 256 /// characters.</param> /// <param name="type">Resource type</param> public CognitiveServicesAccountInner(string etag = default(string), string id = default(string), string kind = default(string), string location = default(string), string name = default(string), ProvisioningState?provisioningState = default(ProvisioningState?), string endpoint = default(string), string internalId = default(string), SkuInner sku = default(SkuInner), IDictionary <string, string> tags = default(IDictionary <string, string>), string type = default(string)) { Etag = etag; Id = id; Kind = kind; Location = location; Name = name; ProvisioningState = provisioningState; Endpoint = endpoint; InternalId = internalId; Sku = sku; Tags = tags; Type = type; CustomInit(); }
/// <summary> /// Initializes a new instance of the CognitiveServicesResourceAndSku /// class. /// </summary> /// <param name="resourceType">Resource Namespace and Type</param> /// <param name="sku">The SKU of Cognitive Services account.</param> public CognitiveServicesResourceAndSku(string resourceType = default(string), SkuInner sku = default(SkuInner)) { ResourceType = resourceType; Sku = sku; CustomInit(); }
/// <summary> /// Initializes a new instance of the /// CognitiveServicesAccountUpdateParameters class. /// </summary> /// <param name="sku">Gets or sets the SKU of the resource.</param> /// <param name="tags">Gets or sets a list of key value pairs that /// describe the resource. These tags can be used in viewing and /// grouping this resource (across resource groups). A maximum of 15 /// tags can be provided for a resource. Each tag must have a key no /// greater than 128 characters and value no greater than 256 /// characters.</param> public CognitiveServicesAccountUpdateParameters(SkuInner sku = default(SkuInner), IDictionary <string, string> tags = default(IDictionary <string, string>)) { Sku = sku; Tags = tags; CustomInit(); }