Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.apigee/v1.getRatePlan
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Gets the details of a rate plan.
Using getRatePlan
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 getRatePlan(args: GetRatePlanArgs, opts?: InvokeOptions): Promise<GetRatePlanResult>
function getRatePlanOutput(args: GetRatePlanOutputArgs, opts?: InvokeOptions): Output<GetRatePlanResult>def get_rate_plan(apiproduct_id: Optional[str] = None,
                  organization_id: Optional[str] = None,
                  rateplan_id: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetRatePlanResult
def get_rate_plan_output(apiproduct_id: Optional[pulumi.Input[str]] = None,
                  organization_id: Optional[pulumi.Input[str]] = None,
                  rateplan_id: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetRatePlanResult]func LookupRatePlan(ctx *Context, args *LookupRatePlanArgs, opts ...InvokeOption) (*LookupRatePlanResult, error)
func LookupRatePlanOutput(ctx *Context, args *LookupRatePlanOutputArgs, opts ...InvokeOption) LookupRatePlanResultOutput> Note: This function is named LookupRatePlan in the Go SDK.
public static class GetRatePlan 
{
    public static Task<GetRatePlanResult> InvokeAsync(GetRatePlanArgs args, InvokeOptions? opts = null)
    public static Output<GetRatePlanResult> Invoke(GetRatePlanInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRatePlanResult> getRatePlan(GetRatePlanArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: google-native:apigee/v1:getRatePlan
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ApiproductId string
- OrganizationId string
- RateplanId string
- ApiproductId string
- OrganizationId string
- RateplanId string
- apiproductId String
- organizationId String
- rateplanId String
- apiproductId string
- organizationId string
- rateplanId string
- apiproduct_id str
- organization_id str
- rateplan_id str
- apiproductId String
- organizationId String
- rateplanId String
getRatePlan Result
The following output properties are available:
- Apiproduct string
- Name of the API product that the rate plan is associated with.
- BillingPeriod string
- Frequency at which the customer will be billed.
- ConsumptionPricing List<Pulumi.Rates Google Native. Apigee. V1. Outputs. Google Cloud Apigee V1Rate Range Response> 
- API call volume ranges and the fees charged when the total number of API calls is within a given range. The method used to calculate the final fee depends on the selected pricing model. For example, if the pricing model is STAIRSTEPand the ranges are defined as follows:{ "start": 1, "end": 100, "fee": 75 }, { "start": 101, "end": 200, "fee": 100 }, }Then the following fees would be charged based on the total number of API calls (assuming the currency selected isUSD): * 1 call costs $75 * 50 calls cost $75 * 150 calls cost $100 The number of API calls cannot exceed 200.
- ConsumptionPricing stringType 
- Pricing model used for consumption-based charges.
- CreatedAt string
- Time that the rate plan was created in milliseconds since epoch.
- CurrencyCode string
- Currency to be used for billing. Consists of a three-letter code as defined by the ISO 4217 standard.
- Description string
- Description of the rate plan.
- DisplayName string
- Display name of the rate plan.
- EndTime string
- Time when the rate plan will expire in milliseconds since epoch. Set to 0 or nullto indicate that the rate plan should never expire.
- FixedFee intFrequency 
- Frequency at which the fixed fee is charged.
- FixedRecurring Pulumi.Fee Google Native. Apigee. V1. Outputs. Google Type Money Response 
- Fixed amount that is charged at a defined interval and billed in advance of use of the API product. The fee will be prorated for the first billing period.
- LastModified stringAt 
- Time the rate plan was last modified in milliseconds since epoch.
- Name string
- Name of the rate plan.
- PaymentFunding stringModel 
- DEPRECATED: This field is no longer supported and will eventually be removed when Apigee Hybrid 1.5/1.6 is no longer supported. Instead, use the billingTypefield insideDeveloperMonetizationConfigresource. Flag that specifies the billing account type, prepaid or postpaid.
- 
List<Pulumi.Google Native. Apigee. V1. Outputs. Google Cloud Apigee V1Revenue Share Range Response> 
- Details of the revenue sharing model.
- string
- Method used to calculate the revenue that is shared with developers.
- SetupFee Pulumi.Google Native. Apigee. V1. Outputs. Google Type Money Response 
- Initial, one-time fee paid when purchasing the API product.
- StartTime string
- Time when the rate plan becomes active in milliseconds since epoch.
- State string
- Current state of the rate plan (draft or published).
- Apiproduct string
- Name of the API product that the rate plan is associated with.
- BillingPeriod string
- Frequency at which the customer will be billed.
- ConsumptionPricing []GoogleRates Cloud Apigee V1Rate Range Response 
- API call volume ranges and the fees charged when the total number of API calls is within a given range. The method used to calculate the final fee depends on the selected pricing model. For example, if the pricing model is STAIRSTEPand the ranges are defined as follows:{ "start": 1, "end": 100, "fee": 75 }, { "start": 101, "end": 200, "fee": 100 }, }Then the following fees would be charged based on the total number of API calls (assuming the currency selected isUSD): * 1 call costs $75 * 50 calls cost $75 * 150 calls cost $100 The number of API calls cannot exceed 200.
- ConsumptionPricing stringType 
- Pricing model used for consumption-based charges.
- CreatedAt string
- Time that the rate plan was created in milliseconds since epoch.
- CurrencyCode string
- Currency to be used for billing. Consists of a three-letter code as defined by the ISO 4217 standard.
- Description string
- Description of the rate plan.
- DisplayName string
- Display name of the rate plan.
- EndTime string
- Time when the rate plan will expire in milliseconds since epoch. Set to 0 or nullto indicate that the rate plan should never expire.
- FixedFee intFrequency 
- Frequency at which the fixed fee is charged.
- FixedRecurring GoogleFee Type Money Response 
- Fixed amount that is charged at a defined interval and billed in advance of use of the API product. The fee will be prorated for the first billing period.
- LastModified stringAt 
- Time the rate plan was last modified in milliseconds since epoch.
- Name string
- Name of the rate plan.
- PaymentFunding stringModel 
- DEPRECATED: This field is no longer supported and will eventually be removed when Apigee Hybrid 1.5/1.6 is no longer supported. Instead, use the billingTypefield insideDeveloperMonetizationConfigresource. Flag that specifies the billing account type, prepaid or postpaid.
- 
[]GoogleCloud Apigee V1Revenue Share Range Response 
- Details of the revenue sharing model.
- string
- Method used to calculate the revenue that is shared with developers.
- SetupFee GoogleType Money Response 
- Initial, one-time fee paid when purchasing the API product.
- StartTime string
- Time when the rate plan becomes active in milliseconds since epoch.
- State string
- Current state of the rate plan (draft or published).
- apiproduct String
- Name of the API product that the rate plan is associated with.
- billingPeriod String
- Frequency at which the customer will be billed.
- consumptionPricing List<GoogleRates Cloud Apigee V1Rate Range Response> 
- API call volume ranges and the fees charged when the total number of API calls is within a given range. The method used to calculate the final fee depends on the selected pricing model. For example, if the pricing model is STAIRSTEPand the ranges are defined as follows:{ "start": 1, "end": 100, "fee": 75 }, { "start": 101, "end": 200, "fee": 100 }, }Then the following fees would be charged based on the total number of API calls (assuming the currency selected isUSD): * 1 call costs $75 * 50 calls cost $75 * 150 calls cost $100 The number of API calls cannot exceed 200.
- consumptionPricing StringType 
- Pricing model used for consumption-based charges.
- createdAt String
- Time that the rate plan was created in milliseconds since epoch.
- currencyCode String
- Currency to be used for billing. Consists of a three-letter code as defined by the ISO 4217 standard.
- description String
- Description of the rate plan.
- displayName String
- Display name of the rate plan.
- endTime String
- Time when the rate plan will expire in milliseconds since epoch. Set to 0 or nullto indicate that the rate plan should never expire.
- fixedFee IntegerFrequency 
- Frequency at which the fixed fee is charged.
- fixedRecurring GoogleFee Type Money Response 
- Fixed amount that is charged at a defined interval and billed in advance of use of the API product. The fee will be prorated for the first billing period.
- lastModified StringAt 
- Time the rate plan was last modified in milliseconds since epoch.
- name String
- Name of the rate plan.
- paymentFunding StringModel 
- DEPRECATED: This field is no longer supported and will eventually be removed when Apigee Hybrid 1.5/1.6 is no longer supported. Instead, use the billingTypefield insideDeveloperMonetizationConfigresource. Flag that specifies the billing account type, prepaid or postpaid.
- 
List<GoogleCloud Apigee V1Revenue Share Range Response> 
- Details of the revenue sharing model.
- String
- Method used to calculate the revenue that is shared with developers.
- setupFee GoogleType Money Response 
- Initial, one-time fee paid when purchasing the API product.
- startTime String
- Time when the rate plan becomes active in milliseconds since epoch.
- state String
- Current state of the rate plan (draft or published).
- apiproduct string
- Name of the API product that the rate plan is associated with.
- billingPeriod string
- Frequency at which the customer will be billed.
- consumptionPricing GoogleRates Cloud Apigee V1Rate Range Response[] 
- API call volume ranges and the fees charged when the total number of API calls is within a given range. The method used to calculate the final fee depends on the selected pricing model. For example, if the pricing model is STAIRSTEPand the ranges are defined as follows:{ "start": 1, "end": 100, "fee": 75 }, { "start": 101, "end": 200, "fee": 100 }, }Then the following fees would be charged based on the total number of API calls (assuming the currency selected isUSD): * 1 call costs $75 * 50 calls cost $75 * 150 calls cost $100 The number of API calls cannot exceed 200.
- consumptionPricing stringType 
- Pricing model used for consumption-based charges.
- createdAt string
- Time that the rate plan was created in milliseconds since epoch.
- currencyCode string
- Currency to be used for billing. Consists of a three-letter code as defined by the ISO 4217 standard.
- description string
- Description of the rate plan.
- displayName string
- Display name of the rate plan.
- endTime string
- Time when the rate plan will expire in milliseconds since epoch. Set to 0 or nullto indicate that the rate plan should never expire.
- fixedFee numberFrequency 
- Frequency at which the fixed fee is charged.
- fixedRecurring GoogleFee Type Money Response 
- Fixed amount that is charged at a defined interval and billed in advance of use of the API product. The fee will be prorated for the first billing period.
- lastModified stringAt 
- Time the rate plan was last modified in milliseconds since epoch.
- name string
- Name of the rate plan.
- paymentFunding stringModel 
- DEPRECATED: This field is no longer supported and will eventually be removed when Apigee Hybrid 1.5/1.6 is no longer supported. Instead, use the billingTypefield insideDeveloperMonetizationConfigresource. Flag that specifies the billing account type, prepaid or postpaid.
- 
GoogleCloud Apigee V1Revenue Share Range Response[] 
- Details of the revenue sharing model.
- string
- Method used to calculate the revenue that is shared with developers.
- setupFee GoogleType Money Response 
- Initial, one-time fee paid when purchasing the API product.
- startTime string
- Time when the rate plan becomes active in milliseconds since epoch.
- state string
- Current state of the rate plan (draft or published).
- apiproduct str
- Name of the API product that the rate plan is associated with.
- billing_period str
- Frequency at which the customer will be billed.
- consumption_pricing_ Sequence[Googlerates Cloud Apigee V1Rate Range Response] 
- API call volume ranges and the fees charged when the total number of API calls is within a given range. The method used to calculate the final fee depends on the selected pricing model. For example, if the pricing model is STAIRSTEPand the ranges are defined as follows:{ "start": 1, "end": 100, "fee": 75 }, { "start": 101, "end": 200, "fee": 100 }, }Then the following fees would be charged based on the total number of API calls (assuming the currency selected isUSD): * 1 call costs $75 * 50 calls cost $75 * 150 calls cost $100 The number of API calls cannot exceed 200.
- consumption_pricing_ strtype 
- Pricing model used for consumption-based charges.
- created_at str
- Time that the rate plan was created in milliseconds since epoch.
- currency_code str
- Currency to be used for billing. Consists of a three-letter code as defined by the ISO 4217 standard.
- description str
- Description of the rate plan.
- display_name str
- Display name of the rate plan.
- end_time str
- Time when the rate plan will expire in milliseconds since epoch. Set to 0 or nullto indicate that the rate plan should never expire.
- fixed_fee_ intfrequency 
- Frequency at which the fixed fee is charged.
- fixed_recurring_ Googlefee Type Money Response 
- Fixed amount that is charged at a defined interval and billed in advance of use of the API product. The fee will be prorated for the first billing period.
- last_modified_ strat 
- Time the rate plan was last modified in milliseconds since epoch.
- name str
- Name of the rate plan.
- payment_funding_ strmodel 
- DEPRECATED: This field is no longer supported and will eventually be removed when Apigee Hybrid 1.5/1.6 is no longer supported. Instead, use the billingTypefield insideDeveloperMonetizationConfigresource. Flag that specifies the billing account type, prepaid or postpaid.
- 
Sequence[GoogleCloud Apigee V1Revenue Share Range Response] 
- Details of the revenue sharing model.
- str
- Method used to calculate the revenue that is shared with developers.
- setup_fee GoogleType Money Response 
- Initial, one-time fee paid when purchasing the API product.
- start_time str
- Time when the rate plan becomes active in milliseconds since epoch.
- state str
- Current state of the rate plan (draft or published).
- apiproduct String
- Name of the API product that the rate plan is associated with.
- billingPeriod String
- Frequency at which the customer will be billed.
- consumptionPricing List<Property Map>Rates 
- API call volume ranges and the fees charged when the total number of API calls is within a given range. The method used to calculate the final fee depends on the selected pricing model. For example, if the pricing model is STAIRSTEPand the ranges are defined as follows:{ "start": 1, "end": 100, "fee": 75 }, { "start": 101, "end": 200, "fee": 100 }, }Then the following fees would be charged based on the total number of API calls (assuming the currency selected isUSD): * 1 call costs $75 * 50 calls cost $75 * 150 calls cost $100 The number of API calls cannot exceed 200.
- consumptionPricing StringType 
- Pricing model used for consumption-based charges.
- createdAt String
- Time that the rate plan was created in milliseconds since epoch.
- currencyCode String
- Currency to be used for billing. Consists of a three-letter code as defined by the ISO 4217 standard.
- description String
- Description of the rate plan.
- displayName String
- Display name of the rate plan.
- endTime String
- Time when the rate plan will expire in milliseconds since epoch. Set to 0 or nullto indicate that the rate plan should never expire.
- fixedFee NumberFrequency 
- Frequency at which the fixed fee is charged.
- fixedRecurring Property MapFee 
- Fixed amount that is charged at a defined interval and billed in advance of use of the API product. The fee will be prorated for the first billing period.
- lastModified StringAt 
- Time the rate plan was last modified in milliseconds since epoch.
- name String
- Name of the rate plan.
- paymentFunding StringModel 
- DEPRECATED: This field is no longer supported and will eventually be removed when Apigee Hybrid 1.5/1.6 is no longer supported. Instead, use the billingTypefield insideDeveloperMonetizationConfigresource. Flag that specifies the billing account type, prepaid or postpaid.
- List<Property Map>
- Details of the revenue sharing model.
- String
- Method used to calculate the revenue that is shared with developers.
- setupFee Property Map
- Initial, one-time fee paid when purchasing the API product.
- startTime String
- Time when the rate plan becomes active in milliseconds since epoch.
- state String
- Current state of the rate plan (draft or published).
Supporting Types
GoogleCloudApigeeV1RateRangeResponse     
- End string
- Ending value of the range. Set to 0 or nullfor the last range of values.
- Fee
Pulumi.Google Native. Apigee. V1. Inputs. Google Type Money Response 
- Fee to charge when total number of API calls falls within this range.
- Start string
- Starting value of the range. Set to 0 or nullfor the initial range of values.
- End string
- Ending value of the range. Set to 0 or nullfor the last range of values.
- Fee
GoogleType Money Response 
- Fee to charge when total number of API calls falls within this range.
- Start string
- Starting value of the range. Set to 0 or nullfor the initial range of values.
- end String
- Ending value of the range. Set to 0 or nullfor the last range of values.
- fee
GoogleType Money Response 
- Fee to charge when total number of API calls falls within this range.
- start String
- Starting value of the range. Set to 0 or nullfor the initial range of values.
- end string
- Ending value of the range. Set to 0 or nullfor the last range of values.
- fee
GoogleType Money Response 
- Fee to charge when total number of API calls falls within this range.
- start string
- Starting value of the range. Set to 0 or nullfor the initial range of values.
- end str
- Ending value of the range. Set to 0 or nullfor the last range of values.
- fee
GoogleType Money Response 
- Fee to charge when total number of API calls falls within this range.
- start str
- Starting value of the range. Set to 0 or nullfor the initial range of values.
- end String
- Ending value of the range. Set to 0 or nullfor the last range of values.
- fee Property Map
- Fee to charge when total number of API calls falls within this range.
- start String
- Starting value of the range. Set to 0 or nullfor the initial range of values.
GoogleCloudApigeeV1RevenueShareRangeResponse      
- End string
- Ending value of the range. Set to 0 or nullfor the last range of values.
- double
- Percentage of the revenue to be shared with the developer. For example, to share 21 percent of the total revenue with the developer, set this value to 21. Specify a decimal number with a maximum of two digits following the decimal point.
- Start string
- Starting value of the range. Set to 0 or nullfor the initial range of values.
- End string
- Ending value of the range. Set to 0 or nullfor the last range of values.
- float64
- Percentage of the revenue to be shared with the developer. For example, to share 21 percent of the total revenue with the developer, set this value to 21. Specify a decimal number with a maximum of two digits following the decimal point.
- Start string
- Starting value of the range. Set to 0 or nullfor the initial range of values.
- end String
- Ending value of the range. Set to 0 or nullfor the last range of values.
- Double
- Percentage of the revenue to be shared with the developer. For example, to share 21 percent of the total revenue with the developer, set this value to 21. Specify a decimal number with a maximum of two digits following the decimal point.
- start String
- Starting value of the range. Set to 0 or nullfor the initial range of values.
- end string
- Ending value of the range. Set to 0 or nullfor the last range of values.
- number
- Percentage of the revenue to be shared with the developer. For example, to share 21 percent of the total revenue with the developer, set this value to 21. Specify a decimal number with a maximum of two digits following the decimal point.
- start string
- Starting value of the range. Set to 0 or nullfor the initial range of values.
- end str
- Ending value of the range. Set to 0 or nullfor the last range of values.
- float
- Percentage of the revenue to be shared with the developer. For example, to share 21 percent of the total revenue with the developer, set this value to 21. Specify a decimal number with a maximum of two digits following the decimal point.
- start str
- Starting value of the range. Set to 0 or nullfor the initial range of values.
- end String
- Ending value of the range. Set to 0 or nullfor the last range of values.
- Number
- Percentage of the revenue to be shared with the developer. For example, to share 21 percent of the total revenue with the developer, set this value to 21. Specify a decimal number with a maximum of two digits following the decimal point.
- start String
- Starting value of the range. Set to 0 or nullfor the initial range of values.
GoogleTypeMoneyResponse   
- CurrencyCode string
- The three-letter currency code defined in ISO 4217.
- Nanos int
- Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If unitsis positive,nanosmust be positive or zero. Ifunitsis zero,nanoscan be positive, zero, or negative. Ifunitsis negative,nanosmust be negative or zero. For example $-1.75 is represented asunits=-1 andnanos=-750,000,000.
- Units string
- The whole units of the amount. For example if currencyCodeis"USD", then 1 unit is one US dollar.
- CurrencyCode string
- The three-letter currency code defined in ISO 4217.
- Nanos int
- Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If unitsis positive,nanosmust be positive or zero. Ifunitsis zero,nanoscan be positive, zero, or negative. Ifunitsis negative,nanosmust be negative or zero. For example $-1.75 is represented asunits=-1 andnanos=-750,000,000.
- Units string
- The whole units of the amount. For example if currencyCodeis"USD", then 1 unit is one US dollar.
- currencyCode String
- The three-letter currency code defined in ISO 4217.
- nanos Integer
- Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If unitsis positive,nanosmust be positive or zero. Ifunitsis zero,nanoscan be positive, zero, or negative. Ifunitsis negative,nanosmust be negative or zero. For example $-1.75 is represented asunits=-1 andnanos=-750,000,000.
- units String
- The whole units of the amount. For example if currencyCodeis"USD", then 1 unit is one US dollar.
- currencyCode string
- The three-letter currency code defined in ISO 4217.
- nanos number
- Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If unitsis positive,nanosmust be positive or zero. Ifunitsis zero,nanoscan be positive, zero, or negative. Ifunitsis negative,nanosmust be negative or zero. For example $-1.75 is represented asunits=-1 andnanos=-750,000,000.
- units string
- The whole units of the amount. For example if currencyCodeis"USD", then 1 unit is one US dollar.
- currency_code str
- The three-letter currency code defined in ISO 4217.
- nanos int
- Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If unitsis positive,nanosmust be positive or zero. Ifunitsis zero,nanoscan be positive, zero, or negative. Ifunitsis negative,nanosmust be negative or zero. For example $-1.75 is represented asunits=-1 andnanos=-750,000,000.
- units str
- The whole units of the amount. For example if currencyCodeis"USD", then 1 unit is one US dollar.
- currencyCode String
- The three-letter currency code defined in ISO 4217.
- nanos Number
- Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If unitsis positive,nanosmust be positive or zero. Ifunitsis zero,nanoscan be positive, zero, or negative. Ifunitsis negative,nanosmust be negative or zero. For example $-1.75 is represented asunits=-1 andnanos=-750,000,000.
- units String
- The whole units of the amount. For example if currencyCodeis"USD", then 1 unit is one US dollar.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi