Disable-AzsScaleUnitNode

Syntax

Disable-AzsScaleUnitNode
       -Name <String>
       [-Location <String>]
       [-ResourceGroupName <String>]
       [-SubscriptionId <String>]
       [-Force]
       [-DefaultProfile <PSObject>]
       [-AsJob]
       [-NoWait]
       [-PassThru]
       [-Confirm]
       [-WhatIf]
       [<CommonParameters>]
Disable-AzsScaleUnitNode
       -InputObject <IFabricAdminIdentity>
       [-Force]
       [-DefaultProfile <PSObject>]
       [-AsJob]
       [-NoWait]
       [-PassThru]
       [-Confirm]
       [-WhatIf]
       [<CommonParameters>]

Examples

Example 1:

PS C:\> Disable-AzsScaleUnitNode -Name "HC1n25r2236"

Enable maintenance mode for a scale unit node.

Start maintenance mode for a scale unit node.

Parameters

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

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DefaultProfile
Type:PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Force
Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InputObject

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
Accept pipeline input:True
Accept wildcard characters:False
-Location
Type:String
Position:Named
Default value:(Get-AzLocation)[0].Location
Accept pipeline input:False
Accept wildcard characters:False
-Name
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-NoWait
Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PassThru
Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ResourceGroupName
Type:String
Position:Named
Default value:-join("System.",(Get-AzLocation)[0].Location)
Accept pipeline input:False
Accept wildcard characters:False
-SubscriptionId
Type:String
Position:Named
Default value:(Get-AzContext).Subscription.Id
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

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

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

Inputs

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

Outputs

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 :

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