1
- ---
1
+ ---
2
2
external help file : Microsoft.Azure.PowerShell.Cmdlets.DataLakeStore.dll-Help.xml
3
3
Module Name : Az.DataLakeStore
4
4
ms.assetid : D231E9A0-DC1E-411B-A87A-56A8C767F6C5
@@ -9,17 +9,21 @@ schema: 2.0.0
9
9
# Restore-AzDataLakeStoreDeletedItem
10
10
11
11
## SYNOPSIS
12
- Restore a deleted file or folder in Azure Data Lake
12
+ Restore a deleted file or folder in Azure Data Lake.
13
13
14
14
## SYNTAX
15
- ### ByName (Default)
15
+
16
+ ### Default (Default)
16
17
```
17
- Restore-AzDataLakeStoreDeletedItem [-Account] <String> [-Path] <String> [-Destination] <String> [-Type] <String> [-RestoreAction] <String> [-Force] [-PassThru]
18
+ Restore-AzDataLakeStoreDeletedItem [-Account] <String> [-Path] <String> [-Destination] <String>
19
+ [-Type] <String> [-RestoreAction <String>] [-PassThru] [-Force] [-DefaultProfile <IAzureContextContainer>]
20
+ [<CommonParameters>]
18
21
```
19
22
20
- ### ByInputObject
23
+ ### InputObject
21
24
```
22
- Restore-AzDataLakeStoreDeletedItem [-Account] <String> [-DeletedItem] <DataLakeStoreDeletedItem> [-RestoreAction] <String> [-Force] [-PassThru]
25
+ Restore-AzDataLakeStoreDeletedItem [-Account] <String> [-DeletedItem] <DataLakeStoreDeletedItem>
26
+ [-RestoreAction <String>] [-PassThru] [-Force] [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
23
27
```
24
28
25
29
## DESCRIPTION
@@ -43,13 +47,11 @@ To - adl://ml1ptrashtest.azuredatalake.com/test4/file_1115
43
47
Type - file
44
48
[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y
45
49
PS >
46
-
47
-
48
50
```
49
51
50
52
## PARAMETERS
51
- ### ByName (Default)
52
- #### -Account
53
+
54
+ ### -Account
53
55
Specifies the name of the Data Lake Store account.
54
56
55
57
``` yaml
@@ -64,28 +66,44 @@ Accept pipeline input: True (ByPropertyName)
64
66
Accept wildcard characters : False
65
67
` ` `
66
68
67
- #### -Path
68
- The path of the deleted deleted file or folder in trash .
69
+ ### -DefaultProfile
70
+ The credentials, account, tenant, and subscription used for communication with Azure .
69
71
70
72
` ` ` yaml
71
- Type : System.String
72
- Parameter Sets : DefaultParameterSet
73
- Aliases :
73
+ Type : Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
74
+ Parameter Sets : (All)
75
+ Aliases : AzContext, AzureRmContext, AzureCredential
76
+
77
+ Required : False
78
+ Position : Named
79
+ Default value : None
80
+ Accept pipeline input : False
81
+ Accept wildcard characters : False
82
+ ` ` `
83
+
84
+ ### -DeletedItem
85
+ The deleted item object
86
+
87
+
88
+ ` ` ` yaml
89
+ Type : Microsoft.Azure.Commands.DataLakeStore.Models.DataLakeStoreDeletedItem
90
+ Parameter Sets : InputObject
91
+ Aliases :
74
92
75
93
Required : True
76
94
Position : 1
77
95
Default value : None
78
- Accept pipeline input : True (ByPropertyName )
96
+ Accept pipeline input : True (ByValue )
79
97
Accept wildcard characters : False
80
98
` ` `
81
99
82
- #### -Destination
100
+ ### -Destination
83
101
The destination path to where the deleted file or folder should be restored.
84
102
85
103
` ` ` yaml
86
104
Type : System.String
87
- Parameter Sets : DefaultParameterSet
88
- Aliases :
105
+ Parameter Sets : Default
106
+ Aliases :
89
107
90
108
Required : True
91
109
Position : 2
@@ -94,79 +112,84 @@ Accept pipeline input: True (ByPropertyName)
94
112
Accept wildcard characters : False
95
113
` ` `
96
114
97
- #### -Type
98
- The type of entry being restored - "file" or "folder"
115
+ ### -Force
116
+ Forces the command to run without asking for user confirmation
99
117
100
118
` ` ` yaml
101
- Type : System.String
102
- Parameter Sets : DefaultParameterSet
103
- Aliases :
119
+ Type : System.Management.Automation.SwitchParameter
120
+ Parameter Sets : (All)
121
+ Aliases :
104
122
105
- Required : True
106
- Position : 3
123
+ Required : False
124
+ Position : Named
107
125
Default value : None
108
- Accept pipeline input : True (ByPropertyName)
126
+ Accept pipeline input : False
109
127
Accept wildcard characters : False
110
128
` ` `
111
129
130
+ ### -PassThru
131
+ Return boolean true on success
112
132
113
- #### DeletedItem
114
- The deleted item object
115
133
` ` ` yaml
116
- Type : DataLakeStoreDeletedItem
117
- Parameter Sets : InputObjectParameterSet
118
- Aliases : Default
134
+ Type : System.Management.Automation.SwitchParameter
135
+ Parameter Sets : (All)
136
+ Aliases :
119
137
120
- Required : True
121
- Position : 1
138
+ Required : False
139
+ Position : Named
122
140
Default value : None
123
- Accept pipeline input : True (ByPropertyName)
141
+ Accept pipeline input : False
124
142
Accept wildcard characters : False
125
143
` ` `
126
144
127
- #### -RestoreAction
128
- Action to take on destination name conflicts - "copy" or "overwrite"
145
+ ### -Path
146
+ The path of the deleted deleted file or folder in trash.
129
147
130
148
` ` ` yaml
131
149
Type : System.String
132
- Parameter Sets : (All)
133
- Aliases :
150
+ Parameter Sets : Default
151
+ Aliases :
134
152
135
- Required : False
136
- Position : Named
153
+ Required : True
154
+ Position : 1
137
155
Default value : None
138
156
Accept pipeline input : True (ByPropertyName)
139
157
Accept wildcard characters : False
140
158
` ` `
141
- #### -PassThru
142
- Return boolean true on success
159
+
160
+ ### -RestoreAction
161
+ Action to take on destination name conflicts - "copy" or "overwrite"
143
162
144
163
` ` ` yaml
145
- Type : System.Management.Automation.SwitchParameter
164
+ Type : System.String
146
165
Parameter Sets : (All)
147
166
Aliases :
148
167
149
168
Required : False
150
169
Position : Named
151
170
Default value : None
152
- Accept pipeline input : False
171
+ Accept pipeline input : True (ByPropertyName)
153
172
Accept wildcard characters : False
154
173
` ` `
155
- ### -Force
156
- Forces the command to run without asking for user confirmation
174
+
175
+ ### -Type
176
+ The type of entry being restored - "file" or "folder"
157
177
158
178
` ` ` yaml
159
- Type : System.Management.Automation.SwitchParameter
160
- Parameter Sets : (All)
179
+ Type : System.String
180
+ Parameter Sets : Default
161
181
Aliases :
162
182
163
- Required : False
164
- Position : Named
183
+ Required : True
184
+ Position : 3
165
185
Default value : None
166
- Accept pipeline input : False
186
+ Accept pipeline input : True (ByPropertyName)
167
187
Accept wildcard characters : False
168
188
` ` `
169
189
190
+ ### CommonParameters
191
+ 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).
192
+
170
193
## INPUTS
171
194
172
195
### System.String
0 commit comments