networkiprange#

async idem_vra.states.vra.iaas.networkiprange.present(hub, ctx, name: str, startIPAddress: Any, endIPAddress: Any, **kwargs)[source]#
Parameters:
  • name (string) – (required in body) A human-friendly name used as an identifier in APIs that support this option.

  • startIPAddress (string) – (required in body) Start IP address of the range.

  • endIPAddress (string) – (required in body) End IP address of the range.

  • apiVersion (string) – (optional in query) The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about

  • fabricNetworkIds (array) – (optional in body) The Ids of the fabric networks.

  • ipVersion (string) – (optional in body) IP address version: IPv4 or IPv6. Default: IPv4.

  • description (string) – (optional in body) A human-friendly description.

  • tags (array) – (optional in body) A set of tag keys and optional values that were set on this resource instance.

async idem_vra.states.vra.iaas.networkiprange.absent(hub, ctx, name: str, **kwargs)[source]#
Parameters:
  • p_id (string) – (required in path) The ID of the network IP range.

  • 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.states.vra.iaas.networkiprange.describe(hub, ctx)[source]#
idem_vra.states.vra.iaas.networkiprange.is_pending(hub, ret: dict, state: str = None, **pending_kwargs)[source]#
class idem_vra.states.vra.iaas.networkiprange.NetworkiprangeState(hub, ctx)[source]#

Bases: object

async present(hub, ctx, name: str, startIPAddress: Any, endIPAddress: Any, **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]#