use of com.sequenceiq.cloudbreak.cloud.azure.view.AzureInstanceView in project cloudbreak by hortonworks.
the class AzureVolumeResourceBuilder method getDiskEncryptionSetId.
private String getDiskEncryptionSetId(Group group) {
CloudInstance cloudInstance = group.getReferenceInstanceConfiguration();
AzureInstanceView azureInstanceView = AzureInstanceView.builder(cloudInstance).build();
return azureInstanceView.isManagedDiskEncryptionWithCustomKeyEnabled() ? azureInstanceView.getDiskEncryptionSetId() : null;
}
Aggregations