You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -83,9 +84,9 @@ public class ShareFileStorageResourceOptions
83
84
84
85
/// <summary>
85
86
/// Optional. Sets the Cache Control header which
86
-
/// specifies directives for caching mechanisms.
87
+
/// specifies directives for caching mechanisms. This is intended to be set on the destination Share.
87
88
///
88
-
/// By default preserves the Cache Control from the source. If explicitly set to null, the Cache Control will not be preserved and set to null.
89
+
/// By default preserves the Cache Control from the source for copy transfers. If explicitly set, the Cache Control of the destination will be set to this value.
89
90
///
90
91
/// Applies to upload and copy transfers.
91
92
/// </summary>
@@ -105,9 +106,9 @@ public string CacheControl
105
106
/// payload, and also can be used to attach additional metadata. For
106
107
/// example, if set to attachment, it indicates that the user-agent
107
108
/// should not display the response, but instead show a Save As dialog
108
-
/// with a filename other than the blob name specified.
109
+
/// with a filename other than the blob name specified. This is intended to be set on the destination Share.
109
110
///
110
-
/// By default preserves the Content Disposition from the source. If explicitly set to null, the Content Disposition will not be preserved and set to null.
111
+
/// By default preserves the Content Disposition from the source for copy transfers. If explicitly set, the Content Disposition of the destination will be set to this value.
111
112
///
112
113
/// Applies to upload and copy transfers.
113
114
/// </summary>
@@ -126,9 +127,9 @@ public string ContentDisposition
126
127
/// specifies which content encodings have been applied to the blob.
127
128
/// This value is returned to the client when the Get Blob operation
128
129
/// is performed on the blob resource. The client can use this value
129
-
/// when returned to decode the blob content.
130
+
/// when returned to decode the blob content. This is intended to be set on the destination Share.
130
131
///
131
-
/// By default preserves the Content Encoding from the source. If explicitly set to null, the Content Encoding will not be preserved and set to null.
132
+
/// By default preserves the Content Encoding from the source for copy transfers. If explicitly set, the Content Encoding of the destination will be set to this value.
132
133
///
133
134
/// Applies to upload and copy transfers.
134
135
/// </summary>
@@ -144,9 +145,9 @@ public string[] ContentEncoding
144
145
145
146
/// <summary>
146
147
/// Optional. Sets the Content Language header which
147
-
/// specifies the natural languages used by this resource.
148
+
/// specifies the natural languages used by this resource. This is intended to be set on the destination Share.
148
149
///
149
-
/// By default preserves the Content Language from the source. If explicitly set to null, the Content Language will not be preserved and set to null.
150
+
/// By default preserves the Content Language from the source for copy transfers. If explicitly set, the Content Language of the destination will be set to this value.
150
151
///
151
152
/// Applies to upload and copy transfers.
152
153
/// </summary>
@@ -162,9 +163,9 @@ public string[] ContentLanguage
162
163
163
164
/// <summary>
164
165
/// Optional. Sets the Content Type header which
165
-
/// specifies the MIME content type of the blob.
166
+
/// specifies the MIME content type of the file. This is intended to be set on the destination Share.
166
167
///
167
-
/// By default preserves the Content Type from the source. If explicitly set to null, the Content Type will not be preserved and set to null.
168
+
/// By default preserves the Content Type from the source for copy transfers. If explicitly set, the Content Type of the destination will be set to this value.
168
169
///
169
170
/// Applies to upload and copy transfers.
170
171
/// </summary>
@@ -179,9 +180,9 @@ public string ContentType
179
180
}
180
181
181
182
/// <summary>
182
-
/// The file system attributes for this file.
183
+
/// The file system attributes for this file/directory. This is intended to be set on the destination Share.
183
184
///
184
-
/// By default preserves the File Attributes from the source. If explicitly set to null, the File Attributes will not be preserved and set to null.
185
+
/// By default preserves the Attributes from the source for copy transfers. If explicitly set, the Attributes of the destination will be set to this value.
185
186
/// </summary>
186
187
publicNtfsFileAttributes?FileAttributes
187
188
{
@@ -194,20 +195,20 @@ public NtfsFileAttributes? FileAttributes
194
195
}
195
196
196
197
/// <summary>
197
-
/// To preserve the file permissions. This is intended to be set on the destination Share.
198
+
/// To preserve the file/directory permissions. This is intended to be set on the destination Share.
198
199
/// If set to true, the permissions will be preserved from the source Share to the destination Share.
199
200
/// For SMB, this requires a <see href="https://learn.microsoft.com/en-us/rest/api/storageservices/create-permission">Create Share Permissions</see> operation,
200
201
/// which is a operation called on the Destination Share, which requires Share level permissions.
201
202
///
202
-
/// By default the file permissions will not be preserved from the source Share to the destination Share. If explicitly set to null, the File Permissions will not be preserved.
203
+
/// By default the permissions will not be preserved from the source Share to the destination Share. If explicitly set to null, the permissions will not be preserved.
203
204
/// Applies only to copy transfers.
204
205
/// </summary>
205
206
publicbool?FilePermissions{get;set;}
206
207
207
208
/// <summary>
208
-
/// The creation time of the file.
209
+
/// The creation time of the file/directory. This is intended to be set on the destination Share.
209
210
///
210
-
/// By default preserves the File Created On Time from the source. If explicitly set to null, the File Created On Time will not be preserved and set to `now`.
211
+
/// By default preserves the Created On Time from the source for copy transfers. If explicitly set, the Created On Time of the destination will be set to this value.
211
212
/// </summary>
212
213
publicDateTimeOffset?FileCreatedOn
213
214
{
@@ -220,9 +221,10 @@ public DateTimeOffset? FileCreatedOn
220
221
}
221
222
222
223
/// <summary>
223
-
/// The last write time of the file.
224
+
/// The last write time of the file/directory. This is intended to be set on the destination Share.
224
225
///
225
-
/// By default preserves the File Last Written On Time from the source. If explicitly set to null, the File Last Written On Time will not be preserved and set to `now`.
226
+
/// By default preserves the Last Written On Time from the source for copy transfers. If explicitly set, the Last Written On Time of the destination will be set to this value.
227
+
/// Note: For share directories, the Last Written On Time may not be preserved.
226
228
/// </summary>
227
229
publicDateTimeOffset?FileLastWrittenOn
228
230
{
@@ -235,9 +237,9 @@ public DateTimeOffset? FileLastWrittenOn
235
237
}
236
238
237
239
/// <summary>
238
-
/// The change time of the file.
240
+
/// The change time of the file/directory. This is intended to be set on the destination Share.
239
241
///
240
-
/// By default preserves the File Changed On Time from the source. If explicitly set to null, the File Changed On Time will not be preserved and set to `now`.
242
+
/// By default preserves the Changed On Time from the source for copy transfers. If explicitly set, the Changed On Time of the destination will be set to this value.
241
243
/// </summary>
242
244
publicDateTimeOffset?FileChangedOn
243
245
{
@@ -250,11 +252,11 @@ public DateTimeOffset? FileChangedOn
250
252
}
251
253
252
254
/// <summary>
253
-
/// Optional. Defines custom metadata to set on the destination resource.
255
+
/// Optional. Defines custom metadata to set on the destination directory resource. This is intended to be set on the destination Share.
254
256
///
255
257
/// Applies to upload and copy transfers.
256
258
///
257
-
/// Preserves Metadata from the source by default. If explicitly set to null, the Metadata will not be preserved and set to null.
259
+
/// By default preserves Metadata from the source for copy transfers. If explicitly set, the Metadata of the destination directory will be set to this value.
258
260
/// </summary>
259
261
#pragma warning disable CA2227// Collection properties should be readonly
260
262
publicMetadataDirectoryMetadata
@@ -269,11 +271,11 @@ public Metadata DirectoryMetadata
269
271
#pragma warning restore CA2227// Collection properties should be readonly
270
272
271
273
/// <summary>
272
-
/// Optional. Defines custom metadata to set on the destination resource.
274
+
/// Optional. Defines custom metadata to set on the destination file resource. This is intended to be set on the destination Share.
273
275
///
274
276
/// Applies to upload and copy transfers.
275
277
///
276
-
/// Preserves Metadata from the source by default. If explicitly set to null, the Metadata will not be preserved and set to null.
278
+
/// By default preserves Metadata from the source for copy transfers. If explicitly set, the Metadata of the destination file will be set to this value.
277
279
/// </summary>
278
280
#pragma warning disable CA2227// Collection properties should be readonly
0 commit comments