azure-native.cognitiveservices.Deployment
Explore with Pulumi AI
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",
        },
    });
});
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
	})
}
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());
    }
}
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
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 string
- The unique name of the resource.
- args DeploymentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- 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.
- opts CustomResourceOptions
- 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
    {
        Model = new AzureNative.CognitiveServices.Inputs.DeploymentModelArgs
        {
            Format = "string",
            Name = "string",
            Source = "string",
            Version = "string",
        },
        RaiPolicyName = "string",
        ScaleSettings = new AzureNative.CognitiveServices.Inputs.DeploymentScaleSettingsArgs
        {
            Capacity = 0,
            ScaleType = "string",
        },
        VersionUpgradeOption = "string",
    },
    Sku = new AzureNative.CognitiveServices.Inputs.SkuArgs
    {
        Name = "string",
        Capacity = 0,
        Family = "string",
        Size = "string",
        Tier = "string",
    },
});
example, err := cognitiveservices.NewDeployment(ctx, "exampledeploymentResourceResourceFromCognitiveservices", &cognitiveservices.DeploymentArgs{
	AccountName:       pulumi.String("string"),
	ResourceGroupName: pulumi.String("string"),
	DeploymentName:    pulumi.String("string"),
	Properties: &cognitiveservices.DeploymentPropertiesArgs{
		Model: &cognitiveservices.DeploymentModelArgs{
			Format:  pulumi.String("string"),
			Name:    pulumi.String("string"),
			Source:  pulumi.String("string"),
			Version: pulumi.String("string"),
		},
		RaiPolicyName: pulumi.String("string"),
		ScaleSettings: &cognitiveservices.DeploymentScaleSettingsArgs{
			Capacity:  pulumi.Int(0),
			ScaleType: 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"),
	},
})
var exampledeploymentResourceResourceFromCognitiveservices = new Deployment("exampledeploymentResourceResourceFromCognitiveservices", DeploymentArgs.builder()
    .accountName("string")
    .resourceGroupName("string")
    .deploymentName("string")
    .properties(DeploymentPropertiesArgs.builder()
        .model(DeploymentModelArgs.builder()
            .format("string")
            .name("string")
            .source("string")
            .version("string")
            .build())
        .raiPolicyName("string")
        .scaleSettings(DeploymentScaleSettingsArgs.builder()
            .capacity(0)
            .scaleType("string")
            .build())
        .versionUpgradeOption("string")
        .build())
    .sku(SkuArgs.builder()
        .name("string")
        .capacity(0)
        .family("string")
        .size("string")
        .tier("string")
        .build())
    .build());
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",
        },
        "rai_policy_name": "string",
        "scale_settings": {
            "capacity": 0,
            "scale_type": "string",
        },
        "version_upgrade_option": "string",
    },
    sku={
        "name": "string",
        "capacity": 0,
        "family": "string",
        "size": "string",
        "tier": "string",
    })
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",
    },
});
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
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 string
- The name of Cognitive Services account.
- ResourceGroup stringName 
- 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
Pulumi.Azure Native. Cognitive Services. Inputs. Deployment Properties 
- Properties of Cognitive Services account deployment.
- Sku
Pulumi.Azure Native. Cognitive Services. Inputs. Sku 
- The resource model definition representing SKU
- AccountName string
- The name of Cognitive Services account.
- ResourceGroup stringName 
- 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 Args 
- Properties of Cognitive Services account deployment.
- Sku
SkuArgs 
- The resource model definition representing SKU
- accountName String
- The name of Cognitive Services account.
- resourceGroup StringName 
- 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
- accountName string
- The name of Cognitive Services account.
- resourceGroup stringName 
- 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
- account_name str
- The name of Cognitive Services account.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- deployment_name str
- The name of the deployment associated with the Cognitive Services Account
- properties
DeploymentProperties Args 
- Properties of Cognitive Services account deployment.
- sku
SkuArgs 
- The resource model definition representing SKU
- accountName String
- The name of Cognitive Services account.
- resourceGroup StringName 
- 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 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.Azure Native. Cognitive Services. Outputs. System Data Response 
- 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 SystemData Response 
- 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 SystemData Response 
- 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 SystemData Response 
- 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 SystemData Response 
- 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.Azure Native. Cognitive Services. Inputs. Throttling Rule Response> 
- Count float64
- The count value of Call Rate Limit.
- RenewalPeriod float64
- The renewal period in seconds of Call Rate Limit.
- Rules
[]ThrottlingRule Response 
- count Double
- The count value of Call Rate Limit.
- renewalPeriod Double
- The renewal period in seconds of Call Rate Limit.
- rules
List<ThrottlingRule Response> 
- count number
- The count value of Call Rate Limit.
- renewalPeriod number
- The renewal period in seconds of Call Rate Limit.
- rules
ThrottlingRule Response[] 
- count float
- The count value of Call Rate Limit.
- renewal_period float
- The renewal period in seconds of Call Rate Limit.
- rules
Sequence[ThrottlingRule Response] 
- 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      
- CallRate Pulumi.Limit Azure Native. Cognitive Services. Inputs. Call Rate Limit Response 
- 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.
- CallRate CallLimit Rate Limit Response 
- 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.
- callRate CallLimit Rate Limit Response 
- 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.
- callRate CallLimit Rate Limit Response 
- 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_ Calllimit Rate Limit Response 
- 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.
- callRate Property MapLimit 
- 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          
- OnceNew Default Version Available 
- OnceNewDefaultVersionAvailable
- OnceCurrent Version Expired 
- OnceCurrentVersionExpired
- NoAuto Upgrade 
- NoAutoUpgrade
- DeploymentModel Version Upgrade Option Once New Default Version Available 
- OnceNewDefaultVersionAvailable
- DeploymentModel Version Upgrade Option Once Current Version Expired 
- OnceCurrentVersionExpired
- DeploymentModel Version Upgrade Option No Auto Upgrade 
- NoAutoUpgrade
- OnceNew Default Version Available 
- OnceNewDefaultVersionAvailable
- OnceCurrent Version Expired 
- OnceCurrentVersionExpired
- NoAuto Upgrade 
- NoAutoUpgrade
- OnceNew Default Version Available 
- OnceNewDefaultVersionAvailable
- OnceCurrent Version Expired 
- OnceCurrentVersionExpired
- NoAuto Upgrade 
- NoAutoUpgrade
- ONCE_NEW_DEFAULT_VERSION_AVAILABLE
- OnceNewDefaultVersionAvailable
- ONCE_CURRENT_VERSION_EXPIRED
- OnceCurrentVersionExpired
- NO_AUTO_UPGRADE
- NoAutoUpgrade
- "OnceNew Default Version Available" 
- OnceNewDefaultVersionAvailable
- "OnceCurrent Version Expired" 
- OnceCurrentVersionExpired
- "NoAuto Upgrade" 
- NoAutoUpgrade
DeploymentProperties, DeploymentPropertiesArgs    
- Model
Pulumi.Azure Native. Cognitive Services. Inputs. Deployment Model 
- Properties of Cognitive Services account deployment model.
- RaiPolicy stringName 
- The name of RAI policy.
- ScaleSettings Pulumi.Azure Native. Cognitive Services. Inputs. Deployment Scale Settings 
- Properties of Cognitive Services account deployment model.
- VersionUpgrade string | Pulumi.Option Azure Native. Cognitive Services. Deployment Model Version Upgrade Option 
- Deployment model version upgrade option.
- Model
DeploymentModel 
- Properties of Cognitive Services account deployment model.
- RaiPolicy stringName 
- The name of RAI policy.
- ScaleSettings DeploymentScale Settings 
- Properties of Cognitive Services account deployment model.
- VersionUpgrade string | DeploymentOption Model Version Upgrade Option 
- Deployment model version upgrade option.
- model
DeploymentModel 
- Properties of Cognitive Services account deployment model.
- raiPolicy StringName 
- The name of RAI policy.
- scaleSettings DeploymentScale Settings 
- Properties of Cognitive Services account deployment model.
- versionUpgrade String | DeploymentOption Model Version Upgrade Option 
- Deployment model version upgrade option.
- model
DeploymentModel 
- Properties of Cognitive Services account deployment model.
- raiPolicy stringName 
- The name of RAI policy.
- scaleSettings DeploymentScale Settings 
- Properties of Cognitive Services account deployment model.
- versionUpgrade string | DeploymentOption Model Version Upgrade Option 
- Deployment model version upgrade option.
- model
DeploymentModel 
- Properties of Cognitive Services account deployment model.
- rai_policy_ strname 
- The name of RAI policy.
- scale_settings DeploymentScale Settings 
- Properties of Cognitive Services account deployment model.
- version_upgrade_ str | Deploymentoption Model Version Upgrade Option 
- Deployment model version upgrade option.
- model Property Map
- Properties of Cognitive Services account deployment model.
- raiPolicy StringName 
- The name of RAI policy.
- scaleSettings Property Map
- Properties of Cognitive Services account deployment model.
- versionUpgrade String | "OnceOption New Default Version Available" | "Once Current Version Expired" | "No Auto Upgrade" 
- Deployment model version upgrade option.
DeploymentPropertiesResponse, DeploymentPropertiesResponseArgs      
- CallRate Pulumi.Limit Azure Native. Cognitive Services. Inputs. Call Rate Limit Response 
- The call rate limit Cognitive Services account.
- Capabilities Dictionary<string, string>
- The capabilities.
- ProvisioningState string
- Gets the status of the resource at the time the operation was called.
- RateLimits List<Pulumi.Azure Native. Cognitive Services. Inputs. Throttling Rule Response> 
- Model
Pulumi.Azure Native. Cognitive Services. Inputs. Deployment Model Response 
- Properties of Cognitive Services account deployment model.
- RaiPolicy stringName 
- The name of RAI policy.
- ScaleSettings Pulumi.Azure Native. Cognitive Services. Inputs. Deployment Scale Settings Response 
- Properties of Cognitive Services account deployment model.
- VersionUpgrade stringOption 
- Deployment model version upgrade option.
- CallRate CallLimit Rate Limit Response 
- The call rate limit Cognitive Services account.
- Capabilities map[string]string
- The capabilities.
- ProvisioningState string
- Gets the status of the resource at the time the operation was called.
- RateLimits []ThrottlingRule Response 
- Model
DeploymentModel Response 
- Properties of Cognitive Services account deployment model.
- RaiPolicy stringName 
- The name of RAI policy.
- ScaleSettings DeploymentScale Settings Response 
- Properties of Cognitive Services account deployment model.
- VersionUpgrade stringOption 
- Deployment model version upgrade option.
- callRate CallLimit Rate Limit Response 
- The call rate limit Cognitive Services account.
- capabilities Map<String,String>
- The capabilities.
- provisioningState String
- Gets the status of the resource at the time the operation was called.
- rateLimits List<ThrottlingRule Response> 
- model
DeploymentModel Response 
- Properties of Cognitive Services account deployment model.
- raiPolicy StringName 
- The name of RAI policy.
- scaleSettings DeploymentScale Settings Response 
- Properties of Cognitive Services account deployment model.
- versionUpgrade StringOption 
- Deployment model version upgrade option.
- callRate CallLimit Rate Limit Response 
- The call rate limit Cognitive Services account.
- capabilities {[key: string]: string}
- The capabilities.
- provisioningState string
- Gets the status of the resource at the time the operation was called.
- rateLimits ThrottlingRule Response[] 
- model
DeploymentModel Response 
- Properties of Cognitive Services account deployment model.
- raiPolicy stringName 
- The name of RAI policy.
- scaleSettings DeploymentScale Settings Response 
- Properties of Cognitive Services account deployment model.
- versionUpgrade stringOption 
- Deployment model version upgrade option.
- call_rate_ Calllimit Rate Limit Response 
- The call rate limit Cognitive Services account.
- capabilities Mapping[str, str]
- The capabilities.
- provisioning_state str
- Gets the status of the resource at the time the operation was called.
- rate_limits Sequence[ThrottlingRule Response] 
- model
DeploymentModel Response 
- Properties of Cognitive Services account deployment model.
- rai_policy_ strname 
- The name of RAI policy.
- scale_settings DeploymentScale Settings Response 
- Properties of Cognitive Services account deployment model.
- version_upgrade_ stroption 
- Deployment model version upgrade option.
- callRate Property MapLimit 
- The call rate limit Cognitive Services account.
- capabilities Map<String>
- The capabilities.
- provisioningState String
- Gets the status of the resource at the time the operation was called.
- rateLimits List<Property Map>
- model Property Map
- Properties of Cognitive Services account deployment model.
- raiPolicy StringName 
- The name of RAI policy.
- scaleSettings Property Map
- Properties of Cognitive Services account deployment model.
- versionUpgrade StringOption 
- Deployment model version upgrade option.
DeploymentScaleSettings, DeploymentScaleSettingsArgs      
- Capacity int
- Deployment capacity.
- ScaleType string | Pulumi.Azure Native. Cognitive Services. Deployment Scale Type 
- Deployment scale type.
- Capacity int
- Deployment capacity.
- ScaleType string | DeploymentScale Type 
- Deployment scale type.
- capacity Integer
- Deployment capacity.
- scaleType String | DeploymentScale Type 
- Deployment scale type.
- capacity number
- Deployment capacity.
- scaleType string | DeploymentScale Type 
- Deployment scale type.
- capacity int
- Deployment capacity.
- scale_type str | DeploymentScale Type 
- Deployment scale type.
- capacity Number
- Deployment capacity.
- scaleType String | "Standard" | "Manual"
- Deployment scale type.
DeploymentScaleSettingsResponse, DeploymentScaleSettingsResponseArgs        
- ActiveCapacity int
- Deployment active capacity. This value might be different from capacityif customer recently updatedcapacity.
- Capacity int
- Deployment capacity.
- ScaleType string
- Deployment scale type.
- ActiveCapacity int
- Deployment active capacity. This value might be different from capacityif customer recently updatedcapacity.
- Capacity int
- Deployment capacity.
- ScaleType string
- Deployment scale type.
- activeCapacity Integer
- Deployment active capacity. This value might be different from capacityif customer recently updatedcapacity.
- capacity Integer
- Deployment capacity.
- scaleType String
- Deployment scale type.
- activeCapacity number
- Deployment active capacity. This value might be different from capacityif customer recently updatedcapacity.
- capacity number
- Deployment capacity.
- scaleType string
- Deployment scale type.
- active_capacity int
- Deployment active capacity. This value might be different from capacityif customer recently updatedcapacity.
- capacity int
- Deployment capacity.
- scale_type str
- Deployment scale type.
- activeCapacity Number
- Deployment active capacity. This value might be different from capacityif customer recently updatedcapacity.
- capacity Number
- Deployment capacity.
- scaleType String
- Deployment scale type.
DeploymentScaleType, DeploymentScaleTypeArgs      
- Standard
- Standard
- Manual
- Manual
- DeploymentScale Type Standard 
- Standard
- DeploymentScale Type Manual 
- Manual
- Standard
- Standard
- Manual
- Manual
- Standard
- Standard
- Manual
- Manual
- STANDARD
- Standard
- MANUAL
- Manual
- "Standard"
- Standard
- "Manual"
- Manual
RequestMatchPatternResponse, RequestMatchPatternResponseArgs        
Sku, SkuArgs  
- 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.Azure Native. Cognitive Services. Sku Tier 
- 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 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    
- 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 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    
- Free
- Free
- Basic
- Basic
- Standard
- Standard
- Premium
- Premium
- Enterprise
- Enterprise
- SkuTier Free 
- Free
- SkuTier Basic 
- Basic
- SkuTier Standard 
- Standard
- SkuTier Premium 
- Premium
- SkuTier 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
- "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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- 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_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
ThrottlingRuleResponse, ThrottlingRuleResponseArgs      
- Count float64
- DynamicThrottling boolEnabled 
- Key string
- MatchPatterns []RequestMatch Pattern Response 
- MinCount float64
- RenewalPeriod float64
- count Double
- dynamicThrottling BooleanEnabled 
- key String
- matchPatterns List<RequestMatch Pattern Response> 
- minCount Double
- renewalPeriod Double
- count number
- dynamicThrottling booleanEnabled 
- key string
- matchPatterns RequestMatch Pattern Response[] 
- minCount number
- renewalPeriod number
- count float
- dynamic_throttling_ boolenabled 
- key str
- match_patterns Sequence[RequestMatch Pattern Response] 
- min_count float
- renewal_period float
- count Number
- dynamicThrottling BooleanEnabled 
- key String
- matchPatterns List<Property Map>
- minCount Number
- renewalPeriod Number
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