
com.pulumi.azurenative.azurefleet.outputs.SecurityProfileResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.azurefleet.outputs;
import com.pulumi.azurenative.azurefleet.outputs.EncryptionIdentityResponse;
import com.pulumi.azurenative.azurefleet.outputs.ProxyAgentSettingsResponse;
import com.pulumi.azurenative.azurefleet.outputs.UefiSettingsResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class SecurityProfileResponse {
/**
* @return This property can be used by user in the request to enable or disable the Host
* Encryption for the virtual machine or virtual machine scale set. This will
* enable the encryption for all the disks including Resource/Temp disk at host
* itself. The default behavior is: The Encryption at host will be disabled unless
* this property is set to true for the resource.
*
*/
private @Nullable Boolean encryptionAtHost;
/**
* @return Specifies the Managed Identity used by ADE to get access token for keyvault
* operations.
*
*/
private @Nullable EncryptionIdentityResponse encryptionIdentity;
/**
* @return Specifies ProxyAgent settings while creating the virtual machine. Minimum
* api-version: 2023-09-01.
*
*/
private @Nullable ProxyAgentSettingsResponse proxyAgentSettings;
/**
* @return Specifies the SecurityType of the virtual machine. It has to be set to any
* specified value to enable UefiSettings. The default behavior is: UefiSettings
* will not be enabled unless this property is set.
*
*/
private @Nullable String securityType;
/**
* @return Specifies the security settings like secure boot and vTPM used while creating
* the virtual machine. Minimum api-version: 2020-12-01.
*
*/
private @Nullable UefiSettingsResponse uefiSettings;
private SecurityProfileResponse() {}
/**
* @return This property can be used by user in the request to enable or disable the Host
* Encryption for the virtual machine or virtual machine scale set. This will
* enable the encryption for all the disks including Resource/Temp disk at host
* itself. The default behavior is: The Encryption at host will be disabled unless
* this property is set to true for the resource.
*
*/
public Optional encryptionAtHost() {
return Optional.ofNullable(this.encryptionAtHost);
}
/**
* @return Specifies the Managed Identity used by ADE to get access token for keyvault
* operations.
*
*/
public Optional encryptionIdentity() {
return Optional.ofNullable(this.encryptionIdentity);
}
/**
* @return Specifies ProxyAgent settings while creating the virtual machine. Minimum
* api-version: 2023-09-01.
*
*/
public Optional proxyAgentSettings() {
return Optional.ofNullable(this.proxyAgentSettings);
}
/**
* @return Specifies the SecurityType of the virtual machine. It has to be set to any
* specified value to enable UefiSettings. The default behavior is: UefiSettings
* will not be enabled unless this property is set.
*
*/
public Optional securityType() {
return Optional.ofNullable(this.securityType);
}
/**
* @return Specifies the security settings like secure boot and vTPM used while creating
* the virtual machine. Minimum api-version: 2020-12-01.
*
*/
public Optional uefiSettings() {
return Optional.ofNullable(this.uefiSettings);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SecurityProfileResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Boolean encryptionAtHost;
private @Nullable EncryptionIdentityResponse encryptionIdentity;
private @Nullable ProxyAgentSettingsResponse proxyAgentSettings;
private @Nullable String securityType;
private @Nullable UefiSettingsResponse uefiSettings;
public Builder() {}
public Builder(SecurityProfileResponse defaults) {
Objects.requireNonNull(defaults);
this.encryptionAtHost = defaults.encryptionAtHost;
this.encryptionIdentity = defaults.encryptionIdentity;
this.proxyAgentSettings = defaults.proxyAgentSettings;
this.securityType = defaults.securityType;
this.uefiSettings = defaults.uefiSettings;
}
@CustomType.Setter
public Builder encryptionAtHost(@Nullable Boolean encryptionAtHost) {
this.encryptionAtHost = encryptionAtHost;
return this;
}
@CustomType.Setter
public Builder encryptionIdentity(@Nullable EncryptionIdentityResponse encryptionIdentity) {
this.encryptionIdentity = encryptionIdentity;
return this;
}
@CustomType.Setter
public Builder proxyAgentSettings(@Nullable ProxyAgentSettingsResponse proxyAgentSettings) {
this.proxyAgentSettings = proxyAgentSettings;
return this;
}
@CustomType.Setter
public Builder securityType(@Nullable String securityType) {
this.securityType = securityType;
return this;
}
@CustomType.Setter
public Builder uefiSettings(@Nullable UefiSettingsResponse uefiSettings) {
this.uefiSettings = uefiSettings;
return this;
}
public SecurityProfileResponse build() {
final var _resultValue = new SecurityProfileResponse();
_resultValue.encryptionAtHost = encryptionAtHost;
_resultValue.encryptionIdentity = encryptionIdentity;
_resultValue.proxyAgentSettings = proxyAgentSettings;
_resultValue.securityType = securityType;
_resultValue.uefiSettings = uefiSettings;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy