summaryrefslogtreecommitdiffstats
path: root/stream/rhcos/rhcos.go
blob: 320d84b41d4bd401c45c566b18e527f7bcfeb212 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package rhcos

// Extensions is data specific to Red Hat Enterprise Linux CoreOS
type Extensions struct {
	AzureDisk *AzureDisk `json:"azure-disk,omitempty"`
}

// AzureDisk represents an Azure disk image that can be imported
// into an image gallery or otherwise replicated, and then used
// as a boot source for virtual machines.
type AzureDisk struct {
	// Release is the source release version
	Release string `json:"release"`
	// URL to an image already stored in Azure infrastructure
	// that can be copied into an image gallery.  Avoid creating VMs directly
	// from this URL as that may lead to performance limitations.
	URL string `json:"url,omitempty"`
}