azure-native.cognitiveservices.SharedCommitmentPlan
Explore with Pulumi AI
Cognitive Services account commitment plan. Azure REST API version: 2023-05-01.
Other available API versions: 2023-10-01-preview, 2024-04-01-preview.
Example Usage
Create Commitment Plan
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var sharedCommitmentPlan = new AzureNative.CognitiveServices.SharedCommitmentPlan("sharedCommitmentPlan", new()
{
CommitmentPlanName = "commitmentPlanName",
Kind = "SpeechServices",
Location = "West US",
Properties = new AzureNative.CognitiveServices.Inputs.CommitmentPlanPropertiesArgs
{
AutoRenew = true,
Current = new AzureNative.CognitiveServices.Inputs.CommitmentPeriodArgs
{
Tier = "T1",
},
HostingModel = AzureNative.CognitiveServices.HostingModel.Web,
PlanType = "STT",
},
ResourceGroupName = "resourceGroupName",
Sku = new AzureNative.CognitiveServices.Inputs.SkuArgs
{
Name = "S0",
},
});
});
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.NewSharedCommitmentPlan(ctx, "sharedCommitmentPlan", &cognitiveservices.SharedCommitmentPlanArgs{
CommitmentPlanName: pulumi.String("commitmentPlanName"),
Kind: pulumi.String("SpeechServices"),
Location: pulumi.String("West US"),
Properties: &cognitiveservices.CommitmentPlanPropertiesArgs{
AutoRenew: pulumi.Bool(true),
Current: &cognitiveservices.CommitmentPeriodArgs{
Tier: pulumi.String("T1"),
},
HostingModel: pulumi.String(cognitiveservices.HostingModelWeb),
PlanType: pulumi.String("STT"),
},
ResourceGroupName: pulumi.String("resourceGroupName"),
Sku: &cognitiveservices.SkuArgs{
Name: pulumi.String("S0"),
},
})
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.SharedCommitmentPlan;
import com.pulumi.azurenative.cognitiveservices.SharedCommitmentPlanArgs;
import com.pulumi.azurenative.cognitiveservices.inputs.CommitmentPlanPropertiesArgs;
import com.pulumi.azurenative.cognitiveservices.inputs.CommitmentPeriodArgs;
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 sharedCommitmentPlan = new SharedCommitmentPlan("sharedCommitmentPlan", SharedCommitmentPlanArgs.builder()
.commitmentPlanName("commitmentPlanName")
.kind("SpeechServices")
.location("West US")
.properties(CommitmentPlanPropertiesArgs.builder()
.autoRenew(true)
.current(CommitmentPeriodArgs.builder()
.tier("T1")
.build())
.hostingModel("Web")
.planType("STT")
.build())
.resourceGroupName("resourceGroupName")
.sku(SkuArgs.builder()
.name("S0")
.build())
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
shared_commitment_plan = azure_native.cognitiveservices.SharedCommitmentPlan("sharedCommitmentPlan",
commitment_plan_name="commitmentPlanName",
kind="SpeechServices",
location="West US",
properties=azure_native.cognitiveservices.CommitmentPlanPropertiesArgs(
auto_renew=True,
current=azure_native.cognitiveservices.CommitmentPeriodArgs(
tier="T1",
),
hosting_model=azure_native.cognitiveservices.HostingModel.WEB,
plan_type="STT",
),
resource_group_name="resourceGroupName",
sku=azure_native.cognitiveservices.SkuArgs(
name="S0",
))
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const sharedCommitmentPlan = new azure_native.cognitiveservices.SharedCommitmentPlan("sharedCommitmentPlan", {
commitmentPlanName: "commitmentPlanName",
kind: "SpeechServices",
location: "West US",
properties: {
autoRenew: true,
current: {
tier: "T1",
},
hostingModel: azure_native.cognitiveservices.HostingModel.Web,
planType: "STT",
},
resourceGroupName: "resourceGroupName",
sku: {
name: "S0",
},
});
resources:
sharedCommitmentPlan:
type: azure-native:cognitiveservices:SharedCommitmentPlan
properties:
commitmentPlanName: commitmentPlanName
kind: SpeechServices
location: West US
properties:
autoRenew: true
current:
tier: T1
hostingModel: Web
planType: STT
resourceGroupName: resourceGroupName
sku:
name: S0
Create SharedCommitmentPlan Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SharedCommitmentPlan(name: string, args: SharedCommitmentPlanArgs, opts?: CustomResourceOptions);
@overload
def SharedCommitmentPlan(resource_name: str,
args: SharedCommitmentPlanArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SharedCommitmentPlan(resource_name: str,
opts: Optional[ResourceOptions] = 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 NewSharedCommitmentPlan(ctx *Context, name string, args SharedCommitmentPlanArgs, opts ...ResourceOption) (*SharedCommitmentPlan, error)
public SharedCommitmentPlan(string name, SharedCommitmentPlanArgs args, CustomResourceOptions? opts = null)
public SharedCommitmentPlan(String name, SharedCommitmentPlanArgs args)
public SharedCommitmentPlan(String name, SharedCommitmentPlanArgs args, CustomResourceOptions options)
type: azure-native:cognitiveservices:SharedCommitmentPlan
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 SharedCommitmentPlanArgs
- 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 SharedCommitmentPlanArgs
- 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 SharedCommitmentPlanArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SharedCommitmentPlanArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SharedCommitmentPlanArgs
- 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 sharedCommitmentPlanResource = new AzureNative.CognitiveServices.SharedCommitmentPlan("sharedCommitmentPlanResource", new()
{
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.NewSharedCommitmentPlan(ctx, "sharedCommitmentPlanResource", &cognitiveservices.SharedCommitmentPlanArgs{
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 sharedCommitmentPlanResource = new SharedCommitmentPlan("sharedCommitmentPlanResource", SharedCommitmentPlanArgs.builder()
.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());
shared_commitment_plan_resource = azure_native.cognitiveservices.SharedCommitmentPlan("sharedCommitmentPlanResource",
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 sharedCommitmentPlanResource = new azure_native.cognitiveservices.SharedCommitmentPlan("sharedCommitmentPlanResource", {
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:SharedCommitmentPlan
properties:
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
SharedCommitmentPlan 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 SharedCommitmentPlan resource accepts the following input properties:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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 SharedCommitmentPlan 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:SharedCommitmentPlan commitmentPlanName /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/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