Partilhar via


Add-AzsScaleUnitNode

Scales out a scale unit.

Syntax

Add-AzsScaleUnitNode
   -ScaleUnit <String>
   [-Location <String>]
   [-ResourceGroupName <String>]
   [-SubscriptionId <String>]
   [-AwaitStorageConvergence]
   [-BmciPv4Address <String>]
   [-ComputerName <String>]
   [-DefaultProfile <PSObject>]
   [-AsJob]
   [-NoWait]
   [-PassThru]
   [-Confirm]
   [-WhatIf]
   [<CommonParameters>]
Add-AzsScaleUnitNode
   -ScaleUnit <String>
   -ScaleUnitNodeParameter \<IScaleOutScaleUnitParametersList>
   [-Location <String>]
   [-ResourceGroupName <String>]
   [-SubscriptionId <String>]
   [-DefaultProfile <PSObject>]
   [-AsJob]
   [-NoWait]
   [-PassThru]
   [-Confirm]
   [-WhatIf]
   [<CommonParameters>]
Add-AzsScaleUnitNode
   -INPUTOBJECT \<IFabricAdminIdentity>
   -ScaleUnitNodeParameter \<IScaleOutScaleUnitParametersList>
   [-DefaultProfile <PSObject>]
   [-AsJob]
   [-NoWait]
   [-PassThru]
   [-Confirm]
   [-WhatIf]
   [<CommonParameters>]
Add-AzsScaleUnitNode
   -INPUTOBJECT \<IFabricAdminIdentity>
   [-AwaitStorageConvergence]
   [-BmciPv4Address <String>]
   [-ComputerName <String>]
   [-DefaultProfile <PSObject>]
   [-AsJob]
   [-NoWait]
   [-PassThru]
   [-Confirm]
   [-WhatIf]
   [<CommonParameters>]

Description

Scales out a scale unit.

Examples

Example 1: Add-AzsScaleUnitNode

PS C:\> Add-AzsScaleUnitNode -BmciPv4Address $BmciPv4Address -ComputerName $ComputerName -ScaleUnit $ScaleUnitName

Adds a list of nodes to the scale unit.

Add a new scale unit node to your scale unit cluster.

Parameters

-AsJob

Run the command as a job

Type:System.Management.Automation.SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-AwaitStorageConvergence

Flag indicates if the operation should wait for storage to converge before returning.

Type:System.Management.Automation.SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ComputerName

Computer name of the physical machine.

Type:Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.Api20160501.IScaleOutScaleUnitParameters[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:System.Management.Automation.SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Type:System.Management.Automation.PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-InputObject

Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

Type:Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Location

Location of the resource.

Type:System.String
Position:Named
Default value:(Get-AzLocation)[0].Location
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-NoWait

Run the command asynchronously

Type:System.Management.Automation.SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PassThru

Returns true when the command succeeds

Type:System.Management.Automation.SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ResourceGroupName

Name of the resource group.

Type:System.String
Position:Named
Default value:-join("System.",(Get-AzLocation)[0].Location)
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ScaleUnit

Name of the scale units.

Type:System.String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ScaleUnitNodeParameter

A list of input data that allows for adding a set of scale unit nodes. To construct, see NOTES section for SCALEUNITNODEPARAMETER properties and create a hash table.

Type:Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.Api20160501.IScaleOutScaleUnitParametersList
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-SubscriptionId

Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

Type:System.String
Position:Named
Default value:(Get-AzContext).Subscription.Id
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

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

Type:System.Management.Automation.SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.Api20160501.IScaleOutScaleUnitParametersList

Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity

Outputs

System.Boolean

Notes

COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.

INPUTOBJECT <IFabricAdminIdentity>: Identity Parameter

  • [Drive <String>]: Name of the storage drive.
  • [EdgeGateway <String>]: Name of the edge gateway.
  • [EdgeGatewayPool <String>]: Name of the edge gateway pool.
  • [FabricLocation <String>]: Fabric location.
  • [FileShare <String>]: Fabric file share name.
  • [IPPool <String>]: IP pool name.
  • [Id <String>]: Resource identity path
  • [InfraRole <String>]: Infrastructure role name.
  • [InfraRoleInstance <String>]: Name of an infrastructure role instance.
  • [Location <String>]: Location of the resource.
  • [LogicalNetwork <String>]: Name of the logical network.
  • [LogicalSubnet <String>]: Name of the logical subnet.
  • [MacAddressPool <String>]: Name of the MAC address pool.
  • [Operation <String>]: Operation identifier.
  • [ResourceGroupName <String>]: Name of the resource group.
  • [ScaleUnit <String>]: Name of the scale units.
  • [ScaleUnitNode <String>]: Name of the scale unit node.
  • [SlbMuxInstance <String>]: Name of a SLB MUX instance.
  • [StorageSubSystem <String>]: Name of the storage system.
  • [SubscriptionId <String>]: Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
  • [Volume <String>]: Name of the storage volume.

NODELIST <IScaleOutScaleUnitParameters[]>: List of nodes in the scale unit.

  • [BmciPv4Address <String>]: BMC address of the physical machine.
  • [ComputerName <String>]: Computer name of the physical machine.

SCALEUNITNODEPARAMETER <IScaleOutScaleUnitParametersList>: A list of input data that allows for adding a set of scale unit nodes.

  • [AwaitStorageConvergence <Boolean?>]: Flag indicates if the operation should wait for storage to converge before returning.
  • [NodeList \<IScaleOutScaleUnitParameters[]>]: List of nodes in the scale unit.
    • [BmciPv4Address <String>]: BMC address of the physical machine.
    • [ComputerName <String>]: Computer name of the physical machine.