Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.compute;
import com.fasterxml.jackson.annotation.JsonProperty;
Boot Diagnostics is a debugging feature which allows you to view Console
Output and Screenshot to diagnose VM status. <br><br> You can
easily view the output of your console log. <br><br> Azure also
enables you to see a screenshot of the VM from the hypervisor.
/**
* Boot Diagnostics is a debugging feature which allows you to view Console
* Output and Screenshot to diagnose VM status. <br><br> You can
* easily view the output of your console log. <br><br> Azure also
* enables you to see a screenshot of the VM from the hypervisor.
*/
public class BootDiagnostics {
Whether boot diagnostics should be enabled on the Virtual Machine.
/**
* Whether boot diagnostics should be enabled on the Virtual Machine.
*/
@JsonProperty(value = "enabled")
private Boolean enabled;
Uri of the storage account to use for placing the console output and
screenshot. <br><br>If storageUri is not specified while
enabling boot diagnostics, managed storage will be used.
/**
* Uri of the storage account to use for placing the console output and
* screenshot. <br><br>If storageUri is not specified while
* enabling boot diagnostics, managed storage will be used.
*/
@JsonProperty(value = "storageUri")
private String storageUri;
Get whether boot diagnostics should be enabled on the Virtual Machine.
Returns: the enabled value
/**
* Get whether boot diagnostics should be enabled on the Virtual Machine.
*
* @return the enabled value
*/
public Boolean enabled() {
return this.enabled;
}
Set whether boot diagnostics should be enabled on the Virtual Machine.
Params: - enabled – the enabled value to set
Returns: the BootDiagnostics object itself.
/**
* Set whether boot diagnostics should be enabled on the Virtual Machine.
*
* @param enabled the enabled value to set
* @return the BootDiagnostics object itself.
*/
public BootDiagnostics withEnabled(Boolean enabled) {
this.enabled = enabled;
return this;
}
Get uri of the storage account to use for placing the console output and screenshot. <br><br>If storageUri is not specified while enabling boot diagnostics, managed storage will be used.
Returns: the storageUri value
/**
* Get uri of the storage account to use for placing the console output and screenshot. <br><br>If storageUri is not specified while enabling boot diagnostics, managed storage will be used.
*
* @return the storageUri value
*/
public String storageUri() {
return this.storageUri;
}
Set uri of the storage account to use for placing the console output and screenshot. <br><br>If storageUri is not specified while enabling boot diagnostics, managed storage will be used.
Params: - storageUri – the storageUri value to set
Returns: the BootDiagnostics object itself.
/**
* Set uri of the storage account to use for placing the console output and screenshot. <br><br>If storageUri is not specified while enabling boot diagnostics, managed storage will be used.
*
* @param storageUri the storageUri value to set
* @return the BootDiagnostics object itself.
*/
public BootDiagnostics withStorageUri(String storageUri) {
this.storageUri = storageUri;
return this;
}
}