
com.pulumi.azurenative.compute.outputs.VMDiskSecurityProfileResponse Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.compute.outputs;
import com.pulumi.azurenative.compute.outputs.DiskEncryptionSetParametersResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class VMDiskSecurityProfileResponse {
/**
* @return Specifies the customer managed disk encryption set resource id for the managed disk that is used for Customer Managed Key encrypted ConfidentialVM OS Disk and VMGuest blob.
*
*/
private @Nullable DiskEncryptionSetParametersResponse diskEncryptionSet;
/**
* @return Specifies the EncryptionType of the managed disk. It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, and VMGuestStateOnly for encryption of just the VMGuestState blob. **Note:** It can be set for only Confidential VMs.
*
*/
private @Nullable String securityEncryptionType;
private VMDiskSecurityProfileResponse() {}
/**
* @return Specifies the customer managed disk encryption set resource id for the managed disk that is used for Customer Managed Key encrypted ConfidentialVM OS Disk and VMGuest blob.
*
*/
public Optional diskEncryptionSet() {
return Optional.ofNullable(this.diskEncryptionSet);
}
/**
* @return Specifies the EncryptionType of the managed disk. It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, and VMGuestStateOnly for encryption of just the VMGuestState blob. **Note:** It can be set for only Confidential VMs.
*
*/
public Optional securityEncryptionType() {
return Optional.ofNullable(this.securityEncryptionType);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(VMDiskSecurityProfileResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable DiskEncryptionSetParametersResponse diskEncryptionSet;
private @Nullable String securityEncryptionType;
public Builder() {}
public Builder(VMDiskSecurityProfileResponse defaults) {
Objects.requireNonNull(defaults);
this.diskEncryptionSet = defaults.diskEncryptionSet;
this.securityEncryptionType = defaults.securityEncryptionType;
}
@CustomType.Setter
public Builder diskEncryptionSet(@Nullable DiskEncryptionSetParametersResponse diskEncryptionSet) {
this.diskEncryptionSet = diskEncryptionSet;
return this;
}
@CustomType.Setter
public Builder securityEncryptionType(@Nullable String securityEncryptionType) {
this.securityEncryptionType = securityEncryptionType;
return this;
}
public VMDiskSecurityProfileResponse build() {
final var _resultValue = new VMDiskSecurityProfileResponse();
_resultValue.diskEncryptionSet = diskEncryptionSet;
_resultValue.securityEncryptionType = securityEncryptionType;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy