Restart-AzsInfrastructureRoleInstance
Start een exemplaar van de infrastructuurrol opnieuw op.
Syntax
Restart-AzsInfrastructureRoleInstance
-Name <String>
[-Location <String>]
[-ResourceGroupName <String>]
[-SubscriptionId <String>]
[-Force]
[-DefaultProfile <PSObject>]
[-AsJob]
[-NoWait]
[-PassThru]
[-Confirm]
[-WhatIf]
[<CommonParameters>]
Restart-AzsInfrastructureRoleInstance
-INPUTOBJECT \<IFabricAdminIdentity>
[-Force]
[-DefaultProfile <PSObject>]
[-AsJob]
[-NoWait]
[-PassThru]
[-Confirm]
[-WhatIf]
[<CommonParameters>]
Description
Start een exemplaar van de infrastructuurrol opnieuw op.
Voorbeelden
Voorbeeld 1:
PS C:\> Restart-AzsInfrastructureRoleInstance -Name "AzS-ACS01"
Start een exemplaar van de infrastructuurrol opnieuw op.
Parameters
Voer asynchroon uit als een taak en retourneer het taakobject.
| Type: | SwitchParameter |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Hiermee wordt u gevraagd om bevestiging voordat u de cmdlet uitvoert.
| Type: | SwitchParameter |
| Aliases: | cf |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
De referenties, het account, de tenant en het abonnement dat wordt gebruikt voor communicatie met Azure.
| Type: | PSObject |
| Aliases: | AzureRMContext, AzureCredential |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Vraag niet om bevestiging.
| Type: | SwitchParameter |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
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 |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Locatie van de resource.
| Type: | String |
| Position: | Named |
| Default value: | (Get-AzLocation)[0].Location |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Naam van een exemplaar van de infrastructuurrol.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Voer de opdracht asynchroon uit
| Type: | SwitchParameter |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Retourneert true wanneer de opdracht slaagt
| Type: | SwitchParameter |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
De naam van de resourcegroep.
| Type: | String |
| Position: | Named |
| Default value: | -join("System.",(Get-AzLocation)[0].Location) |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Abonnementsreferenties waarmee het Microsoft Azure-abonnement uniek wordt geïdentificeerd. De abonnements-id maakt deel uit van de URI voor elke serviceoproep.
| Type: | String |
| Position: | Named |
| Default value: | (Get-AzContext).Subscription.Id |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Hiermee wordt weergegeven wat er zou gebeuren als u de cmdlet uitvoert. De cmdlet wordt niet uitgevoerd.
| Type: | SwitchParameter |
| Aliases: | wi |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Invoerwaarden
Microsoft.Azure.PowerShell.Cmdlets.FabricAdmin.Models.IFabricAdminIdentity
Uitvoerwaarden
Notities
COMPLEXE PARAMETEREIGENSCHAPPEN Om de hieronder beschreven parameters te maken, maakt u een hash-tabel met de juiste eigenschappen. Voer Get-Help about_Hash_Tables uit voor informatie over hashtabellen.
INPUTOBJECT <IFabricAdminIdentity>: Id-parameter
[Drive <String>]: Naam van het opslagstation.[EdgeGateway <String>]: Naam van de edge-gateway.[EdgeGatewayPool <String>]: Naam van de edge-gatewaygroep.[FabricLocation <String>]: Infrastructuurlocatie.[FileShare <String>]: Naam van infrastructuurbestandsshare.[IPPool <String>]: NAAM VAN IP-adresgroep.[Id <String>]: Resource-id-pad[InfraRole <String>]: Naam van infrastructuurrol.[InfraRoleInstance <String>]: Naam van een exemplaar van de infrastructuurrol.[Location <String>]: Locatie van de resource.[LogicalNetwork <String>]: Naam van het logische netwerk.[LogicalSubnet <String>]: Naam van het logische subnet.[MacAddressPool <String>]: Naam van de MAC-adresgroep.[Operation <String>]: Bewerkings-id.[ResourceGroupName <String>]: Naam van de resourcegroep.[ScaleUnit <String>]: Naam van de schaaleenheden.[ScaleUnitNode <String>]: Naam van het schaaleenheidknooppunt.[SlbMuxInstance <String>]: Naam van een SLB MUX-exemplaar.[StoragePool <String>]: naam van opslaggroep.[StorageSubSystem <String>]: Naam van het opslagsysteem.[SubscriptionId <String>]: Abonnementsreferenties waarmee het Microsoft Azure-abonnement uniek wordt geïdentificeerd. De abonnements-id maakt deel uit van de URI voor elke serviceoproep.[Volume <String>]: Naam van het opslagvolume.