コード例 #1
0
 ///GENMHASH:759A67E565795A68519740FF52F3799B:B98D2D73AF646442EF7A686C89600CAC
 public async Task <Microsoft.Azure.Management.Compute.Fluent.IDiskVolumeEncryptionMonitor> EnableAsync(WindowsVMDiskEncryptionConfiguration encryptionSettings, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(await virtualMachineEncryptionHelper.EnableEncryptionAsync(encryptionSettings, cancellationToken));
 }
コード例 #2
0
 ///GENMHASH:9D6DD1865EFFEE09432AB8D009095748:DC1C703A2CBB98499CF5B5775B6772AA
 public IDiskVolumeEncryptionMonitor Enable(WindowsVMDiskEncryptionConfiguration encryptionSettings)
 {
     return(Extensions.Synchronize(() => EnableAsync(encryptionSettings)));
 }