1. Packages
  2. Azure Native
  3. API Docs
  4. cognitiveservices
  5. Deployment
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

azure-native.cognitiveservices.Deployment

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

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

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

    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=azure_native.cognitiveservices.DeploymentPropertiesArgs(
            model=azure_native.cognitiveservices.DeploymentModelArgs(
                format="OpenAI",
                name="ada",
                version="1",
            ),
        ),
        resource_group_name="resourceGroupName",
        sku=azure_native.cognitiveservices.SkuArgs(
            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=azure_native.cognitiveservices.DeploymentPropertiesArgs(
            model=azure_native.cognitiveservices.DeploymentModelArgs(
                format="string",
                name="string",
                source="string",
                version="string",
            ),
            rai_policy_name="string",
            scale_settings=azure_native.cognitiveservices.DeploymentScaleSettingsArgs(
                capacity=0,
                scale_type="string",
            ),
            version_upgrade_option="string",
        ),
        sku=azure_native.cognitiveservices.SkuArgs(
            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

    The Deployment resource accepts the following input properties:

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

    Outputs

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

    Etag string
    Resource Etag.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    SystemData Pulumi.AzureNative.CognitiveServices.Outputs.SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Etag string
    Resource Etag.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    SystemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    etag String
    Resource Etag.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    etag string
    Resource Etag.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    etag str
    Resource Etag.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource
    system_data SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    etag String
    Resource Etag.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    systemData Property Map
    Metadata pertaining to creation and last modification of the resource.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    Supporting Types

    CallRateLimitResponse, CallRateLimitResponseArgs

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

    DeploymentModel, DeploymentModelArgs

    Format string
    Deployment model format.
    Name string
    Deployment model name.
    Source string
    Optional. Deployment model source ARM resource ID.
    Version string
    Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API.
    Format string
    Deployment model format.
    Name string
    Deployment model name.
    Source string
    Optional. Deployment model source ARM resource ID.
    Version string
    Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API.
    format String
    Deployment model format.
    name String
    Deployment model name.
    source String
    Optional. Deployment model source ARM resource ID.
    version String
    Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API.
    format string
    Deployment model format.
    name string
    Deployment model name.
    source string
    Optional. Deployment model source ARM resource ID.
    version string
    Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API.
    format str
    Deployment model format.
    name str
    Deployment model name.
    source str
    Optional. Deployment model source ARM resource ID.
    version str
    Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API.
    format String
    Deployment model format.
    name String
    Deployment model name.
    source String
    Optional. Deployment model source ARM resource ID.
    version String
    Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API.

    DeploymentModelResponse, DeploymentModelResponseArgs

    CallRateLimit Pulumi.AzureNative.CognitiveServices.Inputs.CallRateLimitResponse
    The call rate limit Cognitive Services account.
    Format string
    Deployment model format.
    Name string
    Deployment model name.
    Source string
    Optional. Deployment model source ARM resource ID.
    Version string
    Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API.
    CallRateLimit CallRateLimitResponse
    The call rate limit Cognitive Services account.
    Format string
    Deployment model format.
    Name string
    Deployment model name.
    Source string
    Optional. Deployment model source ARM resource ID.
    Version string
    Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API.
    callRateLimit CallRateLimitResponse
    The call rate limit Cognitive Services account.
    format String
    Deployment model format.
    name String
    Deployment model name.
    source String
    Optional. Deployment model source ARM resource ID.
    version String
    Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API.
    callRateLimit CallRateLimitResponse
    The call rate limit Cognitive Services account.
    format string
    Deployment model format.
    name string
    Deployment model name.
    source string
    Optional. Deployment model source ARM resource ID.
    version string
    Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API.
    call_rate_limit CallRateLimitResponse
    The call rate limit Cognitive Services account.
    format str
    Deployment model format.
    name str
    Deployment model name.
    source str
    Optional. Deployment model source ARM resource ID.
    version str
    Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API.
    callRateLimit Property Map
    The call rate limit Cognitive Services account.
    format String
    Deployment model format.
    name String
    Deployment model name.
    source String
    Optional. Deployment model source ARM resource ID.
    version String
    Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API.

    DeploymentModelVersionUpgradeOption, DeploymentModelVersionUpgradeOptionArgs

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

    DeploymentProperties, DeploymentPropertiesArgs

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

    DeploymentPropertiesResponse, DeploymentPropertiesResponseArgs

    CallRateLimit Pulumi.AzureNative.CognitiveServices.Inputs.CallRateLimitResponse
    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.AzureNative.CognitiveServices.Inputs.ThrottlingRuleResponse>
    Model Pulumi.AzureNative.CognitiveServices.Inputs.DeploymentModelResponse
    Properties of Cognitive Services account deployment model.
    RaiPolicyName string
    The name of RAI policy.
    ScaleSettings Pulumi.AzureNative.CognitiveServices.Inputs.DeploymentScaleSettingsResponse
    Properties of Cognitive Services account deployment model.
    VersionUpgradeOption string
    Deployment model version upgrade option.
    CallRateLimit CallRateLimitResponse
    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 []ThrottlingRuleResponse
    Model DeploymentModelResponse
    Properties of Cognitive Services account deployment model.
    RaiPolicyName string
    The name of RAI policy.
    ScaleSettings DeploymentScaleSettingsResponse
    Properties of Cognitive Services account deployment model.
    VersionUpgradeOption string
    Deployment model version upgrade option.
    callRateLimit CallRateLimitResponse
    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<ThrottlingRuleResponse>
    model DeploymentModelResponse
    Properties of Cognitive Services account deployment model.
    raiPolicyName String
    The name of RAI policy.
    scaleSettings DeploymentScaleSettingsResponse
    Properties of Cognitive Services account deployment model.
    versionUpgradeOption String
    Deployment model version upgrade option.
    callRateLimit CallRateLimitResponse
    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 ThrottlingRuleResponse[]
    model DeploymentModelResponse
    Properties of Cognitive Services account deployment model.
    raiPolicyName string
    The name of RAI policy.
    scaleSettings DeploymentScaleSettingsResponse
    Properties of Cognitive Services account deployment model.
    versionUpgradeOption string
    Deployment model version upgrade option.
    call_rate_limit CallRateLimitResponse
    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[ThrottlingRuleResponse]
    model DeploymentModelResponse
    Properties of Cognitive Services account deployment model.
    rai_policy_name str
    The name of RAI policy.
    scale_settings DeploymentScaleSettingsResponse
    Properties of Cognitive Services account deployment model.
    version_upgrade_option str
    Deployment model version upgrade option.
    callRateLimit Property Map
    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.
    raiPolicyName String
    The name of RAI policy.
    scaleSettings Property Map
    Properties of Cognitive Services account deployment model.
    versionUpgradeOption String
    Deployment model version upgrade option.

    DeploymentScaleSettings, DeploymentScaleSettingsArgs

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

    DeploymentScaleSettingsResponse, DeploymentScaleSettingsResponseArgs

    ActiveCapacity int
    Deployment active capacity. This value might be different from capacity if customer recently updated capacity.
    Capacity int
    Deployment capacity.
    ScaleType string
    Deployment scale type.
    ActiveCapacity int
    Deployment active capacity. This value might be different from capacity if customer recently updated capacity.
    Capacity int
    Deployment capacity.
    ScaleType string
    Deployment scale type.
    activeCapacity Integer
    Deployment active capacity. This value might be different from capacity if customer recently updated capacity.
    capacity Integer
    Deployment capacity.
    scaleType String
    Deployment scale type.
    activeCapacity number
    Deployment active capacity. This value might be different from capacity if customer recently updated capacity.
    capacity number
    Deployment capacity.
    scaleType string
    Deployment scale type.
    active_capacity int
    Deployment active capacity. This value might be different from capacity if customer recently updated capacity.
    capacity int
    Deployment capacity.
    scale_type str
    Deployment scale type.
    activeCapacity Number
    Deployment active capacity. This value might be different from capacity if customer recently updated capacity.
    capacity Number
    Deployment capacity.
    scaleType String
    Deployment scale type.

    DeploymentScaleType, DeploymentScaleTypeArgs

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

    RequestMatchPatternResponse, RequestMatchPatternResponseArgs

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

    Sku, SkuArgs

    Name string
    The name of the SKU. Ex - P3. It is typically a letter+number code
    Capacity int
    If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
    Family string
    If the service has different generations of hardware, for the same SKU, then that can be captured here.
    Size string
    The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
    Tier string | Pulumi.AzureNative.CognitiveServices.SkuTier
    This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
    Name string
    The name of the SKU. Ex - P3. It is typically a letter+number code
    Capacity int
    If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
    Family string
    If the service has different generations of hardware, for the same SKU, then that can be captured here.
    Size string
    The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
    Tier string | SkuTier
    This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
    name String
    The name of the SKU. Ex - P3. It is typically a letter+number code
    capacity 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
    SkuTierFree
    Free
    SkuTierBasic
    Basic
    SkuTierStandard
    Standard
    SkuTierPremium
    Premium
    SkuTierEnterprise
    Enterprise
    Free
    Free
    Basic
    Basic
    Standard
    Standard
    Premium
    Premium
    Enterprise
    Enterprise
    Free
    Free
    Basic
    Basic
    Standard
    Standard
    Premium
    Premium
    Enterprise
    Enterprise
    FREE
    Free
    BASIC
    Basic
    STANDARD
    Standard
    PREMIUM
    Premium
    ENTERPRISE
    Enterprise
    "Free"
    Free
    "Basic"
    Basic
    "Standard"
    Standard
    "Premium"
    Premium
    "Enterprise"
    Enterprise

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    ThrottlingRuleResponse, ThrottlingRuleResponseArgs

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:cognitiveservices:Deployment deploymentName /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/deployments/{deploymentName} 
    

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

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi