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 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",
})
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",
},
});
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:
- Account
Name string - The name of Cognitive Services account.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Deployment
Name string - The name of the deployment associated with the Cognitive Services Account
- Properties
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
- Account
Name string - The name of Cognitive Services account.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Deployment
Name string - The name of the deployment associated with the Cognitive Services Account
- Properties
Deployment
Properties Args - Properties of Cognitive Services account deployment.
- Sku
Sku
Args - The resource model definition representing SKU
- account
Name String - The name of Cognitive Services account.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- deployment
Name String - The name of the deployment associated with the Cognitive Services Account
- properties
Deployment
Properties - Properties of Cognitive Services account deployment.
- sku Sku
- The resource model definition representing SKU
- account
Name string - The name of Cognitive Services account.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- deployment
Name string - The name of the deployment associated with the Cognitive Services Account
- properties
Deployment
Properties - 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
Deployment
Properties Args - Properties of Cognitive Services account deployment.
- sku
Sku
Args - The resource model definition representing SKU
- account
Name String - The name of Cognitive Services account.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- deployment
Name String - The name of the deployment associated with the Cognitive Services Account
- properties 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
- System
Data 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
- System
Data 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
- system
Data 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
- system
Data 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
- system
Data 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.
- Renewal
Period 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.
- Renewal
Period float64 - The renewal period in seconds of Call Rate Limit.
- Rules
[]Throttling
Rule Response
- count Double
- The count value of Call Rate Limit.
- renewal
Period Double - The renewal period in seconds of Call Rate Limit.
- rules
List<Throttling
Rule Response>
- count number
- The count value of Call Rate Limit.
- renewal
Period number - The renewal period in seconds of Call Rate Limit.
- rules
Throttling
Rule Response[]
- count float
- The count value of Call Rate Limit.
- renewal_
period float - The renewal period in seconds of Call Rate Limit.
- rules
Sequence[Throttling
Rule Response]
- count Number
- The count value of Call Rate Limit.
- renewal
Period 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
- Call
Rate 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.
- Call
Rate 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 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 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.
- call
Rate 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
- Once
New Default Version Available - OnceNewDefaultVersionAvailable
- Once
Current Version Expired - OnceCurrentVersionExpired
- No
Auto Upgrade - NoAutoUpgrade
- Deployment
Model Version Upgrade Option Once New Default Version Available - OnceNewDefaultVersionAvailable
- Deployment
Model Version Upgrade Option Once Current Version Expired - OnceCurrentVersionExpired
- Deployment
Model Version Upgrade Option No Auto Upgrade - NoAutoUpgrade
- Once
New Default Version Available - OnceNewDefaultVersionAvailable
- Once
Current Version Expired - OnceCurrentVersionExpired
- No
Auto Upgrade - NoAutoUpgrade
- Once
New Default Version Available - OnceNewDefaultVersionAvailable
- Once
Current Version Expired - OnceCurrentVersionExpired
- No
Auto Upgrade - NoAutoUpgrade
- ONCE_NEW_DEFAULT_VERSION_AVAILABLE
- OnceNewDefaultVersionAvailable
- ONCE_CURRENT_VERSION_EXPIRED
- OnceCurrentVersionExpired
- NO_AUTO_UPGRADE
- NoAutoUpgrade
- "Once
New Default Version Available" - OnceNewDefaultVersionAvailable
- "Once
Current Version Expired" - OnceCurrentVersionExpired
- "No
Auto Upgrade" - NoAutoUpgrade
DeploymentProperties, DeploymentPropertiesArgs
- Model
Pulumi.
Azure Native. Cognitive Services. Inputs. Deployment Model - Properties of Cognitive Services account deployment model.
- Rai
Policy stringName - The name of RAI policy.
- Scale
Settings Pulumi.Azure Native. Cognitive Services. Inputs. Deployment Scale Settings - Properties of Cognitive Services account deployment model.
- Version
Upgrade string | Pulumi.Option Azure Native. Cognitive Services. Deployment Model Version Upgrade Option - Deployment model version upgrade option.
- Model
Deployment
Model - Properties of Cognitive Services account deployment model.
- Rai
Policy stringName - The name of RAI policy.
- Scale
Settings DeploymentScale Settings - Properties of Cognitive Services account deployment model.
- Version
Upgrade string | DeploymentOption Model Version Upgrade Option - Deployment model version upgrade option.
- model
Deployment
Model - Properties of Cognitive Services account deployment model.
- rai
Policy StringName - The name of RAI policy.
- scale
Settings DeploymentScale Settings - Properties of Cognitive Services account deployment model.
- version
Upgrade String | DeploymentOption Model Version Upgrade Option - Deployment model version upgrade option.
- model
Deployment
Model - Properties of Cognitive Services account deployment model.
- rai
Policy stringName - The name of RAI policy.
- scale
Settings DeploymentScale Settings - Properties of Cognitive Services account deployment model.
- version
Upgrade string | DeploymentOption Model Version Upgrade Option - Deployment model version upgrade option.
- model
Deployment
Model - 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.
- rai
Policy StringName - The name of RAI policy.
- scale
Settings Property Map - Properties of Cognitive Services account deployment model.
- version
Upgrade String | "OnceOption New Default Version Available" | "Once Current Version Expired" | "No Auto Upgrade" - Deployment model version upgrade option.
DeploymentPropertiesResponse, DeploymentPropertiesResponseArgs
- Call
Rate Pulumi.Limit Azure Native. Cognitive Services. Inputs. Call Rate Limit Response - The call rate limit Cognitive Services account.
- Capabilities Dictionary<string, string>
- The capabilities.
- Provisioning
State string - Gets the status of the resource at the time the operation was called.
- Rate
Limits 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.
- Rai
Policy stringName - The name of RAI policy.
- Scale
Settings Pulumi.Azure Native. Cognitive Services. Inputs. Deployment Scale Settings Response - Properties of Cognitive Services account deployment model.
- Version
Upgrade stringOption - Deployment model version upgrade option.
- Call
Rate CallLimit Rate Limit Response - The call rate limit Cognitive Services account.
- Capabilities map[string]string
- The capabilities.
- Provisioning
State string - Gets the status of the resource at the time the operation was called.
- Rate
Limits []ThrottlingRule Response - Model
Deployment
Model Response - Properties of Cognitive Services account deployment model.
- Rai
Policy stringName - The name of RAI policy.
- Scale
Settings DeploymentScale Settings Response - Properties of Cognitive Services account deployment model.
- Version
Upgrade stringOption - Deployment model version upgrade option.
- call
Rate CallLimit Rate Limit Response - The call rate limit Cognitive Services account.
- capabilities Map<String,String>
- The capabilities.
- provisioning
State String - Gets the status of the resource at the time the operation was called.
- rate
Limits List<ThrottlingRule Response> - model
Deployment
Model Response - Properties of Cognitive Services account deployment model.
- rai
Policy StringName - The name of RAI policy.
- scale
Settings DeploymentScale Settings Response - Properties of Cognitive Services account deployment model.
- version
Upgrade StringOption - Deployment model version upgrade option.
- call
Rate CallLimit Rate Limit Response - The call rate limit Cognitive Services account.
- capabilities {[key: string]: string}
- The capabilities.
- provisioning
State string - Gets the status of the resource at the time the operation was called.
- rate
Limits ThrottlingRule Response[] - model
Deployment
Model Response - Properties of Cognitive Services account deployment model.
- rai
Policy stringName - The name of RAI policy.
- scale
Settings DeploymentScale Settings Response - Properties of Cognitive Services account deployment model.
- version
Upgrade 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
Deployment
Model 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.
- call
Rate Property MapLimit - The call rate limit Cognitive Services account.
- capabilities Map<String>
- The capabilities.
- provisioning
State String - Gets the status of the resource at the time the operation was called.
- rate
Limits List<Property Map> - model Property Map
- Properties of Cognitive Services account deployment model.
- rai
Policy StringName - The name of RAI policy.
- scale
Settings Property Map - Properties of Cognitive Services account deployment model.
- version
Upgrade StringOption - Deployment model version upgrade option.
DeploymentScaleSettings, DeploymentScaleSettingsArgs
- Capacity int
- Deployment capacity.
- Scale
Type string | Pulumi.Azure Native. Cognitive Services. Deployment Scale Type - Deployment scale type.
- Capacity int
- Deployment capacity.
- Scale
Type string | DeploymentScale Type - Deployment scale type.
- capacity Integer
- Deployment capacity.
- scale
Type String | DeploymentScale Type - Deployment scale type.
- capacity number
- Deployment capacity.
- scale
Type string | DeploymentScale Type - Deployment scale type.
- capacity int
- Deployment capacity.
- scale_
type str | DeploymentScale Type - Deployment scale type.
- capacity Number
- Deployment capacity.
- scale
Type String | "Standard" | "Manual" - Deployment scale type.
DeploymentScaleSettingsResponse, DeploymentScaleSettingsResponseArgs
- Active
Capacity int - Deployment active capacity. This value might be different from
capacity
if customer recently updatedcapacity
. - Capacity int
- Deployment capacity.
- Scale
Type string - Deployment scale type.
- Active
Capacity int - Deployment active capacity. This value might be different from
capacity
if customer recently updatedcapacity
. - Capacity int
- Deployment capacity.
- Scale
Type string - Deployment scale type.
- active
Capacity Integer - Deployment active capacity. This value might be different from
capacity
if customer recently updatedcapacity
. - capacity Integer
- Deployment capacity.
- scale
Type String - Deployment scale type.
- active
Capacity number - Deployment active capacity. This value might be different from
capacity
if customer recently updatedcapacity
. - capacity number
- Deployment capacity.
- scale
Type string - Deployment scale type.
- active_
capacity int - Deployment active capacity. This value might be different from
capacity
if customer recently updatedcapacity
. - capacity int
- Deployment capacity.
- scale_
type str - Deployment scale type.
- active
Capacity Number - Deployment active capacity. This value might be different from
capacity
if customer recently updatedcapacity
. - capacity Number
- Deployment capacity.
- scale
Type String - Deployment scale type.
DeploymentScaleType, DeploymentScaleTypeArgs
- Standard
- Standard
- Manual
- Manual
- Deployment
Scale Type Standard - Standard
- Deployment
Scale 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 | 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 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 | 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 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 | 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 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 | 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 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
- Sku
Tier Free - Free
- Sku
Tier Basic - Basic
- Sku
Tier Standard - Standard
- Sku
Tier Premium - Premium
- Sku
Tier 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
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified 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.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
ThrottlingRuleResponse, ThrottlingRuleResponseArgs
- Count float64
- Dynamic
Throttling boolEnabled - Key string
- Match
Patterns []RequestMatch Pattern Response - Min
Count float64 - Renewal
Period float64
- count Double
- dynamic
Throttling BooleanEnabled - key String
- match
Patterns List<RequestMatch Pattern Response> - min
Count Double - renewal
Period Double
- count number
- dynamic
Throttling booleanEnabled - key string
- match
Patterns RequestMatch Pattern Response[] - min
Count number - renewal
Period number
- count float
- dynamic_
throttling_ boolenabled - key str
- match_
patterns Sequence[RequestMatch Pattern Response] - min_
count float - renewal_
period float
- count Number
- dynamic
Throttling BooleanEnabled - key String
- match
Patterns List<Property Map> - min
Count Number - renewal
Period 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