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 dictionary
The following arguments are supported:
- Apiproduct
Id string - Organization
Id string - Rateplan
Id string
- Apiproduct
Id string - Organization
Id string - Rateplan
Id string
- apiproduct
Id String - organization
Id String - rateplan
Id String
- apiproduct
Id string - organization
Id string - rateplan
Id string
- apiproduct_
id str - organization_
id str - rateplan_
id str
- apiproduct
Id String - organization
Id String - rateplan
Id String
getRatePlan Result
The following output properties are available:
- Apiproduct string
- Name of the API product that the rate plan is associated with.
- Billing
Period string - Frequency at which the customer will be billed.
- Consumption
Pricing 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
STAIRSTEP
and 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 stringType - Pricing model used for consumption-based charges.
- Created
At string - Time that the rate plan was created in milliseconds since epoch.
- Currency
Code 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.
- Display
Name string - Display name of the rate plan.
- End
Time string - Time when the rate plan will expire in milliseconds since epoch. Set to 0 or
null
to indicate that the rate plan should never expire. - Fixed
Fee intFrequency - Frequency at which the fixed fee is charged.
- Fixed
Recurring 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.
- Last
Modified stringAt - Time the rate plan was last modified in milliseconds since epoch.
- Name string
- Name of the rate plan.
- Payment
Funding 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
billingType
field insideDeveloperMonetizationConfig
resource. 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.
- Setup
Fee Pulumi.Google Native. Apigee. V1. Outputs. Google Type Money Response - Initial, one-time fee paid when purchasing the API product.
- Start
Time 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.
- Billing
Period string - Frequency at which the customer will be billed.
- Consumption
Pricing []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
STAIRSTEP
and 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 stringType - Pricing model used for consumption-based charges.
- Created
At string - Time that the rate plan was created in milliseconds since epoch.
- Currency
Code 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.
- Display
Name string - Display name of the rate plan.
- End
Time string - Time when the rate plan will expire in milliseconds since epoch. Set to 0 or
null
to 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 stringAt - Time the rate plan was last modified in milliseconds since epoch.
- Name string
- Name of the rate plan.
- Payment
Funding 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
billingType
field insideDeveloperMonetizationConfig
resource. Flag that specifies the billing account type, prepaid or postpaid. - []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.
- Setup
Fee GoogleType Money Response - Initial, one-time fee paid when purchasing the API product.
- Start
Time 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.
- billing
Period String - Frequency at which the customer will be billed.
- consumption
Pricing 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
STAIRSTEP
and 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 StringType - Pricing model used for consumption-based charges.
- created
At String - Time that the rate plan was created in milliseconds since epoch.
- currency
Code 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.
- display
Name String - Display name of the rate plan.
- end
Time String - Time when the rate plan will expire in milliseconds since epoch. Set to 0 or
null
to indicate that the rate plan should never expire. - fixed
Fee IntegerFrequency - 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 StringAt - Time the rate plan was last modified in milliseconds since epoch.
- name String
- Name of the rate plan.
- payment
Funding 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
billingType
field insideDeveloperMonetizationConfig
resource. Flag that specifies the billing account type, prepaid or postpaid. - List<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.
- setup
Fee GoogleType Money Response - Initial, one-time fee paid when purchasing the API product.
- start
Time 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.
- billing
Period string - Frequency at which the customer will be billed.
- consumption
Pricing 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
STAIRSTEP
and 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 stringType - Pricing model used for consumption-based charges.
- created
At string - Time that the rate plan was created in milliseconds since epoch.
- currency
Code 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.
- display
Name string - Display name of the rate plan.
- end
Time string - Time when the rate plan will expire in milliseconds since epoch. Set to 0 or
null
to indicate that the rate plan should never expire. - fixed
Fee numberFrequency - 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 stringAt - Time the rate plan was last modified in milliseconds since epoch.
- name string
- Name of the rate plan.
- payment
Funding 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
billingType
field insideDeveloperMonetizationConfig
resource. Flag that specifies the billing account type, prepaid or postpaid. - 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.
- setup
Fee GoogleType Money Response - Initial, one-time fee paid when purchasing the API product.
- start
Time 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
STAIRSTEP
and 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
null
to 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
billingType
field insideDeveloperMonetizationConfig
resource. Flag that specifies the billing account type, prepaid or postpaid. - Sequence[Google
Cloud 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.
- billing
Period String - Frequency at which the customer will be billed.
- consumption
Pricing 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
STAIRSTEP
and 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 StringType - Pricing model used for consumption-based charges.
- created
At String - Time that the rate plan was created in milliseconds since epoch.
- currency
Code 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.
- display
Name String - Display name of the rate plan.
- end
Time String - Time when the rate plan will expire in milliseconds since epoch. Set to 0 or
null
to indicate that the rate plan should never expire. - fixed
Fee NumberFrequency - Frequency at which the fixed fee is charged.
- fixed
Recurring 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.
- last
Modified StringAt - Time the rate plan was last modified in milliseconds since epoch.
- name String
- Name of the rate plan.
- payment
Funding 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
billingType
field insideDeveloperMonetizationConfig
resource. 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.
- setup
Fee Property Map - Initial, one-time fee paid when purchasing the API product.
- start
Time 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
null
for 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
null
for the initial range of values.
- End string
- Ending value of the range. Set to 0 or
null
for the last range of values. - Fee
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
null
for the initial range of values.
- end String
- Ending value of the range. Set to 0 or
null
for the last range of values. - fee
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
null
for the initial range of values.
- end string
- Ending value of the range. Set to 0 or
null
for the last range of values. - fee
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
null
for the initial range of values.
- end str
- Ending value of the range. Set to 0 or
null
for the last range of values. - fee
Google
Type 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
null
for the initial range of values.
- end String
- Ending value of the range. Set to 0 or
null
for 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
null
for the initial range of values.
GoogleCloudApigeeV1RevenueShareRangeResponse
- End string
- Ending value of the range. Set to 0 or
null
for 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
null
for the initial range of values.
- End string
- Ending value of the range. Set to 0 or
null
for 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
null
for the initial range of values.
- end String
- Ending value of the range. Set to 0 or
null
for 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
null
for the initial range of values.
- end string
- Ending value of the range. Set to 0 or
null
for 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
null
for the initial range of values.
- end str
- Ending value of the range. Set to 0 or
null
for 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
null
for the initial range of values.
- end String
- Ending value of the range. Set to 0 or
null
for 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
null
for the initial range of values.
GoogleTypeMoneyResponse
- Currency
Code 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
units
is positive,nanos
must be positive or zero. Ifunits
is zero,nanos
can be positive, zero, or negative. Ifunits
is negative,nanos
must 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
currencyCode
is"USD"
, then 1 unit is one US dollar.
- Currency
Code 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
units
is positive,nanos
must be positive or zero. Ifunits
is zero,nanos
can be positive, zero, or negative. Ifunits
is negative,nanos
must 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
currencyCode
is"USD"
, then 1 unit is one US dollar.
- currency
Code 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
units
is positive,nanos
must be positive or zero. Ifunits
is zero,nanos
can be positive, zero, or negative. Ifunits
is negative,nanos
must 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
currencyCode
is"USD"
, then 1 unit is one US dollar.
- currency
Code 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
units
is positive,nanos
must be positive or zero. Ifunits
is zero,nanos
can be positive, zero, or negative. Ifunits
is negative,nanos
must 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
currencyCode
is"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
units
is positive,nanos
must be positive or zero. Ifunits
is zero,nanos
can be positive, zero, or negative. Ifunits
is negative,nanos
must 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
currencyCode
is"USD"
, then 1 unit is one US dollar.
- currency
Code 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
units
is positive,nanos
must be positive or zero. Ifunits
is zero,nanos
can be positive, zero, or negative. Ifunits
is negative,nanos
must 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
currencyCode
is"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