-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Storage][DataMovement] Add source/destination checkpoint data to Job…
… Plan file (#39411)
- Loading branch information
1 parent
b8697cc
commit 1bc8916
Showing
42 changed files
with
838 additions
and
680 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
sdk/storage/Azure.Storage.DataMovement.Blobs/src/BlobCheckpointData.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
|
||
using System; | ||
using System.IO; | ||
using Azure.Storage.Blobs.Models; | ||
|
||
namespace Azure.Storage.DataMovement.Blobs | ||
{ | ||
/// <summary> | ||
/// Base class for Blob source and destination checkpoint data | ||
/// which contains shared fields. | ||
/// </summary> | ||
internal abstract class BlobCheckpointData : StorageResourceCheckpointData | ||
{ | ||
/// <summary> | ||
/// Schema version. | ||
/// </summary> | ||
public int Version; | ||
|
||
/// <summary> | ||
/// The type of blob. | ||
/// </summary> | ||
public BlobType BlobType; | ||
|
||
public BlobCheckpointData(int version, BlobType blobType) | ||
{ | ||
Version = version; | ||
BlobType = blobType; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.