Skip to content

New-vRANetworkProfile

SYNOPSIS

Create a vRA Network Profile

SYNTAX

Standard (Default)

New-vRANetworkProfile -Name <String> [-Description <String>] [-IsolationNetworkDomainCIDR <String>]
 [-IsolationNetworkDomainId <String>] [-FabricNetworkIds <String[]>] [-RegionId <String>]
 [-SecurityGroupIds <String[]>] [-IsolationExternalFabricNetworkId <String>] [-IsolationType <String>]
 [-IsolatedNetworkCIDRPrefix <Int32>] [-LoadBalancerIds <String[]>] [-Tags <String[]>] [-WhatIf] [-Confirm]
 [<CommonParameters>]

JSON

New-vRANetworkProfile -JSON <String> [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Create a vRA Network Profile

EXAMPLES

EXAMPLE 1

$ProfileArguments = @{

Name = 'My Profile' Description = 'Test Profile' RegionId = '9e49' fabricNetworkIds = '6543','6542' Tags = 'placement:coems','mytag2:2' }

New-vRANetworkProfile @ProfileArguments

EXAMPLE 2

$JSON = @"
   {
    "description": "string",
    "isolationNetworkDomainCIDR": "10.10.10.0/24",
    "isolationNetworkDomainId": "1234",
    "fabricNetworkIds": "[ \"6543\" ]",
    "regionId": "9e49",
    "securityGroupIds": "[ \"6545\" ]",
    "name": "string",
    "isolationExternalFabricNetworkId": "1234",
    "isolationType": "SUBNET",
    "isolatedNetworkCIDRPrefix": 24,
    "loadBalancerIds": "[ \"6545\" ]",
    "Tags": [ "placement:coems", "mytag2:2"]
    }
"@

$JSON | New-vRANetworkProfile

PARAMETERS

-Name

The name of the Network Profile

Type: String
Parameter Sets: Standard
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Description

A description of the Network Profile

Type: String
Parameter Sets: Standard
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-IsolationNetworkDomainCIDR

CIDR of the isolation network domain

Type: String
Parameter Sets: Standard
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-IsolationNetworkDomainId

The Id of the network domain used for creating isolated networks.

Type: String
Parameter Sets: Standard
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-FabricNetworkIds

Id's of the Fabric networks you would like to associate with this profile

Type: String[]
Parameter Sets: Standard
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-RegionId

The Id of the region for which this profile is created

Type: String
Parameter Sets: Standard
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-SecurityGroupIds

A list of security group Ids which are assigned to the network profile

Type: String[]
Parameter Sets: Standard
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-IsolationExternalFabricNetworkId

The Id of the fabric network used for outbound access.

Type: String
Parameter Sets: Standard
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-IsolationType

Specifies the isolation type e.g. none, subnet or security group

Type: String
Parameter Sets: Standard
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-IsolatedNetworkCIDRPrefix

The CIDR prefix length to be used for the isolated networks that are created with the network profile.

Type: Int32
Parameter Sets: Standard
Aliases:

Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-LoadBalancerIds

A list of load balancers which are assigned to the network profile.

Type: String[]
Parameter Sets: Standard
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Tags

A array of tags to tag the created network profile with

Type: String[]
Parameter Sets: Standard
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-JSON

A JSON string with the body payload

Type: String
Parameter Sets: JSON
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

System.String

System.Switch

PSCustomObject

OUTPUTS

System.Management.Automation.PSObject

NOTES