use of com.microsoft.azure.management.compute.implementation.DiskEncryptionSetsInner in project cloudbreak by hortonworks.
the class AzureClient method deleteDiskEncryptionSet.
public void deleteDiskEncryptionSet(String resourceGroup, String diskEncryptionSetName) {
handleAuthException(() -> {
// The Disk encryption set operations are not exposed in public API, so have to rely on underlying DiskEncryptionSetsInner
DiskEncryptionSetsInner dSetsIn = computeManager.inner().diskEncryptionSets();
dSetsIn.delete(resourceGroup, diskEncryptionSetName);
});
}
use of com.microsoft.azure.management.compute.implementation.DiskEncryptionSetsInner in project cloudbreak by hortonworks.
the class AzureClient method createDiskEncryptionSet.
public DiskEncryptionSetInner createDiskEncryptionSet(String diskEncryptionSetName, String encryptionKeyUrl, String location, String resourceGroupName, String sourceVaultId, Map<String, String> tags) {
return handleAuthException(() -> {
// The Disk encryption set operations are not exposed in public API, so have to rely on underlying DiskEncryptionSetsInner
DiskEncryptionSetInner desIn = createDiskEncryptionSetInner(sourceVaultId, encryptionKeyUrl, location, tags);
DiskEncryptionSetsInner dSetsIn = computeManager.inner().diskEncryptionSets();
return dSetsIn.createOrUpdate(resourceGroupName, diskEncryptionSetName, desIn);
});
}
Aggregations