Cognitive Services account deployment.
Uses Azure REST API version 2025-06-01. In version 2.x of the Azure Native provider, it used API version 2023-05-01.
Other available API versions: 2023-05-01, 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview, 2024-10-01, 2025-04-01-preview, 2025-07-01-preview, 2025-09-01, 2025-10-01-preview, 2025-12-01, 2026-01-15-preview, 2026-03-01, 2026-03-15-preview, 2026-05-01, 2026-05-15-preview, 2026-07-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native cognitiveservices [ApiVersion]. See the version guide for details.
Example Usage
PutDeployment
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var deployment = new AzureNative.CognitiveServices.Deployment("deployment", new()
{
AccountName = "accountName",
DeploymentName = "deploymentName",
Properties = new AzureNative.CognitiveServices.Inputs.DeploymentPropertiesArgs
{
Model = new AzureNative.CognitiveServices.Inputs.DeploymentModelArgs
{
Format = "OpenAI",
Name = "ada",
Version = "1",
},
},
ResourceGroupName = "resourceGroupName",
Sku = new AzureNative.CognitiveServices.Inputs.SkuArgs
{
Capacity = 1,
Name = "Standard",
},
});
});
package main
import (
cognitiveservices "github.com/pulumi/pulumi-azure-native-sdk/cognitiveservices/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cognitiveservices.NewDeployment(ctx, "deployment", &cognitiveservices.DeploymentArgs{
AccountName: pulumi.String("accountName"),
DeploymentName: pulumi.String("deploymentName"),
Properties: &cognitiveservices.DeploymentPropertiesArgs{
Model: &cognitiveservices.DeploymentModelArgs{
Format: pulumi.String("OpenAI"),
Name: pulumi.String("ada"),
Version: pulumi.String("1"),
},
},
ResourceGroupName: pulumi.String("resourceGroupName"),
Sku: &cognitiveservices.SkuArgs{
Capacity: pulumi.Int(1),
Name: pulumi.String("Standard"),
},
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_cognitiveservices_deployment" "deployment" {
lifecycle {
create_before_destroy = true
}
account_name = "accountName"
deployment_name = "deploymentName"
properties = {
model = {
format = "OpenAI"
name = "ada"
version = "1"
}
}
resource_group_name = "resourceGroupName"
sku = {
capacity = 1
name = "Standard"
}
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.cognitiveservices.Deployment;
import com.pulumi.azurenative.cognitiveservices.DeploymentArgs;
import com.pulumi.azurenative.cognitiveservices.inputs.DeploymentPropertiesArgs;
import com.pulumi.azurenative.cognitiveservices.inputs.DeploymentModelArgs;
import com.pulumi.azurenative.cognitiveservices.inputs.SkuArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var deployment = new Deployment("deployment", DeploymentArgs.builder()
.accountName("accountName")
.deploymentName("deploymentName")
.properties(DeploymentPropertiesArgs.builder()
.model(DeploymentModelArgs.builder()
.format("OpenAI")
.name("ada")
.version("1")
.build())
.build())
.resourceGroupName("resourceGroupName")
.sku(SkuArgs.builder()
.capacity(1)
.name("Standard")
.build())
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const deployment = new azure_native.cognitiveservices.Deployment("deployment", {
accountName: "accountName",
deploymentName: "deploymentName",
properties: {
model: {
format: "OpenAI",
name: "ada",
version: "1",
},
},
resourceGroupName: "resourceGroupName",
sku: {
capacity: 1,
name: "Standard",
},
});
import pulumi
import pulumi_azure_native as azure_native
deployment = azure_native.cognitiveservices.Deployment("deployment",
account_name="accountName",
deployment_name="deploymentName",
properties={
"model": {
"format": "OpenAI",
"name": "ada",
"version": "1",
},
},
resource_group_name="resourceGroupName",
sku={
"capacity": 1,
"name": "Standard",
})
resources:
deployment:
type: azure-native:cognitiveservices:Deployment
properties:
accountName: accountName
deploymentName: deploymentName
properties:
model:
format: OpenAI
name: ada
version: '1'
resourceGroupName: resourceGroupName
sku:
capacity: 1
name: Standard
Create Deployment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
@overload
def Deployment(resource_name: str,
args: DeploymentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Deployment(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
deployment_name: Optional[str] = None,
properties: Optional[DeploymentPropertiesArgs] = None,
sku: Optional[SkuArgs] = None,
tags: Optional[Mapping[str, str]] = None)
type: azure-native:cognitiveservices:Deployment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "azure-native_cognitiveservices_deployment" "name" {
# resource properties
}
Parameters
- resource_name
str
- The unique name of the resource.
- args
DeploymentArgs
- The arguments to resource properties.
- opts
ResourceOptions
- Bag of options to control resource's behavior.
- ctx
Context
- Context object for the current deployment.
- name
string
- The unique name of the resource.
- args
DeploymentArgs
- The arguments to resource properties.
- opts
ResourceOption
- Bag of options to control resource's behavior.
- name
String
- The unique name of the resource.
- args
DeploymentArgs
- The arguments to resource properties.
- options
CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampledeploymentResourceResourceFromCognitiveservices = new AzureNative.CognitiveServices.Deployment("exampledeploymentResourceResourceFromCognitiveservices", new()
{
AccountName = "string",
ResourceGroupName = "string",
DeploymentName = "string",
Properties = new AzureNative.CognitiveServices.Inputs.DeploymentPropertiesArgs
{
CapacitySettings = new AzureNative.CognitiveServices.Inputs.DeploymentCapacitySettingsArgs
{
DesignatedCapacity = 0,
Priority = 0,
},
CurrentCapacity = 0,
Model = new AzureNative.CognitiveServices.Inputs.DeploymentModelArgs
{
Format = "string",
Name = "string",
Publisher = "string",
Source = "string",
SourceAccount = "string",
Version = "string",
},
ParentDeploymentName = "string",
RaiPolicyName = "string",
ScaleSettings = new AzureNative.CognitiveServices.Inputs.DeploymentScaleSettingsArgs
{
Capacity = 0,
ScaleType = "string",
},
SpilloverDeploymentName = "string",
VersionUpgradeOption = "string",
},
Sku = new AzureNative.CognitiveServices.Inputs.SkuArgs
{
Name = "string",
Capacity = 0,
Family = "string",
Size = "string",
Tier = "string",
},
Tags =
{
{ "string", "string" },
},
});
example, err := cognitiveservices.NewDeployment(ctx, "exampledeploymentResourceResourceFromCognitiveservices", &cognitiveservices.DeploymentArgs{
AccountName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
DeploymentName: pulumi.String("string"),
Properties: &cognitiveservices.DeploymentPropertiesArgs{
CapacitySettings: &cognitiveservices.DeploymentCapacitySettingsArgs{
DesignatedCapacity: pulumi.Int(0),
Priority: pulumi.Int(0),
},
CurrentCapacity: pulumi.Int(0),
Model: &cognitiveservices.DeploymentModelArgs{
Format: pulumi.String("string"),
Name: pulumi.String("string"),
Publisher: pulumi.String("string"),
Source: pulumi.String("string"),
SourceAccount: pulumi.String("string"),
Version: pulumi.String("string"),
},
ParentDeploymentName: pulumi.String("string"),
RaiPolicyName: pulumi.String("string"),
ScaleSettings: &cognitiveservices.DeploymentScaleSettingsArgs{
Capacity: pulumi.Int(0),
ScaleType: pulumi.String("string"),
},
SpilloverDeploymentName: pulumi.String("string"),
VersionUpgradeOption: pulumi.String("string"),
},
Sku: &cognitiveservices.SkuArgs{
Name: pulumi.String("string"),
Capacity: pulumi.Int(0),
Family: pulumi.String("string"),
Size: pulumi.String("string"),
Tier: pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
resource "azure-native_cognitiveservices_deployment" "exampledeploymentResourceResourceFromCognitiveservices" {
lifecycle {
create_before_destroy = true
}
account_name = "string"
resource_group_name = "string"
deployment_name = "string"
properties = {
capacity_settings = {
designated_capacity = 0
priority = 0
}
current_capacity = 0
model = {
format = "string"
name = "string"
publisher = "string"
source = "string"
source_account = "string"
version = "string"
}
parent_deployment_name = "string"
rai_policy_name = "string"
scale_settings = {
capacity = 0
scale_type = "string"
}
spillover_deployment_name = "string"
version_upgrade_option = "string"
}
sku = {
name = "string"
capacity = 0
family = "string"
size = "string"
tier = "string"
}
tags = {
"string" = "string"
}
}
var exampledeploymentResourceResourceFromCognitiveservices = new com.pulumi.azurenative.cognitiveservices.Deployment("exampledeploymentResourceResourceFromCognitiveservices", com.pulumi.azurenative.cognitiveservices.DeploymentArgs.builder()
.accountName("string")
.resourceGroupName("string")
.deploymentName("string")
.properties(com.pulumi.azurenative.cognitiveservices.inputs.DeploymentPropertiesArgs.builder()
.capacitySettings(DeploymentCapacitySettingsArgs.builder()
.designatedCapacity(0)
.priority(0)
.build())
.currentCapacity(0)
.model(DeploymentModelArgs.builder()
.format("string")
.name("string")
.publisher("string")
.source("string")
.sourceAccount("string")
.version("string")
.build())
.parentDeploymentName("string")
.raiPolicyName("string")
.scaleSettings(DeploymentScaleSettingsArgs.builder()
.capacity(0)
.scaleType("string")
.build())
.spilloverDeploymentName("string")
.versionUpgradeOption("string")
.build())
.sku(com.pulumi.azurenative.cognitiveservices.inputs.SkuArgs.builder()
.name("string")
.capacity(0)
.family("string")
.size("string")
.tier("string")
.build())
.tags(Map.of("string", "string"))
.build());
exampledeployment_resource_resource_from_cognitiveservices = azure_native.cognitiveservices.Deployment("exampledeploymentResourceResourceFromCognitiveservices",
account_name="string",
resource_group_name="string",
deployment_name="string",
properties={
"capacity_settings": {
"designated_capacity": 0,
"priority": 0,
},
"current_capacity": 0,
"model": {
"format": "string",
"name": "string",
"publisher": "string",
"source": "string",
"source_account": "string",
"version": "string",
},
"parent_deployment_name": "string",
"rai_policy_name": "string",
"scale_settings": {
"capacity": 0,
"scale_type": "string",
},
"spillover_deployment_name": "string",
"version_upgrade_option": "string",
},
sku={
"name": "string",
"capacity": 0,
"family": "string",
"size": "string",
"tier": "string",
},
tags={
"string": "string",
})
const exampledeploymentResourceResourceFromCognitiveservices = new azure_native.cognitiveservices.Deployment("exampledeploymentResourceResourceFromCognitiveservices", {
accountName: "string",
resourceGroupName: "string",
deploymentName: "string",
properties: {
capacitySettings: {
designatedCapacity: 0,
priority: 0,
},
currentCapacity: 0,
model: {
format: "string",
name: "string",
publisher: "string",
source: "string",
sourceAccount: "string",
version: "string",
},
parentDeploymentName: "string",
raiPolicyName: "string",
scaleSettings: {
capacity: 0,
scaleType: "string",
},
spilloverDeploymentName: "string",
versionUpgradeOption: "string",
},
sku: {
name: "string",
capacity: 0,
family: "string",
size: "string",
tier: "string",
},
tags: {
string: "string",
},
});
type: azure-native:cognitiveservices:Deployment
properties:
accountName: string
deploymentName: string
properties:
capacitySettings:
designatedCapacity: 0
priority: 0
currentCapacity: 0
model:
format: string
name: string
publisher: string
source: string
sourceAccount: string
version: string
parentDeploymentName: string
raiPolicyName: string
scaleSettings:
capacity: 0
scaleType: string
spilloverDeploymentName: string
versionUpgradeOption: string
resourceGroupName: string
sku:
capacity: 0
family: string
name: string
size: string
tier: string
tags:
string: string
Deployment Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Deployment resource accepts the following input properties:
- account_name
string
- The name of Cognitive Services account.
- resource_group_name
string
- The name of the resource group. The name is case insensitive.
- deployment_name
string
- The name of the deployment associated with the Cognitive Services Account
- properties
object
- Properties of Cognitive Services account deployment.
- sku
object
- The resource model definition representing SKU
- tags
map(string)
- Resource tags.
- accountName
string
- The name of Cognitive Services account.
- resourceGroupName
string
- The name of the resource group. The name is case insensitive.
- deploymentName
string
- The name of the deployment associated with the Cognitive Services Account
- properties
DeploymentProperties
- Properties of Cognitive Services account deployment.
- sku
Sku
- The resource model definition representing SKU
- tags
{[key: string]: string}
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the Deployment resource produces the following output properties:
- AzureApiVersion
string
- The Azure API version of the resource.
- Etag
string
- Resource Etag.
- Id
string
- The provider-assigned unique ID for this managed resource.
- Name
string
- The name of the resource
- SystemData
SystemDataResponse
- Metadata pertaining to creation and last modification of the resource.
- Type
string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure_api_version
string
- The Azure API version of the resource.
- etag
string
- Resource Etag.
- id
string
- The provider-assigned unique ID for this managed resource.
- name
string
- The name of the resource
- system_data
object
- Metadata pertaining to creation and last modification of the resource.
- type
string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azureApiVersion
String
- The Azure API version of the resource.
- etag
String
- Resource Etag.
- id
String
- The provider-assigned unique ID for this managed resource.
- name
String
- The name of the resource
- systemData
SystemDataResponse
- Metadata pertaining to creation and last modification of the resource.
- type
String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azureApiVersion
string
- The Azure API version of the resource.
- etag
string
- Resource Etag.
- id
string
- The provider-assigned unique ID for this managed resource.
- name
string
- The name of the resource
- systemData
SystemDataResponse
- Metadata pertaining to creation and last modification of the resource.
- type
string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure_api_version
str
- The Azure API version of the resource.
- etag
str
- Resource Etag.
- id
str
- The provider-assigned unique ID for this managed resource.
- name
str
- The name of the resource
- system_data
SystemDataResponse
- Metadata pertaining to creation and last modification of the resource.
- type
str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azureApiVersion
String
- The Azure API version of the resource.
- etag
String
- Resource Etag.
- id
String
- The provider-assigned unique ID for this managed resource.
- name
String
- The name of the resource
- systemData
Property Map
- Metadata pertaining to creation and last modification of the resource.
- type
String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Look up Existing Deployment Resource
Get an existing Deployment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static Deployment get(String name, Output<String> id, CustomResourceOptions options)
resources: existingDeployment: type: azure-native:cognitiveservices:Deployment get: id: ${id}
import {
to = azure-native_cognitiveservices_deployment.example
id = "${id}"
}
- name
string
- The unique name of the resulting resource.
- id
Input<ID>
- The unique provider ID of the resource to look up.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
str
- The unique name of the resulting resource.
- id
str
- The unique provider ID of the resource to look up.
- opts
ResourceOptions
- Bag of options to control resource's behavior.
- ctx
Context
- Context object for the current deployment.
- name
string
- The unique name of the resulting resource.
- id
IDInput
- The unique provider ID of the resource to look up.
- state
DeploymentState
- Pass nil. This resource has no state arguments.
- opts
ResourceOption
- Bag of options to control resource's behavior.
- name
string
- The unique name of the resulting resource.
- id
Input<string>
- The unique provider ID of the resource to look up.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- name
String
- The unique name of the resulting resource.
- id
Output<String>
- The unique provider ID of the resource to look up.
- options
CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
CallRateLimitResponse, CallRateLimitResponseArgs
The call rate limit Cognitive Services account.DeploymentCapacitySettings, DeploymentCapacitySettingsArgs
Internal use only.DeploymentCapacitySettingsResponse, DeploymentCapacitySettingsResponseArgs
Internal use only.DeploymentModel, DeploymentModelArgs
Properties of Cognitive Services account deployment model.- Format
string
- Deployment model format.
- Name
string
- Deployment model name.
- Publisher
string
- Deployment model publisher.
- Source
string
- Optional. Deployment model source ARM resource ID.
- SourceAccount
string
- Optional. Source of the model, another Microsoft.CognitiveServices accounts ARM resource ID.
- Version
string
- Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API.
- Format
string
- Deployment model format.
- Name
string
- Deployment model name.
- Publisher
string
- Deployment model publisher.
- Source
string
- Optional. Deployment model source ARM resource ID.
- SourceAccount
string
- Optional. Source of the model, another Microsoft.CognitiveServices accounts ARM resource ID.
- Version
string
- Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API.
- format
string
- Deployment model format.
- name
string
- Deployment model name.
- publisher
string
- Deployment model publisher.
- source
string
- Optional. Deployment model source ARM resource ID.
- source_account
string
- Optional. Source of the model, another Microsoft.CognitiveServices accounts ARM resource ID.
- version
string
- Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API.
- format
String
- Deployment model format.
- name
String
- Deployment model name.
- publisher
String
- Deployment model publisher.
- source
String
- Optional. Deployment model source ARM resource ID.
- sourceAccount
String
- Optional. Source of the model, another Microsoft.CognitiveServices accounts ARM resource ID.
- version
String
- Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API.
- format
string
- Deployment model format.
- name
string
- Deployment model name.
- publisher
string
- Deployment model publisher.
- source
string
- Optional. Deployment model source ARM resource ID.
- sourceAccount
string
- Optional. Source of the model, another Microsoft.CognitiveServices accounts ARM resource ID.
- version
string
- Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API.
- format
str
- Deployment model format.
- name
str
- Deployment model name.
- publisher
str
- Deployment model publisher.
- source
str
- Optional. Deployment model source ARM resource ID.
- source_account
str
- Optional. Source of the model, another Microsoft.CognitiveServices accounts ARM resource ID.
- version
str
- Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API.
- format
String
- Deployment model format.
- name
String
- Deployment model name.
- publisher
String
- Deployment model publisher.
- source
String
- Optional. Deployment model source ARM resource ID.
- sourceAccount
String
- Optional. Source of the model, another Microsoft.CognitiveServices accounts ARM resource ID.
- version
String
- Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API.
DeploymentModelResponse, DeploymentModelResponseArgs
Properties of Cognitive Services account deployment model.- CallRateLimit
Pulumi.AzureNative.CognitiveServices.Inputs.CallRateLimitResponse
- The call rate limit Cognitive Services account.
- Format
string
- Deployment model format.
- Name
string
- Deployment model name.
- Publisher
string
- Deployment model publisher.
- Source
string
- Optional. Deployment model source ARM resource ID.
- SourceAccount
string
- Optional. Source of the model, another Microsoft.CognitiveServices accounts ARM resource ID.
- Version
string
- Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API.
- CallRateLimit
CallRateLimitResponse
- The call rate limit Cognitive Services account.
- Format
string
- Deployment model format.
- Name
string
- Deployment model name.
- Publisher
string
- Deployment model publisher.
- Source
string
- Optional. Deployment model source ARM resource ID.
- SourceAccount
string
- Optional. Source of the model, another Microsoft.CognitiveServices accounts ARM resource ID.
- Version
string
- Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API.
- call_rate_limit
object
- The call rate limit Cognitive Services account.
- format
string
- Deployment model format.
- name
string
- Deployment model name.
- publisher
string
- Deployment model publisher.
- source
string
- Optional. Deployment model source ARM resource ID.
- source_account
string
- Optional. Source of the model, another Microsoft.CognitiveServices accounts ARM resource ID.
- version
string
- Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API.
- callRateLimit
CallRateLimitResponse
- The call rate limit Cognitive Services account.
- format
String
- Deployment model format.
- name
String
- Deployment model name.
- publisher
String
- Deployment model publisher.
- source
String
- Optional. Deployment model source ARM resource ID.
- sourceAccount
String
- Optional. Source of the model, another Microsoft.CognitiveServices accounts ARM resource ID.
- version
String
- Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API.
- callRateLimit
CallRateLimitResponse
- The call rate limit Cognitive Services account.
- format
string
- Deployment model format.
- name
string
- Deployment model name.
- publisher
string
- Deployment model publisher.
- source
string
- Optional. Deployment model source ARM resource ID.
- sourceAccount
string
- Optional. Source of the model, another Microsoft.CognitiveServices accounts ARM resource ID.
- version
string
- Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API.
- call_rate_limit
CallRateLimitResponse
- The call rate limit Cognitive Services account.
- format
str
- Deployment model format.
- name
str
- Deployment model name.
- publisher
str
- Deployment model publisher.
- source
str
- Optional. Deployment model source ARM resource ID.
- source_account
str
- Optional. Source of the model, another Microsoft.CognitiveServices accounts ARM resource ID.
- version
str
- Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API.
- callRateLimit
Property Map
- The call rate limit Cognitive Services account.
- format
String
- Deployment model format.
- name
String
- Deployment model name.
- publisher
String
- Deployment model publisher.
- source
String
- Optional. Deployment model source ARM resource ID.
- sourceAccount
String
- Optional. Source of the model, another Microsoft.CognitiveServices accounts ARM resource ID.
- version
String
- Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API.
DeploymentModelVersionUpgradeOption, DeploymentModelVersionUpgradeOptionArgs
Deployment model version upgrade option.| Name | Value |
|---|
| OnceNewDefaultVersionAvailable | OnceNewDefaultVersionAvailable |
| OnceCurrentVersionExpired | OnceCurrentVersionExpired |
| NoAutoUpgrade | NoAutoUpgrade |
| Name | Value |
|---|
| DeploymentModelVersionUpgradeOptionOnceNewDefaultVersionAvailable | OnceNewDefaultVersionAvailable |
| DeploymentModelVersionUpgradeOptionOnceCurrentVersionExpired | OnceCurrentVersionExpired |
| DeploymentModelVersionUpgradeOptionNoAutoUpgrade | NoAutoUpgrade |
| Value |
|---|
OnceNewDefaultVersionAvailable |
OnceCurrentVersionExpired |
NoAutoUpgrade |
| Name | Value |
|---|
| OnceNewDefaultVersionAvailable | OnceNewDefaultVersionAvailable |
| OnceCurrentVersionExpired | OnceCurrentVersionExpired |
| NoAutoUpgrade | NoAutoUpgrade |
| Name | Value |
|---|
| OnceNewDefaultVersionAvailable | OnceNewDefaultVersionAvailable |
| OnceCurrentVersionExpired | OnceCurrentVersionExpired |
| NoAutoUpgrade | NoAutoUpgrade |
| Name | Value |
|---|
| ONCE_NEW_DEFAULT_VERSION_AVAILABLE | OnceNewDefaultVersionAvailable |
| ONCE_CURRENT_VERSION_EXPIRED | OnceCurrentVersionExpired |
| NO_AUTO_UPGRADE | NoAutoUpgrade |
| Value |
|---|
OnceNewDefaultVersionAvailable |
OnceCurrentVersionExpired |
NoAutoUpgrade |
DeploymentProperties, DeploymentPropertiesArgs
Properties of Cognitive Services account deployment.DeploymentPropertiesResponse, DeploymentPropertiesResponseArgs
Properties of Cognitive Services account deployment.DeploymentScaleSettings, DeploymentScaleSettingsArgs
Properties of Cognitive Services account deployment model. (Deprecated, please use Deployment.sku instead.)DeploymentScaleSettingsResponse, DeploymentScaleSettingsResponseArgs
Properties of Cognitive Services account deployment model. (Deprecated, please use Deployment.sku instead.)- ActiveCapacity
int
- Deployment active capacity. This value might be different from
capacity if customer recently updated capacity. - Capacity
int
- Deployment capacity.
- ScaleType
string
- Deployment scale type.
- ActiveCapacity
int
- Deployment active capacity. This value might be different from
capacity if customer recently updated capacity. - Capacity
int
- Deployment capacity.
- ScaleType
string
- Deployment scale type.
- active_capacity
number
- Deployment active capacity. This value might be different from
capacity if customer recently updated capacity. - capacity
number
- Deployment capacity.
- scale_type
string
- Deployment scale type.
- activeCapacity
Integer
- Deployment active capacity. This value might be different from
capacity if customer recently updated capacity. - capacity
Integer
- Deployment capacity.
- scaleType
String
- Deployment scale type.
- activeCapacity
number
- Deployment active capacity. This value might be different from
capacity if customer recently updated capacity. - capacity
number
- Deployment capacity.
- scaleType
string
- Deployment scale type.
- active_capacity
int
- Deployment active capacity. This value might be different from
capacity if customer recently updated capacity. - capacity
int
- Deployment capacity.
- scale_type
str
- Deployment scale type.
- activeCapacity
Number
- Deployment active capacity. This value might be different from
capacity if customer recently updated capacity. - capacity
Number
- Deployment capacity.
- scaleType
String
- Deployment scale type.
DeploymentScaleType, DeploymentScaleTypeArgs
Deployment scale type.| Name | Value |
|---|
| Standard | Standard |
| Manual | Manual |
| Name | Value |
|---|
| DeploymentScaleTypeStandard | Standard |
| DeploymentScaleTypeManual | Manual |
| Name | Value |
|---|
| Standard | Standard |
| Manual | Manual |
| Name | Value |
|---|
| Standard | Standard |
| Manual | Manual |
| Name | Value |
|---|
| STANDARD | Standard |
| MANUAL | Manual |
RequestMatchPatternResponse, RequestMatchPatternResponseArgs
Sku, SkuArgs
The resource model definition representing SKU- Name
string
- The name of the SKU. Ex - P3. It is typically a letter+number code
- Capacity
int
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- Family
string
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- Size
string
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- Tier
string | Pulumi.AzureNative.CognitiveServices.SkuTier
- This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- Name
string
- The name of the SKU. Ex - P3. It is typically a letter+number code
- Capacity
int
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- Family
string
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- Size
string
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- Tier
string | SkuTier
- This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- name
string
- The name of the SKU. Ex - P3. It is typically a letter+number code
- capacity
number
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- family
string
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- size
string
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- tier
string | "Free" | "Basic" | "Standard" | "Premium" | "Enterprise"
- This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- name
String
- The name of the SKU. Ex - P3. It is typically a letter+number code
- capacity
Integer
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- family
String
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- size
String
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- tier
String | SkuTier
- This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- name
string
- The name of the SKU. Ex - P3. It is typically a letter+number code
- capacity
number
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- family
string
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- size
string
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- tier
string | SkuTier
- This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- name
str
- The name of the SKU. Ex - P3. It is typically a letter+number code
- capacity
int
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- family
str
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- size
str
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- tier
str | SkuTier
- This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- name
String
- The name of the SKU. Ex - P3. It is typically a letter+number code
- capacity
Number
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- family
String
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- size
String
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- tier
String | "Free" | "Basic" | "Standard" | "Premium" | "Enterprise"
- This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
SkuResponse, SkuResponseArgs
The resource model definition representing SKU- Name
string
- The name of the SKU. Ex - P3. It is typically a letter+number code
- Capacity
int
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- Family
string
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- Size
string
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- Tier
string
- This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- Name
string
- The name of the SKU. Ex - P3. It is typically a letter+number code
- Capacity
int
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- Family
string
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- Size
string
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- Tier
string
- This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- name
string
- The name of the SKU. Ex - P3. It is typically a letter+number code
- capacity
number
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- family
string
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- size
string
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- tier
string
- This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- name
String
- The name of the SKU. Ex - P3. It is typically a letter+number code
- capacity
Integer
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- family
String
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- size
String
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- tier
String
- This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- name
string
- The name of the SKU. Ex - P3. It is typically a letter+number code
- capacity
number
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- family
string
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- size
string
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- tier
string
- This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- name
str
- The name of the SKU. Ex - P3. It is typically a letter+number code
- capacity
int
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- family
str
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- size
str
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- tier
str
- This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- name
String
- The name of the SKU. Ex - P3. It is typically a letter+number code
- capacity
Number
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- family
String
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- size
String
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- tier
String
- This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
SkuTier, SkuTierArgs
This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.| Name | Value |
|---|
| Free | Free |
| Basic | Basic |
| Standard | Standard |
| Premium | Premium |
| Enterprise | Enterprise |
| Name | Value |
|---|
| SkuTierFree | Free |
| SkuTierBasic | Basic |
| SkuTierStandard | Standard |
| SkuTierPremium | Premium |
| SkuTierEnterprise | Enterprise |
| Value |
|---|
Free |
Basic |
Standard |
Premium |
Enterprise |
| Name | Value |
|---|
| Free | Free |
| Basic | Basic |
| Standard | Standard |
| Premium | Premium |
| Enterprise | Enterprise |
| Name | Value |
|---|
| Free | Free |
| Basic | Basic |
| Standard | Standard |
| Premium | Premium |
| Enterprise | Enterprise |
| Name | Value |
|---|
| FREE | Free |
| BASIC | Basic |
| STANDARD | Standard |
| PREMIUM | Premium |
| ENTERPRISE | Enterprise |
| Value |
|---|
Free |
Basic |
Standard |
Premium |
Enterprise |
SystemDataResponse, SystemDataResponseArgs
Metadata pertaining to creation and last modification of the resource.- CreatedAt
string
- The timestamp of resource creation (UTC).
- CreatedBy
string
- The identity that created the resource.
- CreatedByType
string
- The type of identity that created the resource.
- LastModifiedAt
string
- The timestamp of resource last modification (UTC)
- LastModifiedBy
string
- The identity that last modified the resource.
- LastModifiedByType
string
- The type of identity that last modified the resource.
- CreatedAt
string
- The timestamp of resource creation (UTC).
- CreatedBy
string
- The identity that created the resource.
- CreatedByType
string
- The type of identity that created the resource.
- LastModifiedAt
string
- The timestamp of resource last modification (UTC)
- LastModifiedBy
string
- The identity that last modified the resource.
- LastModifiedByType
string
- The type of identity that last modified the resource.
- createdAt
String
- The timestamp of resource creation (UTC).
- createdBy
String
- The identity that created the resource.
- createdByType
String
- The type of identity that created the resource.
- lastModifiedAt
String
- The timestamp of resource last modification (UTC)
- lastModifiedBy
String
- The identity that last modified the resource.
- lastModifiedByType
String
- The type of identity that last modified the resource.
- createdAt
string
- The timestamp of resource creation (UTC).
- createdBy
string
- The identity that created the resource.
- createdByType
string
- The type of identity that created the resource.
- lastModifiedAt
string
- The timestamp of resource last modification (UTC)
- lastModifiedBy
string
- The identity that last modified the resource.
- lastModifiedByType
string
- The type of identity that last modified the resource.
- createdAt
String
- The timestamp of resource creation (UTC).
- createdBy
String
- The identity that created the resource.
- createdByType
String
- The type of identity that created the resource.
- lastModifiedAt
String
- The timestamp of resource last modification (UTC)
- lastModifiedBy
String
- The identity that last modified the resource.
- lastModifiedByType
String
- The type of identity that last modified the resource.
ThrottlingRuleResponse, ThrottlingRuleResponseArgs
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:cognitiveservices:Deployment deploymentName /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/deployments/{deploymentName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0