pricingcards#
- async idem_vra.exec.vra.catalog.pricingcards.create_policy_using_post2(hub, ctx, **kwargs)[source]#
- Create a new pricing card Create a new pricing card based on request body and validate its field
according to business rules. Performs POST /price/api/private/pricing-cards
- Parameters:
apiVersion (string) – (optional in query) The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version.
chargeModel (string) – (optional in body)
createdAt (string) – (optional in body)
createdBy (string) – (optional in body)
description (string) – (optional in body)
fixedPrice (Any) – (optional in body)
id (string) – (optional in body)
lastUpdatedAt (string) – (optional in body)
meteringItems (array) – (optional in body)
name (string) – (optional in body)
namedMeteringItems (array) – (optional in body)
oneTimeMeteringItems (array) – (optional in body)
orgId (string) – (optional in body)
pricingCardAssignmentInfo (Any) – (optional in body)
tagBasedMeteringItems (array) – (optional in body)
tagBasedOneTimeMeteringItems (array) – (optional in body)
tagBasedRateFactorItems (array) – (optional in body)
- async idem_vra.exec.vra.catalog.pricingcards.delete_policy_using_delete4(hub, ctx, p_id, **kwargs)[source]#
Delete the pricing card with specified Id Deletes the pricing card with the specified id Performs DELETE /price/api/private/pricing-cards/{id}
- Parameters:
p_id (string) – (required in path) pricing card Id
apiVersion (string) – (optional in query) The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version.
- async idem_vra.exec.vra.catalog.pricingcards.get_policies_using_get4(hub, ctx, **kwargs)[source]#
Fetch all pricing cards for private-policy cloud Returns a paginated list of pricing cards Performs GET /price/api/private/pricing-cards
- Parameters:
orderby (array) – (optional in query) Sorting criteria in the format: property (asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
skip (integer) – (optional in query) Number of records you want to skip
top (integer) – (optional in query) Number of records you want
apiVersion (string) – (optional in query) The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version.
expandAssignmentInfo (boolean) – (optional in query) Whether or not returns count of assignments.
expandPricingCard (boolean) – (optional in query) Whether or not returns detailed pricing card for each result.
search (string) – (optional in query) Search by name and description
- async idem_vra.exec.vra.catalog.pricingcards.get_policy_using_get4(hub, ctx, p_id, **kwargs)[source]#
Find the pricing card with specified Id Returns the pricing card with the specified id Performs GET /price/api/private/pricing-cards/{id}
- Parameters:
p_id (string) – (required in path) pricing card Id
apiVersion (string) – (optional in query) The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version.
- async idem_vra.exec.vra.catalog.pricingcards.update_policy_using_put2(hub, ctx, p_id, **kwargs)[source]#
Update the pricing card Updates the pricing card with the specified Id Performs PUT /price/api/private/pricing-cards/{id}
- Parameters:
p_id (string) – (required in path) pricing card Id
apiVersion (string) – (optional in query) The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version.
chargeModel (string) – (optional in body)
createdAt (string) – (optional in body)
createdBy (string) – (optional in body)
description (string) – (optional in body)
fixedPrice (Any) – (optional in body)
id (string) – (optional in body)
lastUpdatedAt (string) – (optional in body)
meteringItems (array) – (optional in body)
name (string) – (optional in body)
namedMeteringItems (array) – (optional in body)
oneTimeMeteringItems (array) – (optional in body)
orgId (string) – (optional in body)
pricingCardAssignmentInfo (Any) – (optional in body)
tagBasedMeteringItems (array) – (optional in body)
tagBasedOneTimeMeteringItems (array) – (optional in body)
tagBasedRateFactorItems (array) – (optional in body)