Add-​AC​SFarm

Register a new provisioned ACS farm.

Syntax

Add-ACSFarm
   [[-SubscriptionId] <String>]
   [[-Token] <String>]
   [[-AdminUri] <Uri>]
   [-ResourceGroupName] <String>
   [-FarmName] <String>
   [-SettingAccessString] <String>
   [-Location] <String>
   [-InformationAction <ActionPreference>]
   [-InformationVariable <String>]
   [-SkipCertificateValidation]
   [-Confirm]
   [-WhatIf]
   [<CommonParameters>]

Description

After fabric admin deploy a new ACS farm. Service Admin could use the cmdlet to registered that farm to SRP.

Examples

-------------------------- Example 1 --------------------------

@{paragraph=PS C:\>}



$resourceGroup = 'System' 

Add-ACSFarm -ResourceGroupName $resourceGroup -FarmName 'YourNameFarmName' -Location 'YourLocation'

Required Parameters

-FarmName

@{Text=}

Type:String
Position:4
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Location

@{Text=}

Type:String
Position:6
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-ResourceGroupName

@{Text=}

Type:String
Position:3
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-SettingAccessString

@{Text=}

Type:String
Position:5
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Optional Parameters

-AdminUri

@{Text=}

Type:Uri
Position:2
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Confirm

@{Text=}

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InformationAction

@{Text=}

Type:ActionPreference
Aliases:infa
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InformationVariable

@{Text=}

Type:String
Aliases:iv
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SkipCertificateValidation

@{Text=}

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SubscriptionId

@{Text=}

Type:String
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Token

@{Text=}

Type:String
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-WhatIf

@{Text=}

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Outputs

Microsoft.AzureStack.AzureConsistentStorage.Commands.FarmResponse