cloud/azure/compute/models/vault_certificate.go
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"
)
// VaultCertificate Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM.
// swagger:model VaultCertificate
type VaultCertificate struct {
// The Certificate store in LocalMachine to add the certificate to on Windows, leave empty on Linux.
CertificateStore string `json:"certificateStore,omitempty"`
// The URL referencing a secret in a Key Vault which contains a properly formatted certificate.
CertificateURL string `json:"certificateUrl,omitempty"`
}
// Validate validates this vault certificate
func (m *VaultCertificate) Validate(formats strfmt.Registry) error {
var res []error
if len(res) > 0 {
return errors.CompositeValidationError(res...)
}
return nil
}