
com.pulumi.azurenative.azurefleet.outputs.ProxyAgentSettingsResponse 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.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ProxyAgentSettingsResponse {
/**
* @return Specifies whether ProxyAgent feature should be enabled on the virtual machine
* or virtual machine scale set.
*
*/
private @Nullable Boolean enabled;
/**
* @return Increase the value of this property allows user to reset the key used for
* securing communication channel between guest and host.
*
*/
private @Nullable Integer keyIncarnationId;
/**
* @return Specifies the mode that ProxyAgent will execute on if the feature is enabled.
* ProxyAgent will start to audit or monitor but not enforce access control over
* requests to host endpoints in Audit mode, while in Enforce mode it will enforce
* access control. The default value is Enforce mode.
*
*/
private @Nullable String mode;
private ProxyAgentSettingsResponse() {}
/**
* @return Specifies whether ProxyAgent feature should be enabled on the virtual machine
* or virtual machine scale set.
*
*/
public Optional enabled() {
return Optional.ofNullable(this.enabled);
}
/**
* @return Increase the value of this property allows user to reset the key used for
* securing communication channel between guest and host.
*
*/
public Optional keyIncarnationId() {
return Optional.ofNullable(this.keyIncarnationId);
}
/**
* @return Specifies the mode that ProxyAgent will execute on if the feature is enabled.
* ProxyAgent will start to audit or monitor but not enforce access control over
* requests to host endpoints in Audit mode, while in Enforce mode it will enforce
* access control. The default value is Enforce mode.
*
*/
public Optional mode() {
return Optional.ofNullable(this.mode);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ProxyAgentSettingsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Boolean enabled;
private @Nullable Integer keyIncarnationId;
private @Nullable String mode;
public Builder() {}
public Builder(ProxyAgentSettingsResponse defaults) {
Objects.requireNonNull(defaults);
this.enabled = defaults.enabled;
this.keyIncarnationId = defaults.keyIncarnationId;
this.mode = defaults.mode;
}
@CustomType.Setter
public Builder enabled(@Nullable Boolean enabled) {
this.enabled = enabled;
return this;
}
@CustomType.Setter
public Builder keyIncarnationId(@Nullable Integer keyIncarnationId) {
this.keyIncarnationId = keyIncarnationId;
return this;
}
@CustomType.Setter
public Builder mode(@Nullable String mode) {
this.mode = mode;
return this;
}
public ProxyAgentSettingsResponse build() {
final var _resultValue = new ProxyAgentSettingsResponse();
_resultValue.enabled = enabled;
_resultValue.keyIncarnationId = keyIncarnationId;
_resultValue.mode = mode;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy