-
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.
Changed ShareClient.SetTier() -> .SetProperties() (#15932)
- Loading branch information
1 parent
14a2fc9
commit da6b8dd
Showing
10 changed files
with
241 additions
and
218 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
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
27 changes: 27 additions & 0 deletions
27
sdk/storage/Azure.Storage.Files.Shares/src/Models/ShareSetPropertiesOptions.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,27 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
|
||
namespace Azure.Storage.Files.Shares.Models | ||
{ | ||
/// <summary> | ||
/// | ||
/// </summary> | ||
public class ShareSetPropertiesOptions | ||
{ | ||
/// <summary> | ||
/// Optional, the maximum size to set on the share in GB. | ||
/// </summary> | ||
public int? QuotaInGB { get; set; } | ||
|
||
/// <summary> | ||
/// Optional, the access tier to set on the share. | ||
/// </summary> | ||
public ShareAccessTier? AccessTier { get; set; } | ||
|
||
/// <summary> | ||
/// Optional <see cref="ShareFileRequestConditions"/> to add conditions | ||
/// on setting the share's properties. | ||
/// </summary> | ||
public ShareFileRequestConditions Conditions { get; set; } | ||
} | ||
} |
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.