jkawamoto/roadie

View on GitHub
cloud/azure/compute/models/boot_diagnostics.go

Summary

Maintainability
A
55 mins
Test Coverage
package models

// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command

import (
    strfmt "github.com/go-openapi/strfmt"

    "github.com/go-openapi/errors"
)

// BootDiagnostics Describes Boot Diagnostics.
// swagger:model BootDiagnostics
type BootDiagnostics struct {

    // Whether boot diagnostics should be enabled on the Virtual Machine.
    Enabled bool `json:"enabled,omitempty"`

    // URI of the storage account to use for placing the console output and screenshot.
    StorageURI string `json:"storageUri,omitempty"`
}

// Validate validates this boot diagnostics
func (m *BootDiagnostics) Validate(formats strfmt.Registry) error {
    var res []error

    if len(res) > 0 {
        return errors.CompositeValidationError(res...)
    }
    return nil
}