flavorprofile#
- async idem_vra.exec.vra.iaas.flavorprofile.create_flavor_profile(hub, ctx, regionId, name, flavorMapping, **kwargs)[source]#
Create flavor profile Create flavor profile Performs POST /iaas/api/flavor-profiles
- Parameters:
regionId (string) – (required in body) The id of the region for which this profile is created
name (string) – (required in body) A human-friendly name used as an identifier in APIs that support this option.
flavorMapping (object) – (required in body) Map between global fabric flavor keys <String> and fabric flavor descriptions <FabricFlavorDescription>
apiVersion (string) – (optional in query) The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
description (string) – (optional in body) A human-friendly description.
- async idem_vra.exec.vra.iaas.flavorprofile.delete_flavor_profile(hub, ctx, p_id, **kwargs)[source]#
Delete flavor profile Delete flavor profile with a given id Performs DELETE /iaas/api/flavor-profiles/{id}
- Parameters:
p_id (string) – (required in path) The ID of the flavor.
apiVersion (string) – (optional in query) The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
- async idem_vra.exec.vra.iaas.flavorprofile.get_flavor_profile(hub, ctx, p_id, **kwargs)[source]#
Get flavor profile Get flavor profile with a given id Performs GET /iaas/api/flavor-profiles/{id}
- Parameters:
p_id (string) – (required in path) The ID of the flavor.
apiVersion (string) – (optional in query) The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
- async idem_vra.exec.vra.iaas.flavorprofile.get_flavor_profiles(hub, ctx, **kwargs)[source]#
Get flavor profile Get all flavor profile Performs GET /iaas/api/flavor-profiles
- Parameters:
apiVersion (string) – (optional in query) The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
- async idem_vra.exec.vra.iaas.flavorprofile.update_flavor_profile(hub, ctx, p_id, flavorMapping, **kwargs)[source]#
Update flavor profile Update flavor profile Performs PATCH /iaas/api/flavor-profiles/{id}
- Parameters:
p_id (string) – (required in path) The ID of the flavor.
flavorMapping (object) – (required in body) Map between global fabric flavor keys <String> and fabric flavor descriptions <FabricFlavorDescription>
apiVersion (string) – (optional in query) The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
name (string) – (optional in body) A human-friendly name used as an identifier in APIs that support this option.
description (string) – (optional in body) A human-friendly description.