Remove-ServiceFabricConfigurationOverrides
Removes all configuration overrides applied to the specified cluster node.
Syntax
Remove-ServiceFabricConfigurationOverrides
-NodeName <String>
[-TimeoutSec <Int32>]
[<CommonParameters>]
Description
Removes all configuration overrides applied to the specified cluster node, as applied by the Add-ServiceFabricConfigurationParameterOverrides command.
Examples
Example 1: Enable the command in the cluster manifest
The Add/Get/Remove Service Fabric configuration override commands are disabled by default. Enable them by adding the following dynamic configuration parameter to the cluster manifest:
<Section Name="Testability">
<Parameter Name="AllowConfigurationOverrides" Value="true" />
</Section>
Example 2: Remove overrides on a cluster node
Remove-ServiceFabricConfigurationOverrides -NodeName DB.0
Parameters
-NodeName
Name of the cluster node for configuration override removal.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-TimeoutSec
Specifies the time-out period, in seconds, for the operation.
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
Outputs
System.Object