azure-native.machinelearning.CommitmentPlan
Explore with Pulumi AI
An Azure ML commitment plan resource. Azure REST API version: 2016-05-01-preview. Prior API version in Azure Native 1.x: 2016-05-01-preview.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:machinelearning:CommitmentPlan myresource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/commitmentPlans/{commitmentPlanName} 
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: CommitmentPlanInitArgs,
                   opts: Optional[ResourceOptions] = None)
@overload
def CommitmentPlan(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   resource_group_name: Optional[str] = None,
                   commitment_plan_name: Optional[str] = None,
                   location: Optional[str] = None,
                   sku: Optional[ResourceSkuArgs] = 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:machinelearning: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 CommitmentPlanInitArgs
- 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 azure_nativeCommitmentPlanResource = new AzureNative.MachineLearning.CommitmentPlan("azure-nativeCommitmentPlanResource", new()
{
    ResourceGroupName = "string",
    CommitmentPlanName = "string",
    Location = "string",
    Sku = new AzureNative.MachineLearning.Inputs.ResourceSkuArgs
    {
        Capacity = 0,
        Name = "string",
        Tier = "string",
    },
    Tags = 
    {
        { "string", "string" },
    },
});
example, err := machinelearning.NewCommitmentPlan(ctx, "azure-nativeCommitmentPlanResource", &machinelearning.CommitmentPlanArgs{
	ResourceGroupName:  pulumi.String("string"),
	CommitmentPlanName: pulumi.String("string"),
	Location:           pulumi.String("string"),
	Sku: &machinelearning.ResourceSkuArgs{
		Capacity: pulumi.Int(0),
		Name:     pulumi.String("string"),
		Tier:     pulumi.String("string"),
	},
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
var azure_nativeCommitmentPlanResource = new CommitmentPlan("azure-nativeCommitmentPlanResource", CommitmentPlanArgs.builder()
    .resourceGroupName("string")
    .commitmentPlanName("string")
    .location("string")
    .sku(ResourceSkuArgs.builder()
        .capacity(0)
        .name("string")
        .tier("string")
        .build())
    .tags(Map.of("string", "string"))
    .build());
azure_native_commitment_plan_resource = azure_native.machinelearning.CommitmentPlan("azure-nativeCommitmentPlanResource",
    resource_group_name="string",
    commitment_plan_name="string",
    location="string",
    sku={
        "capacity": 0,
        "name": "string",
        "tier": "string",
    },
    tags={
        "string": "string",
    })
const azure_nativeCommitmentPlanResource = new azure_native.machinelearning.CommitmentPlan("azure-nativeCommitmentPlanResource", {
    resourceGroupName: "string",
    commitmentPlanName: "string",
    location: "string",
    sku: {
        capacity: 0,
        name: "string",
        tier: "string",
    },
    tags: {
        string: "string",
    },
});
type: azure-native:machinelearning:CommitmentPlan
properties:
    commitmentPlanName: string
    location: string
    resourceGroupName: string
    sku:
        capacity: 0
        name: 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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CommitmentPlan resource accepts the following input properties:
- ResourceGroup stringName 
- The resource group name.
- CommitmentPlan stringName 
- The Azure ML commitment plan name.
- Location string
- Resource location.
- Sku
Pulumi.Azure Native. Machine Learning. Inputs. Resource Sku 
- The commitment plan SKU.
- Dictionary<string, string>
- User-defined tags for the resource.
- ResourceGroup stringName 
- The resource group name.
- CommitmentPlan stringName 
- The Azure ML commitment plan name.
- Location string
- Resource location.
- Sku
ResourceSku Args 
- The commitment plan SKU.
- map[string]string
- User-defined tags for the resource.
- resourceGroup StringName 
- The resource group name.
- commitmentPlan StringName 
- The Azure ML commitment plan name.
- location String
- Resource location.
- sku
ResourceSku 
- The commitment plan SKU.
- Map<String,String>
- User-defined tags for the resource.
- resourceGroup stringName 
- The resource group name.
- commitmentPlan stringName 
- The Azure ML commitment plan name.
- location string
- Resource location.
- sku
ResourceSku 
- The commitment plan SKU.
- {[key: string]: string}
- User-defined tags for the resource.
- resource_group_ strname 
- The resource group name.
- commitment_plan_ strname 
- The Azure ML commitment plan name.
- location str
- Resource location.
- sku
ResourceSku Args 
- The commitment plan SKU.
- Mapping[str, str]
- User-defined tags for the resource.
- resourceGroup StringName 
- The resource group name.
- commitmentPlan StringName 
- The Azure ML commitment plan name.
- location String
- Resource location.
- sku Property Map
- The commitment plan SKU.
- Map<String>
- User-defined tags for the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the CommitmentPlan resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name.
- Properties
Pulumi.Azure Native. Machine Learning. Outputs. Commitment Plan Properties Response 
- The commitment plan properties.
- Type string
- Resource type.
- Etag string
- An entity tag used to enforce optimistic concurrency.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name.
- Properties
CommitmentPlan Properties Response 
- The commitment plan properties.
- Type string
- Resource type.
- Etag string
- An entity tag used to enforce optimistic concurrency.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name.
- properties
CommitmentPlan Properties Response 
- The commitment plan properties.
- type String
- Resource type.
- etag String
- An entity tag used to enforce optimistic concurrency.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Resource name.
- properties
CommitmentPlan Properties Response 
- The commitment plan properties.
- type string
- Resource type.
- etag string
- An entity tag used to enforce optimistic concurrency.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Resource name.
- properties
CommitmentPlan Properties Response 
- The commitment plan properties.
- type str
- Resource type.
- etag str
- An entity tag used to enforce optimistic concurrency.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name.
- properties Property Map
- The commitment plan properties.
- type String
- Resource type.
- etag String
- An entity tag used to enforce optimistic concurrency.
Supporting Types
CommitmentPlanPropertiesResponse, CommitmentPlanPropertiesResponseArgs        
- ChargeFor boolOverage 
- Indicates whether usage beyond the commitment plan's included quantities will be charged.
- ChargeFor boolPlan 
- Indicates whether the commitment plan will incur a charge.
- CreationDate string
- The date at which this commitment plan was created, in ISO 8601 format.
- IncludedQuantities Dictionary<string, Pulumi.Azure Native. Machine Learning. Inputs. Plan Quantity Response> 
- The included resource quantities this plan gives you.
- MaxAssociation intLimit 
- The maximum number of commitment associations that can be children of this commitment plan.
- MaxCapacity intLimit 
- The maximum scale-out capacity for this commitment plan.
- MinCapacity intLimit 
- The minimum scale-out capacity for this commitment plan.
- PlanMeter string
- The Azure meter which will be used to charge for this commitment plan.
- RefillFrequency intIn Days 
- The frequency at which this commitment plan's included quantities are refilled.
- SuspendPlan boolOn Overage 
- Indicates whether this commitment plan will be moved into a suspended state if usage goes beyond the commitment plan's included quantities.
- ChargeFor boolOverage 
- Indicates whether usage beyond the commitment plan's included quantities will be charged.
- ChargeFor boolPlan 
- Indicates whether the commitment plan will incur a charge.
- CreationDate string
- The date at which this commitment plan was created, in ISO 8601 format.
- IncludedQuantities map[string]PlanQuantity Response 
- The included resource quantities this plan gives you.
- MaxAssociation intLimit 
- The maximum number of commitment associations that can be children of this commitment plan.
- MaxCapacity intLimit 
- The maximum scale-out capacity for this commitment plan.
- MinCapacity intLimit 
- The minimum scale-out capacity for this commitment plan.
- PlanMeter string
- The Azure meter which will be used to charge for this commitment plan.
- RefillFrequency intIn Days 
- The frequency at which this commitment plan's included quantities are refilled.
- SuspendPlan boolOn Overage 
- Indicates whether this commitment plan will be moved into a suspended state if usage goes beyond the commitment plan's included quantities.
- chargeFor BooleanOverage 
- Indicates whether usage beyond the commitment plan's included quantities will be charged.
- chargeFor BooleanPlan 
- Indicates whether the commitment plan will incur a charge.
- creationDate String
- The date at which this commitment plan was created, in ISO 8601 format.
- includedQuantities Map<String,PlanQuantity Response> 
- The included resource quantities this plan gives you.
- maxAssociation IntegerLimit 
- The maximum number of commitment associations that can be children of this commitment plan.
- maxCapacity IntegerLimit 
- The maximum scale-out capacity for this commitment plan.
- minCapacity IntegerLimit 
- The minimum scale-out capacity for this commitment plan.
- planMeter String
- The Azure meter which will be used to charge for this commitment plan.
- refillFrequency IntegerIn Days 
- The frequency at which this commitment plan's included quantities are refilled.
- suspendPlan BooleanOn Overage 
- Indicates whether this commitment plan will be moved into a suspended state if usage goes beyond the commitment plan's included quantities.
- chargeFor booleanOverage 
- Indicates whether usage beyond the commitment plan's included quantities will be charged.
- chargeFor booleanPlan 
- Indicates whether the commitment plan will incur a charge.
- creationDate string
- The date at which this commitment plan was created, in ISO 8601 format.
- includedQuantities {[key: string]: PlanQuantity Response} 
- The included resource quantities this plan gives you.
- maxAssociation numberLimit 
- The maximum number of commitment associations that can be children of this commitment plan.
- maxCapacity numberLimit 
- The maximum scale-out capacity for this commitment plan.
- minCapacity numberLimit 
- The minimum scale-out capacity for this commitment plan.
- planMeter string
- The Azure meter which will be used to charge for this commitment plan.
- refillFrequency numberIn Days 
- The frequency at which this commitment plan's included quantities are refilled.
- suspendPlan booleanOn Overage 
- Indicates whether this commitment plan will be moved into a suspended state if usage goes beyond the commitment plan's included quantities.
- charge_for_ booloverage 
- Indicates whether usage beyond the commitment plan's included quantities will be charged.
- charge_for_ boolplan 
- Indicates whether the commitment plan will incur a charge.
- creation_date str
- The date at which this commitment plan was created, in ISO 8601 format.
- included_quantities Mapping[str, PlanQuantity Response] 
- The included resource quantities this plan gives you.
- max_association_ intlimit 
- The maximum number of commitment associations that can be children of this commitment plan.
- max_capacity_ intlimit 
- The maximum scale-out capacity for this commitment plan.
- min_capacity_ intlimit 
- The minimum scale-out capacity for this commitment plan.
- plan_meter str
- The Azure meter which will be used to charge for this commitment plan.
- refill_frequency_ intin_ days 
- The frequency at which this commitment plan's included quantities are refilled.
- suspend_plan_ boolon_ overage 
- Indicates whether this commitment plan will be moved into a suspended state if usage goes beyond the commitment plan's included quantities.
- chargeFor BooleanOverage 
- Indicates whether usage beyond the commitment plan's included quantities will be charged.
- chargeFor BooleanPlan 
- Indicates whether the commitment plan will incur a charge.
- creationDate String
- The date at which this commitment plan was created, in ISO 8601 format.
- includedQuantities Map<Property Map>
- The included resource quantities this plan gives you.
- maxAssociation NumberLimit 
- The maximum number of commitment associations that can be children of this commitment plan.
- maxCapacity NumberLimit 
- The maximum scale-out capacity for this commitment plan.
- minCapacity NumberLimit 
- The minimum scale-out capacity for this commitment plan.
- planMeter String
- The Azure meter which will be used to charge for this commitment plan.
- refillFrequency NumberIn Days 
- The frequency at which this commitment plan's included quantities are refilled.
- suspendPlan BooleanOn Overage 
- Indicates whether this commitment plan will be moved into a suspended state if usage goes beyond the commitment plan's included quantities.
PlanQuantityResponse, PlanQuantityResponseArgs      
- Allowance double
- The quantity added to the commitment plan at an interval specified by its allowance frequency.
- Amount double
- The quantity available to the plan the last time usage was calculated.
- IncludedQuantity stringMeter 
- The Azure meter for usage against included quantities.
- OverageMeter string
- The Azure meter for usage which exceeds included quantities.
- Allowance float64
- The quantity added to the commitment plan at an interval specified by its allowance frequency.
- Amount float64
- The quantity available to the plan the last time usage was calculated.
- IncludedQuantity stringMeter 
- The Azure meter for usage against included quantities.
- OverageMeter string
- The Azure meter for usage which exceeds included quantities.
- allowance Double
- The quantity added to the commitment plan at an interval specified by its allowance frequency.
- amount Double
- The quantity available to the plan the last time usage was calculated.
- includedQuantity StringMeter 
- The Azure meter for usage against included quantities.
- overageMeter String
- The Azure meter for usage which exceeds included quantities.
- allowance number
- The quantity added to the commitment plan at an interval specified by its allowance frequency.
- amount number
- The quantity available to the plan the last time usage was calculated.
- includedQuantity stringMeter 
- The Azure meter for usage against included quantities.
- overageMeter string
- The Azure meter for usage which exceeds included quantities.
- allowance float
- The quantity added to the commitment plan at an interval specified by its allowance frequency.
- amount float
- The quantity available to the plan the last time usage was calculated.
- included_quantity_ strmeter 
- The Azure meter for usage against included quantities.
- overage_meter str
- The Azure meter for usage which exceeds included quantities.
- allowance Number
- The quantity added to the commitment plan at an interval specified by its allowance frequency.
- amount Number
- The quantity available to the plan the last time usage was calculated.
- includedQuantity StringMeter 
- The Azure meter for usage against included quantities.
- overageMeter String
- The Azure meter for usage which exceeds included quantities.
ResourceSku, ResourceSkuArgs    
ResourceSkuResponse, ResourceSkuResponseArgs      
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0