GetPricesPlainArgs

data class GetPricesPlainArgs(val desireAttributes: Map<String, String>? = null, val outputFile: String? = null, val product: String, val resourceCode: String) : ConvertibleToJava<GetPricesPlainArgs>

A collection of arguments for invoking getPrices.

Constructors

Link copied to clipboard
constructor(desireAttributes: Map<String, String>? = null, outputFile: String? = null, product: String, resourceCode: String)

Properties

Link copied to clipboard

This property represent the detailed configuration of the Resource which you are going to get price. Give same content as DesireAttributes of the 'Resource' Resource when start Create operation. 'PaymentType' is necessary when in DesireAttributes. Here is a probably example when you get the price of SLB LoadBalancer:```json{"LoadBalancerName": "cc-test","Bandwidth": 6,"PaymentType": "PayAsYouGo","AddressType": "internet","LoadBalancerSpec": "slb.s3.small","InternetChargeType": "paybybandwidth"} See DesireAttributes below. @property outputFile File name where to save data source results (after running pulumi preview). @property product The product Code represents the product to be operated. Currently supported products and resources can be queried at the following link: supported-services-and-resource-types. @property resourceCode Resource Code, if there is a parent resource, split with ::, such as VPC::VSwitch. The supported resource Code can be obtained from the following link: supported-services-and-resource-types.

Link copied to clipboard
val outputFile: String? = null
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toJava(): GetPricesPlainArgs