1. Packages
  2. Azure Native v2
  3. API Docs
  4. cognitiveservices
  5. Deployment
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.cognitiveservices.Deployment

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Cognitive Services account deployment. Azure REST API version: 2023-05-01. Prior API version in Azure Native 1.x: 2021-10-01.

Other available API versions: 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview, 2024-10-01.

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",
        },
    });

});
Copy
package main

import (
	cognitiveservices "github.com/pulumi/pulumi-azure-native-sdk/cognitiveservices/v2"
	"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
	})
}
Copy
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.List;
import java.util.ArrayList;
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());

    }
}
Copy
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",
    },
});
Copy
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",
    })
Copy
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
Copy

Create Deployment Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Deployment(name: string, args: DeploymentArgs, opts?: CustomResourceOptions);
@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)
func NewDeployment(ctx *Context, name string, args DeploymentArgs, opts ...ResourceOption) (*Deployment, error)
public Deployment(string name, DeploymentArgs args, CustomResourceOptions? opts = null)
public Deployment(String name, DeploymentArgs args)
public Deployment(String name, DeploymentArgs args, CustomResourceOptions options)
type: azure-native:cognitiveservices:Deployment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. DeploymentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. DeploymentArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. DeploymentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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 = 
    {
        { "model", 
        {
            { "format", "string" },
            { "name", "string" },
            { "source", "string" },
            { "version", "string" },
        } },
        { "raiPolicyName", "string" },
        { "scaleSettings", 
        {
            { "capacity", 0 },
            { "scaleType", "string" },
        } },
        { "versionUpgradeOption", "string" },
    },
    Sku = 
    {
        { "name", "string" },
        { "capacity", 0 },
        { "family", "string" },
        { "size", "string" },
        { "tier", "string" },
    },
});
Copy
example, err := cognitiveservices.NewDeployment(ctx, "exampledeploymentResourceResourceFromCognitiveservices", &cognitiveservices.DeploymentArgs{
	AccountName:       "string",
	ResourceGroupName: "string",
	DeploymentName:    "string",
	Properties: map[string]interface{}{
		"model": map[string]interface{}{
			"format":  "string",
			"name":    "string",
			"source":  "string",
			"version": "string",
		},
		"raiPolicyName": "string",
		"scaleSettings": map[string]interface{}{
			"capacity":  0,
			"scaleType": "string",
		},
		"versionUpgradeOption": "string",
	},
	Sku: map[string]interface{}{
		"name":     "string",
		"capacity": 0,
		"family":   "string",
		"size":     "string",
		"tier":     "string",
	},
})
Copy
var exampledeploymentResourceResourceFromCognitiveservices = new Deployment("exampledeploymentResourceResourceFromCognitiveservices", DeploymentArgs.builder()
    .accountName("string")
    .resourceGroupName("string")
    .deploymentName("string")
    .properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .sku(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .build());
Copy
exampledeployment_resource_resource_from_cognitiveservices = azure_native.cognitiveservices.Deployment("exampledeploymentResourceResourceFromCognitiveservices",
    account_name=string,
    resource_group_name=string,
    deployment_name=string,
    properties={
        model: {
            format: string,
            name: string,
            source: string,
            version: string,
        },
        raiPolicyName: string,
        scaleSettings: {
            capacity: 0,
            scaleType: string,
        },
        versionUpgradeOption: string,
    },
    sku={
        name: string,
        capacity: 0,
        family: string,
        size: string,
        tier: string,
    })
Copy
const exampledeploymentResourceResourceFromCognitiveservices = new azure_native.cognitiveservices.Deployment("exampledeploymentResourceResourceFromCognitiveservices", {
    accountName: "string",
    resourceGroupName: "string",
    deploymentName: "string",
    properties: {
        model: {
            format: "string",
            name: "string",
            source: "string",
            version: "string",
        },
        raiPolicyName: "string",
        scaleSettings: {
            capacity: 0,
            scaleType: "string",
        },
        versionUpgradeOption: "string",
    },
    sku: {
        name: "string",
        capacity: 0,
        family: "string",
        size: "string",
        tier: "string",
    },
});
Copy
type: azure-native:cognitiveservices:Deployment
properties:
    accountName: string
    deploymentName: string
    properties:
        model:
            format: string
            name: string
            source: string
            version: string
        raiPolicyName: string
        scaleSettings:
            capacity: 0
            scaleType: string
        versionUpgradeOption: string
    resourceGroupName: string
    sku:
        capacity: 0
        family: string
        name: string
        size: string
        tier: string
Copy

Deployment Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

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:

AccountName
This property is required.
Changes to this property will trigger replacement.
string
The name of Cognitive Services account.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
DeploymentName Changes to this property will trigger replacement. string
The name of the deployment associated with the Cognitive Services Account
Properties Pulumi.AzureNative.CognitiveServices.Inputs.DeploymentProperties
Properties of Cognitive Services account deployment.
Sku Pulumi.AzureNative.CognitiveServices.Inputs.Sku
The resource model definition representing SKU
AccountName
This property is required.
Changes to this property will trigger replacement.
string
The name of Cognitive Services account.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
DeploymentName Changes to this property will trigger replacement. string
The name of the deployment associated with the Cognitive Services Account
Properties DeploymentPropertiesArgs
Properties of Cognitive Services account deployment.
Sku SkuArgs
The resource model definition representing SKU
accountName
This property is required.
Changes to this property will trigger replacement.
String
The name of Cognitive Services account.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
deploymentName Changes to this property will trigger replacement. 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
accountName
This property is required.
Changes to this property will trigger replacement.
string
The name of Cognitive Services account.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
deploymentName Changes to this property will trigger replacement. 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
account_name
This property is required.
Changes to this property will trigger replacement.
str
The name of Cognitive Services account.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
deployment_name Changes to this property will trigger replacement. str
The name of the deployment associated with the Cognitive Services Account
properties DeploymentPropertiesArgs
Properties of Cognitive Services account deployment.
sku SkuArgs
The resource model definition representing SKU
accountName
This property is required.
Changes to this property will trigger replacement.
String
The name of Cognitive Services account.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
deploymentName Changes to this property will trigger replacement. String
The name of the deployment associated with the Cognitive Services Account
properties Property Map
Properties of Cognitive Services account deployment.
sku Property Map
The resource model definition representing SKU

Outputs

All input properties are implicitly available as output properties. Additionally, the Deployment resource produces the following output properties:

Etag string
Resource Etag.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
SystemData Pulumi.AzureNative.CognitiveServices.Outputs.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"
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"
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"
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"
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"
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"

Supporting Types

CallRateLimitResponse
, CallRateLimitResponseArgs

Count double
The count value of Call Rate Limit.
RenewalPeriod double
The renewal period in seconds of Call Rate Limit.
Rules List<Pulumi.AzureNative.CognitiveServices.Inputs.ThrottlingRuleResponse>
Count float64
The count value of Call Rate Limit.
RenewalPeriod float64
The renewal period in seconds of Call Rate Limit.
Rules []ThrottlingRuleResponse
count Double
The count value of Call Rate Limit.
renewalPeriod Double
The renewal period in seconds of Call Rate Limit.
rules List<ThrottlingRuleResponse>
count number
The count value of Call Rate Limit.
renewalPeriod number
The renewal period in seconds of Call Rate Limit.
rules ThrottlingRuleResponse[]
count float
The count value of Call Rate Limit.
renewal_period float
The renewal period in seconds of Call Rate Limit.
rules Sequence[ThrottlingRuleResponse]
count Number
The count value of Call Rate Limit.
renewalPeriod Number
The renewal period in seconds of Call Rate Limit.
rules List<Property Map>

DeploymentModel
, DeploymentModelArgs

Format string
Deployment model format.
Name string
Deployment model name.
Source string
Optional. Deployment model source 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.
Source string
Optional. Deployment model source 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.
source String
Optional. Deployment model source 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.
source string
Optional. Deployment model source 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.
source str
Optional. Deployment model source 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.
source String
Optional. Deployment model source 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

CallRateLimit This property is required. Pulumi.AzureNative.CognitiveServices.Inputs.CallRateLimitResponse
The call rate limit Cognitive Services account.
Format string
Deployment model format.
Name string
Deployment model name.
Source string
Optional. Deployment model source 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 This property is required. CallRateLimitResponse
The call rate limit Cognitive Services account.
Format string
Deployment model format.
Name string
Deployment model name.
Source string
Optional. Deployment model source 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 This property is required. CallRateLimitResponse
The call rate limit Cognitive Services account.
format String
Deployment model format.
name String
Deployment model name.
source String
Optional. Deployment model source 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 This property is required. CallRateLimitResponse
The call rate limit Cognitive Services account.
format string
Deployment model format.
name string
Deployment model name.
source string
Optional. Deployment model source 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 This property is required. CallRateLimitResponse
The call rate limit Cognitive Services account.
format str
Deployment model format.
name str
Deployment model name.
source str
Optional. Deployment model source 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 This property is required. Property Map
The call rate limit Cognitive Services account.
format String
Deployment model format.
name String
Deployment model name.
source String
Optional. Deployment model source 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

OnceNewDefaultVersionAvailable
OnceNewDefaultVersionAvailable
OnceCurrentVersionExpired
OnceCurrentVersionExpired
NoAutoUpgrade
NoAutoUpgrade
DeploymentModelVersionUpgradeOptionOnceNewDefaultVersionAvailable
OnceNewDefaultVersionAvailable
DeploymentModelVersionUpgradeOptionOnceCurrentVersionExpired
OnceCurrentVersionExpired
DeploymentModelVersionUpgradeOptionNoAutoUpgrade
NoAutoUpgrade
OnceNewDefaultVersionAvailable
OnceNewDefaultVersionAvailable
OnceCurrentVersionExpired
OnceCurrentVersionExpired
NoAutoUpgrade
NoAutoUpgrade
OnceNewDefaultVersionAvailable
OnceNewDefaultVersionAvailable
OnceCurrentVersionExpired
OnceCurrentVersionExpired
NoAutoUpgrade
NoAutoUpgrade
ONCE_NEW_DEFAULT_VERSION_AVAILABLE
OnceNewDefaultVersionAvailable
ONCE_CURRENT_VERSION_EXPIRED
OnceCurrentVersionExpired
NO_AUTO_UPGRADE
NoAutoUpgrade
"OnceNewDefaultVersionAvailable"
OnceNewDefaultVersionAvailable
"OnceCurrentVersionExpired"
OnceCurrentVersionExpired
"NoAutoUpgrade"
NoAutoUpgrade

DeploymentProperties
, DeploymentPropertiesArgs

Model Pulumi.AzureNative.CognitiveServices.Inputs.DeploymentModel
Properties of Cognitive Services account deployment model.
RaiPolicyName string
The name of RAI policy.
ScaleSettings Pulumi.AzureNative.CognitiveServices.Inputs.DeploymentScaleSettings
Properties of Cognitive Services account deployment model.
VersionUpgradeOption string | Pulumi.AzureNative.CognitiveServices.DeploymentModelVersionUpgradeOption
Deployment model version upgrade option.
Model DeploymentModel
Properties of Cognitive Services account deployment model.
RaiPolicyName string
The name of RAI policy.
ScaleSettings DeploymentScaleSettings
Properties of Cognitive Services account deployment model.
VersionUpgradeOption string | DeploymentModelVersionUpgradeOption
Deployment model version upgrade option.
model DeploymentModel
Properties of Cognitive Services account deployment model.
raiPolicyName String
The name of RAI policy.
scaleSettings DeploymentScaleSettings
Properties of Cognitive Services account deployment model.
versionUpgradeOption String | DeploymentModelVersionUpgradeOption
Deployment model version upgrade option.
model DeploymentModel
Properties of Cognitive Services account deployment model.
raiPolicyName string
The name of RAI policy.
scaleSettings DeploymentScaleSettings
Properties of Cognitive Services account deployment model.
versionUpgradeOption string | DeploymentModelVersionUpgradeOption
Deployment model version upgrade option.
model DeploymentModel
Properties of Cognitive Services account deployment model.
rai_policy_name str
The name of RAI policy.
scale_settings DeploymentScaleSettings
Properties of Cognitive Services account deployment model.
version_upgrade_option str | DeploymentModelVersionUpgradeOption
Deployment model version upgrade option.
model Property Map
Properties of Cognitive Services account deployment model.
raiPolicyName String
The name of RAI policy.
scaleSettings Property Map
Properties of Cognitive Services account deployment model.
versionUpgradeOption String | "OnceNewDefaultVersionAvailable" | "OnceCurrentVersionExpired" | "NoAutoUpgrade"
Deployment model version upgrade option.

DeploymentPropertiesResponse
, DeploymentPropertiesResponseArgs

CallRateLimit This property is required. Pulumi.AzureNative.CognitiveServices.Inputs.CallRateLimitResponse
The call rate limit Cognitive Services account.
Capabilities This property is required. Dictionary<string, string>
The capabilities.
ProvisioningState This property is required. string
Gets the status of the resource at the time the operation was called.
RateLimits This property is required. List<Pulumi.AzureNative.CognitiveServices.Inputs.ThrottlingRuleResponse>
Model Pulumi.AzureNative.CognitiveServices.Inputs.DeploymentModelResponse
Properties of Cognitive Services account deployment model.
RaiPolicyName string
The name of RAI policy.
ScaleSettings Pulumi.AzureNative.CognitiveServices.Inputs.DeploymentScaleSettingsResponse
Properties of Cognitive Services account deployment model.
VersionUpgradeOption string
Deployment model version upgrade option.
CallRateLimit This property is required. CallRateLimitResponse
The call rate limit Cognitive Services account.
Capabilities This property is required. map[string]string
The capabilities.
ProvisioningState This property is required. string
Gets the status of the resource at the time the operation was called.
RateLimits This property is required. []ThrottlingRuleResponse
Model DeploymentModelResponse
Properties of Cognitive Services account deployment model.
RaiPolicyName string
The name of RAI policy.
ScaleSettings DeploymentScaleSettingsResponse
Properties of Cognitive Services account deployment model.
VersionUpgradeOption string
Deployment model version upgrade option.
callRateLimit This property is required. CallRateLimitResponse
The call rate limit Cognitive Services account.
capabilities This property is required. Map<String,String>
The capabilities.
provisioningState This property is required. String
Gets the status of the resource at the time the operation was called.
rateLimits This property is required. List<ThrottlingRuleResponse>
model DeploymentModelResponse
Properties of Cognitive Services account deployment model.
raiPolicyName String
The name of RAI policy.
scaleSettings DeploymentScaleSettingsResponse
Properties of Cognitive Services account deployment model.
versionUpgradeOption String
Deployment model version upgrade option.
callRateLimit This property is required. CallRateLimitResponse
The call rate limit Cognitive Services account.
capabilities This property is required. {[key: string]: string}
The capabilities.
provisioningState This property is required. string
Gets the status of the resource at the time the operation was called.
rateLimits This property is required. ThrottlingRuleResponse[]
model DeploymentModelResponse
Properties of Cognitive Services account deployment model.
raiPolicyName string
The name of RAI policy.
scaleSettings DeploymentScaleSettingsResponse
Properties of Cognitive Services account deployment model.
versionUpgradeOption string
Deployment model version upgrade option.
call_rate_limit This property is required. CallRateLimitResponse
The call rate limit Cognitive Services account.
capabilities This property is required. Mapping[str, str]
The capabilities.
provisioning_state This property is required. str
Gets the status of the resource at the time the operation was called.
rate_limits This property is required. Sequence[ThrottlingRuleResponse]
model DeploymentModelResponse
Properties of Cognitive Services account deployment model.
rai_policy_name str
The name of RAI policy.
scale_settings DeploymentScaleSettingsResponse
Properties of Cognitive Services account deployment model.
version_upgrade_option str
Deployment model version upgrade option.
callRateLimit This property is required. Property Map
The call rate limit Cognitive Services account.
capabilities This property is required. Map<String>
The capabilities.
provisioningState This property is required. String
Gets the status of the resource at the time the operation was called.
rateLimits This property is required. List<Property Map>
model Property Map
Properties of Cognitive Services account deployment model.
raiPolicyName String
The name of RAI policy.
scaleSettings Property Map
Properties of Cognitive Services account deployment model.
versionUpgradeOption String
Deployment model version upgrade option.

DeploymentScaleSettings
, DeploymentScaleSettingsArgs

Capacity int
Deployment capacity.
ScaleType string | Pulumi.AzureNative.CognitiveServices.DeploymentScaleType
Deployment scale type.
Capacity int
Deployment capacity.
ScaleType string | DeploymentScaleType
Deployment scale type.
capacity Integer
Deployment capacity.
scaleType String | DeploymentScaleType
Deployment scale type.
capacity number
Deployment capacity.
scaleType string | DeploymentScaleType
Deployment scale type.
capacity int
Deployment capacity.
scale_type str | DeploymentScaleType
Deployment scale type.
capacity Number
Deployment capacity.
scaleType String | "Standard" | "Manual"
Deployment scale type.

DeploymentScaleSettingsResponse
, DeploymentScaleSettingsResponseArgs

ActiveCapacity This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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

Standard
Standard
Manual
Manual
DeploymentScaleTypeStandard
Standard
DeploymentScaleTypeManual
Manual
Standard
Standard
Manual
Manual
Standard
Standard
Manual
Manual
STANDARD
Standard
MANUAL
Manual
"Standard"
Standard
"Manual"
Manual

RequestMatchPatternResponse
, RequestMatchPatternResponseArgs

Method string
Path string
Method string
Path string
method String
path String
method string
path string
method str
path str
method String
path String

Sku
, SkuArgs

Name This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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

Name This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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

Free
Free
Basic
Basic
Standard
Standard
Premium
Premium
Enterprise
Enterprise
SkuTierFree
Free
SkuTierBasic
Basic
SkuTierStandard
Standard
SkuTierPremium
Premium
SkuTierEnterprise
Enterprise
Free
Free
Basic
Basic
Standard
Standard
Premium
Premium
Enterprise
Enterprise
Free
Free
Basic
Basic
Standard
Standard
Premium
Premium
Enterprise
Enterprise
FREE
Free
BASIC
Basic
STANDARD
Standard
PREMIUM
Premium
ENTERPRISE
Enterprise
"Free"
Free
"Basic"
Basic
"Standard"
Standard
"Premium"
Premium
"Enterprise"
Enterprise

SystemDataResponse
, SystemDataResponseArgs

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.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
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} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi