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

azure-native-v2.cognitiveservices.CommitmentPlan

Explore with Pulumi AI

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

Cognitive Services account commitment plan. 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

PutCommitmentPlan

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var commitmentPlan = new AzureNative.CognitiveServices.CommitmentPlan("commitmentPlan", new()
    {
        AccountName = "accountName",
        CommitmentPlanName = "commitmentPlanName",
        Properties = new AzureNative.CognitiveServices.Inputs.CommitmentPlanPropertiesArgs
        {
            AutoRenew = true,
            Current = new AzureNative.CognitiveServices.Inputs.CommitmentPeriodArgs
            {
                Tier = "T1",
            },
            HostingModel = AzureNative.CognitiveServices.HostingModel.Web,
            PlanType = "Speech2Text",
        },
        ResourceGroupName = "resourceGroupName",
    });

});
Copy
package main

import (
	cognitiveservices "github.com/pulumi/pulumi-azure-native-sdk/cognitiveservices/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cognitiveservices.NewCommitmentPlan(ctx, "commitmentPlan", &cognitiveservices.CommitmentPlanArgs{
			AccountName:        pulumi.String("accountName"),
			CommitmentPlanName: pulumi.String("commitmentPlanName"),
			Properties: &cognitiveservices.CommitmentPlanPropertiesArgs{
				AutoRenew: pulumi.Bool(true),
				Current: &cognitiveservices.CommitmentPeriodArgs{
					Tier: pulumi.String("T1"),
				},
				HostingModel: pulumi.String(cognitiveservices.HostingModelWeb),
				PlanType:     pulumi.String("Speech2Text"),
			},
			ResourceGroupName: pulumi.String("resourceGroupName"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.cognitiveservices.CommitmentPlan;
import com.pulumi.azurenative.cognitiveservices.CommitmentPlanArgs;
import com.pulumi.azurenative.cognitiveservices.inputs.CommitmentPlanPropertiesArgs;
import com.pulumi.azurenative.cognitiveservices.inputs.CommitmentPeriodArgs;
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 commitmentPlan = new CommitmentPlan("commitmentPlan", CommitmentPlanArgs.builder()
            .accountName("accountName")
            .commitmentPlanName("commitmentPlanName")
            .properties(CommitmentPlanPropertiesArgs.builder()
                .autoRenew(true)
                .current(CommitmentPeriodArgs.builder()
                    .tier("T1")
                    .build())
                .hostingModel("Web")
                .planType("Speech2Text")
                .build())
            .resourceGroupName("resourceGroupName")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const commitmentPlan = new azure_native.cognitiveservices.CommitmentPlan("commitmentPlan", {
    accountName: "accountName",
    commitmentPlanName: "commitmentPlanName",
    properties: {
        autoRenew: true,
        current: {
            tier: "T1",
        },
        hostingModel: azure_native.cognitiveservices.HostingModel.Web,
        planType: "Speech2Text",
    },
    resourceGroupName: "resourceGroupName",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

commitment_plan = azure_native.cognitiveservices.CommitmentPlan("commitmentPlan",
    account_name="accountName",
    commitment_plan_name="commitmentPlanName",
    properties={
        "auto_renew": True,
        "current": {
            "tier": "T1",
        },
        "hosting_model": azure_native.cognitiveservices.HostingModel.WEB,
        "plan_type": "Speech2Text",
    },
    resource_group_name="resourceGroupName")
Copy
resources:
  commitmentPlan:
    type: azure-native:cognitiveservices:CommitmentPlan
    properties:
      accountName: accountName
      commitmentPlanName: commitmentPlanName
      properties:
        autoRenew: true
        current:
          tier: T1
        hostingModel: Web
        planType: Speech2Text
      resourceGroupName: resourceGroupName
Copy

Create CommitmentPlan Resource

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

Constructor syntax

new CommitmentPlan(name: string, args: CommitmentPlanArgs, opts?: CustomResourceOptions);
@overload
def CommitmentPlan(resource_name: str,
                   args: CommitmentPlanArgs,
                   opts: Optional[ResourceOptions] = None)

@overload
def CommitmentPlan(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   account_name: Optional[str] = None,
                   resource_group_name: Optional[str] = None,
                   commitment_plan_name: Optional[str] = None,
                   kind: Optional[str] = None,
                   location: Optional[str] = None,
                   properties: Optional[CommitmentPlanPropertiesArgs] = None,
                   sku: Optional[SkuArgs] = None,
                   tags: Optional[Mapping[str, str]] = None)
func NewCommitmentPlan(ctx *Context, name string, args CommitmentPlanArgs, opts ...ResourceOption) (*CommitmentPlan, error)
public CommitmentPlan(string name, CommitmentPlanArgs args, CustomResourceOptions? opts = null)
public CommitmentPlan(String name, CommitmentPlanArgs args)
public CommitmentPlan(String name, CommitmentPlanArgs args, CustomResourceOptions options)
type: azure-native:cognitiveservices:CommitmentPlan
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. CommitmentPlanArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. CommitmentPlanArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. CommitmentPlanArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. CommitmentPlanArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. CommitmentPlanArgs
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 commitmentPlanResource = new AzureNative.Cognitiveservices.CommitmentPlan("commitmentPlanResource", new()
{
    AccountName = "string",
    ResourceGroupName = "string",
    CommitmentPlanName = "string",
    Kind = "string",
    Location = "string",
    Properties = 
    {
        { "autoRenew", false },
        { "commitmentPlanGuid", "string" },
        { "current", 
        {
            { "count", 0 },
            { "tier", "string" },
        } },
        { "hostingModel", "string" },
        { "next", 
        {
            { "count", 0 },
            { "tier", "string" },
        } },
        { "planType", "string" },
    },
    Sku = 
    {
        { "name", "string" },
        { "capacity", 0 },
        { "family", "string" },
        { "size", "string" },
        { "tier", "string" },
    },
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := cognitiveservices.NewCommitmentPlan(ctx, "commitmentPlanResource", &cognitiveservices.CommitmentPlanArgs{
	AccountName:        "string",
	ResourceGroupName:  "string",
	CommitmentPlanName: "string",
	Kind:               "string",
	Location:           "string",
	Properties: map[string]interface{}{
		"autoRenew":          false,
		"commitmentPlanGuid": "string",
		"current": map[string]interface{}{
			"count": 0,
			"tier":  "string",
		},
		"hostingModel": "string",
		"next": map[string]interface{}{
			"count": 0,
			"tier":  "string",
		},
		"planType": "string",
	},
	Sku: map[string]interface{}{
		"name":     "string",
		"capacity": 0,
		"family":   "string",
		"size":     "string",
		"tier":     "string",
	},
	Tags: map[string]interface{}{
		"string": "string",
	},
})
Copy
var commitmentPlanResource = new CommitmentPlan("commitmentPlanResource", CommitmentPlanArgs.builder()
    .accountName("string")
    .resourceGroupName("string")
    .commitmentPlanName("string")
    .kind("string")
    .location("string")
    .properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .sku(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .build());
Copy
commitment_plan_resource = azure_native.cognitiveservices.CommitmentPlan("commitmentPlanResource",
    account_name=string,
    resource_group_name=string,
    commitment_plan_name=string,
    kind=string,
    location=string,
    properties={
        autoRenew: False,
        commitmentPlanGuid: string,
        current: {
            count: 0,
            tier: string,
        },
        hostingModel: string,
        next: {
            count: 0,
            tier: string,
        },
        planType: string,
    },
    sku={
        name: string,
        capacity: 0,
        family: string,
        size: string,
        tier: string,
    },
    tags={
        string: string,
    })
Copy
const commitmentPlanResource = new azure_native.cognitiveservices.CommitmentPlan("commitmentPlanResource", {
    accountName: "string",
    resourceGroupName: "string",
    commitmentPlanName: "string",
    kind: "string",
    location: "string",
    properties: {
        autoRenew: false,
        commitmentPlanGuid: "string",
        current: {
            count: 0,
            tier: "string",
        },
        hostingModel: "string",
        next: {
            count: 0,
            tier: "string",
        },
        planType: "string",
    },
    sku: {
        name: "string",
        capacity: 0,
        family: "string",
        size: "string",
        tier: "string",
    },
    tags: {
        string: "string",
    },
});
Copy
type: azure-native:cognitiveservices:CommitmentPlan
properties:
    accountName: string
    commitmentPlanName: string
    kind: string
    location: string
    properties:
        autoRenew: false
        commitmentPlanGuid: string
        current:
            count: 0
            tier: string
        hostingModel: string
        next:
            count: 0
            tier: string
        planType: string
    resourceGroupName: string
    sku:
        capacity: 0
        family: string
        name: string
        size: string
        tier: string
    tags:
        string: string
Copy

CommitmentPlan 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 CommitmentPlan resource accepts the following input properties:

AccountName
This property is required.
Changes to this property will trigger replacement.
string
The name of Cognitive Services account.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
CommitmentPlanName Changes to this property will trigger replacement. string
The name of the commitmentPlan associated with the Cognitive Services Account
Kind string
The Kind of the resource.
Location Changes to this property will trigger replacement. string
The geo-location where the resource lives
Properties Pulumi.AzureNative.CognitiveServices.Inputs.CommitmentPlanProperties
Properties of Cognitive Services account commitment plan.
Sku Pulumi.AzureNative.CognitiveServices.Inputs.Sku
The resource model definition representing SKU
Tags Dictionary<string, string>
Resource tags.
AccountName
This property is required.
Changes to this property will trigger replacement.
string
The name of Cognitive Services account.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
CommitmentPlanName Changes to this property will trigger replacement. string
The name of the commitmentPlan associated with the Cognitive Services Account
Kind string
The Kind of the resource.
Location Changes to this property will trigger replacement. string
The geo-location where the resource lives
Properties CommitmentPlanPropertiesArgs
Properties of Cognitive Services account commitment plan.
Sku SkuArgs
The resource model definition representing SKU
Tags map[string]string
Resource tags.
accountName
This property is required.
Changes to this property will trigger replacement.
String
The name of Cognitive Services account.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
commitmentPlanName Changes to this property will trigger replacement. String
The name of the commitmentPlan associated with the Cognitive Services Account
kind String
The Kind of the resource.
location Changes to this property will trigger replacement. String
The geo-location where the resource lives
properties CommitmentPlanProperties
Properties of Cognitive Services account commitment plan.
sku Sku
The resource model definition representing SKU
tags Map<String,String>
Resource tags.
accountName
This property is required.
Changes to this property will trigger replacement.
string
The name of Cognitive Services account.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
commitmentPlanName Changes to this property will trigger replacement. string
The name of the commitmentPlan associated with the Cognitive Services Account
kind string
The Kind of the resource.
location Changes to this property will trigger replacement. string
The geo-location where the resource lives
properties CommitmentPlanProperties
Properties of Cognitive Services account commitment plan.
sku Sku
The resource model definition representing SKU
tags {[key: string]: string}
Resource tags.
account_name
This property is required.
Changes to this property will trigger replacement.
str
The name of Cognitive Services account.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
commitment_plan_name Changes to this property will trigger replacement. str
The name of the commitmentPlan associated with the Cognitive Services Account
kind str
The Kind of the resource.
location Changes to this property will trigger replacement. str
The geo-location where the resource lives
properties CommitmentPlanPropertiesArgs
Properties of Cognitive Services account commitment plan.
sku SkuArgs
The resource model definition representing SKU
tags Mapping[str, str]
Resource tags.
accountName
This property is required.
Changes to this property will trigger replacement.
String
The name of Cognitive Services account.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
commitmentPlanName Changes to this property will trigger replacement. String
The name of the commitmentPlan associated with the Cognitive Services Account
kind String
The Kind of the resource.
location Changes to this property will trigger replacement. String
The geo-location where the resource lives
properties Property Map
Properties of Cognitive Services account commitment plan.
sku Property Map
The resource model definition representing SKU
tags Map<String>
Resource tags.

Outputs

All input properties are implicitly available as output properties. Additionally, the CommitmentPlan 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

CommitmentPeriod
, CommitmentPeriodArgs

Count int
Commitment period commitment count.
Tier string
Commitment period commitment tier.
Count int
Commitment period commitment count.
Tier string
Commitment period commitment tier.
count Integer
Commitment period commitment count.
tier String
Commitment period commitment tier.
count number
Commitment period commitment count.
tier string
Commitment period commitment tier.
count int
Commitment period commitment count.
tier str
Commitment period commitment tier.
count Number
Commitment period commitment count.
tier String
Commitment period commitment tier.

CommitmentPeriodResponse
, CommitmentPeriodResponseArgs

EndDate This property is required. string
Commitment period end date.
Quota This property is required. Pulumi.AzureNative.CognitiveServices.Inputs.CommitmentQuotaResponse
Cognitive Services account commitment quota.
StartDate This property is required. string
Commitment period start date.
Count int
Commitment period commitment count.
Tier string
Commitment period commitment tier.
EndDate This property is required. string
Commitment period end date.
Quota This property is required. CommitmentQuotaResponse
Cognitive Services account commitment quota.
StartDate This property is required. string
Commitment period start date.
Count int
Commitment period commitment count.
Tier string
Commitment period commitment tier.
endDate This property is required. String
Commitment period end date.
quota This property is required. CommitmentQuotaResponse
Cognitive Services account commitment quota.
startDate This property is required. String
Commitment period start date.
count Integer
Commitment period commitment count.
tier String
Commitment period commitment tier.
endDate This property is required. string
Commitment period end date.
quota This property is required. CommitmentQuotaResponse
Cognitive Services account commitment quota.
startDate This property is required. string
Commitment period start date.
count number
Commitment period commitment count.
tier string
Commitment period commitment tier.
end_date This property is required. str
Commitment period end date.
quota This property is required. CommitmentQuotaResponse
Cognitive Services account commitment quota.
start_date This property is required. str
Commitment period start date.
count int
Commitment period commitment count.
tier str
Commitment period commitment tier.
endDate This property is required. String
Commitment period end date.
quota This property is required. Property Map
Cognitive Services account commitment quota.
startDate This property is required. String
Commitment period start date.
count Number
Commitment period commitment count.
tier String
Commitment period commitment tier.

CommitmentPlanProperties
, CommitmentPlanPropertiesArgs

AutoRenew bool
AutoRenew commitment plan.
CommitmentPlanGuid string
Commitment plan guid.
Current Pulumi.AzureNative.CognitiveServices.Inputs.CommitmentPeriod
Cognitive Services account commitment period.
HostingModel string | Pulumi.AzureNative.CognitiveServices.HostingModel
Account hosting model.
Next Pulumi.AzureNative.CognitiveServices.Inputs.CommitmentPeriod
Cognitive Services account commitment period.
PlanType string
Commitment plan type.
AutoRenew bool
AutoRenew commitment plan.
CommitmentPlanGuid string
Commitment plan guid.
Current CommitmentPeriod
Cognitive Services account commitment period.
HostingModel string | HostingModel
Account hosting model.
Next CommitmentPeriod
Cognitive Services account commitment period.
PlanType string
Commitment plan type.
autoRenew Boolean
AutoRenew commitment plan.
commitmentPlanGuid String
Commitment plan guid.
current CommitmentPeriod
Cognitive Services account commitment period.
hostingModel String | HostingModel
Account hosting model.
next CommitmentPeriod
Cognitive Services account commitment period.
planType String
Commitment plan type.
autoRenew boolean
AutoRenew commitment plan.
commitmentPlanGuid string
Commitment plan guid.
current CommitmentPeriod
Cognitive Services account commitment period.
hostingModel string | HostingModel
Account hosting model.
next CommitmentPeriod
Cognitive Services account commitment period.
planType string
Commitment plan type.
auto_renew bool
AutoRenew commitment plan.
commitment_plan_guid str
Commitment plan guid.
current CommitmentPeriod
Cognitive Services account commitment period.
hosting_model str | HostingModel
Account hosting model.
next CommitmentPeriod
Cognitive Services account commitment period.
plan_type str
Commitment plan type.
autoRenew Boolean
AutoRenew commitment plan.
commitmentPlanGuid String
Commitment plan guid.
current Property Map
Cognitive Services account commitment period.
hostingModel String | "Web" | "ConnectedContainer" | "DisconnectedContainer" | "ProvisionedWeb"
Account hosting model.
next Property Map
Cognitive Services account commitment period.
planType String
Commitment plan type.

CommitmentPlanPropertiesResponse
, CommitmentPlanPropertiesResponseArgs

Last This property is required. Pulumi.AzureNative.CognitiveServices.Inputs.CommitmentPeriodResponse
Cognitive Services account commitment period.
ProvisioningIssues This property is required. List<string>
The list of ProvisioningIssue.
ProvisioningState This property is required. string
Gets the status of the resource at the time the operation was called.
AutoRenew bool
AutoRenew commitment plan.
CommitmentPlanGuid string
Commitment plan guid.
Current Pulumi.AzureNative.CognitiveServices.Inputs.CommitmentPeriodResponse
Cognitive Services account commitment period.
HostingModel string
Account hosting model.
Next Pulumi.AzureNative.CognitiveServices.Inputs.CommitmentPeriodResponse
Cognitive Services account commitment period.
PlanType string
Commitment plan type.
Last This property is required. CommitmentPeriodResponse
Cognitive Services account commitment period.
ProvisioningIssues This property is required. []string
The list of ProvisioningIssue.
ProvisioningState This property is required. string
Gets the status of the resource at the time the operation was called.
AutoRenew bool
AutoRenew commitment plan.
CommitmentPlanGuid string
Commitment plan guid.
Current CommitmentPeriodResponse
Cognitive Services account commitment period.
HostingModel string
Account hosting model.
Next CommitmentPeriodResponse
Cognitive Services account commitment period.
PlanType string
Commitment plan type.
last This property is required. CommitmentPeriodResponse
Cognitive Services account commitment period.
provisioningIssues This property is required. List<String>
The list of ProvisioningIssue.
provisioningState This property is required. String
Gets the status of the resource at the time the operation was called.
autoRenew Boolean
AutoRenew commitment plan.
commitmentPlanGuid String
Commitment plan guid.
current CommitmentPeriodResponse
Cognitive Services account commitment period.
hostingModel String
Account hosting model.
next CommitmentPeriodResponse
Cognitive Services account commitment period.
planType String
Commitment plan type.
last This property is required. CommitmentPeriodResponse
Cognitive Services account commitment period.
provisioningIssues This property is required. string[]
The list of ProvisioningIssue.
provisioningState This property is required. string
Gets the status of the resource at the time the operation was called.
autoRenew boolean
AutoRenew commitment plan.
commitmentPlanGuid string
Commitment plan guid.
current CommitmentPeriodResponse
Cognitive Services account commitment period.
hostingModel string
Account hosting model.
next CommitmentPeriodResponse
Cognitive Services account commitment period.
planType string
Commitment plan type.
last This property is required. CommitmentPeriodResponse
Cognitive Services account commitment period.
provisioning_issues This property is required. Sequence[str]
The list of ProvisioningIssue.
provisioning_state This property is required. str
Gets the status of the resource at the time the operation was called.
auto_renew bool
AutoRenew commitment plan.
commitment_plan_guid str
Commitment plan guid.
current CommitmentPeriodResponse
Cognitive Services account commitment period.
hosting_model str
Account hosting model.
next CommitmentPeriodResponse
Cognitive Services account commitment period.
plan_type str
Commitment plan type.
last This property is required. Property Map
Cognitive Services account commitment period.
provisioningIssues This property is required. List<String>
The list of ProvisioningIssue.
provisioningState This property is required. String
Gets the status of the resource at the time the operation was called.
autoRenew Boolean
AutoRenew commitment plan.
commitmentPlanGuid String
Commitment plan guid.
current Property Map
Cognitive Services account commitment period.
hostingModel String
Account hosting model.
next Property Map
Cognitive Services account commitment period.
planType String
Commitment plan type.

CommitmentQuotaResponse
, CommitmentQuotaResponseArgs

Quantity double
Commitment quota quantity.
Unit string
Commitment quota unit.
Quantity float64
Commitment quota quantity.
Unit string
Commitment quota unit.
quantity Double
Commitment quota quantity.
unit String
Commitment quota unit.
quantity number
Commitment quota quantity.
unit string
Commitment quota unit.
quantity float
Commitment quota quantity.
unit str
Commitment quota unit.
quantity Number
Commitment quota quantity.
unit String
Commitment quota unit.

HostingModel
, HostingModelArgs

Web
Web
ConnectedContainer
ConnectedContainer
DisconnectedContainer
DisconnectedContainer
ProvisionedWeb
ProvisionedWeb
HostingModelWeb
Web
HostingModelConnectedContainer
ConnectedContainer
HostingModelDisconnectedContainer
DisconnectedContainer
HostingModelProvisionedWeb
ProvisionedWeb
Web
Web
ConnectedContainer
ConnectedContainer
DisconnectedContainer
DisconnectedContainer
ProvisionedWeb
ProvisionedWeb
Web
Web
ConnectedContainer
ConnectedContainer
DisconnectedContainer
DisconnectedContainer
ProvisionedWeb
ProvisionedWeb
WEB
Web
CONNECTED_CONTAINER
ConnectedContainer
DISCONNECTED_CONTAINER
DisconnectedContainer
PROVISIONED_WEB
ProvisionedWeb
"Web"
Web
"ConnectedContainer"
ConnectedContainer
"DisconnectedContainer"
DisconnectedContainer
"ProvisionedWeb"
ProvisionedWeb

Sku
, SkuArgs

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

SkuResponse
, SkuResponseArgs

Name This property is required. string
The name of the SKU. Ex - P3. It is typically a letter+number code
Capacity int
If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
Family string
If the service has different generations of hardware, for the same SKU, then that can be captured here.
Size string
The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
Tier string
This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
Name This property is required. string
The name of the SKU. Ex - P3. It is typically a letter+number code
Capacity int
If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
Family string
If the service has different generations of hardware, for the same SKU, then that can be captured here.
Size string
The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
Tier string
This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
name This property is required. String
The name of the SKU. Ex - P3. It is typically a letter+number code
capacity Integer
If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
family String
If the service has different generations of hardware, for the same SKU, then that can be captured here.
size String
The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
tier String
This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
name This property is required. string
The name of the SKU. Ex - P3. It is typically a letter+number code
capacity number
If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
family string
If the service has different generations of hardware, for the same SKU, then that can be captured here.
size string
The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
tier string
This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
name This property is required. str
The name of the SKU. Ex - P3. It is typically a letter+number code
capacity int
If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
family str
If the service has different generations of hardware, for the same SKU, then that can be captured here.
size str
The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
tier str
This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
name This property is required. String
The name of the SKU. Ex - P3. It is typically a letter+number code
capacity Number
If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
family String
If the service has different generations of hardware, for the same SKU, then that can be captured here.
size String
The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
tier String
This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.

SkuTier
, SkuTierArgs

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

SystemDataResponse
, SystemDataResponseArgs

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

Import

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

$ pulumi import azure-native:cognitiveservices:CommitmentPlan commitmentPlanName /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/commitmentPlans/{commitmentPlanName} 
Copy

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

Package Details

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