Skip to content

Commit

Permalink
Fix Az.CosmosDB XML Comments (#18401)
Browse files Browse the repository at this point in the history
* Fix Az.CosmosDB XML Comments

* Fix Az.CosmosDB XML Comments

* Update PSClientEncryptionPolicy.cs

Co-authored-by: Ziyue Zheng <v-ziyzhe@microsoft.com>
  • Loading branch information
v-yuzhichen and ziyuezh576 authored Jun 13, 2022
1 parent 6a23994 commit ba7bae1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/CosmosDB/CosmosDB/Models/PSClientEncryptionPolicy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class PSClientEncryptionPolicy
{
public PSClientEncryptionPolicy()
{
}
}

public PSClientEncryptionPolicy(ClientEncryptionPolicy clientEncryptionPolicy)
{
Expand Down Expand Up @@ -69,7 +69,7 @@ public static ClientEncryptionPolicy ToSDKModel(PSClientEncryptionPolicy pSClien
{
IncludedPaths = new List<ClientEncryptionIncludedPath>(),
PolicyFormatVersion = pSClientEncryptionPolicy.PolicyFormatVersion
};
};

if (ModelHelper.IsNotNullOrEmpty(pSClientEncryptionPolicy.IncludedPaths))
{
Expand Down Expand Up @@ -100,6 +100,7 @@ public static ClientEncryptionPolicy ToSDKModel(PSClientEncryptionPolicy pSClien
/// <summary>
/// Ensures that partition key paths are not specified in the client encryption policy for encryption.
/// </summary>
/// <param name="clientEncryptionIncludedPath">Included paths of the client encryption policy.</param>
/// <param name="partitionKeyPathTokens">Tokens corresponding to validated partition key.</param>
private static void ValidatePartitionKeyPathsAreNotEncrypted(IEnumerable<ClientEncryptionIncludedPath> clientEncryptionIncludedPath, List<string> partitionKeyPathTokens)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public PSRestorableMongodbCollectionGetResult(RestorableMongodbCollectionGetResu
public string Id { get; }

/// <summary>
// Gets the name of the RestorableMongodbCollection resource.
/// Gets the name of the RestorableMongodbCollection resource.
/// </summary>
[Ps1Xml(Label = "Name", Target = ViewControl.List)]
public string Name { get; }
Expand Down

0 comments on commit ba7bae1

Please sign in to comment.