Stop-NCAzCache
The Stop-NCAzCache PowerShell cmdlet stops a registered cache in the specified Azure environment.
Stop-NCAzCache -EnvName [-Name] [-Server] [-Port] [-IsGracefulStop] [-IsStopForMaintenance] [-Timeout] [-Credentials] [-NoLogo]
Example
Stop the cache demoCache on all servers of the environment Production:
Stop-NCAzCache -EnvName Production -Name demoCache
Properties
Note
Parameters marked with an asterisk (*) are required. All others are optional.
| Parameter | Data Type | Description | Default Value |
|---|---|---|---|
-EnvName* |
<String> |
Name of the Azure environment where the cache is registered. | - |
-Name* |
<String> |
Name of the cache to be stopped. | - |
-Server |
<String> |
Comma-separated list of server names where the cache should be stopped. | All servers |
-Port |
<Int32> |
Server port where the NCache Service is listening. | 8250 |
-IsGracefulStop |
<SwitchParameter> |
Specifies whether the cache should be stopped gracefully (i.e., with a delay to allow pending operations to complete). | False |
-IsStopForMaintenance |
<SwitchParameter> |
Stops the cache for maintenance purposes. | False |
-Timeout |
<Int32> |
Timeout (in seconds) for stopping the cache. | 30 |
-Credentials |
<PSCredential> |
User credentials authorizing this operation. Required if security is enabled on the cache server. | - |
-NoLogo |
<SwitchParameter> |
Suppresses the display of the logo banner. | False |