<commit_before>/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

package definition

// VirtualMachine ...
type VirtualMachine struct {
	Name                   string                 `json:"name" yaml:"name"`
	Count                  int                    `json:"count" yaml:"count"`
	Size                   string                 `json:"size" yaml:"size"`
	Image                  string                 `json:"image" yaml:"image"`
	Authentication         Authentication         `json:"authentication" yaml:"authentication"`
	StorageOSDisk          StorageOSDisk          `json:"storage_os_disk" yaml:"storage_os_disk"`
	OSProfile              OSProfile              `json:"os_profile" yaml:"os_profile"`
	OSProfileWindowsConfig OSProfileWindowsConfig `json:"os_profile_windows_config" yaml:"os_profile_windows_config"`
	NetworkInterfaces      []NetworkInterface     `json:"network_interfaces" yaml:"network_interfaces"`
	Plan                   struct {
		Name      string `json:"name" yaml:"name"`
		Publisher string `json:"publisher" yaml:"publisher"`
		Product   string `json:"product" yaml:"product"`
	} `json:"plan" yaml:"plan"`
	BootDiagnostics struct {
		Enabled    bool   `json:"enabled" yaml:"enabled"`
		StorageURI string `json:"storage_uri" yaml:"storage_uri"`
	} `json:"boot_diagnostics,omitempty" yaml:"boot_diagnostics,omitempty"`
	StorageDataDisk struct {
		Name             string `json:"name" yaml:"name"`
		StorageAccount   string `json:"storage_account" yaml:"storage_account"`
		StorageContainer string `json:"storage_container" yaml:"storage_container"`
		CreateOption     string `json:"create_option" yaml:"create_option"`
		Caching          string `json:"caching" yaml:"caching"`
		ImageURI         string `json:"image_uri" yaml:"image_uri"`
		OSType           string `json:"os_type" yaml:"os_type"`
		DiskSizeGB       int32  `json:"disk_size_gb" yaml:"disk_size_gb"`
	} `json:"storage_data_disk" yaml:"storage_data_disk"`
	DeleteOSDiskOnTermination    bool              `json:"delete_os_disk_on_termination" yaml:"delete_os_disk_on_termination"`
	DeleteDataDisksOnTermination bool              `json:"delete_data_disks_on_termination" yaml:"delete_data_disks_on_termination"`
	LicenseType                  string            `json:"license_type" yaml:"license_type"`
	Tags                         map[string]string `json:"tags" yaml:"tags"`
}

// Authentication ...<commit_msg>switched os data disk value to pointer<commit_after>/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

package definition

// VirtualMachine ...
type VirtualMachine struct {
	Name                   string                 `json:"name" yaml:"name"`
	Count                  int                    `json:"count" yaml:"count"`
	Size                   string                 `json:"size" yaml:"size"`
	Image                  string                 `json:"image" yaml:"image"`
	Authentication         Authentication         `json:"authentication" yaml:"authentication"`
	StorageOSDisk          StorageOSDisk          `json:"storage_os_disk" yaml:"storage_os_disk"`
	OSProfile              OSProfile              `json:"os_profile" yaml:"os_profile"`
	OSProfileWindowsConfig OSProfileWindowsConfig `json:"os_profile_windows_config" yaml:"os_profile_windows_config"`
	NetworkInterfaces      []NetworkInterface     `json:"network_interfaces" yaml:"network_interfaces"`
	Plan                   struct {
		Name      string `json:"name" yaml:"name"`
		Publisher string `json:"publisher" yaml:"publisher"`
		Product   string `json:"product" yaml:"product"`
	} `json:"plan" yaml:"plan"`
	BootDiagnostics struct {
		Enabled    bool   `json:"enabled" yaml:"enabled"`
		StorageURI string `json:"storage_uri" yaml:"storage_uri"`
	} `json:"boot_diagnostics,omitempty" yaml:"boot_diagnostics,omitempty"`
	StorageDataDisk struct {
		Name             string `json:"name" yaml:"name"`
		StorageAccount   string `json:"storage_account" yaml:"storage_account"`
		StorageContainer string `json:"storage_container" yaml:"storage_container"`
		CreateOption     string `json:"create_option" yaml:"create_option"`
		Caching          string `json:"caching" yaml:"caching"`
		ImageURI         string `json:"image_uri" yaml:"image_uri"`
		OSType           string `json:"os_type" yaml:"os_type"`
		DiskSizeGB       *int32 `json:"disk_size_gb" yaml:"disk_size_gb"`
	} `json:"storage_data_disk" yaml:"storage_data_disk"`
	DeleteOSDiskOnTermination    bool              `json:"delete_os_disk_on_termination" yaml:"delete_os_disk_on_termination"`
	DeleteDataDisksOnTermination bool              `json:"delete_data_disks_on_termination" yaml:"delete_data_disks_on_termination"`
	LicenseType                  string            `json:"license_type" yaml:"license_type"`
	Tags                         map[string]string `json:"tags" yaml:"tags"`
}

// Authentication ...
{'fraction_non_alphanumeric': 0.10881837648432938, 'fraction_numerical': 0.0023359937706832782, 'mean_word_length': 3.1636952998379253, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4666130', 'n_tokens_mistral': 1498, 'n_tokens_neox': 1375, 'n_words': 322}