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

azure-native.cognitiveservices.SharedCommitmentPlan

Explore with Pulumi AI

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

    Cognitive Services account 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:

    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    CommitmentPlanName string
    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.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.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    CommitmentPlanName string
    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 CommitmentPlanPropertiesArgs
    Properties of Cognitive Services account commitment plan.
    Sku SkuArgs
    The resource model definition representing SKU
    Tags map[string]string
    Resource tags.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    commitmentPlanName String
    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 CommitmentPlanProperties
    Properties of Cognitive Services account commitment plan.
    sku Sku
    The resource model definition representing SKU
    tags Map<String,String>
    Resource tags.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    commitmentPlanName string
    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 CommitmentPlanProperties
    Properties of Cognitive Services account commitment plan.
    sku Sku
    The resource model definition representing SKU
    tags {[key: string]: string}
    Resource tags.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    commitment_plan_name str
    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 CommitmentPlanPropertiesArgs
    Properties of Cognitive Services account commitment plan.
    sku SkuArgs
    The resource model definition representing SKU
    tags Mapping[str, str]
    Resource tags.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    commitmentPlanName String
    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
    tags 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
    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 string
    Commitment period end date.
    Quota Pulumi.AzureNative.CognitiveServices.Inputs.CommitmentQuotaResponse
    Cognitive Services account commitment quota.
    StartDate string
    Commitment period start date.
    Count int
    Commitment period commitment count.
    Tier string
    Commitment period commitment tier.
    EndDate string
    Commitment period end date.
    Quota CommitmentQuotaResponse
    Cognitive Services account commitment quota.
    StartDate string
    Commitment period start date.
    Count int
    Commitment period commitment count.
    Tier string
    Commitment period commitment tier.
    endDate String
    Commitment period end date.
    quota CommitmentQuotaResponse
    Cognitive Services account commitment quota.
    startDate String
    Commitment period start date.
    count Integer
    Commitment period commitment count.
    tier String
    Commitment period commitment tier.
    endDate string
    Commitment period end date.
    quota CommitmentQuotaResponse
    Cognitive Services account commitment quota.
    startDate string
    Commitment period start date.
    count number
    Commitment period commitment count.
    tier string
    Commitment period commitment tier.
    end_date str
    Commitment period end date.
    quota CommitmentQuotaResponse
    Cognitive Services account commitment quota.
    start_date str
    Commitment period start date.
    count int
    Commitment period commitment count.
    tier str
    Commitment period commitment tier.
    endDate String
    Commitment period end date.
    quota Property Map
    Cognitive Services account commitment quota.
    startDate 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 Pulumi.AzureNative.CognitiveServices.Inputs.CommitmentPeriodResponse
    Cognitive Services account commitment period.
    ProvisioningIssues List<string>
    The list of ProvisioningIssue.
    ProvisioningState 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 CommitmentPeriodResponse
    Cognitive Services account commitment period.
    ProvisioningIssues []string
    The list of ProvisioningIssue.
    ProvisioningState 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 CommitmentPeriodResponse
    Cognitive Services account commitment period.
    provisioningIssues List<String>
    The list of ProvisioningIssue.
    provisioningState 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 CommitmentPeriodResponse
    Cognitive Services account commitment period.
    provisioningIssues string[]
    The list of ProvisioningIssue.
    provisioningState 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 CommitmentPeriodResponse
    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_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 Property Map
    Cognitive Services account commitment period.
    provisioningIssues List<String>
    The list of ProvisioningIssue.
    provisioningState 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 string
    The name of the SKU. Ex - P3. It is typically a letter+number code
    Capacity int
    If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
    Family string
    If the service has different generations of hardware, for the same SKU, then that can be captured here.
    Size string
    The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
    Tier string | Pulumi.AzureNative.CognitiveServices.SkuTier
    This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
    Name string
    The name of the SKU. Ex - P3. It is typically a letter+number code
    Capacity int
    If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
    Family string
    If the service has different generations of hardware, for the same SKU, then that can be captured here.
    Size string
    The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
    Tier string | SkuTier
    This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
    name String
    The name of the SKU. Ex - P3. It is typically a letter+number code
    capacity Integer
    If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
    family String
    If the service has different generations of hardware, for the same SKU, then that can be captured here.
    size String
    The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
    tier String | SkuTier
    This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
    name string
    The name of the SKU. Ex - P3. It is typically a letter+number code
    capacity number
    If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
    family string
    If the service has different generations of hardware, for the same SKU, then that can be captured here.
    size string
    The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
    tier string | SkuTier
    This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
    name str
    The name of the SKU. Ex - P3. It is typically a letter+number code
    capacity int
    If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
    family str
    If the service has different generations of hardware, for the same SKU, then that can be captured here.
    size str
    The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
    tier str | SkuTier
    This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
    name String
    The name of the SKU. Ex - P3. It is typically a letter+number code
    capacity Number
    If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
    family String
    If the service has different generations of hardware, for the same SKU, then that can be captured here.
    size String
    The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
    tier String | "Free" | "Basic" | "Standard" | "Premium" | "Enterprise"
    This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.

    SkuResponse, SkuResponseArgs

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

    SkuTier, SkuTierArgs

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

    SystemDataResponse, SystemDataResponseArgs

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

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