pricingcardassignments#

async idem_vra.exec.vra.catalog.pricingcardassignments.change_metering_assignment_strategy_using_patch2(hub, ctx, **kwargs)[source]#

Updates the pricing card assignment strategy for the Org. Performs PATCH /price/api/private/pricing-card-assignments/strategy

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.

  • entityType (string) – (optional in body) Metering Policy Assignment entityType(Strategy)

async idem_vra.exec.vra.catalog.pricingcardassignments.create_metering_assignment_strategy_using_post2(hub, ctx, **kwargs)[source]#
Selecting the new pricing card assignment strategy,PROJECT or CLOUDZONE are

possible values can be used while creating strategy. Also there can be only one strategy for a given org at a given point of time Create a new pricing card assignment strategy based on request body and validate its field according to business rules. Performs POST /price/api/private/pricing-card-assignments/strategy

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.

  • entityType (string) – (optional in body) Metering Policy Assignment entityType(Strategy)

async idem_vra.exec.vra.catalog.pricingcardassignments.create_metering_policy_assignment_using_post2(hub, ctx, **kwargs)[source]#
Create a new pricing card assignment Create a new pricing card policy assignment based on request body and validate

its field according to business rules. Request body with ALL entityType will delete the older assignments for the given pricingCardId Performs POST /price/api/private/pricing-card-assignments

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.

  • createdAt (string) – (optional in body) Creation time

  • entityId (string) – (optional in body) Pricing card assigned entity id

  • entityName (string) – (optional in body) Pricing card assigned entity name

  • entityType (string) – (optional in body) Pricing card assigned entity type

  • id (string) – (optional in body) Id of the pricingCardAssignment

  • lastUpdatedAt (string) – (optional in body) Updated time

  • orgId (string) – (optional in body) OrgId of the pricingCardAssignment

  • pricingCardId (string) – (optional in body) Pricing card id

  • pricingCardName (string) – (optional in body) Pricing card name

async idem_vra.exec.vra.catalog.pricingcardassignments.delete_metering_policy_assignment_using_delete2(hub, ctx, p_id, **kwargs)[source]#

Delete the pricing card assignment with specified id Deletes the pricing card assignment with the specified id Performs DELETE /price/api/private/pricing-card-assignments/{id}

Parameters:
  • p_id (string) – (required in path) pricing card Assignment 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.pricingcardassignments.get_all_metering_policy_assignments_using_get2(hub, ctx, **kwargs)[source]#

Fetch all pricing card assignment for private cloud Returns a paginated list of pricing card assignments Performs GET /price/api/private/pricing-card-assignments

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.

  • refreshEntities (boolean) – (optional in query) Search by name and description

async idem_vra.exec.vra.catalog.pricingcardassignments.get_metering_assignment_strategy_using_get2(hub, ctx, **kwargs)[source]#

Fetch pricing card assignment strategy for the Org Returns a pricing card assignment strategy for the Org Performs GET /price/api/private/pricing-card-assignments/strategy

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.

async idem_vra.exec.vra.catalog.pricingcardassignments.get_metering_policy_assignment_using_get2(hub, ctx, p_id, **kwargs)[source]#

Fetch pricing card assignment for private cloud by id Returns a pricing card assignments by id Performs GET /price/api/private/pricing-card-assignments/{id}

Parameters:
  • p_id (string) – (required in path) pricing card assignment 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.pricingcardassignments.patch_metering_policy_assignment_using_patch2(hub, ctx, p_id, **kwargs)[source]#
Updates the pricing card assignment id with the supplied id. Request body with

ALL entityType will delete the older assignments for the given pricingCardId Performs PATCH /price/api/private/pricing-card-assignments/{id}

Parameters:
  • p_id (string) – (required in path) pricing card Assignment 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.

  • createdAt (string) – (optional in body) Creation time

  • entityId (string) – (optional in body) Pricing card assigned entity id

  • entityName (string) – (optional in body) Pricing card assigned entity name

  • entityType (string) – (optional in body) Pricing card assigned entity type

  • id (string) – (optional in body) Id of the pricingCardAssignment

  • lastUpdatedAt (string) – (optional in body) Updated time

  • orgId (string) – (optional in body) OrgId of the pricingCardAssignment

  • pricingCardId (string) – (optional in body) Pricing card id

  • pricingCardName (string) – (optional in body) Pricing card name