azure-native.cognitiveservices.CommitmentPlan
Explore with Pulumi AI
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.
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",
});
});
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
})
}
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());
}
}
import pulumi
import pulumi_azure_native as azure_native
commitment_plan = azure_native.cognitiveservices.CommitmentPlan("commitmentPlan",
account_name="accountName",
commitment_plan_name="commitmentPlanName",
properties=azure_native.cognitiveservices.CommitmentPlanPropertiesArgs(
auto_renew=True,
current=azure_native.cognitiveservices.CommitmentPeriodArgs(
tier="T1",
),
hosting_model=azure_native.cognitiveservices.HostingModel.WEB,
plan_type="Speech2Text",
),
resource_group_name="resourceGroupName")
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",
});
resources:
commitmentPlan:
type: azure-native:cognitiveservices:CommitmentPlan
properties:
accountName: accountName
commitmentPlanName: commitmentPlanName
properties:
autoRenew: true
current:
tier: T1
hostingModel: Web
planType: Speech2Text
resourceGroupName: resourceGroupName
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 string
- The unique name of the resource.
- args CommitmentPlanArgs
- 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 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 string
- The unique name of the resource.
- args CommitmentPlanArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CommitmentPlanArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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 = new AzureNative.CognitiveServices.Inputs.CommitmentPlanPropertiesArgs
{
AutoRenew = false,
CommitmentPlanGuid = "string",
Current = new AzureNative.CognitiveServices.Inputs.CommitmentPeriodArgs
{
Count = 0,
Tier = "string",
},
HostingModel = "string",
Next = new AzureNative.CognitiveServices.Inputs.CommitmentPeriodArgs
{
Count = 0,
Tier = "string",
},
PlanType = "string",
},
Sku = new AzureNative.CognitiveServices.Inputs.SkuArgs
{
Name = "string",
Capacity = 0,
Family = "string",
Size = "string",
Tier = "string",
},
Tags =
{
{ "string", "string" },
},
});
example, err := cognitiveservices.NewCommitmentPlan(ctx, "commitmentPlanResource", &cognitiveservices.CommitmentPlanArgs{
AccountName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
CommitmentPlanName: pulumi.String("string"),
Kind: pulumi.String("string"),
Location: pulumi.String("string"),
Properties: &cognitiveservices.CommitmentPlanPropertiesArgs{
AutoRenew: pulumi.Bool(false),
CommitmentPlanGuid: pulumi.String("string"),
Current: &cognitiveservices.CommitmentPeriodArgs{
Count: pulumi.Int(0),
Tier: pulumi.String("string"),
},
HostingModel: pulumi.String("string"),
Next: &cognitiveservices.CommitmentPeriodArgs{
Count: pulumi.Int(0),
Tier: pulumi.String("string"),
},
PlanType: 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"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var commitmentPlanResource = new CommitmentPlan("commitmentPlanResource", CommitmentPlanArgs.builder()
.accountName("string")
.resourceGroupName("string")
.commitmentPlanName("string")
.kind("string")
.location("string")
.properties(CommitmentPlanPropertiesArgs.builder()
.autoRenew(false)
.commitmentPlanGuid("string")
.current(CommitmentPeriodArgs.builder()
.count(0)
.tier("string")
.build())
.hostingModel("string")
.next(CommitmentPeriodArgs.builder()
.count(0)
.tier("string")
.build())
.planType("string")
.build())
.sku(SkuArgs.builder()
.name("string")
.capacity(0)
.family("string")
.size("string")
.tier("string")
.build())
.tags(Map.of("string", "string"))
.build());
commitment_plan_resource = azure_native.cognitiveservices.CommitmentPlan("commitmentPlanResource",
account_name="string",
resource_group_name="string",
commitment_plan_name="string",
kind="string",
location="string",
properties=azure_native.cognitiveservices.CommitmentPlanPropertiesArgs(
auto_renew=False,
commitment_plan_guid="string",
current=azure_native.cognitiveservices.CommitmentPeriodArgs(
count=0,
tier="string",
),
hosting_model="string",
next=azure_native.cognitiveservices.CommitmentPeriodArgs(
count=0,
tier="string",
),
plan_type="string",
),
sku=azure_native.cognitiveservices.SkuArgs(
name="string",
capacity=0,
family="string",
size="string",
tier="string",
),
tags={
"string": "string",
})
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",
},
});
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
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
The CommitmentPlan resource accepts the following input properties:
- Account
Name string - The name of Cognitive Services account.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Commitment
Plan stringName - The name of the commitmentPlan associated with the Cognitive Services Account
- Kind string
- The Kind of the resource.
- Location string
- The geo-location where the resource lives
- Properties
Pulumi.
Azure Native. Cognitive Services. Inputs. Commitment Plan Properties - Properties of Cognitive Services account commitment plan.
- Sku
Pulumi.
Azure Native. Cognitive Services. Inputs. Sku - The resource model definition representing SKU
- Dictionary<string, string>
- Resource tags.
- Account
Name string - The name of Cognitive Services account.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Commitment
Plan stringName - The name of the commitmentPlan associated with the Cognitive Services Account
- Kind string
- The Kind of the resource.
- Location string
- The geo-location where the resource lives
- Properties
Commitment
Plan Properties Args - Properties of Cognitive Services account commitment plan.
- Sku
Sku
Args - The resource model definition representing SKU
- map[string]string
- Resource tags.
- account
Name String - The name of Cognitive Services account.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- commitment
Plan StringName - The name of the commitmentPlan associated with the Cognitive Services Account
- kind String
- The Kind of the resource.
- location String
- The geo-location where the resource lives
- properties
Commitment
Plan Properties - Properties of Cognitive Services account commitment plan.
- sku Sku
- The resource model definition representing SKU
- Map<String,String>
- Resource tags.
- account
Name string - The name of Cognitive Services account.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- commitment
Plan stringName - The name of the commitmentPlan associated with the Cognitive Services Account
- kind string
- The Kind of the resource.
- location string
- The geo-location where the resource lives
- properties
Commitment
Plan Properties - Properties of Cognitive Services account commitment plan.
- sku Sku
- The resource model definition representing SKU
- {[key: string]: string}
- Resource tags.
- account_
name str - The name of Cognitive Services account.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- commitment_
plan_ strname - The name of the commitmentPlan associated with the Cognitive Services Account
- kind str
- The Kind of the resource.
- location str
- The geo-location where the resource lives
- properties
Commitment
Plan Properties Args - Properties of Cognitive Services account commitment plan.
- sku
Sku
Args - The resource model definition representing SKU
- Mapping[str, str]
- Resource tags.
- account
Name String - The name of Cognitive Services account.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- commitment
Plan StringName - The name of the commitmentPlan associated with the Cognitive Services Account
- kind String
- The Kind of the resource.
- location 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
- 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
- System
Data Pulumi.Azure Native. Cognitive Services. Outputs. System Data Response - Metadata pertaining to creation and last modification of the resource.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Etag string
- Resource Etag.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- System
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- etag String
- Resource Etag.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- etag string
- Resource Etag.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- etag str
- Resource Etag.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- system_
data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- etag String
- Resource Etag.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- system
Data Property Map - Metadata pertaining to creation and last modification of the resource.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
CommitmentPeriod, CommitmentPeriodArgs
CommitmentPeriodResponse, CommitmentPeriodResponseArgs
- end_
date str - Commitment period end date.
- quota
Commitment
Quota Response - Cognitive Services account commitment quota.
- start_
date str - Commitment period start date.
- count int
- Commitment period commitment count.
- tier str
- Commitment period commitment tier.
CommitmentPlanProperties, CommitmentPlanPropertiesArgs
- Auto
Renew bool - AutoRenew commitment plan.
- Commitment
Plan stringGuid - Commitment plan guid.
- Current
Pulumi.
Azure Native. Cognitive Services. Inputs. Commitment Period - Cognitive Services account commitment period.
- Hosting
Model string | Pulumi.Azure Native. Cognitive Services. Hosting Model - Account hosting model.
- Next
Pulumi.
Azure Native. Cognitive Services. Inputs. Commitment Period - Cognitive Services account commitment period.
- Plan
Type string - Commitment plan type.
- Auto
Renew bool - AutoRenew commitment plan.
- Commitment
Plan stringGuid - Commitment plan guid.
- Current
Commitment
Period - Cognitive Services account commitment period.
- Hosting
Model string | HostingModel - Account hosting model.
- Next
Commitment
Period - Cognitive Services account commitment period.
- Plan
Type string - Commitment plan type.
- auto
Renew Boolean - AutoRenew commitment plan.
- commitment
Plan StringGuid - Commitment plan guid.
- current
Commitment
Period - Cognitive Services account commitment period.
- hosting
Model String | HostingModel - Account hosting model.
- next
Commitment
Period - Cognitive Services account commitment period.
- plan
Type String - Commitment plan type.
- auto
Renew boolean - AutoRenew commitment plan.
- commitment
Plan stringGuid - Commitment plan guid.
- current
Commitment
Period - Cognitive Services account commitment period.
- hosting
Model string | HostingModel - Account hosting model.
- next
Commitment
Period - Cognitive Services account commitment period.
- plan
Type string - Commitment plan type.
- auto_
renew bool - AutoRenew commitment plan.
- commitment_
plan_ strguid - Commitment plan guid.
- current
Commitment
Period - Cognitive Services account commitment period.
- hosting_
model str | HostingModel - Account hosting model.
- next
Commitment
Period - Cognitive Services account commitment period.
- plan_
type str - Commitment plan type.
- auto
Renew Boolean - AutoRenew commitment plan.
- commitment
Plan StringGuid - Commitment plan guid.
- current Property Map
- Cognitive Services account commitment period.
- hosting
Model String | "Web" | "ConnectedContainer" | "Disconnected Container" | "Provisioned Web" - Account hosting model.
- next Property Map
- Cognitive Services account commitment period.
- plan
Type String - Commitment plan type.
CommitmentPlanPropertiesResponse, CommitmentPlanPropertiesResponseArgs
- Last
Pulumi.
Azure Native. Cognitive Services. Inputs. Commitment Period Response - Cognitive Services account commitment period.
- Provisioning
Issues List<string> - The list of ProvisioningIssue.
- Provisioning
State string - Gets the status of the resource at the time the operation was called.
- Auto
Renew bool - AutoRenew commitment plan.
- Commitment
Plan stringGuid - Commitment plan guid.
- Current
Pulumi.
Azure Native. Cognitive Services. Inputs. Commitment Period Response - Cognitive Services account commitment period.
- Hosting
Model string - Account hosting model.
- Next
Pulumi.
Azure Native. Cognitive Services. Inputs. Commitment Period Response - Cognitive Services account commitment period.
- Plan
Type string - Commitment plan type.
- Last
Commitment
Period Response - Cognitive Services account commitment period.
- Provisioning
Issues []string - The list of ProvisioningIssue.
- Provisioning
State string - Gets the status of the resource at the time the operation was called.
- Auto
Renew bool - AutoRenew commitment plan.
- Commitment
Plan stringGuid - Commitment plan guid.
- Current
Commitment
Period Response - Cognitive Services account commitment period.
- Hosting
Model string - Account hosting model.
- Next
Commitment
Period Response - Cognitive Services account commitment period.
- Plan
Type string - Commitment plan type.
- last
Commitment
Period Response - Cognitive Services account commitment period.
- provisioning
Issues List<String> - The list of ProvisioningIssue.
- provisioning
State String - Gets the status of the resource at the time the operation was called.
- auto
Renew Boolean - AutoRenew commitment plan.
- commitment
Plan StringGuid - Commitment plan guid.
- current
Commitment
Period Response - Cognitive Services account commitment period.
- hosting
Model String - Account hosting model.
- next
Commitment
Period Response - Cognitive Services account commitment period.
- plan
Type String - Commitment plan type.
- last
Commitment
Period Response - Cognitive Services account commitment period.
- provisioning
Issues string[] - The list of ProvisioningIssue.
- provisioning
State string - Gets the status of the resource at the time the operation was called.
- auto
Renew boolean - AutoRenew commitment plan.
- commitment
Plan stringGuid - Commitment plan guid.
- current
Commitment
Period Response - Cognitive Services account commitment period.
- hosting
Model string - Account hosting model.
- next
Commitment
Period Response - Cognitive Services account commitment period.
- plan
Type string - Commitment plan type.
- last
Commitment
Period Response - Cognitive Services account commitment period.
- provisioning_
issues Sequence[str] - The list of ProvisioningIssue.
- provisioning_
state str - Gets the status of the resource at the time the operation was called.
- auto_
renew bool - AutoRenew commitment plan.
- commitment_
plan_ strguid - Commitment plan guid.
- current
Commitment
Period Response - Cognitive Services account commitment period.
- hosting_
model str - Account hosting model.
- next
Commitment
Period Response - Cognitive Services account commitment period.
- plan_
type str - Commitment plan type.
- last Property Map
- Cognitive Services account commitment period.
- provisioning
Issues List<String> - The list of ProvisioningIssue.
- provisioning
State String - Gets the status of the resource at the time the operation was called.
- auto
Renew Boolean - AutoRenew commitment plan.
- commitment
Plan StringGuid - Commitment plan guid.
- current Property Map
- Cognitive Services account commitment period.
- hosting
Model String - Account hosting model.
- next Property Map
- Cognitive Services account commitment period.
- plan
Type String - Commitment plan type.
CommitmentQuotaResponse, CommitmentQuotaResponseArgs
HostingModel, HostingModelArgs
- Web
- Web
- Connected
Container - ConnectedContainer
- Disconnected
Container - DisconnectedContainer
- Provisioned
Web - ProvisionedWeb
- Hosting
Model Web - Web
- Hosting
Model Connected Container - ConnectedContainer
- Hosting
Model Disconnected Container - DisconnectedContainer
- Hosting
Model Provisioned Web - ProvisionedWeb
- Web
- Web
- Connected
Container - ConnectedContainer
- Disconnected
Container - DisconnectedContainer
- Provisioned
Web - ProvisionedWeb
- Web
- Web
- Connected
Container - ConnectedContainer
- Disconnected
Container - DisconnectedContainer
- Provisioned
Web - ProvisionedWeb
- WEB
- Web
- CONNECTED_CONTAINER
- ConnectedContainer
- DISCONNECTED_CONTAINER
- DisconnectedContainer
- PROVISIONED_WEB
- ProvisionedWeb
- "Web"
- Web
- "Connected
Container" - ConnectedContainer
- "Disconnected
Container" - DisconnectedContainer
- "Provisioned
Web" - ProvisionedWeb
Sku, SkuArgs
- Name string
- The name of the SKU. Ex - P3. It is typically a letter+number code
- Capacity int
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- Family string
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- Size string
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- Tier
string | Pulumi.
Azure Native. Cognitive Services. Sku Tier - This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- Name string
- The name of the SKU. Ex - P3. It is typically a letter+number code
- Capacity int
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- Family string
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- Size string
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- Tier
string | Sku
Tier - This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- name String
- The name of the SKU. Ex - P3. It is typically a letter+number code
- capacity Integer
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- family String
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- size String
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- tier
String | Sku
Tier - This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- name string
- The name of the SKU. Ex - P3. It is typically a letter+number code
- capacity number
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- family string
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- size string
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- tier
string | Sku
Tier - This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- name str
- The name of the SKU. Ex - P3. It is typically a letter+number code
- capacity int
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- family str
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- size str
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- tier
str | Sku
Tier - This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- name String
- The name of the SKU. Ex - P3. It is typically a letter+number code
- capacity Number
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- family String
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- size String
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- tier String | "Free" | "Basic" | "Standard" | "Premium" | "Enterprise"
- This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
SkuResponse, SkuResponseArgs
- Name string
- The name of the SKU. Ex - P3. It is typically a letter+number code
- Capacity int
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- Family string
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- Size string
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- Tier string
- This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- Name string
- The name of the SKU. Ex - P3. It is typically a letter+number code
- Capacity int
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- Family string
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- Size string
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- Tier string
- This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- name String
- The name of the SKU. Ex - P3. It is typically a letter+number code
- capacity Integer
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- family String
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- size String
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- tier String
- This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- name string
- The name of the SKU. Ex - P3. It is typically a letter+number code
- capacity number
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- family string
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- size string
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- tier string
- This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- name str
- The name of the SKU. Ex - P3. It is typically a letter+number code
- capacity int
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- family str
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- size str
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- tier str
- This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
- name String
- The name of the SKU. Ex - P3. It is typically a letter+number code
- capacity Number
- If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- family String
- If the service has different generations of hardware, for the same SKU, then that can be captured here.
- size String
- The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- tier String
- This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
SkuTier, SkuTierArgs
- Free
- Free
- Basic
- Basic
- Standard
- Standard
- Premium
- Premium
- Enterprise
- Enterprise
- Sku
Tier Free - Free
- Sku
Tier Basic - Basic
- Sku
Tier Standard - Standard
- Sku
Tier Premium - Premium
- Sku
Tier Enterprise - Enterprise
- Free
- Free
- Basic
- Basic
- Standard
- Standard
- Premium
- Premium
- Enterprise
- Enterprise
- Free
- Free
- Basic
- Basic
- Standard
- Standard
- Premium
- Premium
- Enterprise
- Enterprise
- FREE
- Free
- BASIC
- Basic
- STANDARD
- Standard
- PREMIUM
- Premium
- ENTERPRISE
- Enterprise
- "Free"
- Free
- "Basic"
- Basic
- "Standard"
- Standard
- "Premium"
- Premium
- "Enterprise"
- Enterprise
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
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}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0