vsphere/internal/virtualdevice/virtual_machine_cdrom_subresource.go
func CdromSubresourceSchema() map[string]*schema.Schema {
	s := map[string]*schema.Schema{
		// VirtualDeviceFileBackingInfo
		"datastore_id": {
			Type:        schema.TypeString,
			Optional:    true,
			Description: "The datastore ID the ISO is located on.",
		},
		"path": {
			Type:        schema.TypeString,
			Optional:    true,
			Description: "The path to the ISO file on the datastore.",
		},
		// VirtualCdromRemoteAtapiBackingInfo
		"client_device": {
			Type:        schema.TypeBool,
			Optional:    true,
			Description: "Indicates whether the device should be mapped to a remote client device",
		},
	}
	structure.MergeSchema(s, subresourceSchema())
	return s
}
func CdromSubresourceSchema() map[string]*schema.Schema {
	s := map[string]*schema.Schema{
		// VirtualDeviceFileBackingInfo
		"datastore_id": {
			Type:        schema.TypeString,
			Optional:    true,
			Description: "The datastore ID the ISO is located on.",
		},
		"path": {
			Type:        schema.TypeString,
			Optional:    true,
			Description: "The path to the ISO file on the datastore.",
		},
		// VirtualCdromRemoteAtapiBackingInfo
		"client_device": {
			Type:        schema.TypeBool,
			Optional:    true,
			Description: "Indicates whether the device should be mapped to a remote client device",
		},
	}
	structure.MergeSchema(s, subresourceSchema())
	return s
}
func CdromSubresourceSchema ( ) map [ string ] * schema . Schema { s := map [ string ] * schema . Schema { // VirtualDeviceFileBackingInfo " " : { Type : schema . TypeString , Optional : true , Description : " " , } , " " : { Type : schema . TypeString , Optional : true , Description : " " , } , // VirtualCdromRemoteAtapiBackingInfo " " : { Type : schema . TypeBool , Optional : true , Description : " " , } , } structure . MergeSchema ( s , subresourceSchema ( ) ) return s }
// CdromSubresourceSchema represents the schema for the cdrom sub-resource.
CdromSubresourceSchema represents the schema for the cdrom sub - resource .