New-vRACloudAccountAzure
SYNOPSIS
Create a vRA Cloud Account for Azure
SYNTAX
Standard (Default)
New-vRACloudAccountAzure -Name <String> [-Description <String>] -SubscriptionId <String> -TenantId <String>
-ClientApplicationId <String> -ClientApplicationSecretKey <String> -RegionIds <String[]> [-CreateDefaultZones]
[-WhatIf] [-Confirm] [<CommonParameters>]
JSON
New-vRACloudAccountAzure -JSON <String> [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Create a vRA Cloud Account for Azure
EXAMPLES
EXAMPLE 1
New-vRACloudAccountAzure -Name "Azure Test" -SubscriptionId "7326edb0-1234-012e-22d8-76f9faf6982" -TenantId "e7c5cdf4-21d1-312e-bddb-8765949cfdab" -ClientApplicationId "123e710b-4e10-33dc-b9b2-de3d9b1fe234" -ClientApplicationSecretKey "X9Y;bYRpe:eds-TY[blCB1he6PmarC1W" -RegionIds "northeurope","japaneast"
EXAMPLE 2
$JSON = @"
{ "name": "Azure Test", "description": "Azure Test", "subscriptionId": "7326edb0-1234-012e-22d8-76f9faf6982", "tenantId": "e7c5cdf4-21d1-312e-bddb-8765949cfdab", "clientApplicationId": "123e710b-4e10-33dc-b9b2-de3d9b1fe234", "clientApplicationSecretKey": "X8Y:bYRpe:wzW-FC[blCB1he7PmarC0W", "regionIds": [ "northeurope","japaneast" ], "createDefaultZones": false } "@
$JSON | New-vRACloudAccountAzure
PARAMETERS
-Name
The name of the Cloud Account for Azure
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 Cloud Account for Azure
Type: String
Parameter Sets: Standard
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SubscriptionId
Azure SubscriptionId
Type: String
Parameter Sets: Standard
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-TenantId
Azure TenantId
Type: String
Parameter Sets: Standard
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ClientApplicationId
Azure ClientApplicationId
Type: String
Parameter Sets: Standard
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ClientApplicationSecretKey
Azure ClientApplicationSecretKey
Type: String
Parameter Sets: Standard
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RegionIds
Azure RegionIds to enable
Type: String[]
Parameter Sets: Standard
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-CreateDefaultZones
Enable CreateDefaultZones
Type: SwitchParameter
Parameter Sets: Standard
Aliases:
Required: False
Position: Named
Default value: False
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.