
com.pulumi.azurenative.hybridnetwork.outputs.NetworkFunctionUserConfigurationResponseOsProfile 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.hybridnetwork.outputs;
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 NetworkFunctionUserConfigurationResponseOsProfile {
/**
* @return Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the virtual machine. The maximum length of the binary array is 65535 bytes. <br><br> **Note: Do not pass any secrets or passwords in customData property** <br><br> This property cannot be updated after the VM is created. <br><br> customData is passed to the VM to be saved as a file. For more information see [Custom Data on Azure VMs](https://azure.microsoft.com/en-us/blog/custom-data-and-cloud-init-on-windows-azure/) <br><br> For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
*
*/
private @Nullable String customData;
private NetworkFunctionUserConfigurationResponseOsProfile() {}
/**
* @return Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the virtual machine. The maximum length of the binary array is 65535 bytes. <br><br> **Note: Do not pass any secrets or passwords in customData property** <br><br> This property cannot be updated after the VM is created. <br><br> customData is passed to the VM to be saved as a file. For more information see [Custom Data on Azure VMs](https://azure.microsoft.com/en-us/blog/custom-data-and-cloud-init-on-windows-azure/) <br><br> For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
*
*/
public Optional customData() {
return Optional.ofNullable(this.customData);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(NetworkFunctionUserConfigurationResponseOsProfile defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String customData;
public Builder() {}
public Builder(NetworkFunctionUserConfigurationResponseOsProfile defaults) {
Objects.requireNonNull(defaults);
this.customData = defaults.customData;
}
@CustomType.Setter
public Builder customData(@Nullable String customData) {
this.customData = customData;
return this;
}
public NetworkFunctionUserConfigurationResponseOsProfile build() {
final var _resultValue = new NetworkFunctionUserConfigurationResponseOsProfile();
_resultValue.customData = customData;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy