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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.machinelearning.getCommitmentPlan
Explore with Pulumi AI
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Retrieve an Azure ML commitment plan by its subscription, resource group and name. Azure REST API version: 2016-05-01-preview.
Using getCommitmentPlan
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCommitmentPlan(args: GetCommitmentPlanArgs, opts?: InvokeOptions): Promise<GetCommitmentPlanResult>
function getCommitmentPlanOutput(args: GetCommitmentPlanOutputArgs, opts?: InvokeOptions): Output<GetCommitmentPlanResult>def get_commitment_plan(commitment_plan_name: Optional[str] = None,
                        resource_group_name: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetCommitmentPlanResult
def get_commitment_plan_output(commitment_plan_name: Optional[pulumi.Input[str]] = None,
                        resource_group_name: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetCommitmentPlanResult]func LookupCommitmentPlan(ctx *Context, args *LookupCommitmentPlanArgs, opts ...InvokeOption) (*LookupCommitmentPlanResult, error)
func LookupCommitmentPlanOutput(ctx *Context, args *LookupCommitmentPlanOutputArgs, opts ...InvokeOption) LookupCommitmentPlanResultOutput> Note: This function is named LookupCommitmentPlan in the Go SDK.
public static class GetCommitmentPlan 
{
    public static Task<GetCommitmentPlanResult> InvokeAsync(GetCommitmentPlanArgs args, InvokeOptions? opts = null)
    public static Output<GetCommitmentPlanResult> Invoke(GetCommitmentPlanInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCommitmentPlanResult> getCommitmentPlan(GetCommitmentPlanArgs args, InvokeOptions options)
public static Output<GetCommitmentPlanResult> getCommitmentPlan(GetCommitmentPlanArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:machinelearning:getCommitmentPlan
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CommitmentPlan stringName 
- The Azure ML commitment plan name.
- ResourceGroup stringName 
- The resource group name.
- CommitmentPlan stringName 
- The Azure ML commitment plan name.
- ResourceGroup stringName 
- The resource group name.
- commitmentPlan StringName 
- The Azure ML commitment plan name.
- resourceGroup StringName 
- The resource group name.
- commitmentPlan stringName 
- The Azure ML commitment plan name.
- resourceGroup stringName 
- The resource group name.
- commitment_plan_ strname 
- The Azure ML commitment plan name.
- resource_group_ strname 
- The resource group name.
- commitmentPlan StringName 
- The Azure ML commitment plan name.
- resourceGroup StringName 
- The resource group name.
getCommitmentPlan Result
The following output properties are available:
- Id string
- Resource Id.
- Location string
- Resource location.
- 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.
- Sku
Pulumi.Azure Native. Machine Learning. Outputs. Resource Sku Response 
- The commitment plan SKU.
- Dictionary<string, string>
- User-defined tags for the resource.
- Id string
- Resource Id.
- Location string
- Resource location.
- 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.
- Sku
ResourceSku Response 
- The commitment plan SKU.
- map[string]string
- User-defined tags for the resource.
- id String
- Resource Id.
- location String
- Resource location.
- 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.
- sku
ResourceSku Response 
- The commitment plan SKU.
- Map<String,String>
- User-defined tags for the resource.
- id string
- Resource Id.
- location string
- Resource location.
- 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.
- sku
ResourceSku Response 
- The commitment plan SKU.
- {[key: string]: string}
- User-defined tags for the resource.
- id str
- Resource Id.
- location str
- Resource location.
- 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.
- sku
ResourceSku Response 
- The commitment plan SKU.
- Mapping[str, str]
- User-defined tags for the resource.
- id String
- Resource Id.
- location String
- Resource location.
- 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.
- sku Property Map
- The commitment plan SKU.
- Map<String>
- User-defined tags for the resource.
Supporting Types
CommitmentPlanPropertiesResponse   
- 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  
- 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.
ResourceSkuResponse  
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi