Skip to content

Commit 796d70c

Browse files
author
Aman Jain
committed
[StorageCache] Adding support for Import, AutoExport and AutoImport HSM Jobs
1 parent 2b2b737 commit 796d70c

File tree

81 files changed

+13696
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+13696
-0
lines changed
Lines changed: 211 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,211 @@
1+
---
2+
external help file:
3+
Module Name: Az.StorageCache
4+
online version: https://learn.microsoft.com/powershell/module/az.storagecache/clear-azstoragecachecach
5+
schema: 2.0.0
6+
---
7+
8+
# Clear-AzStorageCacheCach
9+
10+
## SYNOPSIS
11+
Tells a cache to write all dirty data to the Storage Target(s).
12+
During the flush, clients will see errors returned until the flush is complete.
13+
14+
## SYNTAX
15+
16+
### Flush (Default)
17+
```
18+
Clear-AzStorageCacheCach -EName <String> -ResourceGroupName <String> [-SubscriptionId <String>]
19+
[-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [<CommonParameters>]
20+
```
21+
22+
### FlushViaIdentity
23+
```
24+
Clear-AzStorageCacheCach -InputObject <IStorageCacheIdentity> [-DefaultProfile <PSObject>] [-AsJob] [-NoWait]
25+
[-PassThru] [-Confirm] [-WhatIf] [<CommonParameters>]
26+
```
27+
28+
## DESCRIPTION
29+
Tells a cache to write all dirty data to the Storage Target(s).
30+
During the flush, clients will see errors returned until the flush is complete.
31+
32+
## EXAMPLES
33+
34+
### Example 1: Clear cache content
35+
```powershell
36+
Clear-AzStorageCacheCach -CacheName "myCache" -ResourceGroupName "myResourceGroup"
37+
```
38+
39+
The HPC Cache service is being deprecated.
40+
41+
## PARAMETERS
42+
43+
### -AsJob
44+
Run the command as a job
45+
46+
```yaml
47+
Type: System.Management.Automation.SwitchParameter
48+
Parameter Sets: (All)
49+
Aliases:
50+
51+
Required: False
52+
Position: Named
53+
Default value: None
54+
Accept pipeline input: False
55+
Accept wildcard characters: False
56+
```
57+
58+
### -DefaultProfile
59+
The DefaultProfile parameter is not functional.
60+
Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
61+
62+
```yaml
63+
Type: System.Management.Automation.PSObject
64+
Parameter Sets: (All)
65+
Aliases: AzureRMContext, AzureCredential
66+
67+
Required: False
68+
Position: Named
69+
Default value: None
70+
Accept pipeline input: False
71+
Accept wildcard characters: False
72+
```
73+
74+
### -EName
75+
Name of cache.
76+
Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
77+
78+
```yaml
79+
Type: System.String
80+
Parameter Sets: Flush
81+
Aliases: CacheName
82+
83+
Required: True
84+
Position: Named
85+
Default value: None
86+
Accept pipeline input: False
87+
Accept wildcard characters: False
88+
```
89+
90+
### -InputObject
91+
Identity Parameter
92+
93+
```yaml
94+
Type: Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.IStorageCacheIdentity
95+
Parameter Sets: FlushViaIdentity
96+
Aliases:
97+
98+
Required: True
99+
Position: Named
100+
Default value: None
101+
Accept pipeline input: True (ByValue)
102+
Accept wildcard characters: False
103+
```
104+
105+
### -NoWait
106+
Run the command asynchronously
107+
108+
```yaml
109+
Type: System.Management.Automation.SwitchParameter
110+
Parameter Sets: (All)
111+
Aliases:
112+
113+
Required: False
114+
Position: Named
115+
Default value: None
116+
Accept pipeline input: False
117+
Accept wildcard characters: False
118+
```
119+
120+
### -PassThru
121+
Returns true when the command succeeds
122+
123+
```yaml
124+
Type: System.Management.Automation.SwitchParameter
125+
Parameter Sets: (All)
126+
Aliases:
127+
128+
Required: False
129+
Position: Named
130+
Default value: None
131+
Accept pipeline input: False
132+
Accept wildcard characters: False
133+
```
134+
135+
### -ResourceGroupName
136+
The name of the resource group.
137+
The name is case insensitive.
138+
139+
```yaml
140+
Type: System.String
141+
Parameter Sets: Flush
142+
Aliases:
143+
144+
Required: True
145+
Position: Named
146+
Default value: None
147+
Accept pipeline input: False
148+
Accept wildcard characters: False
149+
```
150+
151+
### -SubscriptionId
152+
The ID of the target subscription.
153+
154+
```yaml
155+
Type: System.String
156+
Parameter Sets: Flush
157+
Aliases:
158+
159+
Required: False
160+
Position: Named
161+
Default value: (Get-AzContext).Subscription.Id
162+
Accept pipeline input: False
163+
Accept wildcard characters: False
164+
```
165+
166+
### -Confirm
167+
Prompts you for confirmation before running the cmdlet.
168+
169+
```yaml
170+
Type: System.Management.Automation.SwitchParameter
171+
Parameter Sets: (All)
172+
Aliases: cf
173+
174+
Required: False
175+
Position: Named
176+
Default value: None
177+
Accept pipeline input: False
178+
Accept wildcard characters: False
179+
```
180+
181+
### -WhatIf
182+
Shows what would happen if the cmdlet runs.
183+
The cmdlet is not run.
184+
185+
```yaml
186+
Type: System.Management.Automation.SwitchParameter
187+
Parameter Sets: (All)
188+
Aliases: wi
189+
190+
Required: False
191+
Position: Named
192+
Default value: None
193+
Accept pipeline input: False
194+
Accept wildcard characters: False
195+
```
196+
197+
### CommonParameters
198+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
199+
200+
## INPUTS
201+
202+
### Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.IStorageCacheIdentity
203+
204+
## OUTPUTS
205+
206+
### System.Boolean
207+
208+
## NOTES
209+
210+
## RELATED LINKS
211+

0 commit comments

Comments
 (0)