pricingcards#

async idem_vra.states.vra.catalog.pricingcards.present(hub, ctx, name: str, **kwargs)[source]#
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.states.vra.catalog.pricingcards.absent(hub, ctx, name: str, **kwargs)[source]#
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.states.vra.catalog.pricingcards.describe(hub, ctx)[source]#
idem_vra.states.vra.catalog.pricingcards.is_pending(hub, ret: dict, state: str = None, **pending_kwargs)[source]#
class idem_vra.states.vra.catalog.pricingcards.PricingcardsState(hub, ctx)[source]#

Bases: object

async present(hub, ctx, name: str, **kwargs)[source]#
async absent(hub, ctx, name: str, **kwargs)[source]#
async describe(hub, ctx)[source]#
async paginate_find(hub, ctx, **kwargs)[source]#

Paginate through all resources using their ‘find’ method.

is_pending(hub, ret: dict, state: str = None, **pending_kwargs)[source]#

State reconciliation

async remap_resource_structure(hub, ctx, obj: dict) dict[source]#