networkprofile#

async idem_vra.states.vra.iaas.networkprofile.present(hub, ctx, name: str, regionId: Any, **kwargs)[source]#
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.

  • 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.

  • isolationNetworkDomainCIDR (string) – (optional in body) CIDR of the isolation network domain.

  • isolationNetworkDomainId (string) – (optional in body) The Id of the network domain used for creating isolated networks.

  • tags (array) – (optional in body) A set of tag keys and optional values that should be set on any resource that is produced from this specification.

  • externalIpBlockIds (array) – (optional in body) List of external IP blocks coming from an external IPAM provider that can be used to create subnetworks inside them

  • fabricNetworkIds (array) – (optional in body) A list of fabric network Ids which are assigned to the network profile.

  • customProperties (object) – (optional in body) Additional properties that may be used to extend the Network Profile object that is produced from this specification. For isolationType security group, datastoreId identifies the Compute Resource Edge datastore. computeCluster and resourcePoolId identify the Compute Resource Edge cluster. For isolationType subnet, distributedLogicalRouterStateLink identifies the on-demand network distributed local router (NSX-V only). For isolationType subnet, tier0LogicalRouterStateLink identifies the on-demand network tier-0 logical router (NSX-T only). onDemandNetworkIPAssignmentType identifies the on-demand network IP range assignment type static, dynamic, or mixed.

  • securityGroupIds (array) – (optional in body) A list of security group Ids which are assigned to the network profile.

  • isolationExternalFabricNetworkId (string) – (optional in body) The Id of the fabric network used for outbound access.

  • isolationType (string) – (optional in body) Specifies the isolation type e.g. none, subnet or security group

  • isolatedNetworkCIDRPrefix (integer) – (optional in body) The CIDR prefix length to be used for the isolated networks that are created with the network profile.

  • loadBalancerIds (array) – (optional in body) A list of load balancers which are assigned to the network profile.

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

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

Bases: object

async present(hub, ctx, name: str, regionId: 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]#