All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.azurefleet.inputs.DiagnosticsProfileArgs Maven / Gradle / Ivy

There is a newer version: 2.82.0
Show newest version
// *** 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.inputs;

import com.pulumi.azurenative.azurefleet.inputs.BootDiagnosticsArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.
 * 
 */
public final class DiagnosticsProfileArgs extends com.pulumi.resources.ResourceArgs {

    public static final DiagnosticsProfileArgs Empty = new DiagnosticsProfileArgs();

    /**
     * Boot Diagnostics is a debugging feature which allows you to view Console Output
     * and Screenshot to diagnose VM status. **NOTE**: If storageUri is being
     * specified then ensure that the storage account is in the same region and
     * subscription as the VM. You can easily view the output of your console log.
     * Azure also enables you to see a screenshot of the VM from the hypervisor.
     * 
     */
    @Import(name="bootDiagnostics")
    private @Nullable Output bootDiagnostics;

    /**
     * @return Boot Diagnostics is a debugging feature which allows you to view Console Output
     * and Screenshot to diagnose VM status. **NOTE**: If storageUri is being
     * specified then ensure that the storage account is in the same region and
     * subscription as the VM. You can easily view the output of your console log.
     * Azure also enables you to see a screenshot of the VM from the hypervisor.
     * 
     */
    public Optional> bootDiagnostics() {
        return Optional.ofNullable(this.bootDiagnostics);
    }

    private DiagnosticsProfileArgs() {}

    private DiagnosticsProfileArgs(DiagnosticsProfileArgs $) {
        this.bootDiagnostics = $.bootDiagnostics;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(DiagnosticsProfileArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private DiagnosticsProfileArgs $;

        public Builder() {
            $ = new DiagnosticsProfileArgs();
        }

        public Builder(DiagnosticsProfileArgs defaults) {
            $ = new DiagnosticsProfileArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param bootDiagnostics Boot Diagnostics is a debugging feature which allows you to view Console Output
         * and Screenshot to diagnose VM status. **NOTE**: If storageUri is being
         * specified then ensure that the storage account is in the same region and
         * subscription as the VM. You can easily view the output of your console log.
         * Azure also enables you to see a screenshot of the VM from the hypervisor.
         * 
         * @return builder
         * 
         */
        public Builder bootDiagnostics(@Nullable Output bootDiagnostics) {
            $.bootDiagnostics = bootDiagnostics;
            return this;
        }

        /**
         * @param bootDiagnostics Boot Diagnostics is a debugging feature which allows you to view Console Output
         * and Screenshot to diagnose VM status. **NOTE**: If storageUri is being
         * specified then ensure that the storage account is in the same region and
         * subscription as the VM. You can easily view the output of your console log.
         * Azure also enables you to see a screenshot of the VM from the hypervisor.
         * 
         * @return builder
         * 
         */
        public Builder bootDiagnostics(BootDiagnosticsArgs bootDiagnostics) {
            return bootDiagnostics(Output.of(bootDiagnostics));
        }

        public DiagnosticsProfileArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy