Skip to content

Commit b470c3b

Browse files
authored
Fix Az.Compute XML Comments (#18408)
* Fix Az.Compute XML Comments * Fix Az.Compute.Helpers XML Comments
1 parent 0dc7c19 commit b470c3b

File tree

5 files changed

+11
-14
lines changed

5 files changed

+11
-14
lines changed

src/Compute/Compute.Helpers/Storage/Models/BlobInventoryPolicy.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ public BlobInventoryPolicy()
4343
/// "Microsoft.Storage/storageAccounts"</param>
4444
/// <param name="lastModifiedTime">Returns the last modified date and
4545
/// time of the blob inventory policy.</param>
46+
/// <param name="systemData"></param>
4647
public BlobInventoryPolicy(BlobInventoryPolicySchema policy, string id = default(string), string name = default(string), string type = default(string), System.DateTime? lastModifiedTime = default(System.DateTime?), SystemData systemData = default(SystemData))
4748
: base(id, name, type)
4849
{

src/Compute/Compute/Common/AzureContextAdapterExtensions.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ public static class AzureContextAdapterExtensions
2929
/// Get the current storage account.
3030
/// </summary>
3131
/// <param name="context">The current Azure context.</param>
32+
/// <param name="provider"></param>
3233
/// <returns>The current storage account, or null, if no current storage account is set.</returns>
3334
public static CloudStorageAccount GetCurrentStorageAccount(this IAzureContext context, IStorageServiceProvider provider)
3435
{
@@ -92,6 +93,7 @@ public static IStorageContext GetStorageContext(this IStorageService service)
9293
/// </summary>
9394
/// <param name="provider">The storage service provider to retrieve storage service details</param>
9495
/// <param name="accountName">The storage accoutn name</param>
96+
/// <param name="resourceGroupName"></param>
9597
/// <returns>A CloudStorageAccount client for storage data plane tasks</returns>
9698
public static CloudStorageAccount GetCloudStorageAccount(this IStorageServiceProvider provider, string accountName, string resourceGroupName = null)
9799
{

src/Compute/Compute/Common/DiagnosticsHelper.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -661,6 +661,8 @@ private static string GetEndpointFromStorageContext(IStorageContext context)
661661
/// </summary>
662662
/// <param name="publicConfigPath">Public configuration file path</param>
663663
/// <param name="privateConfigPath">Private configuration file path, can be empty</param>
664+
/// <param name="resourceId"></param>
665+
/// <param name="cmdlet"></param>
664666
/// <param name="storageClient">Storage client</param>
665667
/// <returns>A tuple with public configuration as first element and private configuration as second element</returns>
666668
public static Tuple<Hashtable, Hashtable> GetConfigurationsFromFiles(string publicConfigPath, string privateConfigPath, string resourceId, Cmdlet cmdlet, IStorageManagementClient storageClient)

src/Compute/Compute/Extension/AzureVMBackup/AzureVMBackupExtensionUtil.cs

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ private string GetBase64Encoding(object obj)
7373
/// <summary>
7474
/// find the snapshot with the tags
7575
/// </summary>
76+
/// <param name="azContext"></param>
7677
/// <param name="blobUris"></param>
77-
/// <param name="snapshotTag"></param>
78-
/// <param name="taskId"></param>
7978
/// <param name="storageCredentialsFactory"></param>
79+
/// <param name="snapshotQuery"></param>
8080
/// <returns></returns>
8181
public List<CloudPageBlob> FindSnapshot(IAzureContext azContext, List<string> blobUris, List<StorageCredentialsFactory> storageCredentialsFactory, Dictionary<string, string> snapshotQuery)
8282
{
@@ -178,13 +178,8 @@ public AzureVMBackupBlobSasUris GenerateBlobSasUris(List<string> blobUris, IAzur
178178
/// <summary>
179179
/// remove the vmbackups with the metadata key "vmbackuptag" and value snapshotTag, snapshotTag is the parameter passed in.
180180
/// </summary>
181-
/// <param name="resourceGroupName"></param>
182-
/// <param name="vmName"></param>
183-
/// <param name="virtualMachineExtensionType"></param>
184-
/// <param name="location"></param>
185-
/// <param name="virtualMachineResponse"></param>
186-
/// <param name="profile"></param>
187-
/// <param name="VirtualMachineExtensionClient"></param>
181+
/// <param name="vmConfig"></param>
182+
/// <param name="virtualMachineExtensionBaseCmdlet"></param>
188183
/// <param name="snapshotTag"></param>
189184
public void RemoveSnapshot(AzureVMBackupConfig vmConfig, string snapshotTag, VirtualMachineExtensionBaseCmdlet virtualMachineExtensionBaseCmdlet)
190185
{
@@ -216,11 +211,7 @@ public void RemoveSnapshot(AzureVMBackupConfig vmConfig, string snapshotTag, Vir
216211
/// <summary>
217212
/// we only support the Linux box now, if it's a windows, one AzureVMBackupException would be thrown.
218213
/// </summary>
219-
/// <param name="resourceGroupName"></param>
220-
/// <param name="vmName"></param>
221-
/// <param name="virtualMachineExtensionType"></param>
222-
/// <param name="location"></param>
223-
/// <param name="virtualMachineResponse"></param>
214+
/// <param name="vmConfig"></param>
224215
/// <param name="snapshotTag"></param>
225216
/// <param name="virtualMachineExtensionBaseCmdlet"></param>
226217
public void CreateSnapshotForDisks(AzureVMBackupConfig vmConfig, string snapshotTag, VirtualMachineExtensionBaseCmdlet virtualMachineExtensionBaseCmdlet)

src/Compute/Compute/StorageServices/VirtualHardDiskSettingData.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ public class VirtualHardDiskSettingData
8383
/// </param>
8484
/// <param name="blockSize">The block size of the virtual hard disk.</param>
8585
/// <param name="logicalSectorSize">The logical sector size of the virtual hard disk.
86+
/// </param>
8687
/// <param name="physicalSectorSize">The physical sector size of the virtual hard disk.
8788
/// </param>
8889
public

0 commit comments

Comments
 (0)